Commit graph

76 commits

Author SHA1 Message Date
agc
f2bc5d7427 Revert previous change (which wouldn't have worked in all cases) until more
discussion has taken place.
2002-09-05 09:20:14 +00:00
itojun
2e050af8bf make pkg_install self-bootstrapping (no need for /usr/sbin/pkg_*). 2002-09-05 00:00:27 +00:00
schmonz
67bd904082 Darwin needs -DTAR_MISSING_FAST_READ, as noted by "Masahiro =Rhythm
Drive= Ishiyama" <masahiro@wide.ad.jp> on tech-pkg@.
2002-08-12 01:58:25 +00:00
wiz
d1c1903912 Make it build on 1.4-1.4.2. 2002-08-06 11:51:01 +00:00
wiz
7dcb292dc8 regen 2002-08-05 15:55:12 +00:00
wiz
88039eecaa Make compile again on 1.4.3. [Does not compile on 1.4.2 due to missing
strlcpy.]
2002-08-05 15:54:56 +00:00
fredb
61a260e52c Reduce warning levels on NetBSD, to make this compile on the netbsd-1-5
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-05 15:11:35 +00:00
seb
368a3794f9 Until this package is updated one more time from basesrc, provide a patch
for Solaris on FTP_CMD value in Makefile.inc.
Fixed in revision 1.19 of basesrc/usr.sbin/pkg_install/Makefile.inc.
2002-08-03 18:29:52 +00:00
schmonz
7794acfa2c The 20020723 pkg_install tools use strlcpy(), which Darwin lacks.
Provide a strlcpy() implementation (from -r1.12 of
basesrc/lib/libc/string/strlcpy.c), and use it on Darwin.
2002-08-01 14:43:38 +00:00
martti
a38462735b Updated pkg_install to 20020723
- 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-08-01 09:31:13 +00:00
wiz
cd21fd6491 Remove $Id$ from patch, and standardize. regen distinfo. 2002-07-05 13:14:23 +00:00
abs
bb2cc9141c how did I mess up distinfo on patch-ah? Its a new file but.... mystery 2002-07-05 13:12:35 +00:00
abs
58f7487e94 LORDER and TSORT will be handled in the correct place 2002-07-03 22:53:17 +00:00
abs
e70f9ef77d Compile and run under Linux. We're still missing pax and mtree, but using the
Darwin bootstrap kit everything else now works.
2002-07-03 22:43:39 +00:00
martti
60479e848e Updated pkg_install to 20020402 (fixes pkg/16176)
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-10 05:51:05 +00:00
schmonz
11cf767c94 Darwin provides a /usr/bin/gnutar newer than what's in archivers/gtar-base. 2002-06-08 16:45:47 +00:00
seb
c5314a9d8b Update the pkg_* tools to version 20020218.
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-04 13:48:30 +00:00
seb
18a2cde224 Make it compile and install cleanly on Solaris.
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.
2002-03-04 12:39:37 +00:00
agc
07599c6130 On Darwin, use GNU tar (from the gtar-base package) when creating binary
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-27 22:10:15 +00:00
agc
a8ed1a238b Patches from Yuji Yamano <yyamano@kt.rim.or.jp> to make this compile
properly on Darwin.
2001-12-17 21:23:42 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
agc
a69e6c0802 Add patches for Darwin 2001-10-30 14:17:02 +00:00
agc
b97e1abdf6 Set the LOCALBASE in this package Makefile in a more scientific manner.
Add extra definitions to be able to build and install this package on
Darwin.
2001-10-30 14:12:37 +00:00
wiz
ed12cf97a3 Update to 20010724:
Better support for tbz packages, `pkg_add -u', and lots of man page fixes.
2001-07-24 15:02:14 +00:00
hubertf
83bb55975b remove NetBSDism - there is no "text" set on !NetBSD 2001-04-19 01:50:06 +00:00
hubertf
9f0cac147a Warn user that the 'text' set must be installed in order to build
(and install) this package.
2001-04-17 14:44:31 +00:00
agc
d0c6da854f + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
+ add distfile sizes to distinfo
2001-04-17 12:01:42 +00:00
wiz
62c875438b Update to 20010307: Fixes pkg/12073, and builds on 1.4.x. 2001-03-07 10:13:59 +00:00
hubertf
f3c6afed8b fix. really. now. 2001-03-07 01:11:48 +00:00
hubertf
f3bb9c24cd Next fix - go back to MD5 checksums, and rework patch 2001-03-07 01:03:12 +00:00
hubertf
45d212dba7 * Forgot patch-sum file from last commit
* Reduce context from patch-aa, as it contains a RCS Id
   (that's what you get for not using pkgdiff!)
2001-03-07 00:54:19 +00:00
hubertf
887bdb5a52 Fix this to compile on systems that don't have a make(1) from
post-1.5 NetBSD-current.

XXX is removal of NO_PATCH ok here? (Zoularis context etc.)
2001-03-07 00:17:29 +00:00
wiz
c94913c27b Update to 20010306 (bugfix for pkg_add '*'; -V option for version). 2001-03-05 18:24:05 +00:00
hubertf
b1fe99775b Allow overriding PKG_DBDIR in /etc/mk.conf 2001-02-25 03:42:16 +00:00
hubertf
7ccacb5045 Update to 20010221 to work around a pkg_* bug where "nbX" isn't properly
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-21 13:31:47 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
hubertf
9246b9d6a0 pkg_install-20001220 update.
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-12-20 04:02:45 +00:00
hubertf
0511329363 pkg_* sure support IPv6 (thanks to lukemFTP :) 2000-07-27 23:32:03 +00:00
dmcmahill
b6e6e92c6c update to 20000724.
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-24 21:20:23 +00:00
hubertf
83c02fa986 Update to 20000705.
Change: only calc MD5 checksums of plain files.
2000-07-05 20:31:50 +00:00
hubertf
137cde977e Update to sources from 20000608.
Makes this compile again on 1.3.x systems, reported in PR 10322 by
Olaf Seibert <rhialto@polder.ubc.kun.nl> and others.
2000-06-14 01:52:59 +00:00
hubertf
f3af0f3db4 Update to 20000511 version. Mostly to sync with the base system.
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-05-15 00:54:54 +00:00
hubertf
c103ff363a Make the "how to update the distfile" ready for cut-n-paste 2000-02-27 04:28:47 +00:00
hubertf
52c188d0e3 bump to 20000202 2000-02-02 16:26:51 +00:00
wiz
42da0a2002 miscellaneous small changes to make pkglint happy 2000-01-10 01:39:02 +00:00
hubertf
a4218c8afc bump to 19990909 - DEINSTALL fix 1999-09-09 01:59:04 +00:00
hubertf
4d99083a05 Bump version to pkg_install-19990823.
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-23 15:41:24 +00:00
hubertf
035684b0e0 Update checksum for pkg_info/delete changes. 1999-08-19 21:44:27 +00:00
tron
33dca58479 Update package tools to version 19990819:
- fixes false conflict detection in "pkg_add".
1999-08-19 07:32:57 +00:00
agc
fd7b118f38 Some packages use bsd-style .mk files when building, and so any manual
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.
1999-07-02 08:37:20 +00:00