diff options
author | agc <agc> | 2005-12-29 23:47:55 +0000 |
---|---|---|
committer | agc <agc> | 2005-12-29 23:47:55 +0000 |
commit | 99bc8e60f9a074a868c92ba563f49621db5c5d6d (patch) | |
tree | 54c4f672a2c82e0c11a5d0837b56f182a259ecc3 /security | |
parent | b5b26ccd414bffd54c7f06f24841e78fc2386dcd (diff) | |
download | pkgsrc-99bc8e60f9a074a868c92ba563f49621db5c5d6d.tar.gz |
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.
Diffstat (limited to 'security')
-rw-r--r-- | security/audit-packages/MESSAGE.DragonFly | 23 | ||||
-rw-r--r-- | security/audit-packages/Makefile | 8 |
2 files changed, 30 insertions, 1 deletions
diff --git a/security/audit-packages/MESSAGE.DragonFly b/security/audit-packages/MESSAGE.DragonFly new file mode 100644 index 00000000000..78f70358f0f --- /dev/null +++ b/security/audit-packages/MESSAGE.DragonFly @@ -0,0 +1,23 @@ +=========================================================================== +$NetBSD: MESSAGE.DragonFly,v 1.1 2005/12/29 23:47:55 agc Exp $ + +You may wish to have the vulnerabilities file downloaded daily so that +it remains current. This may be done by adding an appropriate entry +to the root users crontab(5) entry. For example the entry + +# download vulnerabilities file +0 3 * * * ${PREFIX}/sbin/download-vulnerability-list >/dev/null 2>&1 + +will update the vulnerability list every day at 3AM. You may wish to do +this more often than once a day. + +In addition, you may wish to run the package audit from the daily +security script. This may be accomplished by adding the following +lines to /etc/period/security/NNN.audit-packages, where NNN is a +number specifying the order of execution. + +if [ -x ${PREFIX}/sbin/audit-packages ]; then + ${PREFIX}/sbin/audit-packages +fi + +=========================================================================== diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index 6fcfbcafc4d..76c0a4a45d8 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.63 2005/11/21 10:39:50 agc Exp $ +# $NetBSD: Makefile,v 1.64 2005/12/29 23:47:55 agc Exp $ DISTNAME= audit-packages-1.41 CATEGORIES= security pkgtools @@ -24,6 +24,12 @@ SKIP_AUDIT_PACKAGES= yes .include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "DragonFly" +MESSAGE_SRC= ${PKGDIR}/MESSAGE.DragonFly +.else +MESSAGE_SRC= ${PKGDIR}/MESSAGE +.endif + do-build: @for f in audit-packages audit-packages.0 audit-packages.8 \ download-vulnerability-list; do \ |