Commit graph

805 commits

Author SHA1 Message Date
jschauma
588eb561c1 Synch with basesrc:
Use EXIT_FAILURE, rather than hardcoding a value of '1' in err(3) and
errx(3).

Plug a memory leak by modifying the signature of
_pkgdb_getPKGDB_FILE() to take a buffer and its size, and fill in that
buffer and return it.

Add an enumerated type which is used in pkgdb_open() to specify
read-only or read-write mode.

Modify the return value of pkgdb_open() to have a more logical boolean
value.
2003-01-06 04:34:15 +00:00
tron
9b88cf0cee Create a symlink for "lib/libXdpms.a" which is required to build e.g.
"xlockmore" on NetBSD-i386 with XFree86 3.3.6. This fixes PR pkg/19330
by Michael van Elst.
2003-01-03 10:34:39 +00:00
tron
db866bd3f8 Link bitmap files again because they are e.g. need to build the
"enlightenment" package. Bump version number to 0.10.
2003-01-03 10:22:04 +00:00
schmonz
a047ece31c Update to 3.41:
- replace occurrences of "make" with @MAKE@

- add @MAKE@ to the list of variables to get sod (I never learned
  properly how to conjugate "sed")

- warn about NO_PATCH, since it hinders more than it helps

- remove NO_PATCH from Makefile to quell new pkglint warning
2003-01-02 22:58:41 +00:00
atatat
3ecbe5d669 In the case that we really can't determine the PKGNAME properly, just
punt and invoke "make show-vars VARNAMES=PKGNAME" and get make to tell
us.

This addresses the issue of:

Cannot extract digest-UNDEFINED version (/usr/pkgsrc/pkgtools/digest/Makefile)
Cannot extract pkg_install-UNDEFINED version (/usr/pkgsrc/pkgtools/pkg_install/Makefile)
Unknown package: 'digest' version 20010807
Unknown package: 'pkg_install' version 20021123

Patch reviewed by the wiz.
2003-01-02 22:17:45 +00:00
sommerfeld
2b752e6ae6 fix error message: s/one arguments/one argument/ 2002-12-30 18:27:54 +00:00
atatat
8ad9550052 Remove NO_PATCH, add a "do-extract" target, and tweak the "do-build"
target in a related manner.  This allows one to maintain local patches
vs this pkg.
2002-12-29 16:25:24 +00:00
jschauma
43f3a41754 Synch with bootstrap-pkgsrc to make this compile on linux.
(Pointed out by Jeremy C. Reed (reed at reedmedia dot net).)
2002-12-28 21:44:00 +00:00
veego
f5abc8682d Update to 0.8.
Changes:
- Support XFree86 4.2.99.3, so we support the upcoming 4.3
- There is no need to link bitmap files, which was introduced while
  switching to bulidlink2
- Add the following new files:

include/X11/Xcursor/Xcursor.h
include/X11/extensions/bigreqstr.h
include/X11/extensions/extutil.h
include/X11/extensions/mitmiscstr.h
include/X11/extensions/multibufst.h
include/X11/extensions/shapestr.h
include/X11/extensions/shmstr.h
include/X11/extensions/syncstr.h
include/X11/extensions/xcmiscstr.h
include/X11/extensions/xteststr.h
lib/llibXcursor.a
lib/libXcursor.so
lib/libXcursor.so.1
lib/libXcursor.so.1.0
lib/libXrandr.so.2
lib/libXrandr.so.2.0
lib/libXrender.so.1.2
lib/libXv.so
lib/libXv.so.1
lib/libXv.so.1.0
2002-12-27 13:08:24 +00:00
wiz
5726248e21 Drop a traling space, add abbreviation dots to an abbreviation, and replace
"\>" with (better convertible) "\*[Gt]".
2002-12-26 11:12:59 +00:00
atatat
ad6f4d4660 Upgrade pkgdepgraph to 1.1. New features are:
(1) Graph recoloring, so that as you delete and rebuild bunches of
packages, you can see how far along you are (I use this a *lot*).

(2) Subgraph grouping (based on work done by David Maxwell) which
clusters groups of packages with common prefixes in their names inside
a box.

(3) The explicit dependency on the graphviz pkg has been removed so
that pkgdepgraph can be run on "client machines" that only wish to
generate graph data, not to view it (ie, machines that have packages
installed but which do not wish to incur the overhead of X or the
other stuff that graphviz requires).  The fact that you should install
graphviz *somewhere* so that you can view the data is noted by the new
INSTALL script.

Some useless comments have also been removed.
2002-12-26 05:40:48 +00:00
jmmv
60d7bb0d37 Update bsdpak to 0.52, as requested in PR pkg/19561 by collver1 at attbi.com,
the maintainer.

This version fixes a minor bug when the INDEX file does not exist.
2002-12-25 16:04:36 +00:00
wiz
e1e2ff0628 Replace collver@linuxfreemail.com with collver1@attbi.com.
Closes PRs 19516, 19517, 19518, 19519, 19520, 19521, 19522, 19523,
19524, 19525 and some more, perhaps.
2002-12-24 18:55:32 +00:00
jmmv
5db3a401f4 Update pkg_comp to 1.4:
- Added an EXTRAMK variable to allow the addition of any kind of stuff
  into the generated mk.conf.
- While creating the template, quote ${LOCALBASE} so it does not get
  replaced. Reported by Douglas Brebner in PR pkg/19509.
2002-12-24 16:28:33 +00:00
schmonz
4ccf97627b USE_BUILDLINK2 after all. It works, so why not? 2002-12-24 07:55:15 +00:00
schmonz
687dc0aa1d pkg_install uses Berkeley DB. USE_BUILDLINK2, USE_DB185, and include
databases/db/buildlink2.mk.

On platforms that lack Berkeley DB, pkg_install will build and
install from bootstrap-pkgsrc, but will be missing some important
functionality. On such systems, once bootstrapped, install this
package to get full functionality. (We'll take care of this
automatically in the future.)

Platforms that are reported to lack Berkeley DB in the base system:
Solaris, some Linuxes. There are probably others.

Suggested by "Jeremy C. Reed" <reed@reedmedia.net> on tech-pkg@.
2002-12-24 07:46:09 +00:00
cjep
afa55834c5 Whitespace fix 2002-12-23 16:24:59 +00:00
wiz
1926711f12 s/buildlink/buildlink2/ 2002-12-23 14:05:45 +00:00
wiz
f1f36e7b61 Update to 2.3:
Do not install createbuildlink1 any longer -- the buildlink1 era is over.
2002-12-23 14:03:34 +00:00
grant
f2aa2a7729 reorder libraries passed to ld(1) so that this works if libdb1 is
present.

From Frank Cusack in PR pkg/19494.
2002-12-22 13:10:12 +00:00
grant
4c9c04ddc9 fix MD5File() compatibility function to accept NULL second argument.
fixes problem with `pkg_admin check'.

Fix from Frank Cusack in PR pkg/19492.
2002-12-22 12:15:11 +00:00
salo
7bf03737bd Revert previous change.
It turned out to be "pkg_install installed over zoularis and wrong PATH" local
problem.  Sorry for the fuzz.
2002-12-22 09:12:11 +00:00
salo
e87d652ff9 Update ZOULARIS_VERSION on non-NetBSD systems after installation.
This stops current loop:
- PKGTOOLS_REQD bump
- update pkg_install
- ZOULARIS_VERSION is too small, newer pkg_install required
- update pkg_install
- ZOULARIS_VERSION is too small, newer pkg_install required
...
2002-12-22 08:58:05 +00:00
schmonz
3b05b1365a These packages no longer use BSD-style .mk files, so MANCOMPRESSED_IF_MANZ
and MANINSTALL aren't needed.
2002-12-21 05:05:28 +00:00
schmonz
b42900e9c2 USE_BUILDLINK2=no because this is a pkgsrc bootstrap tool. 2002-12-21 04:08:47 +00:00
schmonz
9ded3433a9 "Import" autoconf'd digest source from othersrc/bootstrap-pkgsrc/digest
into ${FILESDIR}. (Using autoconf greatly simplifies maintenance
of this package across multiple platforms.) Copy the sources into
${WRKSRC} during "do-extract". We automagically determine VERSION
by inspecting ${FILESDIR}/configure.

USE_BUILDLINK2=no because this is a pkgsrc bootstrap tool.
2002-12-21 04:06:10 +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
jmmv
e5df620236 Update pkg_comp to 1.3:
- Added ability to tune LOCALBASE and PKG_SYSCONFBASE.
- Deprecated PTHREAD_TYPE variable, not useful any more.
- Multiple error checking (directory presence) added.
- Several bugfixes (specially in removepkgs target).
- Replaced "echo -n" with "printf" (more portable).
- Replaced "! -z" with "-n" when doing tests.
- Changed my email address to the NetBSD one.
2002-12-19 14:47:04 +00:00
jmmv
0a620d2df5 Quote $? variable in a here document, so it is not expanded during its
generation. Pointed out by Stoned Elipot. Bump version to 1.2.
2002-12-14 23:27:50 +00:00
abs
6826b96b8b shorten COMMENT 2002-12-12 14:34:49 +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
54cff28fe1 3.39: note that IGNORE is deprecated in favor of PKG_{FAIL,SKIP}_REASON.
Nudged by wiz@, who sees all.
2002-12-10 14:30:36 +00:00
wiz
3bc60751f1 Update to 3.38: Complete handling of category/Makefile; now compares
list of SUBDIRS against list of directories and complains about mismatches.
2002-12-10 12:42:40 +00:00
tron
392d299349 Add proper handling for hardlinks. This fixes e.g. the zero byte locale
files in the "suse_base" package causing error messages like this:
Gdk-WARNING **: locale not supported by C library
Bump version number to 1.3.
2002-12-09 15:16:26 +00:00
cjep
36b627bb79 Fix typo in manual page. 2002-12-08 12:54:44 +00:00
schmonz
0a1bd5acad Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate. 2002-12-07 02:38:52 +00:00
jlam
462086f7c0 Typo. 2002-11-26 08:33:18 +00:00
jlam
ad3034ce59 Use "cp" instead of "pax" to copy the directory trees. 2002-11-26 06:53:57 +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
wiz
b26517889d Some cleanups by Greg A. Woods in PR 18710. 2002-11-23 22:47:02 +00:00
cjep
9d2bd6d79f Honour ZOULARISBASE, rather than expecting bmake in ${PREFIX}/bsd/bin.
This should work with the Zoularis kit and the bootstrap kit.

XXX The patches should go into 1.11.
2002-11-23 20:55:21 +00:00
schmonz
717755e635 Any "digest" newer than 2001 is acceptable. This allows the "digest"
installed by bootstrap-pkgsrc to satisfy the dependency requirement.
2002-11-23 01:07:31 +00:00
cjep
dd2d72e624 Tweaks for OpenBSD (cf. recent bootstrap-pkgsrc commit) 2002-11-17 09:37:21 +00:00
wiz
9062b95009 Only avoid checking mk/bsd*, not all files from mk/. Bump to 3.37. 2002-11-14 04:01:55 +00:00
atatat
71963230ed Add pkgdepgraph 2002-11-07 23:18:37 +00:00
atatat
d356b9d1be pkgdepgraph prints out a "dot" language specification of the
inter-dependencies of your installed packages.  The "dot" language
is interpreted by the graphviz package to make graphs.  There are
several uses for such information.

(1) A graphical representation of information is always good to
look at.

(2) The output itself can be sorted and filtered to provide a list
of packages to delete in order that they can be rebuilt (to replace
out-of-date components).

(3) You can visually estimate the work involved in (or impact of)
removing a given component in order to replace it.
2002-11-07 23:18:01 +00:00
wiz
d4a9442bd3 Update to 0.107: Do not exit when pkgdiff fails on one file, just report
an error.
2002-11-04 23:07:37 +00:00
rh
8a0b15f754 Update url2pkg to 1.20. Changes are:
- recognise newer GNU configure scripts
	- USE_BUILDLINK2
	- add support for PKGCONFIG_OVERRIDE
2002-10-30 03:33:56 +00:00
jlam
295f3b814a Use BUILDLINK_CPPFLAGS.rpm and rely on buildlink2 to make "-lrpm" resolve
to the correct library.
2002-10-20 23:23:53 +00:00
rh
5b20add2de Properly quote environment variable in test statement. 2002-10-16 08:53:15 +00:00
rh
30cf40c883 Update createbuildlink to 2.2. Now includes a '-j' option to join together
PLISTed header files in a directory, listing them as '*.h'
2002-10-16 08:50:48 +00:00
hubertf
760c3dae2e Update pkg_tarup to 1.2. Changes:
find pkg_create etc. on Solaris etc.
Suggested by Mark Davies <mark@mcs.vuw.ac.nz> in private mail.
2002-10-14 15:28:42 +00:00
abs
cc24cb9e86 Update pkgchk to 1.34:
Actually work around 1.6 pkg_tools PKG_PATH problems, rather than
	just making matters worse.
2002-10-08 15:44:13 +00:00
abs
fa69af438a Update pkg_chk to 1.33:
Work around a deficiency in the 1.6 pkg_add - cd to the directory
	containing a binary package before running pkg_add, to ensure it can
	pick up dependencies.
2002-10-08 11:43:33 +00:00
jlam
103aee9d25 Move the _REQUIRE_* definitions from xfree.buildlink2.mk to the x11-links
Makefile so that they won't be defined for other packages that include
xfree.buildlink2.mk.
2002-10-08 09:23:17 +00:00
jlam
e6da791d8a Remove reference to x11.buildlink.mk. 2002-10-08 08:04:23 +00:00
hubertf
0d44ca0a05 Update to 1.1. Mostly cosmetic changes, among others incudes patch from
PR 18546 by woods@weird.com (Greg A. Woods).
2002-10-07 14:43:08 +00:00
atatat
3642d7598c Upgrade to 3.36. Fixes the problem with $pkg_installver being
"uninitialized" for some cases.  Approved by the wiz.
2002-09-30 16:08:17 +00:00
martti
a1a8f62005 Added distfetch 2002-09-30 08:37:52 +00:00
martti
e2a5a561e8 distfetch helps you to fetch all the distfiles you need to compile
your packages. Only the required distfiles are downloaded.
2002-09-30 08:37:13 +00:00
rh
f407e7ef98 Update createbuildlink to 2.1. This adds some patterns to recognise AppKit
style Objective C headers and libraries.
2002-09-27 21:19:58 +00:00
jlam
84cb9a37e9 Create a new variable USE_X11_LINKS that controls whether packages that
use buildlink2 and set USE_X11 will use x11-links, or if they will simply
symlink the X11 files directly into ${BUILDLINK_DIR}.  If USE_X11_LINKS is
"YES" (the default), then x11-links is used.  If USE_X11_LINKS is "NO",
then the X11 files are symlinked directly.

There is a choice here between speed and flexibility.  Using x11-links is
faster since you don't need to spend time symlinking all of the X11 files
into ${BUILDLINK_DIR}.  However, if you update your X11 installation, then
the x11-links package will likely be out-of-date.  Conversely, directly
symlinking the X11 files will protect you from changes in your X11
installation when you update, but there is a (small) time penalty to have
to do it for every package that uses X11.
2002-09-27 09:22:58 +00:00
wiz
7f01755d75 Bump version number for man page fix. 2002-09-25 18:57:49 +00:00
wiz
514fdd80c9 Update Dd. Fix description of some options per PR 18344 and included
patch from Julio Merino. Begin new sentences on new lines.
2002-09-25 18:57:30 +00:00
wiz
24f92a55c8 Slight fix for 3.34, so that "cd /usr/pkgsrc; for i in */; do pkglint $i; done"
works. Bump to 3.35.
2002-09-25 09:34:21 +00:00
wiz
c4d4a1f20a Update to 3.34: Can now also be run in Category directories and checks
correct sorting order of SUBDIR entries.
2002-09-24 14:01:37 +00:00
wiz
dcdf9bd97d Sort. 2002-09-24 13:51:21 +00:00
wiz
c2589032d6 Since MESSAGE files come by many names, hardwire the line length,
independent of the actual filename. Update to 3.33.
2002-09-24 12:34:21 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +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
jlam
75e2bd0f6a Trivially use buildlink2 2002-09-23 01:39:50 +00:00
atatat
9a44a64406 lintpkgsrc was tweaked, so bump the version 2002-09-22 16:00:37 +00:00
atatat
a72f2e5514 If the installed version of pkg_install is newer than the one in
pkgsrc, require the new version instead of the one from pkgsrc.
This means there will be no more messages that look like

	Version mismatch: 'pkg_install' 20020827 vs 20020723

Change reviewed by the wiz.  :)
2002-09-22 15:58:33 +00:00
jlam
d21436270c Fix comment to note that you'll need to update the x11-links dependency in
bsd.buildlink2.mk as well.
2002-09-20 23:53:32 +00:00
dmcmahill
f47a8461ca add idea from fredb: option to pick out newest versions from several
directories.
2002-09-20 11:48:12 +00:00
jlam
0e232e0e01 We're using buildlink2, so don't lie about where the rpm headers and
libraries are actually found.
2002-09-19 02:46:07 +00:00
dmcmahill
ba8a681b00 update to cdpack-1.4.2. This is a documentation fix only update. The
change is to make the usage output and the manpage agree with each other
and with reality.  Thanks to hubertf at netbsd for pointing out the problem.
2002-09-18 02:42:20 +00:00
abs
fc85eb7f88 Updated pkgchk to 1.32:
Make sure we handle unset PKG_PATH correctly (re: 1.31)
2002-09-13 11:45:03 +00:00
abs
c8bc538294 Updated pkgchk to 1.31:
Handle PKG_PATH being set - hide it from the 'make' calls, but use
	it in pkg_add.
2002-09-13 09:11:03 +00:00
wiz
b0ac4f603c 3.31: Check MESSAGE file format. Patch from sco at openface ca in pkg/18276. 2002-09-12 17:03:04 +00:00
wiz
5cfcd6e618 mdoc fixes, ispell. 2002-09-07 13:54:55 +00:00
rh
4b4db4d5a1 Add and enable pkg_comp 2002-09-07 00:09:41 +00:00
rh
2a5bf01b6a Initial import of pkg_comp-1.0, a utility that allows retargetable package
building in chrooted environments.
Provided in PR pkg/17986 by Julio Merino <jmmv@hispabsd.org>
2002-09-07 00:08:35 +00:00
rh
b056d10cd7 Update createbuildlink to 2.0. Now creates buildlink2.mk files. You can
use createbuildlink1 to still create old buildlink.mk files.
2002-09-06 00:36:14 +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
tron
34f34cdbce Revert last change after buildlink2 problem was fixed by Johnny C. Lam. 2002-09-04 12:53:02 +00:00
tron
904880edeb Enabling buildlink2 for this package isn't necessary and breaks
bootstrapping on Solaris.
2002-09-02 08:01:19 +00:00
jlam
faf92a14fa Actually define USE_BUILDLINK2 so that we can use the buildlink2.mk files. 2002-08-26 06:28:42 +00:00
jlam
d788337653 Add missing BUILDLINK_PACKAGES lines. 2002-08-26 06:28:21 +00:00
jlam
4e4ac81896 Remove private buildlink.mk files that were only used by x11-links. They
are no longer necessary now that x11-links uses buildlink2.
2002-08-26 06:18:00 +00:00
jlam
54b8c01927 Revert previous change now that the buildlink2.mk files have hit the main
trunk.  These packages can now safely use buildlink2.mk files.
2002-08-25 19:43:33 +00:00
abs
e8063b068e revert buildlink2.mk merge until Johnny has a chance to look at the issues 2002-08-23 14:27:14 +00:00
jlam
b96524abd4 Merge pkgsrc/pkgtools from the buildlink2 branch back to the main trunk. 2002-08-23 05:22:54 +00:00
jlam
f9b7bf5ce8 Merge pkgtools/xpkgwedge from the buildlink2 branch back into the main
trunk.
2002-08-23 04:22:43 +00:00
seb
d0fa9b21db Make patchdiff following package's PATCHDIR setting: useful when dealing with
packages sharing patch files directory.
Increment the package version.

Approved by wiz.
2002-08-14 16:30:06 +00:00
wiz
a2d49d5274 Strip leading './' from distinfo entry names before matching against
the file system -- removes bogus warnings for at least opera and
ymessenger, which have "DIST_SUBDIR=.".
Bump to 3.30.
2002-08-13 15:05:30 +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
jlam
3c6bfa10f2 buildlink-x11 is dead...it never really worked well enough anyway. 2002-08-06 05:59:56 +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
jlam
dc00762da0 Separate out the OpenWindows buildlink logic and XFree buildlink logic
into separate files for cleanliness.
2002-08-05 04:57:01 +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
dmcmahill
f855ba7842 add a couple of items to the TODO list.
- direct to CD writing

- inclusion of distfiles for pkgs which can't be packaged.
2002-08-02 12:37:32 +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
8ed9b88dbd Tabify, and apply patch from pkg/17331 by Julio Merino, adding
NO_PATCH and NO_CONFIGURE.
2002-07-29 11:25:37 +00:00
wiz
f2329debeb Add \n in an error message. Doesn't warrant version bump. 2002-07-21 16:34:10 +00:00
dmcmahill
0a85289c68 remove item which has been done :) (flags to include/exclude NO_BIN_ON_{FTP,CDROM}) 2002-07-18 01:00:53 +00:00
seb
662b0217fc Pkgcvsupdate had been decommissioned. 2002-07-15 09:22:48 +00:00
seb
880e0ea583 Pkgcvsupdate is too buggy, so remove it.
If people are interested in beta testing a replacement, contact me
<seb@netbsd.org>.
2002-07-15 09:19:57 +00:00
wiz
742e6ac805 Remove RCS Id. 2002-07-15 08:10:39 +00:00
abs
9c85642145 Updated pkglint to 3.29
Make -V work without -p, -O, or -R
	Fixes pkg/17558 from Dan McMahill
2002-07-11 10:22:25 +00:00
wiz
6c62d4cdd2 mdoc nit. 2002-07-11 09:59:01 +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
wiz
5404dd4907 3.28: Note that USE_SSL is deprecated. 2002-07-02 15:26:18 +00:00
wiz
cb17e820a3 3.27: Warn about missing RCS Id in distinfo, and note that IS_INTERACTIVE
is deprecated.
2002-07-02 13:16:30 +00:00
lukem
9e46e9da70 add -p to the diff arguments; it's useful to know which function a
patch applies to when updating a package
2002-06-27 23:09:01 +00:00
jlam
1dcac4b18d Update pkgtool/x11-links to version 0.8:
Use _REQUIRE_BUILTIN_* to specify that the headers/libraries of some parts
of X11 that are available from 3rd parties must be part of the standard X11
distribution or else their symlinks aren't installed as part of x11-links.
This is to allow x11-links to contain all of the parts of the standard X11
distribution.

The problem that prompted this is that newer releases of XFree86-4.x
contain not just new libraries but new inter-library dependencies.  Some
of the X11 libraries present in XF86-4.x that were also in XF86-3.x now
depend on libXpm.so or libfreetype.so, which, from a buildlink
point-of-view, must also be found during the link phase when building
software.
2002-06-26 05:46:23 +00:00
abs
515e56567b Make this work under Linux, and fix manpage install on SunOS 2002-06-21 15:26:07 +00:00
abs
0b82fd4e9f Update pkgchk to 1.30
Avoid problems if a file 'x' is in the current directory with obvious use
of .PHONY. Implement and use extract_mk_dir_var().
2002-06-20 09:17:40 +00:00
tron
9b03da25d0 Provide a default for "MAKECONF" for pre NetBSD 1.6 systems. 2002-06-10 15:29:38 +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
tron
ebfe591ca3 Add support for "$PKG_DBDIR" and "$MAKECONF". Based on patches supplied
by Jonathan Perkin in PR pkg/17069. Bump version number 1.29.
2002-06-09 14:43:39 +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
tron
d95f7e9ad3 This package doesn't work under Solaris because the include OpenWindows
is based on a very old X11 release.
2002-06-07 12:53:49 +00:00
wiz
9a3584985f Update to 3.26. Changes:
. sync dewey support with pkg_info
. fix 'elsif' handling (fixes bogus ns-flash warnings)
2002-06-02 21:52:28 +00:00
dmcmahill
78fc2c91b1 update to cdpack-1.4.1.
This update adds a prominant message at the end of the run explicitly stating
which class of NO_BIN_ON_{FTP,CDROM} pkgs have been included or excluded
from the set. This should help prevent accidental license violations.

Suggested by Hubert Feyrer in private email.
2002-05-22 22:30:43 +00:00
wiz
87e706ce74 Convert ${PORTNAME} to ${PKGNAME}, from YAMAMOTO Takashi in pkg/16772.
Bump version to 1.11.
2002-05-19 15:41:36 +00:00
dmcmahill
4acb647ef8 update to cdpack-1.4
- by default cdpack now excludes NO_BIN_ON_CDROM packages.  This is the most
  important change.  Previously all pkgs were included.
- added flag to allow NO_BIN_ON_CDROM packages
- added flag to exclude NO_BIN_ON_FTP packages
- increased the verbosity resulting from the verbose flag
- added a debug flag to preserve tmp files
2002-05-19 07:59:46 +00:00
rh
be8282119e Update url2pkg to 1.19. This adds some basic libtool-detection mechanism
that will set USE_LIBTOOL accordingly.
2002-05-14 00:05:02 +00:00
rh
0e393ec5ec Fix typo in previous commit that prevented the created rules from working
properly.
Bump version to 1.5
2002-05-11 11:52:05 +00:00
rh
3f5e7c5214 Update createbuildlink to 1.4. This fixes the following problems:
* when creating BUILDLINK_CONFIG_WRAPPER_SED we also need to create
	  a corresponding REPLACE_BUILDLINK_SED to reverse the effects

	* account for packages that set USE_X11BASE to an empty string.
2002-05-11 11:27:28 +00:00
rh
5b728a2271 Update createbuildlink to 1.3. Changes are:
* create BUILDLINK_CONFIG_WRAPPER_SED patterns if required

	* interpret "Makefile.common" as well as "Makefile" for packages
	  that share common information
2002-05-11 08:11:46 +00:00
rh
379ae4c13c Update createbuildlink to 1.2. This revision addresses a couple of styling
issues pointed out in private email by Thomas Klausner:
	* Include $PKGVERSION instead of RCS revision in script output
	* Add a few line breaks to make the output more readable
2002-05-05 23:23:34 +00:00
rh
3a10650452 Update createbuildlink to 1.1. Includes the following changes:
* -buildlink-config-wrapper is a hardcoded suffix in
          bsd.buildlink.mk.  Therefore, make sure the created config wapper
	  targets actually have this suffix.

	* Prevent pkgconfig logic from twice including
	  pkgconfig/buildlink.mk

	* Add missing \" in created sed rules

	* Include createbuildlink revision in created files
2002-05-05 00:00:37 +00:00
wiz
3394042bd8 Nits. 2002-04-29 11:12:35 +00:00
rh
5cf6bcbd5c Add and enable createbuildlink 2002-04-29 11:04:37 +00:00
rh
e7b2154b81 Initial import of createbuildlink-1.0, a simple script that helps creating
a buildlink.mk from a package's Makefile and PLIST.

XXX: this is an attempt to make the creation of buildlink.mk files more
XXX: systematic and less error-prone than copying existing buildlink.mk
XXX: files and modifying them for a new package.  Any help in making this
XXX: script less simplistic and more versatile is gladly welcome!
2002-04-29 11:03:54 +00:00
heinz
0774788ce3 two small typos 2002-04-25 21:57:28 +00:00