diff options
author | Remko Lodder <remko@FreeBSD.org> | 2013-08-01 19:03:40 +0000 |
---|---|---|
committer | Remko Lodder <remko@FreeBSD.org> | 2013-08-01 19:03:40 +0000 |
commit | 153551ecfeea2032c877aed01811f2f49a931285 (patch) | |
tree | 8d0d1f56bbec05e38f9090e6cad3f18969c14727 /ports-mgmt | |
parent | 3103c35e99c35119e1de3356f9caed2ab6ca3b7a (diff) | |
download | ports-153551ecfeea2032c877aed01811f2f49a931285.tar.gz ports-153551ecfeea2032c877aed01811f2f49a931285.zip |
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portaudit/files/portaudit-cmd.sh | 5 | ||||
-rw-r--r-- | ports-mgmt/portaudit/files/portaudit.conf | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ports-mgmt/portaudit/files/portaudit-cmd.sh b/ports-mgmt/portaudit/files/portaudit-cmd.sh index 586b46319759..d99550e8efdb 100644 --- a/ports-mgmt/portaudit/files/portaudit-cmd.sh +++ b/ports-mgmt/portaudit/files/portaudit-cmd.sh @@ -52,6 +52,7 @@ portaudit_confs() : ${portaudit_pubkey:="%%PREFIX%%/etc/portaudit.pubkey"} : ${portaudit_fixed=""} + : ${portaudit_openssl:="/usr/bin/openssl"} } extract_auditfile_raw() @@ -78,10 +79,10 @@ checksignature_auditfile() local TMPFILE=`mktemp -t portaudit` extract_auditfile_raw | egrep "^#SIGNATURE: " | sed "s/^#SIGNATURE: //g" \ - | openssl enc -d -a >$TMPFILE + | $portaudit_openssl enc -d -a >$TMPFILE signatureresult=`extract_auditfile_raw | egrep -v "^#SIGNATURE: " \ | egrep -v "^#CHECKSUM: " \ - | openssl dgst -sha256 -verify ${portaudit_pubkey} -signature $TMPFILE` + | $portaudit_openssl dgst -sha256 -verify ${portaudit_pubkey} -signature $TMPFILE` if [ -n "$TMPFILE" ]; then rm "$TMPFILE" fi diff --git a/ports-mgmt/portaudit/files/portaudit.conf b/ports-mgmt/portaudit/files/portaudit.conf index 6a12aa8f1093..9233ef45e253 100644 --- a/ports-mgmt/portaudit/files/portaudit.conf +++ b/ports-mgmt/portaudit/files/portaudit.conf @@ -17,3 +17,6 @@ # this vulnerability has been fixed in your FreeBSD version #portaudit_fixed="d2102505-f03d-11d8-81b0-000347a4fa7d" + +# Alternative location for openssl +#portaudit_openssl="/usr/bin/openssl" |