Commit graph

3627 commits

Author SHA1 Message Date
rillig
30458d7406 It's pretty tricky to get the bmake substitution right. At least if
you're a lazy programmer. Now the ${DISTNAME:S...} is interpreted
correctly.
2008-11-18 21:17:53 +00:00
rillig
25f7fc3110 Updated pkglint to 4.90.
Changes since 4.89:
- Packages are checked whether they are being downgraded.
- Several small fixes and improvements.
2008-11-18 19:43:32 +00:00
rillig
a3a3f7f775 Get rid of the false positive warnings for downgrading, by doing more
magic to the PKGNAME and DISTNAME in the package Makefile. Thanks, wiz,
for insisting on this.
2008-11-18 19:39:49 +00:00
rillig
88db5cd30e Emit a note instead of a warning when the :Q operator is used in places
where it isn't necessary.

The :Q operator is necessary for URLs, since they may contain ampersands.
2008-11-18 19:18:51 +00:00
rillig
39f4738073 It is not necessary to save the whole text of the package Makefile
including all included files. By now, all checks are done by checking
individual lines, not the whole text.
2008-11-18 18:59:36 +00:00
rillig
f568f6dcea The PKGREVISION is included in the version comparison, to fix the bogus
warning that a package "is being downgraded from 1.0.0nb5 to 1.0.0".

Disabled the note saying that in shell variable assignments, there don't
need to be double quotes around backticks. In some cases they need to be
there.
2008-11-18 08:18:29 +00:00
rillig
d24f8d2bf7 DIST_SUBDIR may contain slashes. Found in www/firefox3-bin. 2008-11-18 08:04:35 +00:00
tron
6055ccc1bc Add support for user destination directory installation.
Patch provided by Aleksey Cheusov.
2008-11-16 10:25:34 +00:00
schwarz
e88d2f7dbf remove NetBSD-specific code from OpenBSD's bsd.own.mk 2008-11-15 13:06:42 +00:00
schwarz
c07f4de9ea OpenBSD changed to ELF on i386 with the 3.4 release 2008-11-15 13:05:09 +00:00
cube
1555f6320f Buildlink glut, bump package version and required dependency. 2008-11-11 16:19:23 +00:00
cube
6fb6b44e59 Properly register libGLU files with native X.Org as found in NetBSD. 2008-11-11 16:18:18 +00:00
joerg
fba094a13c OpenBSD headers are still not standalone, even though SUS is pretty
explicit about it at least for netinet/in.h. Include sys/types.h before
checking for content of sys/socket.h and netinet/in.h to fix this.
Reported and tested by Georg Schwarz.
2008-11-08 21:35:57 +00:00
rillig
411a485a0d Only check doc/CHANGES-* starting with 2008, as suggested by OBATA Akio
on pkgsrc-changes.

TODO: Discuss whether the old files should be converted to the common
format or just be left as they are.
2008-11-06 14:46:51 +00:00
obache
4daaf7ad07 Add DESTDIR support. 2008-11-06 12:25:17 +00:00
jschauma
ec5816ac04 update mtree to 20081105, most notably providing support for sha256,
sha384 and sha512;  while here, fix a minor build error discovered on
RHEL
2008-11-06 02:14:52 +00:00
joerg
6d6f20fbaf Add some forgotten ifndefs to fix issues on DragonFly. 2008-11-06 00:25:42 +00:00
wiz
208ed5a45e Ignore more uninteresting output.
Tries to address PR 39291.

Welcome to 0.121.
2008-11-05 23:18:18 +00:00
rillig
37dbfbc809 Fixed three warnings, which have been reported by Mark Davies. 2008-11-04 23:13:05 +00:00
rillig
507581677b The macro __NetBSD_Prereq__ should not be used.
Extended the spell checker for variants of __NetBSD_Version__.
2008-11-04 22:27:00 +00:00
rillig
3bc83926b1 Added a check that detects a downgrade of a package. To do this, it
loads the changes in doc/CHANGES-*.
2008-11-04 21:45:13 +00:00
joerg
1cb2d826a6 Define __UNCONST. From PR 39797. 2008-10-30 19:27:20 +00:00
joerg
18058a4e57 Avoid STAT as macro, it exists in sys/dir.h on AIX already. 2008-10-30 16:00:54 +00:00
cube
b71f57b3db Builtinify libXv, and make sure x11-links knows about xv.pc. Bump version
of x11-links.
2008-10-29 21:14:01 +00:00
joerg
69064b82e8 Don't use __RENAME. 2008-10-29 16:39:03 +00:00
joerg
8dee63e644 Provide more compat glue for ndbm interface as shown in PR 39738.
Bump to libnbcompat-20081029.
2008-10-29 11:23:17 +00:00
joerg
7f9c816849 Define away O_EXLOCK and O_SHLOCK if they are missing. 2008-10-28 18:01:06 +00:00
joerg
dde0f32833 Use nbcompat/paths.h, Solaris is missing paths.h. From Uwe Klaus. 2008-10-28 17:57:36 +00:00
joerg
83613e330d Add circleq support. Bump to 20081028. Should fix IRIX build from
PR 39797.
2008-10-28 15:15:18 +00:00
joerg
eece6e89de Replace EFTYPE with EINVAL if the former doesn't exist. 2008-10-28 15:06:26 +00:00
joerg
9944df4826 Provide and use local mpool.h. 2008-10-26 12:51:59 +00:00
joerg
690ac5928f Explicitly check for libnsl and libsocket as required by Solaris.
Based on patches from Aleksey Cheusov.
2008-10-26 12:31:30 +00:00
rillig
6208c4238d Moved all explaining texts to the beginning of a line, so they stand out
from the rest of the code.
2008-10-20 11:09:07 +00:00
rillig
fe5245c568 Removed the experimental --klickibunti option and everything that was
only there to support this option. Maybe I will reinvent the advanced
autofix code someday, hopefully in a programming language that provides
more error checking than Perl.
2008-10-20 10:56:18 +00:00
rillig
9f78a56db8 Updated pkglint to 4.89.
Changes since 4.88:
- Fixed the remaining PLIST_VARS warnings.
- Adjusted pkglint to work together with Perl 5.10.0.
2008-10-20 10:13:12 +00:00
rillig
025fe0934e Replaced all instances of "=~ qr" with "=~ m", and all instances of
"!~ qr" with "!~ m", to work around a memory leak in Perl 5.10.0.
(See Perl bug #59994 or just run perl -e 'while(1){qr""}'.)

This change also speeds up pkglint by around 15 percent, although I
noticed that updating from Perl 5.8.8. to 5.10.0 slowed down pkglint by
about 2 percent.
2008-10-20 10:10:28 +00:00
joerg
c071594cda Include nbcompat/types.h early to make sure that uintX_t are defined.
Reported by Aleksey Cheusov and Joern Clausen in PR 39738.
2008-10-19 21:02:07 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
rillig
10b7bee739 Fixed another "closedir() on undefined".
Made the code around PLIST.* variables prettier.
2008-10-18 16:35:59 +00:00
he
59ca29e40d Two minor fixes:
o Documentation fix: the blbump script does not print the names of
   the package directories it succeeded in bumping, only the ones
   which it failed to bump
 o Code fix: remove a pointless assignment / substitution in blbump
2008-10-17 14:23:58 +00:00
wiz
d150578c8e PKGREVISION bump for libevent shlib name change. 2008-10-16 21:52:16 +00:00
rillig
bb0cf99865 Fixed two issues reported by wiz:
- Perl 5.10 complains when closedir() is called on an undefined
  directory handle, and is correct to do so. Since directory handles are
  global variables, they must be used carefully in recursive functions.

- The PLIST.* variables still had some warning suspecting a "spelling
  mistake". This has been fixed by marking all PLIST_VARS as being used.
2008-10-16 09:08:21 +00:00
erh
c8629a84a6 Fix strip_txz() so it actually works even when the extension found isn't
going to be returned.  This fixes some issues with automatic installation
 of dependencies.
2008-10-13 15:54:24 +00:00
jmmv
b5cb5e5079 Fix execution of autoswc by fixing the call to AC_INIT (missing parameter).
Bump version to 1.6.
Reported by Arnaud Lacombe in private email.
2008-10-11 18:03:58 +00:00
sborrill
6f1eaa64f0 Version 1.31 - make chroot target return its exit status 2008-10-10 15:56:31 +00:00
joerg
bb59fdd51d pkg_install-20081010:
Add optional bdb. Make it included by default for standalone builds.
2008-10-10 00:21:43 +00:00
rillig
e779a5ed93 Updated pkglint to 4.88.
Changes since 4.87:
- Added support for PLIST_VARS and PLIST.*, which had been added in April.
  That's a long time ago ...
2008-10-09 16:19:23 +00:00
rillig
620e416521 It already tries. 2008-10-09 16:01:51 +00:00
joerg
66667a43ee pbulk-0.36:
Avoid grep -q and use awk instead. This has the side effect of parsing
presolve only once for each file. grep -q doesn't exist on Solaris.
2008-10-08 16:43:34 +00:00
joerg
aa020a8ff4 Mac OS X doesn't define uintXX_t in sys/types.h, so explicitly pull in
inttypes.h if present. Make md5.h, sha1.h and sha2.h self contained by
including nbcompat/types.h. Problem reported by Greg Troxel.
2008-10-08 14:28:14 +00:00
joerg
98648e83e3 Check for existance of sysexits.h and regen config.h.in. 2008-10-07 16:03:10 +00:00
joerg
9542074cb2 libnbcompat-20080922:
- DESTDIR support
- Add check for inttypes.h and sys/socket.h
- Provide compatibility fallback for netdb.h and the RFC2553 API
(getaddrinfo), supoprting IPv4 only. Code from OpenSSH.
- Use normal autoconf checks for fixed size bit types. Stop using the
older BSD types (u_intXX_t) in libnbcompat.
- Add implementation of shquote (from NetBSD).
- Fix a buglet in the getenv/setenv/unsetenv detection.
- Fix a buglet in the mkdtemp/mkstemp detection.
2008-10-06 12:36:19 +00:00
cube
e3f3460de6 Bump x11-links to 0.39 and force dependency after cube-native-xorg merge. 2008-10-05 21:37:39 +00:00
cube
403e256ff6 Merge cube-native-xorg, so that pkgsrc-current can be used with the native
X.Org found in NetBSD-current.

Thanks a lot to all who helped, especially Matthias Scheler who did
repeated tests on Mac OS X and older versions of NetBSD to make sure the
support for those platforms wouldn't be broken (or at least, not fatally,
as I would still expect a few hiccups here and there, because there is
only so much one can test in such limited time).

On the infrastructure side, this branch brings pkgconfig-builtin.mk, in
order to write very easily new builtin.mk files.  It can actually handle
more than just pkgconfig files, but it will provide a version if it finds
such a file.  x11.builtin.mk has also been made more useful and now all
existing (and future!) native-X11-related builtin.mk files should include
it.
2008-10-05 21:36:32 +00:00
joerg
1e2d474b2b pkg_install-20081002:
Explicitly cast time_t values to long and print them as such.
Reported by bjs@.
2008-10-02 20:46:56 +00:00
joerg
4154d6b2fe Fix build by unifying sysutils/mtree and pkgtools/mtree in terms of
nbcompat usage.
2008-10-02 17:15:22 +00:00
tron
c549bb8328 Set "USE_BSD_MAKEFILE" to indicate that this package uses a BSD-style
makefile. This should fix HTML manual page issue under NetBSD-current.
Problem reported by Cesar Catrian Carreno on "pkgsrc-users" mailing list.
2008-10-01 20:16:50 +00:00
joerg
212f32736f pbulk-0.35:
Sync Dewey with pkg_install(-renovation) and add a fast check if a
pattern could ever match. This reduces the time for pbulk-resolve on a
full tree on my laptop from 12.9s to 5.3s.
2008-09-22 11:31:16 +00:00
joerg
c3e2e192a4 Fix build on Solaris by using nbcompat. 2008-09-18 10:38:45 +00:00
joerg
1a04e21a8b pkg_install-20080916:
Merge from changes for read_plist from pkg_install-renovation to always
initialize the plist and add append_plist for the one case where this is
not desired. Fixes PR 39276.
2008-09-17 15:21:30 +00:00
joerg
b049ec1593 pbulk-0.34:
- version configuration file, object if the version doesn't match
- add an option for pbulk-resolve to ignore unresolvable dependencies
similiar to the incremental mode
- use this option to run pbulk-resolve again if ignore_missing_depencies
is set to yes. Report this explicitly to un-confuse readers and point
them to the logfile.
2008-09-16 18:21:30 +00:00
joerg
98a3da97e5 Main tree must not depend on wip, so pkglint should try to warn about
it.
2008-09-16 14:41:18 +00:00
rillig
a9ce5b20a7 Clarified a comment, since I didn't understand it two years after writing it. 2008-09-16 14:24:25 +00:00
rillig
1f10bc28b1 Don't include useless definitions in the documentation. 2008-09-16 14:19:11 +00:00
joerg
76d159ee1e 20080915:
Merge a number of bugfixes from the pkg_install-renovation branch:
- explicit include of nbcompat/md5.h
- use errx when dealing with libfetch as it doesn't set errno
- avoid optind = 0 as GNUish getopt will reset itself otherwise
2008-09-16 13:32:58 +00:00
tron
c2e75e7d75 Update "x11-links" package to version 0.38:
- Add support for builtin "pixman".
- Add some extra entries for Mac OS X.
2008-09-16 12:38:38 +00:00
joerg
a40b8ff745 pbulk-0.34:
Isolate rules to compute the restricted subset in the upload script.
Make the upload script independent from the report file to allow
uploading partial builds.
Only depend on NO_BIN_ON_FTP to decide what to upload and what not.
2008-09-14 18:59:02 +00:00
joerg
69ed4e430d Determine both for setmode.c and pwcache.c if any of the functions is
provided by the system and if one is lacking use the file. Don't short
cut the list as before and do a second iteration, it is just confusing.

This breaks the regression introduced by the last commit on OS X.
2008-09-12 13:47:26 +00:00
joerg
2c43b4f278 libnbcompat-20080908:
- declare endpwent and endgrent if system headers are missing them
- check for existance of statfs.f_flags before using it
- drop a bunch of redundant function checks

Based on the work of Timothy Larson.
2008-09-08 20:20:22 +00:00
obache
09d71e9d4f DESTDIR support and pkglint clean.
Requestd by PR 39456.
2008-09-07 01:41:39 +00:00
wiz
6d32cfc00d Bump PKGREVISION for libevent users due to 1.4.3->1.4.5 shlib name change. 2008-09-06 21:39:52 +00:00
obache
e46153c2f6 Add DESTDIR support and stop one pkglint warning.
Requested by Leonardo Taccari in PR 39443.
2008-09-02 11:09:59 +00:00
rillig
d763dae81e + USE_CMAKE 2008-08-31 21:03:16 +00:00
rillig
7b88de14a6 Fixed two pkglint warnings. 2008-08-30 06:54:10 +00:00
rillig
3faf4c63ca Fixed a typo found by Eric Haszlakiewicz. 2008-08-30 06:50:37 +00:00
abs
889e2f7bb5 PKG_DESTDIR_SUPPORT=user-destdir 2008-08-29 15:33:01 +00:00
rillig
0e2e7b6fb3 Don't warn about pkgbase and pkg-build-options.mk in the buildlink3.mk
files, since that pattern has become quite common.
2008-08-28 20:38:39 +00:00
tron
68088d4b02 Update "x11-links" package to version 0.37:
Add newer library version as provided by Mac OS 10.5.4. Based on a patch
submitted by Brian de Alwis in PR pkg/39207.

Tested under NetBSD/i386 4.0_STABLE and Mac OS PPC 10.5.4.
2008-08-22 13:34:39 +00:00
joerg
95e4b0f2c3 bootstrap-mk-files-20080808:
YAGV (Yet Another Groff Version)
2008-08-08 21:15:57 +00:00
tnn
5849537ceb fix yesterday's commit: bump to the correct date (20080728) 2008-07-29 19:39:41 +00:00
tnn
77b09d1486 bootstrap-mk-files-20080722:
Yet another Linux TMACDIR fix. PR pkg/39239 from Alexander Nasonov.
2008-07-28 20:18:20 +00:00
joerg
1270427078 Don't mess with PKG_* as it is not required to build bootstrap
components and it interferes with normal builds.
2008-07-27 16:02:09 +00:00
dillo
a5f8dbe14b Update to 4.87:
- Add explanation for "Unquoted shell variable" warning.

Patch by rillig.
2008-07-25 14:15:44 +00:00
obache
8f61a0111b Add DESTDIR support. 2008-07-25 13:08:31 +00:00
tron
080d0ef8d8 Update to version 0.36:
Add newer libraries included in Xcode 3.1 for Mac OS X Leopard.
2008-07-18 12:08:53 +00:00
joerg
489db20e86 Update libarchive and bsdtar to 2.5.5.
This further polishes bsdcpio and brings in a number of portability
fixes.

Revert temporary hack to not use vfork on IRIX.
2008-07-14 14:56:50 +00:00
joerg
626e23e91b pbulk-0.33: Don't try to install/deinstall bootstrap packages.
This allows a destdir build to package bootstrap components.
2008-07-14 13:02:00 +00:00
joerg
5664f05a84 Add a temporary workaround for missing vfork on IRIX.
Fixes PR 38674, tested by tnn@.
2008-07-13 14:25:04 +00:00
abs
630a4e0ce1 Update pkg_chk to 1.95:
- Handle pkgsrc in LOCALBASE - fixes PR pkg/32326
2008-07-05 22:56:40 +00:00
joerg
73d1f41e9b bootstrap-mk-files-20080703:
AIX's tsort doesn't understand -q, override sys.mk.
Reported in PR 39064.
2008-07-03 20:06:21 +00:00
joerg
9c974a83ae Don't use the existance of pkg_add as trigger to override
PKG_ADD and friends, but that the build passed the barrier.
Posted to tech-pkg@ without negative feedback.
2008-06-22 22:08:05 +00:00
gdt
665a3a92c4 Drop check for 'make replace => unsafe_depends" support being present
in pkgsrc.  It's been 1.75 years, and the benefit of the check is now
outweighed by the cruftiness.
2008-06-22 12:49:53 +00:00
joerg
5aae7fc973 pbulk-0.32:
Make bulkbuild-rebuild over 200 times faster when running against a full
tree scan by using awk to filter out the data instead of the while read
shell builtin.
2008-06-20 11:51:50 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
joerg
da712f263e Add a marker for bootstrap packages to allow special cases them during
bulk builds.
2008-06-19 18:36:51 +00:00
joerg
6275104929 Add DESTDIR support. 2008-06-19 18:12:18 +00:00
joerg
e33690ba5d Make style more consistent. 2008-06-19 17:28:09 +00:00
joerg
129f8a3b10 Fix DESTDIR. 2008-06-16 15:29:00 +00:00
joerg
c7ed9a9347 Fix DESTDIR. 2008-06-16 15:14:26 +00:00
joerg
0eb64b908c Fix DESTDIR. 2008-06-16 13:19:57 +00:00
joerg
02d4578ebd Mark as meta-package. 2008-06-15 09:56:37 +00:00
abs
a47dc5664d fix DESTDIR issue 2008-06-13 07:13:57 +00:00
abs
ea9f90b185 fixup DESTDIR - bump pkgrevision 2008-06-12 13:37:19 +00:00
joerg
32f6af9043 Use full path for chown. 2008-06-12 13:29:27 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
joerg
09969f8983 pbulk-0.31:
- For direct build failures, make the package location in the first
column a hyper link to the last (supposedly failing) phase.
- For indirect failures, list the first 10 failing dependencies.
2008-06-11 19:27:03 +00:00
he
a8e2184877 Commit two fixes which at least for me appear to be required when
doing an old-style bulk build on 4.0 or older systems:

 - in mk/bulk/build, do "make update" instead of "make install + clean"
   when installing a new pkg_install
 - in pkgtools/pkg_install/Makefile, don't try to use our own
   executables (${WORKDIR}/pkg_add/pkg_add etc.) if they don't exist

Discussed with joerg, and even though he's not entirely happy
with the latter change, he didn't appear to have a better suggestion.

This, and putting /usr/pkg/sbin earlier than /usr/sbin in the $PATH
appears to be required to get an old-style bulk build going.
2008-06-08 21:04:30 +00:00
gdt
b1df4d999d Add example showing how to mark all packages depdending on X11 for
rebuild, useful for moving to X11_TYPE=modular.  From tnn@.
2008-06-08 17:29:01 +00:00
wiz
05354faae8 Sort. 2008-06-06 08:30:07 +00:00
sketch
7c52a96f97 Support alternate ${PREFIX}. 2008-06-04 13:34:46 +00:00
joerg
8c227e35ef Explicitly depend on ftp. 2008-06-02 16:40:25 +00:00
tnn
411da6d28b Don't set NOMAN for SunOS. 2008-05-30 10:02:38 +00:00
tnn
63baef4507 don't create catdir 2008-05-29 17:05:36 +00:00
tnn
30d59e3e84 Merge some changes from PR pkg/38521 to clean up the package and
desupport installing catpage.
Thanks to cheusov for the PR and obache for making me aware of it.
Bump the version to 20080529.
2008-05-29 17:03:54 +00:00
tnn
eabbfe4a18 Make it DESTDIR ready. 2008-05-29 16:33:10 +00:00
tnn
2e127c32eb Inhibit possible dependency on sysutils/checkperms to avoid circular dep. 2008-05-28 13:36:18 +00:00
tnn
23bfa1e54c Remove the broken FreeBSD manual page rule overrides.
This deviates too much from the standard bsd.sys.mk with no good reason,
and breaks more than it fixes. PR pkg/38650
2008-05-26 19:23:59 +00:00
tron
f029152d07 Bump version to 1.94:
Fix a bug exposed by the "set -e" improvements in NetBSD-current's
"/bin/sh" which would prevent the script from cleaning up its
temporary directory.

Change approved by David Brownlee.
2008-05-26 09:25:43 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
tron
9ba46c0fc4 Fix indentation. 2008-05-25 20:49:39 +00:00
joerg
62b30145f4 bsdtar is a valid value for EXTRACT_USING. 2008-05-25 20:36:12 +00:00
tnn
f36cb919d8 If there is no va_copy(), provide one and just assume the compiler knows
how to copy va_lists by value.
2008-05-25 18:32:28 +00:00
tnn
3fdc6f2663 Fix hpux bugfix. __strtoll needs inttypes.h 2008-05-25 17:38:37 +00:00
tron
5653b15d71 Remove me as maintainer of some package, clame ownership of a few packages. 2008-05-25 14:45:16 +00:00
dillo
07e7ef92c7 Assert OWNERship of some packages, relinquish others entierly. 2008-05-25 13:16:10 +00:00
tnn
4d41d841f5 Trust configure to pick the right install(1). 2008-05-24 22:11:20 +00:00
abs
edb4c8ac30 "I claim this planet in the name of Mars, hmm, isn't that lovely, hmm?"
(Set OWNER to abs@NetBSD.org)
2008-05-24 19:15:36 +00:00
tnn
a80e553479 minor nits and comments 2008-05-24 04:29:06 +00:00
tnn
0223d43765 fix pasteo 2008-05-24 04:19:48 +00:00
tnn
fbccaeada9 Added pkgtools/compat_headers 2008-05-24 03:39:29 +00:00
tnn
379887f5c0 Import compat_headers-0.1 as pkgtools/compat_headers.
This package attempts to resolve deficiencies in system headers by
providing missing types, definitions and prototypes in shadow headers.
New in this version:
- Rewrote all of the tests to use autoconf.
- Implemented tests and support for more standard integer types.
2008-05-24 03:35:38 +00:00
tnn
9e6fd5b2b3 Remove pkgtools/posix_headers 2008-05-23 21:42:25 +00:00
tnn
45b562f3a5 Since posix is a registered trademark and this package by no means provides
nor intends to provide full posix(r) compatibility, I've decided to rename
it.

An improved version of the package will be re-imported later, probably
under the name "compat_headers".
2008-05-23 21:08:18 +00:00
tnn
54d5395f8f Fix typo 2008-05-22 13:48:36 +00:00
dillo
6ffe423f77 Bump version to 1.93:
- Explicitly clear automatic flag for packages user wants installed
  that got pulled in previously.
- Only ignore pkg_summary.gz in local repository if newer files
  with name matching *.t[bg]z exist.  (Otherwise, pkg_summary.gz
  created by pbulk would be ignored because pkg_summary.bz2 is
  newer.)

Okayed by abs@.
2008-05-21 20:52:31 +00:00
abs
8b033b0318 update pkglint to 4.86 - necessary bu not sufficient to handle OWNER in
Makefiles. As a first pass make MAINTAINER optional and add an optional
OWNER directly after it in the same section. This will pass valid
OWNER/MAINTAINER combinations but not reject some invalid ones.
Full fix (hopefully) coming soon...
2008-05-21 20:16:19 +00:00
tnn
14c8f53a73 - Actually show usage() instead of entering an infinite loop.
- improve usage
- bump version to 1.1
2008-05-21 15:24:40 +00:00
tnn
1eeb2a6235 Try to fix a bootstrap failure reported on Slackware 12.1. Untested. 2008-05-20 12:27:23 +00:00
joerg
4aa5709b48 libnbcompat-20080519:
Many of the hash function headers are incompatible with the OpenSSL
headers, so don't include them by default and require the caller to
include them on demand.
2008-05-19 12:52:57 +00:00
tnn
08aac7594f Uses bsd.prog.mk, so add USE_BSD_MAKEFILE=yes. 2008-05-16 20:02:31 +00:00
joerg
306463ff8c Shift after -K. 2008-05-15 17:51:44 +00:00
joerg
cbfccabb73 + pkg_leaves 2008-05-15 17:46:06 +00:00
joerg
b5cc0456f3 As requested on IRC, add pkg_leaves-1.0:
pkg_leaves is a small script to print a list of leaf packages aka
packages not depended on.
2008-05-15 17:44:42 +00:00
joerg
ce6709837a Bump version to 20080510. 2008-05-11 18:39:20 +00:00
joerg
3a1ba09130 As workaround for PR 38625, rebuild with autoconf 2.61. 2008-05-11 18:38:15 +00:00
joerg
9502292e69 Fix a bug in the SHA512 implementation that would be triggered if the
last block has exactly the length of a short fragment. This happened
incidently with two files in the NetBSD 4.0 release.
2008-05-09 16:19:57 +00:00
joerg
647e9d137e digest-20080509:
The tiger hash needs to run at least once through the update function,
even for empty input. The fix is different from the patch in PR 36565.
2008-05-09 15:00:32 +00:00
wiz
fda1d9652f 2-clause my license. 2008-05-08 15:30:17 +00:00
apb
1f3a8ef038 Oops, it was already 1.91 before my previous commit. Bump version
to pkg_chk-1.92.  (Thanks wiz)
2008-05-03 12:57:47 +00:00
apb
32be79e911 Bump version to pkg_chk-1.91:
* Look for $MAKECONF in @MAKECONF@, @PREFIX@/etc/mk.conf,
  and /etc/mk.conf, in that order.
* Look for $PKGSRCDIR in the Makefile referred to by $MAKECONF,
  ".", "..", "../..", and "/usr/pkgsrc", in that order.
* Convert the Makefil to use the SUBST framework.

Proposed in tech-pkg; OK (in principle) David Brownlee
2008-05-02 19:10:26 +00:00
apb
590058d9b8 Bump version to pkg_rolling-replace-0.16:
* Look for $MAKECONF in @MAKECONF@, @PREFIX@/etc/mk.conf,
  and /etc/mk.conf, in that order.
* Look for $PKGSRCDIR in the Makefile referred to by $MAKECONF,
  ".", "..", "../..", and "/usr/pkgsrc", in that order.

Proposed in tech-pkg; OK Greg Troxel.
2008-05-02 19:04:03 +00:00
martin
d86d72404e Drop clauses 3 and 4 from TNF licenses 2008-04-29 05:46:08 +00:00
joerg
451f0436c4 Revert last change, it was not intended to go into HEAD. 2008-04-26 17:40:01 +00:00
joerg
ba8b7d3861 Add a clean pkg_add implementation on top of libarchive and libfetch.
Known regressions:
- "pkg_add -" (aka reading from stdin) is currently not supported
- "pkg_add -s" is not supported either
- no progress reports for the downloads
- binary packages with hardlinks created by pkg_create before
  pkg_install-20080422 will not extract correctly (libarchive issue)
- no adhoc check for potential conflicts between dependencies and
  already installed packages

Features:
- Twice as fast for the typical case of /var/tmp and /usr/pkg on
  different filesystems
- Standalone
- implicit conflict detection before actual installation.
2008-04-26 14:56:33 +00:00
abs
9c009a0256 update pkg_chk to 1.91:
- Use a local pkg_summary.gz iff it is the most recently modified file
      in the PACKAGES/All directory
2008-04-23 21:55:29 +00:00
joerg
4d3a05f90f Make pkg_delete with -p actually work. Prepending the prefix doesn't
work as it will still use the one in the package. Use the approach from
pkg_add to override it instead.
2008-04-23 20:54:39 +00:00
joerg
bb41ea3344 Use id -un for whoami on QNX. 2008-04-23 18:04:03 +00:00
joerg
e40da5bac1 pkg_install-20080423:
Make the linkresolver code more robust.
2008-04-23 16:58:07 +00:00
joerg
279f4d312b Requires libarchive 2.5. 2008-04-23 14:37:10 +00:00
joerg
a58e43c67f rc.subr-20080423: Add QNX support.
From Christian Leutloff on tech-pkg.
2008-04-23 11:54:53 +00:00
joerg
24f6331375 Restore symlinks as the code was accidently removed. 2008-04-22 14:27:51 +00:00
joerg
6bb49fafea pkg_install-20080422:
Make use of the linkresolver from libarchive and thereby fix the
permissions of hardlinks in archives.  This wasn't a problem so far
as nbpax is (incorrectly) ignoring the permissions of the other entries.
2008-04-22 13:47:08 +00:00
joerg
41548023fd libnbcompat-20080422:
Check if stdio.h declares vasprintf and snprintf and provide a prototype
otherwise.
2008-04-21 22:24:43 +00:00
joerg
76e68316b6 Detect socket and gethostbyname requirements for Solaris. 2008-04-20 13:59:09 +00:00
joerg
8e530a6d06 Move get_dash_string to pkg_create as only user.
Remove str_lowercase.
2008-04-18 17:16:44 +00:00
joerg
262da955cc Nuke unused macros. 2008-04-18 12:01:46 +00:00
bjs
dbbd4d1284 Mark this package MAKE_JOBS_SAFE=no. 2008-04-18 06:30:47 +00:00
joerg
b9495db99b Don't let a mathematican add numbers with less than 20 digits. Fix the
the offset for November and December and welcome libnbcompat-20080416.
2008-04-17 08:11:12 +00:00
joerg
d82752f969 pkg_install-20080415:
Add audit-history subcommand for pkg_admin, that lists all known
vulnerabilities for a given base package name. E.g. if you run a web
server, don't run "pkg_admin audit-history php" before going to bed.
2008-04-16 00:53:06 +00:00
joerg
7ae2547c43 Refactor by moving logic for IGNORE_URL into subfunction. 2008-04-15 22:24:38 +00:00
joerg
22f59d0159 bootstrap-mk-files-20080415:
Don't bother with real dependency tracking, just touch .depend.
2008-04-15 16:49:56 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
joerg
7e5d22b940 Force depend target to explicitly run for libfetch. Disallow parallel
builds in that part of the build. This works around issues with
bootstrap-mk-files not handling DPSRCS correctly.
2008-04-08 11:50:46 +00:00
joerg
e3dcc57333 pbulk-0.30:
Print the collected PKG_FAIL_REASON in the HTML version of the report.
2008-04-07 19:41:07 +00:00
joerg
8a32fdfe06 Add note about LOCALBASE 2008-04-07 17:34:51 +00:00
joerg
dee7a26d93 Simplify logic and make pkgdbdir the default for
pkg_vulnerabilities_dir.
2008-04-07 13:25:32 +00:00
joerg
0f52644262 pkg_install-20080407:
Add command to print effective value of configuration variables.
Remove FETCH_CMD variable from pkg_admin, it is not used.
2008-04-07 13:07:14 +00:00
joerg
18d8ba7ebd Don't build pkg_io.c during bootstrap. 2008-04-06 17:47:27 +00:00
joerg
0d4cca2484 Fix audit -t argument -- it should actually take the option. 2008-04-04 21:45:33 +00:00
tnn
f923a1ef51 -lfetch to make it build. PR pkg/38365. 2008-04-04 20:46:59 +00:00
joerg
3c5055ef91 pbulk-0.29:
Add bulkbuild-restart script that checks if error/success files exist
and makes sense and continues the previous build if they do.
2008-04-04 17:58:59 +00:00
joerg
5990cd6523 Also switch pkg_admin's fetch-vulnerabilities implementation to
libfetch.
2008-04-04 15:47:01 +00:00
joerg
3cb9e8532d pkg_install-20080404:
Switch pkg_info to use libfetch for remote access.
2008-04-04 15:21:32 +00:00
joerg
6d93d84461 libnbcompat-20080404:
Add an implement of timegm(3) from nsd (based on Python code).
2008-04-04 15:20:33 +00:00
joerg
6279818d31 Add an implement of timegm(3) from nsd (based on Python code). 2008-04-04 15:20:00 +00:00
joerg
25637e137b Add an implement of timegm(3) from nsd (based on Python code). 2008-04-04 15:19:10 +00:00
jlam
a8d98ad4bf Override PKG_INFO_CMD to point to the just-built pkg_info so that
pkg_install can install using newer features without warnings.
2008-04-03 14:22:26 +00:00
jlam
dca8b98cde Invoke the correct pkg_admin command during post-installation. 2008-04-02 13:23:31 +00:00
tron
93f9a70abf Use a workaround to prevent a linker error on Mac OS X Leopard.
Reviewed by Joerg Sonnenberger and approved by Dieter Baron.
2008-03-31 16:52:13 +00:00
gdt
205b55abd1 Separate 'make clean' from 'make package', so that clean is not
skipped with -r.  DISTNAME++.  Fixes PR pkg/38283.

Reviewed and tested by tnn@.
2008-03-31 11:41:09 +00:00
dsainty
0eec92f6dd Correct typo in usage message: vulneraiblities -> vulnerabilities 2008-03-23 01:04:47 +00:00
joerg
42c387859a Request getopt with optreset support from libnbcompat. 2008-03-21 23:28:33 +00:00
joerg
46474f9f02 libnbcompat-20080322:
Add an option to force a BSDish getopt (e.g. one with optreset).
Use the correct macros to decide when to define optind and friends.
2008-03-21 23:28:08 +00:00
joerg
ae389f8ee9 Revert last change. The symbol is already defined in
lib/vulnerabilities-file.c and making it a common symbol just hides the
real issue (whatever it is).
2008-03-21 14:47:53 +00:00
jklos
2ae724aeb2 Fixes pkg/38250 and makes pkgsrc work on Darwin again. Thanks to
Christian Neukirchen.
2008-03-21 08:18:17 +00:00
joerg
c5e343fa4e If this is not a native NetBSD build, use the libnbcompat version of
unistd.h.
2008-03-20 20:26:52 +00:00
joerg
06751e9460 Explicitly include fcntl.h for Solaris. From PR 38240. 2008-03-19 15:33:12 +00:00
joerg
67bb1dc761 Fix bootstrap build. From Stoned Elipot. 2008-03-15 10:55:34 +00:00
joerg
47338958a0 Needs unistd.h. 2008-03-15 10:46:08 +00:00
joerg
9794279905 bootstrap-mk-files-20080310:
IRIX and Linux don't provide lorder in all cases, so just skip
the logic for the resorting before building ar(1)chives.
2008-03-13 17:28:23 +00:00