summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2008-03-01Why does pkg_add need many open file descriptors?rillig1-2/+3
2008-03-01Removed trailing white-space.rillig2-6/+6
2008-02-28Replaced the deprecated INSTALLATION_DIRS_FROM_PLIST with AUTO_MKDIRS,rillig1-2/+2
to shut up the pkglint warnings.
2008-02-27Allow zero white-space in line 4 of buildlink3.mk files. This was hit byrillig1-2/+2
devel/ncursesw.
2008-02-26pbulk-0.28:joerg2-5/+6
- don't try to deinstall (and fail) on packages marked not for uninstall
2008-02-26Use pkg_add from new build, override *_CMD instead of the full commands.joerg1-7/+6
Drop some no longer used overrides.
2008-02-26NO_MTREE is the default nowawadays.joerg1-10/+2
Do not force use of a native compiler, we don't build digest during bootstrap any longer. Do not skip the pkgtools version check for the same reason. When building this package using DESTDIR, it might actually need the newer tools.
2008-02-24update pkg_chk to 1.90:abs2-10/+10
- Remove obsolete and no longer accurate 'implies -c' and 'implies -i' notes from usage - noted by Andreas Burghardt
2008-02-24Improve verbose mode:tnn1-3/+10
- sprinkle whitespace so pkgnames get neatly aligned - prepend a progress counter to printfs
2008-02-22pkg_install-20080223:joerg2-25/+37
Redo the check for incomplete packages by annotating which meta data field are required and count which were found during reading the binary package. The original approach didn't work as loads from pkgdb are reduced to the minimal set.
2008-02-22pkg_install-20080222:joerg2-4/+14
Free libarchive's side of the package before closing the file descriptor. This stops leaking up to 1MB / package when using bzip2 and addresses PR 38082. Check that at least +COMMENTS, +CONTENTS and +DESC can be extracted, otherwise skip the entry. This stops pkg_info -X from dumping core on non-package files.
2008-02-22Introduce a variable, LIBNBCOMPAT_USE_PIC, which if set to yes beforetnn1-6/+26
including inplace.mk causes a PIC version of libnbcompat to be built alongside the regular static libnbcompat. This will be used to extend the features framework in two ways: 1) Support linking features into shared modules 2) Ability to cherry-pick individual objects to link from the libnbcompat build directory rather than linking the whole archive.
2008-02-21libnbcompat-20080221:tnn4-3/+579
- Use AC_FUNC_VFORK, needed on IRIX to get missing vfork() defined to fork(). Ok by joerg.
2008-02-21Use echo(1) instead of lorder(1). At least my IRIX 6.5 doesn't have it.tnn1-2/+2
The IRIX 5.3 lorder(1) manpage says: "This command is useless (but not harmful) in IRIX."
2008-02-21No sin_len on IRIX.tnn1-2/+2
2008-02-21Updated pkglint to 4.84.rillig1-2/+2
Changes since 4.82: - Whenever a Makefile.common is included by another file, that file should be mentioned in the Makefile.common. - Added spell checker for .if directives. - Added warnings for uncommented patches (only for -Wstyle). - Added spell checker for invalid macro names, like __NetBSD_Version. - Deprecated INSTALLATION_DIRS_FROM_PLIST in favor of AUTO_MKDIRS. - Many more small things.
2008-02-21I don't want others to update the pkglint version number.rillig1-1/+2
2008-02-21Changed an assertion into a fatal error, which is effectively the same,rillig1-2/+2
just without a stack trace. Fixes PR 38074.
2008-02-19pkg_install-20080219:joerg5-7/+704
Add new parser for pkg_vulnerabilities, that handles decompress transparently and internally. Preliminary tests with a modified audit-packages show a speed increase by 2 for common operations like listening all vulnerable installed packages.
2008-02-17Bump version to pkg_rolling-replace-0.14:apb3-11/+30
* Clarify that the -x option takes package base names, not full package names. * Clarify that the -x option excluded packages only from the outdated check, not from being rebuilt for any any other reason. * Add a -X option that excludes a package from being rebuilt for any reason. (I have had this as a private patch for a long time, and never run pkg_rolling-replace without "-X openoffice2", because openoffice requires so much time and disk space to build.)
2008-02-17Replace three instances of sed with ${SED}. Ride previous update.tnn1-4/+4
2008-02-17Bump to pkg_chk-1.89:tnn2-11/+27
Some changes from Aleksey Cheusov in pkg/36298 and pkg/36641 with additional cleanup by me. - option -g doesn't need PKGSRCDIR populated - fatal if mktemp fails - truncate logfile instead of removing it - performance improvement for binary package scan
2008-02-16Fix hpux c++ linkage problem. Bump version.tnn2-2/+8
2008-02-16In both mkpatches.pl and patchdiff.pl, ignore a leading "./" whenapb3-5/+6
parsing a file name from the "+++" line in an old patch file. (New patch files created by mkpatches do not have "./" in the file name in the "+++" line, but some old patches currently in pkgsrc do have "./" there.) Bump version to 0.120.
2008-02-14Move my code to two-clause license.tnn1-25/+16
2008-02-14Improved the wording of the explanation for empty PLISTs. Related torillig1-5/+6
PR 38022.
2008-02-13Add horisontal rulers.tnn1-1/+3
2008-02-13Add to explanation for empty PLIST: not needed for meta packages.reed2-4/+4
2008-02-12Updated pkg_tarup to 1.7.1.rillig2-35/+19
Changes since 1.7: - bail out if the ROOT_USER doesn't exist. - Made the package Makefile a little shorter.
2008-02-12libnbcompat-20080212:joerg4-11/+16
Add digest length defines for md5, rmd160 and sha1. Use __BEGIN_DECLS/__END_DECLS. Drop _KERNEL conditionals.
2008-02-12INSTALLATION_DIRS_FROM_PLIST is deprecated. Use AUTO_MKDIRS instead.rillig1-1/+4
2008-02-11Bump date for SunOS change.tnn1-2/+2
2008-02-11${CC} -E is a better default choice for CPP than "cpp".tnn1-2/+2
Prevents many packages from failing with "c preprocessor fails sanity check."
2008-02-09Always use the newly built pkg_create -- this makes updates easier.joerg1-1/+2
2008-02-08Added a suggestion from Tobias Nygren.rillig1-1/+3
2008-02-08Having to wonder for 5min why pkg_add would fail just to discover thatjoerg1-3/+7
it couldn't exec the shell scripts due to mount -o noexec, make the error message a bit more verbose.
2008-02-07pkg_install-20080208:joerg2-4/+7
Explicitly check in show_var that the buffer is non-NULL. This can stops pkg_info -Q foo from segfaulting for explicitly installed packages. Reported by Stoned Elipot.
2008-02-07Merge a fix from NetBSD's src/bin/pax by tls:joerg1-2/+1
Teach set_ftime about symbolic links, because it has to know: on some Linux systems, when we build as a tool we think we have lutimes but it doesn't work on some filesystems at runtime. A bit ugly but effective and without use of AC_TRY_RUN in the tool build. Tidier (than mine) set_ftime reorganization from christos. Bump version to 20080110.
2008-02-07Needs GNU nroff to format catpages.tnn1-2/+2
(But for this case it would make life simpler for bulk builders if the catpages were pregenerated.)
2008-02-06pkg_tarup-1.7:joerg2-25/+12
Produce the same output as USE_DESTDIR=yes. Most of all reduce magic. Try to deal with pkgviews for completeness.
2008-02-05Include fcntl.h for Solaris. From Andri Piik in private mail.joerg1-2/+5
2008-02-05Something more to do.rillig1-1/+3
2008-02-04pen.c only uses statvfs.h and the necessary headers are included byjoerg4-45/+4
libnbcompat.h already. So don't include sys/param.h and sys/mount.h in it and remove the configure test for sys/mount.h. While here, remove some #if 0'd code from pen.c.
2008-02-04pkg_install-20080204:joerg2-16/+19
Try to remove all +* files from the pkgdb first. If the log directory is not empty afterwards, be noisy, but try rm -rf on it for the force case.
2008-02-03Enable compression (-z) in report_rsync_args.tnn1-2/+2
Partially addresses PR pkg/37946.
2008-02-02Added support for installation to DESTDIR.heinz1-2/+4
2008-02-02pkg_install-20080202:joerg8-288/+615
Convert pkg_info to use libarchive instead of tar for binary package handling. As a side effect pkg_info on remote packages will use one FTP instance per argument, but will try to fetch only the meta data. This reduces time for pkg_info -X on a full binary repository from 36.9s to 18.1s for the cache hot case (PKG_TMPDIR on tmpfs for the old pkg_info). Thanks to tnn@ for testing.
2008-02-02Explicitly check that meta data files are regular.joerg1-0/+2
2008-02-01+ PRIVILEGED_STAGESrillig1-1/+2
2008-01-31Needs REPLACE_PERL. PKGREVISION++rillig1-3/+4