diff options
author | eik <eik@FreeBSD.org> | 2004-06-21 16:04:27 +0000 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-06-21 16:04:27 +0000 |
commit | 805b3b02a98e684e55ead58f8c2ef647ca5dbb66 (patch) | |
tree | f10fa089ada8f90df1c52daed8d4224882495f8c /security/portaudit | |
parent | 901eeec7743a925760459dc5294d6d6e0bb4322b (diff) | |
download | FreeBSD-ports-805b3b02a98e684e55ead58f8c2ef647ca5dbb66.zip FreeBSD-ports-805b3b02a98e684e55ead58f8c2ef647ca5dbb66.tar.gz |
make expiry date customizable via daily_status_portaudit_expiry
Diffstat (limited to 'security/portaudit')
-rw-r--r-- | security/portaudit/Makefile | 2 | ||||
-rw-r--r-- | security/portaudit/files/fetchaudit.sh | 3 | ||||
-rw-r--r-- | security/portaudit/files/portaudit.functions | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/security/portaudit/Makefile b/security/portaudit/Makefile index d62f207..89bdd6b 100644 --- a/security/portaudit/Makefile +++ b/security/portaudit/Makefile @@ -6,7 +6,7 @@ # PORTNAME= portaudit -PORTVERSION= 0.3.2 +PORTVERSION= 0.3.3 CATEGORIES= security DISTFILES= diff --git a/security/portaudit/files/fetchaudit.sh b/security/portaudit/files/fetchaudit.sh index 7a6ed53..ffe208f 100644 --- a/security/portaudit/files/fetchaudit.sh +++ b/security/portaudit/files/fetchaudit.sh @@ -33,6 +33,7 @@ # defaults daily_status_portaudit_enable="YES" +daily_status_portaudit_expiry="2" # If there is a global system configuration file, suck it in. # @@ -48,7 +49,7 @@ portaudit_confs rc=0 case "$daily_status_portaudit_enable" in ""|[Yy][Ee][Ss]) - if [ ! -f "${portaudit_dir}/${portaudit_filename}" ] || ! checkexpiry_auditfile 3; then + if [ ! -f "${portaudit_dir}/${portaudit_filename}" ] || ! checkexpiry_auditfile "${daily_status_portaudit_expiry}"; then echo "" echo "Updating audit database." fetch_auditfile && rc=1 || rc=2 diff --git a/security/portaudit/files/portaudit.functions b/security/portaudit/files/portaudit.functions index be35999..fd0f6c4 100644 --- a/security/portaudit/files/portaudit.functions +++ b/security/portaudit/files/portaudit.functions @@ -49,7 +49,6 @@ portaudit_confs() ftp://ftp.cz.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ ftp://ftp1.ro.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ - ftp://ftp.at.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ http://public.planetmirror.com/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ |