aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portaudit/pkg-install
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-02-25 09:46:26 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-02-25 09:46:26 +0000
commit6cd6202ef7b75ba9a22e394e2b1eeddc9c3786f6 (patch)
tree118714f203d87c9ea058c126979b6d7f6ba0118e /ports-mgmt/portaudit/pkg-install
parent5c2f313ce7b03e213ab0205baf41133d3a46a5ff (diff)
downloadports-6cd6202ef7b75ba9a22e394e2b1eeddc9c3786f6.tar.gz
ports-6cd6202ef7b75ba9a22e394e2b1eeddc9c3786f6.zip
Notes
Diffstat (limited to 'ports-mgmt/portaudit/pkg-install')
-rw-r--r--ports-mgmt/portaudit/pkg-install18
1 files changed, 18 insertions, 0 deletions
diff --git a/ports-mgmt/portaudit/pkg-install b/ports-mgmt/portaudit/pkg-install
new file mode 100644
index 000000000000..56b66fd5592d
--- /dev/null
+++ b/ports-mgmt/portaudit/pkg-install
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+ECHO_CMD=echo
+
+case $2 in
+POST-INSTALL)
+ if [ ! -f "%%DATABASEDIR%%/auditfile.tbz" ]; then
+ ${ECHO_CMD}
+ ${ECHO_CMD} "===> To check your installed ports for known vulnerabilities now do:"
+ ${ECHO_CMD}
+ ${ECHO_CMD} " %%PREFIX%%/bin/portaudit -F -a"
+ ${ECHO_CMD}
+ fi
+ ;;
+esac