summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
AgeCommit message (Collapse)AuthorFilesLines
2005-06-02Include netdb.h for Solaris. From Neil Hoggarth in PR 30399.wiz1-2/+5
2005-05-30Sync with base 1.53: Comment out too noisy warning.wiz1-2/+6
2005-05-30Update to 20050530:wiz17-108/+167
Sync with base system: Ranges support and some other stuff that wasn't pulled over.
2005-05-29Sync with 20050529 in src/.minskim2-5/+5
If a pattern does not have any suffix, assume that it matches both ".tbz" and ".tgz". This allows to install binary package dependencies that are not exact matches, but satisfy requirements.
2005-05-28- pull in the changes from usr.sbin which prevent an over flowdmcmahill4-19/+25
of a 32 bit signed number when pkg_add-ing a binary package file larger than 512 Mb. - Bump PKGTOOLS_VERSION (NOT!!! PKGTOOLS_REQD) to 20050527
2005-05-16Note that this package wants mtree, pax, and tar.jlam1-1/+2
2005-05-10Output the error string when renaming a dependency file fails. This hasrillig1-3/+3
happened to me when I had a misnamed directory in the pkgdb directory.
2005-05-06Sync with usr.sbin/pkg_install/add/pkg_add.1 v1.59.wiz2-21/+65
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-20Address PR pkg/24744 by Jarmo Jaakkola <jarmo.jaakkola@iki.fi>:hubertf2-6/+6
* ftp.fi.netbsd.org returns "257" in return to a "cd" command, accept that (in addition to 250 and 550). Seems to be allowed per RFC 959. * Make buffer for reply bigger (not too big, as it may hit performance). * Bump PKGTOOLS_VERSION (NOT!!! PKGTOOLS_REQD) to 20050318
2005-03-11Never access argv[i+1] before you know that argv[i] != NULL. Approvedrillig1-6/+6
by wiz.
2005-03-07Bring over the clearer mismatch warning message from src.agc1-3/+3
+ state that the message is just a warning + make it clearer what an OS mismatch is
2005-02-21sync with src:grant1-3/+3
initialise a variable before using it. pkg_info binpkg.tgz would pass garbage on the command line to tar(1).
2005-02-20sync with src:grant1-3/+3
cast return value of min_free() to uint64_t. fixes pkg_add <binarypkg> on Solaris 8.
2005-02-14Redo previous; follow the new idiom of quoting variables ("\"${XYZ}"\")uebayasi1-5/+5
which may be passed to command line, and may contain white spaces.
2005-02-12Quote command strings to be passed to configure script.uebayasi1-5/+5
2005-02-11regen from man page update. pointed out by jlam@ - thanks!grant1-6/+3
2005-02-10pull in binary pkg handling changes from src:grant5-31/+14
rework pkg_info(8) operating on binary packages, deprecating the `-.' argument as it is no longer required (but is retained as a no-op for backward compatibility). the behaviour is now what is expected and intended: - when the pkg argument is path (absolute or relative) to a binary pkg, pkg_info operates on it. - when no pkg argument is given, or the argument is not a binary pkg path, pkg_info operates on the installed packages. `pkg_info foo-1.0.tgz', `pkg_info /path/to/foo-1.0.tgz', etc. now work correctly when foo-1.0.tgz is in the cwd. bump PKGTOOLS_VERSION to 20050210.
2005-02-05Pull in documentation improvements and a minor change to allow buildingjlam4-17/+17
with WARNS=2 from src/usr.sbin/pkg_install. No functional change and no version bump.
2005-02-04Update pkgtools/pkg_install to 20050204 (latest release from the HEADjlam10-43/+163
branch of src). Changes from version 20050106: Teach pkg_add(1) and pkg_delete(1) to pass PKG_METADATA_DIR and PKG_REFCOUNT_DBDIR in the environment when running the +* scripts. PKG_METADATA_DIR is the location of the +* files after the package is registered. PKG_REFCOUNT_DBDIR is the location of the reference counts database directory. If PKG_REFCOUNT_DBDIR is left unset, then it defaults the the location of the package database directory with ".refcount" appended to the path, e.g. /var/db/pkg.refcount. pkgviews users should explicitly set PKG_REFCOUNT_DBDIR in the shell environment to ensure that all packages will use the same refcount database. These changes allow the +INSTALL and +DEINSTALL script to keep state in +* files within ${PKG_METADATA_DIR}, and to store reference counts in ${PKG_REFCOUNT_DBDIR} to handle usage of resources outside of ${LOCALBASE}.
2005-02-04Pull in documentation/whitespace fixes and improvements from the HEADjlam10-51/+85
revision of src/usr.sbin/pkg_install as of 20050204. I ran: cd pkgsrc/pkg_install/files ./pkg_install2nbcompat . Then I ran "cvs diff" and looked for portability-related changes that were removed as a result of the import and resurrected them from the repository.
2005-02-03s/pax/pkg_install/ in the usage message.jlam1-2/+2
2005-01-22The "make update" target did not clean up after itself, which has causedjklos1-1/+2
problems when people run "make update" without checking to see if anything old was still around. "make update" now cleans after installing.
2005-01-07Sync changes with src/:agc4-13/+11
+ always echo the command which is about to be executed during a pkg_add or pkg_delete, not just when verbose mode is on. + extract files on ftp pkg_adds with the 'p' flag to tar, to preserve modes of entries in the binary package. (Addresses PR 28826 from Tyler Retzlaff) Bump version to 20050106
2005-01-06Don't "cp -p" for *source* files. Builds are usually done as an unprivilegedtv1-2/+2
user, so it's not nice to try to use an option that will try to chown if the repository isn't owned by the builder. (Some OS's do in fact cause an error when the chown in "cp -p" fails.)
2004-12-29Pull in portability changes from src, and bump version to 20041226:agc21-173/+182
Introduce a new abstraction in the C code, called MaxPathSize. All previous occurrences of MAXPATHLEN and FILENAME_MAX have been changed to use MaxPathSize instead. If MAXPATHLEN is not defined, then assume a default value of 1024 (this is primarily for use on the Hurd). The reason for this is that some older platforms define FILENAME_MAX to be 14, although MAXPATHLEN is 1024. On BSD-derived systems, FILENAME_MAX And MAXPATHLEN are both 1024. Bump pkg_install version to 20041226. These modifications have been tested so far on a NetBSD-current bulk build.
2004-12-12update config.{sub,guess} for various bootstrap tools. fixes build ongrant2-173/+374
newer platforms such as DragonFly. fixes PR pkg/28579 from Todd Willey.
2004-12-10Document the double "-u" option for updating dependant packages.erh3-7/+18
Bump the version to 20041210.
2004-12-09Explicitly override the update target to cause the deinstall step to happenerh1-1/+9
after the package is built. This is necessary because the pkg_delete binary that is used is the one from the WRKDIR, not the installed one.
2004-12-09Make binary updates work better when there are dependant packages toerh4-37/+56
update also. Specifying -u twice will now update the named package and its dependencies. Also make sure Fake really means Fake, even if update is specified.
2004-11-20sync with src:grant1-2/+2
no trailing comma at end of enum.
2004-11-10Bring over manual page patches from src/agc2-11/+13
Document the "pre" magic string, and bump date for this change. Re-generate the preformatted manual page having done this.
2004-11-10Recognize "pre" as pre-release version. Bump version to 20041110.wiz2-4/+5
2004-11-03regen.wiz1-7/+7
2004-11-03Sync with basesrc.wiz2-16/+16
2004-11-02Merge the usedot and ctype-function changes from src.erh3-25/+26
2004-11-02Add a -N option to pkg_delete to delete registration information for a packageerh10-26/+53
but not its files. Override PKG_DELETE when building this package so -N can be used to upgrade an existing install. Bump version to 20041101.
2004-10-31sync with src:grant2-5/+22
don't explicitly call gunzip, just pass the right arguments to tar. fixes package decompression on Solaris where gunzip is not available (but gzip is), and also decompression of bzip2 packages on non-NetBSD.
2004-10-05PR pkg/23719: allow a pkg_install package to be created so a system can beerh1-3/+1
updated using entirely binary packages.
2004-08-31Don't use .PHONY, which isn't understood by every make. Split out thejlam1-3/+6
"all" target as the first one so that a bare "make" will build the "all" target by default. This should fix problems seen on AIX 5.1.
2004-08-26regen pkg_info.cat1 after last update to man page source.grant8-181/+184
while here, regen all catman pages on NetBSD-current w/ groff 1.19, the output is much improved over groff 1.16.
2004-08-23Suck in recent minor changes made to this file.snj1-5/+5
2004-08-23Pull-up -R descripion change from src tree.cube1-3/+3
2004-08-21Fix the version number of the package in the configure script, and modifyjlam9-50/+30
the Makefiles so that they can be built by really basic make programs.
2004-08-21Alphabetize list of headers.jlam2-6/+8
2004-08-20Add a script that imports from src HEAD to a named directory.jlam1-0/+53
2004-08-20Update pkgtools/pkg_install to 20040813 (latest release from the HEADjlam16-48/+112
branch of src). Changes from version 20040730 include: Modify pkg_info so that it will only print information on uninstalled binary packages in the current working directory if -. is given on the command line. If no -. is given, pkg_info will look for its information in the ${PKG_DBDIR}. This addresses a long-held gripe on the part of a number of people, including myself (agc), which completely violated the POLS. Add a -q switch to pkg_admin, which allows it to work in a quiet manner. Fixes the change request in PR 26583, but in a different manner, preserving existing behaviour and making the new behaviour dependent upon a command line option.
2004-08-14Convert to use libnbcompat/inplace.mk.jlam1-17/+2
2004-08-13Typo: it's <regex.h>, not <regext.h>.jlam3-4/+4
2004-08-13Add checks for all of the system headers used in the sources. Also includejlam4-9/+137
missing <netdb.h> in lib/ftpio.c for MAXHOSTNAMELEN definition on Solaris.