summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
AgeCommit message (Collapse)AuthorFilesLines
2002-09-05Revert previous change (which wouldn't have worked in all cases) until moreagc1-7/+1
discussion has taken place.
2002-09-05make pkg_install self-bootstrapping (no need for /usr/sbin/pkg_*).itojun1-1/+7
2002-08-12Darwin needs -DTAR_MISSING_FAST_READ, as noted by "Masahiro =Rhythmschmonz2-6/+7
Drive= Ishiyama" <masahiro@wide.ad.jp> on tech-pkg@.
2002-08-06Make it build on 1.4-1.4.2.wiz4-16/+34
2002-08-05regenwiz1-2/+2
2002-08-05Make compile again on 1.4.3. [Does not compile on 1.4.2 due to missingwiz2-2/+18
strlcpy.]
2002-08-05Reduce warning levels on NetBSD, to make this compile on the netbsd-1-5fredb2-6/+11
branch. WARNS=2 turns on all kinds of stuff that isn't really appropriate, and isn't turned on in current. "-Wwrite-strings", in particular, triggers an error on a bit of harmless code in "file.c". Closes PR pkg/17840.
2002-08-03Until this package is updated one more time from basesrc, provide a patchseb2-5/+14
for Solaris on FTP_CMD value in Makefile.inc. Fixed in revision 1.19 of basesrc/usr.sbin/pkg_install/Makefile.inc.
2002-08-01The 20020723 pkg_install tools use strlcpy(), which Darwin lacks.schmonz3-7/+77
Provide a strlcpy() implementation (from -r1.12 of basesrc/lib/libc/string/strlcpy.c), and use it on Darwin.
2002-08-01Updated pkg_install to 20020723martti6-25/+25
- remove handling of PKG_ADD_BASE. - don't search current directory if PKG_PATH is set. - don't prefer local directories. - constify and cleanup.
2002-07-05Remove $Id$ from patch, and standardize. regen distinfo.wiz2-79/+77
2002-07-05how did I mess up distinfo on patch-ah? Its a new file but.... mysteryabs1-2/+2
2002-07-03LORDER and TSORT will be handled in the correct placeabs1-2/+1
2002-07-03Compile and run under Linux. We're still missing pax and mtree, but using theabs10-73/+242
Darwin bootstrap kit everything else now works.
2002-06-10Updated pkg_install to 20020402 (fixes pkg/16176)martti2-5/+5
Check the return code from the second invocation of installprereq(), to make sure that a failed installation of a rpe-requisite package kills the attempt to add the package. This reverts pkg_add(1) to traditional behaviour.
2002-06-08Darwin provides a /usr/bin/gnutar newer than what's in archivers/gtar-base.schmonz2-5/+5
2002-03-04Update the pkg_* tools to version 20020218.seb4-23/+25
Changes summary: - Support digital signatures in binary packages. - Use full path name to tar. - Fix ``pkg_add -u'' for packages without dependencies. - Add ``-U'' and ``-I'' options to pkg_create. - Close some memory leaks. - Add ``-n'' argument to pkg_info to show needed packages. - Fix pkg_info to not FTP unneccessarily - Improve version number handling: - recognition of "pl" ("patchlevel") and "rc" ("release candidate") strings - recognition of '_' and "pl" as pseudonyms for '.' (1.2pl2 == 1.2.2) - handle alphabetic characters properly (1.2e == 1.2.5) - 64-bit integers are used internally for each component of the version number. - Various internal cleanups, bugfixes, and API tweaks.
2002-03-04Make it compile and install cleanly on Solaris.seb1-2/+14
Avoid using '..' in LOCALBASE as it might end up in the binaries as part of TAR_FULLPATHNAME. Record MANINSTALL setting. Add a workaround for SHLOCK definition or else LOCALBASE setting breaks it.
2001-12-27On Darwin, use GNU tar (from the gtar-base package) when creating binaryagc2-4/+7
packages, since certain arguments passed to the tar command by pkg_create assume the existence of GNU tar (-T for one), and Darwin's standard tar doesn't understand these.
2001-12-17Patches from Yuji Yamano <yyamano@kt.rim.or.jp> to make this compileagc3-11/+11
properly on Darwin.
2001-10-31Move pkg/ files into package's toplevel directoryzuntum2-1/+1
2001-10-30Add patches for Darwinagc3-10/+49
2001-10-30Set the LOCALBASE in this package Makefile in a more scientific manner.agc1-2/+10
Add extra definitions to be able to build and install this package on Darwin.
2001-07-24Update to 20010724:wiz2-5/+5
Better support for tbz packages, `pkg_add -u', and lots of man page fixes.
2001-04-19remove NetBSDism - there is no "text" set on !NetBSDhubertf1-2/+2
2001-04-17Warn user that the 'text' set must be installed in order to buildhubertf1-1/+5
(and install) this package.
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc3-7/+6
+ move the patch digest/checksum values from files/patch-sum to distinfo + add distfile sizes to distinfo
2001-03-07Update to 20010307: Fixes pkg/12073, and builds on 1.4.x.wiz2-4/+4
2001-03-07fix. really. now.hubertf2-6/+8
2001-03-07Next fix - go back to MD5 checksums, and rework patchhubertf3-15/+10
2001-03-07 * Forgot patch-sum file from last commithubertf2-3/+5
* Reduce context from patch-aa, as it contains a RCS Id (that's what you get for not using pkgdiff!)
2001-03-07Fix this to compile on systems that don't have a make(1) fromhubertf3-2/+38
post-1.5 NetBSD-current. XXX is removal of NO_PATCH ok here? (Zoularis context etc.)
2001-03-05Update to 20010306 (bugfix for pkg_add '*'; -V option for version).wiz2-7/+7
2001-02-25Allow overriding PKG_DBDIR in /etc/mk.confhubertf1-5/+6
2001-02-21Update to 20010221 to work around a pkg_* bug where "nbX" isn't properlyhubertf2-4/+4
recognized in version matching of pkg_add, pkg_admin. This is the src/usr.sbin/pkg_install from -current as of today, with pkg_install/Makefile.inc and pkg_install/Makefile from 1.5, to allow this to build.
2001-02-17Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-12-20pkg_install-20001220 update.hubertf2-4/+4
Post-1.5 version that fixes the timeout-problem when installing via FTP (the 10-minute timeout was on the whole transfer, not on a single file inside the package).
2000-07-27pkg_* sure support IPv6 (thanks to lukemFTP :)hubertf1-1/+2
2000-07-24update to 20000724.dmcmahill2-4/+4
This includes a buffer overflow bug fix in pkg_add which was causing pkg_add to segfault on teTeX on pmax. The bug was present on all ports though. As far as I can tell this was a non-exploitable overflow.
2000-07-05Update to 20000705.hubertf2-4/+4
Change: only calc MD5 checksums of plain files.
2000-06-14Update to sources from 20000608.hubertf2-4/+4
Makes this compile again on 1.3.x systems, reported in PR 10322 by Olaf Seibert <rhialto@polder.ubc.kun.nl> and others.
2000-05-15Update to 20000511 version. Mostly to sync with the base system.hubertf2-4/+4
Among others: * pkg_add: Quick pre-check if any conflicting dependencies are installed (e.g. version X is installed, but version Y is required), before downloading all depends, and bail out later. * pkg_admin: add lsbest, lsall commands to interface the C functions findmatchingname() and findbestmatchingname(); useful to expand pkg patterns for shell scripts etc. * pkg_admin: allow pkg without version to "check" command * pkg_delete: properly deal with wildcards in pkg_delete -R * More code cleanup, clearer error messages and minor enhancements. This also fixes a bunch of PRs, sorry for not listing any numbers.
2000-02-27Make the "how to update the distfile" ready for cut-n-pastehubertf1-2/+2
2000-02-02bump to 20000202hubertf2-4/+4
2000-01-10miscellaneous small changes to make pkglint happywiz1-2/+1
1999-09-09bump to 19990909 - DEINSTALL fixhubertf2-4/+4
1999-08-23Bump version to pkg_install-19990823.hubertf2-4/+4
Main reason is that the last update collided with an earlier one on the same day, and people ended up with the wrong distfile (content-wise). New features in this version: - Compile in full names for chown(1), chmod(1) and chgrp(1). Fixes PR 8250 by Wiz <wiz@danbala.ifoer.tuwien.ac.at>. - pkg_delete calls DEINSTALL script a second time after all the files are removed, with "DEINSTALL $PKGNAME POST-DEINSTALL" as args
1999-08-19Update checksum for pkg_info/delete changes.hubertf1-2/+2
1999-08-19Update package tools to version 19990819:tron2-5/+4
- fixes false conflict detection in "pkg_add".
1999-07-02Some packages use bsd-style .mk files when building, and so any manualagc1-4/+2
pages that are installed will be gzip-compressed, if MANZ is set, or not if MANZ is not set. If the package uses bsd-style .mk files, the variable MANCOMPRESSED_IF_MANZ should be set to a value of "yes" in the package Makefile. This replaces the previous method of specific inclusion of bsd.prefs.mk, followed by a check for MANZ and conditional assignment of MANCOMPRESSED. Add appropriate documentation, and change all necessary ocurrences in package Makefiles.