Commit graph

58 commits

Author SHA1 Message Date
schmonz
f2197af27c As the sources are now in ${FILESDIR}, there's no distfile to fetch,
and the "do-extract" target copies the sources into ${WRKSRC}. We
automagically determine VERSION by inspecting ${FILESDIR}/lib/version.h.

Thanks to autoconf, all the patches and almost all of the cruftulent
${OPSYS}-specific stuff in the Makefile are gone.
2002-12-20 18:15:52 +00:00
hubertf
3e6754dedc Clean up wording a bit. Emphasize that PKGTOOLS_REQD should only be
changed if really necessary.
2002-12-12 01:50:47 +00:00
schmonz
0a1bd5acad Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate. 2002-12-07 02:38:52 +00:00
jschauma
8148af8e58 Upgrade to version 20021123, which fixes PR pkg/18384 by Grant.
Curiously, several of the patches required some changes -- have these
not been tested with the latest version of pkg_install?
2002-11-23 22:49:47 +00:00
cjep
dd2d72e624 Tweaks for OpenBSD (cf. recent bootstrap-pkgsrc commit) 2002-11-17 09:37:21 +00:00
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
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
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
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
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
wiz
62c875438b Update to 20010307: Fixes pkg/12073, and builds on 1.4.x. 2001-03-07 10:13:59 +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
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
tron
1c642418ed Downgrade to version 19990412. 1999-05-30 16:54:16 +00:00
tv
20b0669301 Set LOCALBASE explicitly after bsd.pkg.mk, and do not set PREFIX. 1999-05-30 14:02:52 +00:00
christos
a4d1df77f9 update package source to 19990529 1999-05-30 03:21:58 +00:00
tron
2faa58cd00 Neither "patch" nor "configure" step is required. 1999-04-19 20:11:07 +00:00
tron
a6c8cfea36 Update "pkg_install" package to 12-April-1999 current sources. 1999-04-19 19:58:57 +00:00
hubertf
ebc24f39ef The print-pkgtools_ver target was renamed to show-pkgtools-version
some time ago. Note this here!
1999-04-18 23:03:36 +00:00
rh
8b199e515c Fix shell error causing "Syntax error: end of file unexpected"
if ${PKG_DBDIR} is missing
1999-04-16 10:50:12 +00:00
hubertf
7e6fa7c776 No need to call "pkg_admin rebuild" for every install. 1999-03-30 12:52:36 +00:00
garbled
466c7c1594 If the user has never installed a package before, /var/db/pkg does not
exist, and pkg_admin rebuild fails miserably.  Create this directory
if it does not exist.
1999-03-25 16:18:47 +00:00
tv
1f26cde619 This is pkgsrc, not the main tree; lint and depend only add useless extra
to the compile time.
1999-03-16 15:42:59 +00:00
hubertf
41e25a0c48 Call "pkg_admin rebuild" if it was never run before.
This should ONLY be run when upgrading from a non-pkgdb to a
pkgdb-version of the pkg_* tools.
1999-03-13 03:47:49 +00:00
bad
28d2e66b3a To be able to shoot oneself in the foot with a binary package of this,
LOCALBASE and NO_MTREE must be set.  Some manual intervention is still
necessary before it can hurt, though.
1999-03-08 17:34:51 +00:00
hubertf
0778b85ccb Adjust for the pkgdb code 1999-01-19 23:34:07 +00:00
hubertf
ed5fd0d3c4 bump PKGTOOLS_REQD to 19981107 1998-11-09 15:45:11 +00:00