aboutsummaryrefslogtreecommitdiffstats
path: root/security/portaudit/pkg-install
blob: 56b66fd5592de403c2e5c24c6febf0a774579410 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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