summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2010-04-20pkg_install-20100420:joerg1-2/+10
Extract dependencies of libarchive from the pkgconfig file and thereby drop knowledge of the needed libraries. At least some versions of HP-UX are known to not support %zu, add a workaround. This is using the black list approach for now. Recognize xz as compression type for pkg_create. The first time an error is hit while fetching packages, try to reget from the same position. This works around the server closing the connection while fetching dependencies.
2010-04-15Link using the "-search_paths_first" option under Mac OS X to maketron1-1/+7
sure that the linker uses our static "libarchive.a" instead of the outdated dynamic library "/usr/lib/libarchive.dylib".
2010-04-14pkg_install-20100405:joerg1-6/+3
- Try to detect common forms of pkgdb corruption and issue a warning in that case. - Refactor the pkg_vulnerabilities logic to use the compression support from libarchive. This reduces the amount zlib/bzip2 interaction to the linkage.
2010-03-26Require zlib 1.2 for now, as zlib 1.1 doesn't like gzip headers andjoerg1-1/+3
would fail in the decompression code for pkg-vulnerabilities.
2010-03-17Also need to overwrite config.sub, at least on Haiku OS.obache1-2/+3
2010-03-08Make sure to overwrite the config.guess script in libarchive for thejoerg1-1/+6
sake of Interix.
2010-02-20Sync with libarchive 2.8.0.joerg1-2/+3
2010-02-03pkg_install-20100203:joerg1-2/+2
- Restore PKG_PREFIX in pkg_delete (PR 42731) - Ensure that the current pkg_install version is at least as new as the version used to build the package
2010-01-26pkg_install-20100126: Actually support IPv6.joerg1-1/+3
2010-01-22pkg_install-20100122:joerg1-1/+11
- Refactor man pages: - Move description of environmental variables into pkg_install.conf(5) - Remove a bunch of dead references - Avoid using hard-coded path names that can easily be overridden by the user. - Refactor pkgdb related logic, so that -K behaves consistently. - Add some helper functions to isolate more places from the pkgdb layout. - Sync license list. - Handle PKG_REFCOUNT_DBDIR consistently as option too. - Utilize connection cache from libfetch. - Add helper target for cat pages updates.
2010-01-20I guess actually being OWNER is the only way to get a sensible time tojoerg1-2/+2
review patches and complain...
2010-01-20Revert previous, testing change committed by mistake.jmmv1-2/+2
2010-01-20Update to 20100120:jmmv1-2/+2
- Make PKG_DBDIR customizable through pkg_install.conf. Things seem to work fine after a few tests but... where are the tests for these tools?!
2010-01-17Undo unnecessary revision bump of this package. It doesn't require "jpeg",tron1-2/+1
has never required "jpeg" and will hopefully never require "jpeg".
2010-01-17Recursive PKGREVISION bump for jpeg update to 8.wiz1-1/+2
2009-06-14Never run the license check for this package to allow a proper updatejoerg1-1/+2
path.
2009-05-19Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENTwiz1-2/+2
block). Uncomment some commented out LICENSE lines while here.
2009-04-09Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.joerg1-2/+1
2009-04-08Remove the remaining NO_MTREE definitions, it has been a nop for ajoerg1-2/+1
while.
2009-03-04Explicitly build local libarchive without ACL support, I don't want tojoerg1-2/+2
get into the mess of needing to figure out linkage on Linux.
2009-02-02Merge pkg_install-20090201 from pkg_install-renovation branch.joerg1-22/+13
- DB support is always included from libnbcompat if needed - pkg_view and linkfarm are not installed any more; they are not moved into the attic yet, so they can easily be installed as separte package - common configuration file to customise the behavior of various components; this supersedes the old audit-packages.conf - support for PKSC7 signatures (using X509 certs) and GPG signatures for packages in a secure way. See pkg_admin(8) for how to create them and pkg_install.conf(5) for the options to use them - audit-packages and download-vulnerability-list are wrapper scripts around pkg_admin. They try to mimic the classic options if used sanely. "pkg_admin audit" is now an order of magnitude faster than before - pkg_add uses libarchive and libfetch instead of external ftp and tar: - progress bar is currently missing for downloads - "pkg_add -" is no longer supported - no adhoc check for conficts between dependencies and already installed packages - "pkg_add -s" has been replaced with an option in pkg_install.conf, verification of plain detached GPG signatures is no longer supported - optional check for vulnerabilities before adding a package - if /var and /usr/pkg are on different fileystems it is twice as fast now - conflicts due to overlapping plists are checked before installation - pkg_add no longer plays with the process limits - pkg_add and pkg_delete have a new destdir option; scripts have to either be modified to use PKG_DESTDIR or should be disabled - pkg_add -u for now can't be used to update to the exact same version - internal "rm -rf" and "mkdir_p" code - all memory allocation failures are not explicitly fatal - if a file is not removed due to a failed checksum, still remove the entry from pkgdb
2008-07-14Update libarchive and bsdtar to 2.5.5.joerg1-3/+1
This further polishes bsdcpio and brings in a number of portability fixes. Revert temporary hack to not use vfork on IRIX.
2008-07-13Add a temporary workaround for missing vfork on IRIX.joerg1-1/+3
Fixes PR 38674, tested by tnn@.
2008-06-22Don't use the existance of pkg_add as trigger to overridejoerg1-2/+7
PKG_ADD and friends, but that the build passed the barrier. Posted to tech-pkg@ without negative feedback.
2008-06-19Add a marker for bootstrap packages to allow special cases them duringjoerg1-1/+2
bulk builds.
2008-06-08Commit two fixes which at least for me appear to be required whenhe1-1/+3
doing an old-style bulk build on 4.0 or older systems: - in mk/bulk/build, do "make update" instead of "make install + clean" when installing a new pkg_install - in pkgtools/pkg_install/Makefile, don't try to use our own executables (${WORKDIR}/pkg_add/pkg_add etc.) if they don't exist Discussed with joerg, and even though he's not entirely happy with the latter change, he didn't appear to have a better suggestion. This, and putting /usr/pkg/sbin earlier than /usr/sbin in the $PATH appears to be required to get an old-style bulk build going.
2008-06-02Explicitly depend on ftp.joerg1-2/+2
2008-04-23Requires libarchive 2.5.joerg1-1/+4
2008-04-08Force depend target to explicitly run for libfetch. Disallow paralleljoerg1-2/+5
builds in that part of the build. This works around issues with bootstrap-mk-files not handling DPSRCS correctly.
2008-04-04pkg_install-20080404:joerg1-1/+6
Switch pkg_info to use libfetch for remote access.
2008-04-03Override PKG_INFO_CMD to point to the just-built pkg_info so thatjlam1-1/+2
pkg_install can install using newer features without warnings.
2008-03-21Request getopt with optreset support from libnbcompat.joerg1-1/+3
2008-02-26Use pkg_add from new build, override *_CMD instead of the full commands.joerg1-7/+6
Drop some no longer used overrides.
2008-02-09Always use the newly built pkg_create -- this makes updates easier.joerg1-1/+2
2007-11-11Added commented-out LICENSE=something.martti1-1/+2
2007-11-03pkg_install does the right things with the files, so CHECK_PERMS is notjoerg1-1/+2
useful and creates cyclic dependencies if pkg_install is outdated. From Peter Bex.
2007-09-27- Be less aggressive when resizing the version field, just resize ifjoerg1-2/+3
the old size is not enough. Fixes PR 37031. - Disable dependency tracking in libarchive build. Supposed to address PR 36953. Bump version to 20070927.
2007-09-08Convert to use the features framework.jlam1-2/+3
2007-08-29* When adding or checking a package using pkg_admin(1), give a morejlam1-6/+5
meaningful warning if the file is a symlink whose target doesn't exist. The message has now been changed from: pkg_admin: netbsd32_compat30-extras: File `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' is in +CONTENTS but not on filesystem! to: pkg_admin: Symlink `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' exists and is in +CONTENTS but target does not exist! * Pass values for --sysconfdir (and --prefix) to the configure script instead of passing them through CPPFLAGS. Both SYSCONFDIR and PREFIX are only used by audit-packages, and the audit-packages Makefile already handles passing these values inherited from the configure script. This avoids compiler warnings that, e.g. SYSCONFDIR has been redefined on the command line. * Fix quoting for arguments to the configure script -- :Q instead of \"\". Bump version to 20070828. Reviewed by <joerg>.
2007-08-10Remove comment about importing from NetBSD.joerg1-3/+1
2007-08-04Try hard to get 64bit offsets in all modules, fixing misunderstandingsjoerg1-1/+4
between libarchive and pkg_create e.g. on HP-UX. Add my copyright to build.c, it is almost completely rewritten.
2007-08-03The forced disabling of zlib and bzip2 was meant for testing only,joerg1-4/+1
remove it. *blink*
2007-08-03- only build pkg_admin, pkg_create and pkg_info for --enable-bootstrapjoerg1-1/+54
- for pkg_create, split-off the package creation from the plist processing. package creation is disabled for --enable-bootstrap - change package creation to use libarchive - add two options (-u and -g) to override file system ownership - pkg_create now creates files in the tarball with correct owner/group based on -u/-g or @owner/@group - add a function to compute the +CONTENTS file in memory Bump version to 20070802. Review of a slightly older version by jlam@
2007-07-29Specify PKG_DBDIR to pkg_admin and pkg_info via their -K argumentseb1-3/+3
instead of environment. This allows mk/flavor/pkg/resolve-dependencies to execute '${PKG_ADMIN}': you can encounter this problem on platforms in need of pkgtools/pkg_install because their native pkg_* tools are older than PKGTOOLS_REQD, id est NetBSD 2.x and earlier. Ok'ed joerg@.
2007-07-29Remove redundant SUBST_* from package Makefileadrianp1-14/+5
OK'ed joerg@
2007-07-25Mostly deorbit mtree support:joerg1-4/+3
- pkg_create bails out with -m - pkg_add ignores mtree specs in packages and prints a warning. It does not remove the file like before. - remove now obsolete documentation. pkg_info still prints the information and pkg_admin ignores the files. Make the dependency on the tools a runtime dependency. Take maintainership of pkg_install and bump version to 20070725.
2007-07-16Change download-vulnerability-list.sh to use exec_prefix in thejoerg1-1/+3
sense of pkg_tools_prefix and prefix in the sense of LOCALBASE. This allows individual overriding for NetBSD. Add the forgotten part to allow DESTDIR builds and the pkgsrc.7 man page.
2007-07-14Update to pkg_install-20070714adrianp1-2/+27
Merge of audit-packages with various improvements: * Version 20070714 Initial release of re-write in C Add support for notfication of eol packages (-e) Multiple levels of verbosity (e.g. -v -v) Specify a custom config file to use (-c) Query running config values (-Q) Default to download .gz compress pkg-vulnerabilities file Support for .bz2 compress pkg-vulnerabilities file Verify signature on downloaded files (-s) Thanks to tron@, jschauma@, agc@, joerg@ and pkgsrc-security@ for feedback and testing.
2007-07-10Remove PKG_TOOLS_PREFIX handling for mtree, pax, pkg_install andjoerg1-19/+1
tnftp. Modifying files and possibly removing them from the base system is doing more harm than use. Bump revision or version of each package.
2007-03-11Sync with NetBSD base version:joerg1-2/+1
- obsolete support for require scripts - nuke support for the following options of pkg_create: -X (excludefile) -r (require script) -h (Force follow symlink) - add option for pkg_create to specify additional @blddep packages. This brings us to version 20070308.