Fri Dec 5 14:31:07 2014 UTC ()
Spell "vulnerabilities" correctly.


(schmonz)
diff -r1.5 -r1.6 pkgsrc/pkgtools/pkg_install/MESSAGE

cvs diff -r1.5 -r1.6 pkgsrc/pkgtools/pkg_install/Attic/MESSAGE (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkg_install/Attic/MESSAGE 2009/02/02 12:34:59 1.5
+++ pkgsrc/pkgtools/pkg_install/Attic/MESSAGE 2014/12/05 14:31:07 1.6
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1=========================================================================== 1===========================================================================
2$NetBSD: MESSAGE,v 1.5 2009/02/02 12:34:59 joerg Exp $ 2$NetBSD: MESSAGE,v 1.6 2014/12/05 14:31:07 schmonz Exp $
3 3
4You may wish to have the vulnerabilities file downloaded daily so that 4You may wish to have the vulnerabilities file downloaded daily so that
5it remains current. This may be done by adding an appropriate entry 5it remains current. This may be done by adding an appropriate entry
6to a user's crontab(5) entry. For example the entry 6to a user's crontab(5) entry. For example the entry
7 7
8# download vulnerabilities file 8# download vulnerabilities file
90 3 * * * ${PREFIX}/sbin/pkg_admin fetch-pkg-vulnerabilities >/dev/null 2>&1 90 3 * * * ${PREFIX}/sbin/pkg_admin fetch-pkg-vulnerabilities >/dev/null 2>&1
10 10
11will update the vulnerability list every day at 3AM. You may wish to do 11will update the vulnerability list every day at 3AM. You may wish to do
12this more often than once a day. 12this more often than once a day.
13 13
14In addition, you may wish to run the package audit from the daily 14In addition, you may wish to run the package audit from the daily
15security script. This may be accomplished by adding the following 15security script. This may be accomplished by adding the following
@@ -17,21 +17,21 @@ lines to /etc/security.local @@ -17,21 +17,21 @@ lines to /etc/security.local
17 17
18if [ -x ${PREFIX}/sbin/pkg_admin ]; then 18if [ -x ${PREFIX}/sbin/pkg_admin ]; then
19 ${PREFIX}/sbin/pkg_admin audit 19 ${PREFIX}/sbin/pkg_admin audit
20fi 20fi
21 21
22Alternatively this can also be acomplished by adding an entry to a user's 22Alternatively this can also be acomplished by adding an entry to a user's
23crontab(5) file. e.g.: 23crontab(5) file. e.g.:
24 24
25# run audit-packages 25# run audit-packages
260 3 * * * ${PREFIX}/sbin/pkg_admin audit 260 3 * * * ${PREFIX}/sbin/pkg_admin audit
27 27
28Both pkg_admin subcommands can be run as as an unprivileged user, 28Both pkg_admin subcommands can be run as as an unprivileged user,
29as long as the user chosen has permission to read the pkgdb and to write 29as long as the user chosen has permission to read the pkgdb and to write
30the pkg-vulnerabilites to ${PKGVULNDIR}. 30the pkg-vulnerabilities to ${PKGVULNDIR}.
31 31
32The behavior of pkg_admin and pkg_add can be customised with 32The behavior of pkg_admin and pkg_add can be customised with
33pkg_install.conf. Please see pkg_install.conf(5) for details. 33pkg_install.conf. Please see pkg_install.conf(5) for details.
34 34
35If you want to use GPG signature verification you will need to install 35If you want to use GPG signature verification you will need to install
36GnuPG and set the path for GPG appropriately in your pkg_install.conf. 36GnuPG and set the path for GPG appropriately in your pkg_install.conf.
37=========================================================================== 37===========================================================================