diff options
author | eik <eik@FreeBSD.org> | 2004-06-22 00:04:27 +0800 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-06-22 00:04:27 +0800 |
commit | 805b3b02a98e684e55ead58f8c2ef647ca5dbb66 (patch) | |
tree | f10fa089ada8f90df1c52daed8d4224882495f8c /ports-mgmt | |
parent | 901eeec7743a925760459dc5294d6d6e0bb4322b (diff) | |
download | freebsd-ports-gnome-805b3b02a98e684e55ead58f8c2ef647ca5dbb66.tar.gz freebsd-ports-gnome-805b3b02a98e684e55ead58f8c2ef647ca5dbb66.tar.zst freebsd-ports-gnome-805b3b02a98e684e55ead58f8c2ef647ca5dbb66.zip |
make expiry date customizable via daily_status_portaudit_expiry
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portaudit/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portaudit/files/fetchaudit.sh | 3 | ||||
-rw-r--r-- | ports-mgmt/portaudit/files/portaudit.functions | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ports-mgmt/portaudit/Makefile b/ports-mgmt/portaudit/Makefile index d62f20727494..89bdd6b68862 100644 --- a/ports-mgmt/portaudit/Makefile +++ b/ports-mgmt/portaudit/Makefile @@ -6,7 +6,7 @@ # PORTNAME= portaudit -PORTVERSION= 0.3.2 +PORTVERSION= 0.3.3 CATEGORIES= security DISTFILES= diff --git a/ports-mgmt/portaudit/files/fetchaudit.sh b/ports-mgmt/portaudit/files/fetchaudit.sh index 7a6ed53bf698..ffe208fd001e 100644 --- a/ports-mgmt/portaudit/files/fetchaudit.sh +++ b/ports-mgmt/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/ports-mgmt/portaudit/files/portaudit.functions b/ports-mgmt/portaudit/files/portaudit.functions index be3599913979..fd0f6c4ea610 100644 --- a/ports-mgmt/portaudit/files/portaudit.functions +++ b/ports-mgmt/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%/ |