summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-06-21 16:04:27 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-06-21 16:04:27 +0000
commit9dec4894a149ed61d44dea3387e2ff7cc3eb218d (patch)
treedc5869a382d4049a937fdcaf2fb3946089c3aaad /security
parentmailman allows 3rd parties to retrieve member passwords (CAN-2004-0412)w (diff)
make expiry date customizable via daily_status_portaudit_expiry
Notes
Notes: svn path=/head/; revision=111933
Diffstat (limited to 'security')
-rw-r--r--security/portaudit/Makefile2
-rw-r--r--security/portaudit/files/fetchaudit.sh3
-rw-r--r--security/portaudit/files/portaudit.functions1
3 files changed, 3 insertions, 3 deletions
diff --git a/security/portaudit/Makefile b/security/portaudit/Makefile
index d62f20727494..89bdd6b68862 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 7a6ed53bf698..ffe208fd001e 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 be3599913979..fd0f6c4ea610 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%/