Commit graph

84 commits

Author SHA1 Message Date
joerg
c05a195744 Fix typo. 2006-03-02 18:31:49 +00:00
agc
1d11f1bba1 Use an ${OPSYS}-specific message file for DragonFly, to get the right
local security information.

With thanks to Joerg Sonnenberger for the DragonFly help, and Trevor
Kendall for the original report.
2005-12-29 23:47:55 +00:00
agc
fd7082ab6c Update audit-packages to version 1.41
Fix PR 31957 - only report that we're using @PKG_SYSCONFDIR@/audit-packages.conf
if we're in verbose mode.
2005-11-21 10:39:50 +00:00
wiz
4ac4b1232e regen. 2005-11-16 22:57:43 +00:00
wiz
b73bd2c841 Improve usage. Add -K description. 2005-11-16 22:57:24 +00:00
wiz
6d59768b31 Various improvements:
Describe -K. Improve -i description. Sort options in SYNOPSIS. Remove
superfluous .Pp. Add EXIT STATUS section. Remove trailing whitespace.
Bump date for new -i.
2005-11-16 22:54:58 +00:00
erh
2ef746f045 Add several new command line options so audit-packages can be used as part of
the improved ALLOW_VULNERABILITIES support.  This now has the ability to:
  -p : Only check a single package
  -i : Provide a list of vulnerabilities to ignore
  -K : Specify an alternate pkg dbdir.
Bump the version to 0.40.
2005-11-16 20:47:55 +00:00
erh
f4784bf7f4 Use OWN_DIRS to make sure the PKGVULNDIR is created as part of the package. 2005-10-31 21:33:19 +00:00
agc
5fc617a44c Update audit-packages to version 1.39
Give the audit-pacakges a "-d" option to download the vulnerabilities file
with downloaad-vulnerability-list before scanning the installed packages.

Update the documentation accordingly.

Get rid of some inconsistent style problems in the audit-packages script.
2005-10-20 10:26:54 +00:00
rillig
37af9335f3 Fixed the number of backslashes in the version checking code. 2005-08-04 12:02:59 +00:00
reed
0ba4386344 Replace references of pkgsrc/mk/bsd.pkg.defaults.mk to
pkgsrc/mk/defaults/mk.conf.

This is from PR 30741 from anonymous AT example.net.
2005-08-02 00:23:31 +00:00
tron
fda69917ef There is no need to use package revision for this package. Therefore bump
version number to 1.37.
2005-06-20 09:29:44 +00:00
adrianp
ba932c9f98 - Use ${FIND} as opposed to hardcoding 'find'
- Bump to nb1
- ok'ed wiz@
2005-06-19 12:14:39 +00:00
dillo
79aa84b5f7 replace centered dots with `o', as they are not always displayed correctly
noted by adrianp
2005-06-12 13:57:24 +00:00
dillo
66b495711b Require pkg_info with ranges support, bump version to 1.36.
Reviewed by wiz.
2005-06-09 15:34:52 +00:00
wiz
e2d7a85a34 Work around a bug in 1.6.2's mdoc macros (they don't know about .Ex).
Noted by reed@

Replace ".Xx Ns 's" by ".Xx Ap s" while here.
2005-06-09 08:14:08 +00:00
reed
cc6080db97 Add a license. Used exact same license as used for source code,
but changed the name of the copyright holder.

I provided the original man page in PR #21865.
2005-06-07 21:37:30 +00:00
dillo
cfba2ea655 Add a file format version to pkg-vulnerabilities, and check for
its compatiblity.  Bump version to 1.35

Done during the freeze to have the support on the branch.
Okayed by wiz.
2005-06-07 19:17:01 +00:00
dillo
c93f327f0f fix quoting. bump version to 1.34.
reviewed by wiz and agc.
2005-05-21 16:36:37 +00:00
wiz
73b1f62fd4 Refer doc/pkgsrc.txt instead of Packages.txt. 2005-05-07 22:14:02 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
be89ba1f29 Add PKGVULNDIR to BUILD_DEFS. 2005-02-19 11:22:05 +00:00
agc
696d63a6c2 Update audit-packages to 1.33:
In download-vulnerability-list, first set the PKGVULNDIR, then create
the directory if it doesn't already exist.

Pointed out by Geert Hendrickx on tech-pkg@
2005-02-11 16:51:16 +00:00
grant
0405492143 avoid use of test -e for consistency with pkgsrc itself. use
consistent shell syntax.
2004-10-29 10:45:45 +00:00
jlam
17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.

* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
  Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
  than the old method of stripping off the last two components of
  ${.CURDIR}.  PKGSRCDIR may now be used after bsd.prefs.mk is defined.

* Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-10-07 02:01:37 +00:00
agc
defa9a1be3 Update audit-packages to 1.32, with fixes for the problems mentioned
in PR 25654 from Hauke Fath.

Take any non-standard values from audit-packages.conf file in
audit-packages as well as download-vulnerability-list.

Fix the pre-formatted documentation so that filenames to be
substituted are not formatted with the bold or underline "overstrikes"
on ttys, so that the correct sed substitutions take place at package
install time.
2004-06-06 08:28:54 +00:00
reed
d76aeb8d58 Add explanation of -v switch to man page. (Okay'd by agc@.)
audit-packages version is now 1.31.
2004-05-17 19:28:19 +00:00
wiz
2e6bec7127 Make it a separate warning if downloading the file
failed completely. Welcome to 1.30.
2004-04-14 09:04:15 +00:00
jschauma
91eda1f72c Rethink the nroff dilemma:
only regen on SunOS or AIX - the pre-generated pages _are_ mandoc type
pages, so we can use them on more platforms than just Irix.
2004-04-11 18:14:53 +00:00
jschauma
fde5d4152b Do this the right way: regen audit-packages.0 and then substitute as
regular
2004-04-09 16:06:59 +00:00
jschauma
18657fa1bb Add a pre-formatted catman page which is only used (copied into place)
under IRIX.  Other OS regen the catman page.

This addresses PR pkg/23452.

Since just depending on textproc/groff would pull in a large number of
packages (such as perl, ghostscript, tiff etc.), and since this is a very
important package that should NOT depend on all this gunk, Jeremy C. Reed
suggested this solution.

Ok agc.
2004-04-09 15:30:57 +00:00
jlam
56a6d12f07 Update security/audit-packages to 1.29. Changes from version 1.28 include
supporting using the FreeBSD "fetch" command to get the vulnerabilities
list.  Patch provided in PR 24371 by Michal Pasternak.
2004-02-09 03:56:34 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jlam
a442099d05 This package never invokes the toolchain so it doesn't need buildlink[23].
Define NO_BUILDLINK to signify this to bsd.pkg.mk.
2004-01-19 15:15:08 +00:00
jlam
22645a942c bl3ify 2004-01-05 11:28:07 +00:00
agc
7ae16542a6 Update audit-packages to 1.28.
By popular demand, add a -v switch to audit-packages(8) which enables the
check for a package vulnerabilities file being unchanged for over 7 days.
To enable the check, -v must be specified on the command line:

	% audit-packages
	% audit-packages -v
	*** WARNING - /usr/distfiles/pkg-vulnerabilities more than a week old, continuing...
	%
2004-01-01 23:35:28 +00:00
erh
f3612f2fde AIX doesn't have mandoc, just like SunOS. 2003-12-12 21:40:32 +00:00
agc
a0207fa135 Whitespace fix, cosmetic only 2003-12-12 15:08:21 +00:00
agc
2dd92849cd Update audit-packages to version 1.27.
Difference from previous version (1.26):
+ if the vulnerability list is older than a week, just display a warning
message - don't consider this a fatal error.
2003-12-11 17:10:21 +00:00
wiz
dfa47a2ed3 Bump date for previous. Fix typo. 2003-12-03 09:31:01 +00:00
martti
ac3fc97117 Updated audit-packages to 1.26
Added support for audit-packages.conf. This file can be used
to define environment variables (e.g. FETCH_ARGS).
2003-12-03 04:58:01 +00:00
agc
49338b43ac Update audit-packages to 1.25.
+ get rid of unnecessary awk invocation in audit-packages, use shell
  construction instead, pointed out by enami tsugutomo. Cuts system and
  user execution times for audit-packages in half.
+ add (4-clause) licences to audit-packages and download-vulnerability-list
+ check integrity of pkg-vulnerabilities file in audit-packages by using
  the same construct as in download-vulnerability-list
+ CSE in error checking in audit-packages
+ properly terminate a case expression in download-vulnerability-list
2003-10-18 10:16:57 +00:00
agc
de7fca8939 Update audit-packages to 1.24:
Simplify quoting syntax in the awk command, so that gawk-3.1.3 (as found in
NetBSD-current) doesn't have a problem with a malformed escape sequence.

With thanks to Johnny Lam for testing with an older version of gawk.
2003-10-17 09:45:28 +00:00
grant
3222b9705d missed a pkg-vulnerabilities filename 2003-09-16 14:50:47 +00:00
grant
8701611d07 netbsd.org -> NetBSD.org. 2003-09-16 14:47:49 +00:00
grant
651a74f47a correct name of pkg-vulnerabilities file; netbsd.org -> NetBSD.org;
add missing word; bump date.
2003-09-16 14:46:52 +00:00
grant
6152558d3d ftp.netbsd.org -> ftp.NetBSD.org 2003-09-16 14:33:01 +00:00
agc
4842dd4749 Update audit-packages to 1.23.
Use the first word of ${FETCH_CMD} to determine which utility is used.

Addresses PR 22760 from Todd Vierling.
2003-09-16 09:06:03 +00:00
agc
1cbfd70c0e Update audit-packages to 1.22:
Make an informational message clearer.
2003-09-16 07:21:01 +00:00
seb
336d68c05a Update to version 1.21.
download-vulnerability-list(8) now needs digest(1).
Hence put digest package as a runtime dependency of audit-packages
package.
2003-09-12 12:57:10 +00:00