summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2008-04-04pkg_install-20080404:joerg7-62/+186
Switch pkg_info to use libfetch for remote access.
2008-04-04libnbcompat-20080404:joerg1-2/+2
Add an implement of timegm(3) from nsd (based on Python code).
2008-04-04Add an implement of timegm(3) from nsd (based on Python code).joerg2-1/+85
2008-04-04Add an implement of timegm(3) from nsd (based on Python code).joerg2-1/+96
2008-04-03Override PKG_INFO_CMD to point to the just-built pkg_info so thatjlam1-1/+2
pkg_install can install using newer features without warnings.
2008-04-02Invoke the correct pkg_admin command during post-installation.jlam1-3/+2
2008-03-31Use a workaround to prevent a linker error on Mac OS X Leopard.tron1-2/+6
Reviewed by Joerg Sonnenberger and approved by Dieter Baron.
2008-03-31Separate 'make clean' from 'make package', so that clean is notgdt2-4/+10
skipped with -r. DISTNAME++. Fixes PR pkg/38283. Reviewed and tested by tnn@.
2008-03-23Correct typo in usage message: vulneraiblities -> vulnerabilitiesdsainty1-3/+3
2008-03-21Request getopt with optreset support from libnbcompat.joerg1-1/+3
2008-03-21libnbcompat-20080322:joerg4-157/+190
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-21Revert last change. The symbol is already defined injoerg1-3/+2
lib/vulnerabilities-file.c and making it a common symbol just hides the real issue (whatever it is).
2008-03-21Fixes pkg/38250 and makes pkgsrc work on Darwin again. Thanks tojklos1-2/+3
Christian Neukirchen.
2008-03-20If this is not a native NetBSD build, use the libnbcompat version ofjoerg1-3/+5
unistd.h.
2008-03-19Explicitly include fcntl.h for Solaris. From PR 38240.joerg1-2/+5
2008-03-15Fix bootstrap build. From Stoned Elipot.joerg1-6/+6
2008-03-15Needs unistd.h.joerg1-2/+5
2008-03-13bootstrap-mk-files-20080310:joerg3-6/+6
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-13pkg_install-20080313:joerg8-19/+668
Audit functionality for pkg_admin. This uses the backend in libpkg_install and will be extended to check for vulnerabilities at pkg_add time later.
2008-03-13Fix download-vulnerability-list's -c option. From Jim Bernard in PR 38231.wiz1-1/+2
2008-03-11pkg_install-20080311:joerg2-3/+9
If the package db directory doesn't exist, handle it like an empty pkgdb and just return.
2008-03-11Add an EXAMPLES section.tnn1-2/+19
2008-03-10Add a suggestion from Aleksej Saushev.tnn1-1/+4
2008-03-10Add datarootdir to shut up configure.wiz7-7/+14
2008-03-10Remove pprefix (accident?). Add datarootdir to shut up configure.wiz1-2/+2
2008-03-09Don't print errno for missing GPG setting.joerg1-2/+2
2008-03-09Stop chdir/getcwd/fchdir dance in lsall and lsbest, just use the passedjoerg1-42/+7
in path name. This is more consistent when symbolic links are involved as it doesn't do the equivalent of realpath(3) for the path any longer.
2008-03-09pkgdb.byfile.db maintainance can use the iterator interface as well.joerg1-45/+12
Get rid of more chdir() calls.
2008-03-09Use pkgdb function to compute +CONTENTS name and drop need to playjoerg1-18/+9
chdir(2) games. Kill the chdir(2) calls.
2008-03-09Split check functions into a separate file.joerg4-224/+328
Drop checkall and implement it using "*" as wildcard match.
2008-03-09pkg_install-20080309:joerg2-8/+8
- When loading meta data for a package and a file is needed for the current operation and is a required file, complain. - Include the name of the package the meta data could not be loaded from. This addresses PR 38166.
2008-03-06There's more to do ...rillig1-1/+14
2008-03-06Updated pkglint to 4.85.rillig1-2/+2
Changes since 4.84: - Fixed the splitting of PKGNAME into PKGBASE and PKGVERSION. - Added a warning about usage of LOCALBASE in packages, provided by jlam.
2008-03-06The LOCALBASE variable should not be used in packages, it should just berillig1-1/+32
defined in mk.conf. Suggested by jlam, who also provided the excellent explanation (see "pkglint -e" for it).
2008-03-06After the recent fixes by wiz, the regular expression for splitting arillig1-2/+2
package name into PKGBASE and PKGVERSION has been changed. It treats everything in front of the last hyphen as the package basename and the rest (which will hopefully start with a digit) as the package version. Packages that are affected by this change are for example: * fonts/*-100dpi * lang/elisp-manual: elisp-manual-21-2.8 * mail/postfix-current: postfix-2.6-20080216 * net/flodo: flodo-4-20040907
2008-03-06Note removal of tnftp and pax.jlam1-3/+1
2008-03-06+ Remove pkgtools/pax and pkgtools/tnftp as they are no longer differentjlam2-29/+0
from archivers/pax and net/tnftp, respectively. In the past, the pkgtools version of these packages installed into ${PKG_TOOLS_BIN}, but this was changed in: pkgtools/pax/Makefile:1.15 pkgtools/tnftp/Makefile:1.3 + Get rid of archivers/pax/Makefile.common and net/tnftp/Makefile.common by merging them into their respective Makefiles. The Makefile.common files existed solely for inclusion by the pkgtools versions of these packages, but with the removal of those packages, these files are now unnecessary. + Add full DESTDIR support to archivers/pax and net/tnftp. + Modify the bootstrap to build archivers/pax and net/tnftp instead of the pkgtools versions of these packages.
2008-03-05Add TODO item from PR pkg/38178.tnn1-1/+3
2008-03-01Using AUTO_MKDIRS is simpler.rillig1-3/+2
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.