Index: Makefile =================================================================== RCS file: /home/pcvs/ports/security/portaudit/Makefile,v retrieving revision 1.21 diff -u -r1.21 Makefile --- Makefile 16 Apr 2006 13:32:27 -0000 1.21 +++ Makefile 7 Jan 2007 20:44:02 -0000 @@ -6,7 +6,7 @@ # PORTNAME= portaudit -PORTVERSION= 0.5.11 +PORTVERSION= 0.5.12 CATEGORIES= security DISTFILES= Index: files/portaudit-cmd.sh =================================================================== RCS file: /home/pcvs/ports/security/portaudit/files/portaudit-cmd.sh,v retrieving revision 1.13 diff -u -r1.13 portaudit-cmd.sh --- files/portaudit-cmd.sh 16 Apr 2006 13:32:28 -0000 1.13 +++ files/portaudit-cmd.sh 7 Jan 2007 20:44:03 -0000 @@ -58,7 +58,7 @@ { chksum1=`extract_auditfile | sed -nE -e '$s/^#CHECKSUM: *MD5 *([0-9a-f]{32})$/\1/p'` - chksum2=`extract_auditfile | sed -e '$d' | md5` + chksum2=`extract_auditfile | sed -e '$d' | /sbin/md5` [ "$chksum1" = "$chksum2" ]; } @@ -128,7 +128,7 @@ audit_installed() { local rc=0 - local osversion=`sysctl -n kern.osreldate` + local osversion=`/sbin/sysctl -n kern.osreldate` fixedre=`echo -n $portaudit_fixed | tr -c '[:alnum:]- \t\n' 'x' | tr -s ' \t\n' '|'` installedre=`$pkg_info -aE | sed -e 's/-[^-]*$//g' | paste -s -d '|' -` Index: files/portaudit.sh =================================================================== RCS file: /home/pcvs/ports/security/portaudit/files/portaudit.sh,v retrieving revision 1.3 diff -u -r1.3 portaudit.sh --- files/portaudit.sh 1 Jul 2004 10:59:48 -0000 1.3 +++ files/portaudit.sh 7 Jan 2007 20:44:03 -0000 @@ -46,7 +46,7 @@ echo echo "Checking for a current audit database:" echo - %%PREFIX%%/sbin/portaudit -X "${daily_status_security_portaudit_expiry:-2}" || rc=$? + %%PREFIX%%/sbin/portaudit -X "${daily_status_security_portaudit_expiry:-1}" || rc=$? if [ $rc -lt 2 ]; then %%PREFIX%%/sbin/portaudit -d echo