Up to [cvs.netbsd.org] / pkgsrc / pkgtools / pkg_install / files / admin
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.16.6.1 / (download) - annotate - [select for diffs], Sun Feb 20 21:41:59 2011 UTC (11 months, 2 weeks ago) by spz
Branch: pkgsrc-2010Q4
Changes since 1.16: +11 -4
lines
Diff to previous 1.16 (colored) next main 1.17 (colored)
Pullup ticket 3356 - requested by aymeric functionality fix Revisions pulled up: - pkgsrc/pkgtools/pkg_install/files/admin/audit.c 1.17 - pkgsrc/pkgtools/pkg_install/files/lib/version.h 1.161 ----------------------------------------------------------------------------- Module Name: pkgsrc Committed By: aymeric Date: Fri Feb 18 15:59:52 UTC 2011 Modified Files: pkgsrc/pkgtools/pkg_install/files/admin: audit.c pkgsrc/pkgtools/pkg_install/files/lib: version.h Log Message: . fix audit-history subcommand to include patterns making use of [x-y] notation . bump version to 20110215 To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 pkgsrc/pkgtools/pkg_install/files/admin/audit.c cvs rdiff -u -r1.160 -r1.161 pkgsrc/pkgtools/pkg_install/files/lib/version.h
Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 18 15:59:52 2011 UTC (11 months, 3 weeks ago) by aymeric
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
HEAD
Changes since 1.16: +11 -4
lines
Diff to previous 1.16 (colored)
. fix audit-history subcommand to include patterns making use of [x-y] notation . bump version to 20110215
Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 16 23:02:48 2010 UTC (19 months, 3 weeks ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2
Branch point for: pkgsrc-2010Q4
Changes since 1.15: +4 -6
lines
Diff to previous 1.15 (colored)
pkg_install-20100616: - Recognize -C for pkg_add like the rest of the tools do - Do the existing check for pkg_add -f, it makes the combination of -f and -U a bit less surprising - Fix option handling for CHECK_VULNERABILITIES (from spz@) - Make end-of-life check the default. pkg_install.conf(5) can be used to override the default. The existing admin -e & co continue to work as before.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 14 18:24:58 2010 UTC (21 months, 3 weeks ago) by joerg
Branch: MAIN
Changes since 1.14: +7 -15
lines
Diff to previous 1.14 (colored)
pkg_install-20100405: - Try to detect common forms of pkgdb corruption and issue a warning in that case. - Refactor the pkg_vulnerabilities logic to use the compression support from libarchive. This reduces the amount zlib/bzip2 interaction to the linkage.
Revision 1.14 / (download) - annotate - [select for diffs], Sun Aug 2 17:56:44 2009 UTC (2 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored)
pkg_install-20090727: Make pkg_install WARNS=4 clean and fix a number of lint warnings. Based on reports from veego about warnings with older GCC releases in pkg_delete, where a variable is potentially used uninitialized.
Revision 1.13 / (download) - annotate - [select for diffs], Sun May 10 21:11:43 2009 UTC (2 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base,
pkgsrc-2009Q2
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
Fix spelling.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Feb 5 17:22:19 2009 UTC (3 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Changes since 1.11: +49 -11
lines
Diff to previous 1.11 (colored)
pkg_install-20090205: - Restrict audit related commands to the documented set and/or fix the documention. - Add support for conditional fetch-pkg-vulnerabilities via -u option.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 2 12:35:00 2009 UTC (3 years ago) by joerg
Branch: MAIN
Changes since 1.10: +25 -73
lines
Diff to previous 1.10 (colored)
Merge pkg_install-20090201 from pkg_install-renovation branch.
- DB support is always included from libnbcompat if needed
- pkg_view and linkfarm are not installed any more; they are not moved
into the attic yet, so they can easily be installed as separte package
- common configuration file to customise the behavior of various
components; this supersedes the old audit-packages.conf
- support for PKSC7 signatures (using X509 certs) and GPG signatures for
packages in a secure way. See pkg_admin(8) for how to create them and
pkg_install.conf(5) for the options to use them
- audit-packages and download-vulnerability-list are wrapper scripts
around pkg_admin. They try to mimic the classic options if used sanely.
"pkg_admin audit" is now an order of magnitude faster than before
- pkg_add uses libarchive and libfetch instead of external ftp and tar:
- progress bar is currently missing for downloads
- "pkg_add -" is no longer supported
- no adhoc check for conficts between dependencies and already
installed packages
- "pkg_add -s" has been replaced with an option in pkg_install.conf,
verification of plain detached GPG signatures is no longer supported
- optional check for vulnerabilities before adding a package
- if /var and /usr/pkg are on different fileystems it is twice as fast
now
- conflicts due to overlapping plists are checked before installation
- pkg_add no longer plays with the process limits
- pkg_add and pkg_delete have a new destdir option; scripts have to
either be modified to use PKG_DESTDIR or should be disabled
- pkg_add -u for now can't be used to update to the exact same version
- internal "rm -rf" and "mkdir_p" code
- all memory allocation failures are not explicitly fatal
- if a file is not removed due to a failed checksum, still remove the
entry from pkgdb
Revision 1.8.2.7 / (download) - annotate - [select for diffs], Mon Feb 2 11:55:16 2009 UTC (3 years ago) by joerg
Branch: pkg_install-renovation
Changes since 1.8.2.6: +4 -62
lines
Diff to previous 1.8.2.6 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)
pkg_install-20090201: - sync DESCR and MESSAGE with HEAD and the branch state - sync Makefile - regen configure - cleanup __RCSID - merge audit logic in pkg_add and pkg_admin into new audit_packages function. As side effect, pkg_add will list all vulnerabilities before asking the user whether it should continue - sort config_variable array
Revision 1.8.2.6 / (download) - annotate - [select for diffs], Thu Nov 27 19:24:13 2008 UTC (3 years, 2 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.8.2.5: +18 -7
lines
Diff to previous 1.8.2.5 (colored) to branchpoint 1.8 (colored)
pkg_install-20081127: Correctly deal with short reads from fetchIO_read when loading pkg-vulnerabilities.
Revision 1.8.2.5 / (download) - annotate - [select for diffs], Thu Oct 2 20:51:41 2008 UTC (3 years, 4 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.8.2.4: +6 -6
lines
Diff to previous 1.8.2.4 (colored) to branchpoint 1.8 (colored)
Merge time_t fix from HEAD and call it pkg_install-20081003.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 2 20:46:56 2008 UTC (3 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3
Changes since 1.9: +6 -6
lines
Diff to previous 1.9 (colored)
pkg_install-20081002: Explicitly cast time_t values to long and print them as such. Reported by bjs@.
Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 16 13:32:58 2008 UTC (3 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.8: +18 -6
lines
Diff to previous 1.8 (colored)
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
Revision 1.8.2.4 / (download) - annotate - [select for diffs], Thu Aug 21 16:04:39 2008 UTC (3 years, 5 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.8.2.3: +9 -6
lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored)
pkg_install-20080821: - Recognize file:// urls to prevent double quoting. - Fix some err/errx botchups. - Add configuration options for verbose logging of net IO, enabling of active FTP (switching to passive FTP as default) and for ignoring proxy settings. - When iterating over PACKAGES to find a match, warn if an entry can't processed (e.g. bad URL).
Revision 1.8.2.3 / (download) - annotate - [select for diffs], Sat Aug 2 20:33:50 2008 UTC (3 years, 6 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.8.2.2: +4 -7
lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)
Most memory allocation failures were fatal already and the majority of the rest lacked an explicit check. Add the usual x* wrappers around malloc and friends that explicitly terminate on error and use them in all but Dewey.
Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Jul 27 16:22:53 2008 UTC (3 years, 6 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.8.2.1: +12 -3
lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)
pkg_install-20080727: When using the libnbcompat version of getopt, make sure to not use optind = 0. For GNU getopt compatibility, it does a partial reset. This fixes PR 39181.
Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon May 12 12:12:07 2008 UTC (3 years, 8 months ago) by joerg
Branch: pkg_install-renovation
Changes since 1.8: +4 -2
lines
Diff to previous 1.8 (colored)
Add quick_pkg_match to decide whether a pattern can match a package at all. Use it to speed up pkg_match and the audit-history backend. This improves ``pkg_admin audit'' from 1.333s to 0.098s and ``pkg_admin audit php libpng'' from 0.034s to 0.029s on my laptop.
Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 16 00:53:06 2008 UTC (3 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkg_install-renovation-base,
cwrapper-base,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Branch point for: pkg_install-renovation
Changes since 1.7: +122 -2
lines
Diff to previous 1.7 (colored)
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.
Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 15 22:24:38 2008 UTC (3 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.6: +31 -23
lines
Diff to previous 1.6 (colored)
Refactor by moving logic for IGNORE_URL into subfunction.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 4 21:45:33 2008 UTC (3 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
Fix audit -t argument -- it should actually take the option.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 4 15:47:01 2008 UTC (3 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.4: +26 -78
lines
Diff to previous 1.4 (colored)
Also switch pkg_admin's fetch-vulnerabilities implementation to libfetch.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 20 20:26:52 2008 UTC (3 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base,
pkgsrc-2008Q1
Changes since 1.3: +5 -3
lines
Diff to previous 1.3 (colored)
If this is not a native NetBSD build, use the libnbcompat version of unistd.h.
Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 19 15:33:12 2008 UTC (3 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.2: +5 -2
lines
Diff to previous 1.2 (colored)
Explicitly include fcntl.h for Solaris. From PR 38240.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Mar 15 10:46:08 2008 UTC (3 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.1: +5 -2
lines
Diff to previous 1.1 (colored)
Needs unistd.h.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Mar 13 16:35:30 2008 UTC (3 years, 10 months ago) by joerg
Branch: MAIN
pkg_install-20080313: 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.