summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
AgeCommit message (Collapse)AuthorFilesLines
2005-12-08sync with src (revision 1.115):dillo1-6/+6
(pkg_do) When marking already installed package as manually installed, only print message if we succeeded. Noted by wiz.
2005-12-06Specify the full path to tar when unpacking a package.ben4-15/+15
Modify pfcexec so the new process file name can be different from argv[0]. This fix is from Peter Postma, and it addresses PR#32228
2005-11-28Correct PAX_CMD to be pax.ben1-2/+2
2005-11-23Conditionally include header files, and include nbcompat.hben1-1/+17
Addresses PR#32149
2005-11-23Sync with src. Remove unused variable argc from apply_perms().ben1-3/+2
2005-11-23Remove unused variables, fix variable names to avoid shadowing globals,ben3-21/+23
and add PAX_CMD fallback macro.
2005-11-22Reduce the use of the system() function in pkg_install to avoid quotingben14-221/+425
problems. Instead, use exec*() functions. Replace PUSHOUT() macro and string buffers with a function that operates on data structures. If it is necessary to copy files into place from staging area, then use pax to copy them. Add functions in pexec.c to create a pipe for sending data to a child process. Replace pipe code in create/perform.c with these functions. Use these functions instead of command-line arguments when copying files into place from staging area. Three system() references remain: @exec, @unexec, and vsystem().
2005-11-17Fix for part of PR#32092: add SKIP_AUDIT_PACKAGES=yes so pkg_install canerh1-1/+2
be updated even if audit-packages is out of date. The audit-packages package already has this.
2005-11-14Sync with src/usr.sbin/pkg_install:dillo2-5/+5
Fix first part of PR 32068: pkg_info -Q broken for local binary packages Add BUILD_INFO_FNAME to the files to extract for SHOW_BI_VAR. Bump version.
2005-11-14Remove obsolete file from OBJS also.dillo1-2/+2
Fixes PR 32071 by HEO SeonMeyong.
2005-11-13Sync with basesrc: do not use errx in dewey.c; handle -1 return valuewiz2-6/+11
from dewey_match in pmatch.
2005-11-13Remove obsolete file.wiz1-76/+0
2005-11-08Sync with basesrc 1.3:wiz1-15/+3
Remove some unnecessary header includes.
2005-11-07Update to 20051107: Fix pkg_info -B against binary packages.dillo2-6/+4
2005-11-07Sync with basesrc:wiz1-3/+3
Replace wait(2) with equivalent waitpid(2); for Linux, reported by wulf@ on tech-pkg.
2005-11-07Aren't we forgetting something here?tv1-1/+18
(Insert config.h, nbcompat.h, and bracket the other includes with #if HAVE_<file>.)
2005-11-07Use the hard-coded ${PKG_TOOLS_BIN} variable as the correct location ofjlam2-3/+5
the pkg_admin binary.
2005-11-07INSTALL_SCRIPT_ENV wasn't being defined to include a definition forjlam1-1/+2
PKG_PREFIX, which was causing the INSTALL script to fail when run from the post-install-script target.
2005-11-06In the "update" target, use "${UPDATE_TARGET}" to install the newjlam1-2/+2
pkg_install tools. This allows customizing UPDATE_TARGET=package to produce a binary package instead of just installing the package.
2005-11-06Remove @exec from PLIST and put the action into an INSTALL script instead.jlam3-40/+65
Also, simplify the package by making use of the PKGMANDIR-handling in pkgsrc to remove the custom MANDIR code from the package Makefile and the PLIST. Technically, this type of a change would require a PKGREVISION bump, but as this is the pkg_* tools package and there were no changes to the binaries, we refrain from doing so.
2005-11-06Use config.h and add appropriate #if HAVE_FOO_H.wiz2-4/+36
2005-11-05Add new files.wiz1-3/+3
2005-11-05Not needed.wiz2-193/+0
2005-11-05Sync with base system as of Sat Nov 5 13:19:32 UTC 2005.wiz27-436/+1317
Welcome to 20051103! Now with "automatic" support.
2005-10-30Treat FTP error 450 like 550, otherwise pkg_add from a proftpd serverjoerg2-5/+5
can hang. Submitted-by: Eirik Nygaard
2005-10-07Remove CONFIGURE_ARGS setting --mandir as this is now done forreed1-2/+3
GNU_CONFIGURE. Also add a note: This breaks for those who set their own LOCALBASE to /usr and also define PKGMANDIR to different than share/man.
2005-09-28Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,rillig1-4/+4
NO_BUILD, USE_LIBTOOL.
2005-07-25Pull over change from src/usr.sbin/pkg_install:hubertf1-4/+11
| Modified Files: | src/usr.sbin/pkg_install/add: perform.c | | Log Message: | cleanup: preserve errno. Needed so err() functions ran after running | cleanup(0) print the correct error message. | | | To generate a diff of this commit: | cvs rdiff -r1.109 -r1.110 src/usr.sbin/pkg_install/add/perform.c
2005-07-25Pull over this change from src/usr.sbin/pkg_install (-current):hubertf1-14/+18
| Modified Files: | src/usr.sbin/pkg_install/add: extract.c | | Log Message: | Fix 'pkg_add -R' handling - not registering really means not touching | the pkgdb too - useful for pkg_add as non-root! | | | To generate a diff of this commit: | cvs rdiff -r1.34 -r1.35 src/usr.sbin/pkg_install/add/extract.c
2005-07-18Sync over files from src/usr.sbin/pkg_install to fix PR pkg/30658:hubertf3-23/+9
Warn, but don't error out on pkgs that were built with IGNORE_RECOMMENDED. Bump version to 20050718.
2005-06-13Use += to not override previous USE_TOOLS setting.jlam1-2/+2
2005-06-10add autoconf test for missing (like in openbsd-3.6) or broken (likedmcmahill5-15/+1429
in AIX-4.3.2) PRIu64. If it is missing or broken, provide one. Should address PR30375. Welcome to pkg_install-20050607
2005-06-07List shell tools that are needed by the pkg_view and linkfarm scripts.jlam1-1/+5
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