Commit graph

88 commits

Author SHA1 Message Date
schmonz
b42900e9c2 USE_BUILDLINK2=no because this is a pkgsrc bootstrap tool. 2002-12-21 04:08:47 +00:00
schmonz
674ab9fcc5 There's no need for a custom ${WRKSRC} definition. 2002-12-20 18:27:14 +00:00
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
schmonz
55c0604b89 Import autoconf'd pkg_install source from
othersrc/bootstrap-pkgsrc/pkg_install into ${FILESDIR}.

Using autoconf greatly simplifies maintenance of this package across
multiple platforms. Placing the extracted source under ${FILESDIR}
will eventually let us use the same source for bootstrapping as
well, though we're not ready for this yet.
2002-12-20 18:13: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
wiz
62287655f6 Always use pkgdiff -- this avoids having RCS Ids in patches. 2002-11-23 23:14:40 +00:00
jschauma
e93af85326 Commit change to patch-ad that mysteriously got lost in last commit.
(Thanks wiz!)
2002-11-23 23:03:24 +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
abs
ad0c708fc1 Toss in strlcpy.c and hey presto: Instant linux pkg_install binaries. 2002-09-23 13:16:59 +00:00
abs
9eaafb2895 If defining TAILQ_FIRST and TAILQ_NEXT ensure we also define
TAILQ_HEAD_INITIALIZER - required for linux build.
2002-09-23 12:57:27 +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
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