summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2008-04-29Drop clauses 3 and 4 from TNF licensesmartin49-400/+57
2008-04-26Revert last change, it was not intended to go into HEAD.joerg20-1289/+3587
2008-04-26Add a clean pkg_add implementation on top of libarchive and libfetch.joerg20-3587/+1289
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-23update pkg_chk to 1.91:abs2-3/+11
- Use a local pkg_summary.gz iff it is the most recently modified file in the PACKAGES/All directory
2008-04-23Make pkg_delete with -p actually work. Prepending the prefix doesn'tjoerg1-8/+12
work as it will still use the one in the package. Use the approach from pkg_add to override it instead.
2008-04-23Use id -un for whoami on QNX.joerg1-2/+2
2008-04-23pkg_install-20080423:joerg2-48/+75
Make the linkresolver code more robust.
2008-04-23Requires libarchive 2.5.joerg1-1/+4
2008-04-23rc.subr-20080423: Add QNX support.joerg2-4/+14
From Christian Leutloff on tech-pkg.
2008-04-22Restore symlinks as the code was accidently removed.joerg1-2/+5
2008-04-22pkg_install-20080422:joerg2-56/+24
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-21libnbcompat-20080422:joerg5-2413/+4070
Check if stdio.h declares vasprintf and snprintf and provide a prototype otherwise.
2008-04-20Detect socket and gethostbyname requirements for Solaris.joerg2-1468/+1825
2008-04-18Move get_dash_string to pkg_create as only user.joerg3-27/+17
Remove str_lowercase.
2008-04-18Nuke unused macros.joerg1-10/+1
2008-04-18Mark this package MAKE_JOBS_SAFE=no.bjs1-1/+3
2008-04-17Don't let a mathematican add numbers with less than 20 digits. Fix thejoerg2-3/+3
the offset for November and December and welcome libnbcompat-20080416.
2008-04-16pkg_install-20080415:joerg6-7/+136
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-15Refactor by moving logic for IGNORE_URL into subfunction.joerg1-23/+31
2008-04-15bootstrap-mk-files-20080415:joerg2-34/+4
Don't bother with real dependency tracking, just touch .depend.
2008-04-12Convert to use PLIST_VARS instead of manually passing "@comment "jlam6-64/+65
through PLIST_SUBST to the plist module.
2008-04-08Force depend target to explicitly run for libfetch. Disallow paralleljoerg1-2/+5
builds in that part of the build. This works around issues with bootstrap-mk-files not handling DPSRCS correctly.
2008-04-07pbulk-0.30:joerg2-6/+53
Print the collected PKG_FAIL_REASON in the HTML version of the report.
2008-04-07Add note about LOCALBASEjoerg1-1/+2
2008-04-07Simplify logic and make pkgdbdir the default forjoerg1-6/+5
pkg_vulnerabilities_dir.
2008-04-07pkg_install-20080407:joerg6-13/+38
Add command to print effective value of configuration variables. Remove FETCH_CMD variable from pkg_admin, it is not used.
2008-04-06Don't build pkg_io.c during bootstrap.joerg1-2/+4
2008-04-04Fix audit -t argument -- it should actually take the option.joerg1-3/+3
2008-04-04-lfetch to make it build. PR pkg/38365.tnn1-2/+2
2008-04-04pbulk-0.29:joerg4-5/+41
Add bulkbuild-restart script that checks if error/success files exist and makes sense and continues the previous build if they do.
2008-04-04Also switch pkg_admin's fetch-vulnerabilities implementation tojoerg1-78/+26
libfetch.
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.