aboutsummaryrefslogtreecommitdiffstats
path: root/security/portaudit/files
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-06-22 00:04:27 +0800
committereik <eik@FreeBSD.org>2004-06-22 00:04:27 +0800
commit805b3b02a98e684e55ead58f8c2ef647ca5dbb66 (patch)
treef10fa089ada8f90df1c52daed8d4224882495f8c /security/portaudit/files
parent901eeec7743a925760459dc5294d6d6e0bb4322b (diff)
downloadfreebsd-ports-graphics-805b3b02a98e684e55ead58f8c2ef647ca5dbb66.tar.gz
freebsd-ports-graphics-805b3b02a98e684e55ead58f8c2ef647ca5dbb66.tar.zst
freebsd-ports-graphics-805b3b02a98e684e55ead58f8c2ef647ca5dbb66.zip
make expiry date customizable via daily_status_portaudit_expiry
Diffstat (limited to 'security/portaudit/files')
-rw-r--r--security/portaudit/files/fetchaudit.sh3
-rw-r--r--security/portaudit/files/portaudit.functions1
2 files changed, 2 insertions, 2 deletions
diff --git a/security/portaudit/files/fetchaudit.sh b/security/portaudit/files/fetchaudit.sh
index 7a6ed53bf69..ffe208fd001 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 be359991397..fd0f6c4ea61 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%/