summaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2007-12-27 09:54:23 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2007-12-27 09:54:23 +0000
commit714fd8f61140d1ac5fa37913e22c1fe8d0a72283 (patch)
tree6715d335c37cc570b7937280f52d131cc61903ad /ports-mgmt
parent- Update to 0.6.3 (diff)
- Fix portaudit -Fq to actually be quiet. [1]
- Remove support for FreeBSD older than 4.11 and 5.3. - Remove conditional dependency on bzip2 which I can't really see how could be activated automatically. Reported by: "J. Martin Petersen" <jmp@alvorlig.dk> [1] PR: ports/117845 [1] With hat: maintainer / secteam
Notes
Notes: svn path=/head/; revision=204608
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portaudit/Makefile20
-rw-r--r--ports-mgmt/portaudit/files/portaudit-cmd.sh4
2 files changed, 6 insertions, 18 deletions
diff --git a/ports-mgmt/portaudit/Makefile b/ports-mgmt/portaudit/Makefile
index d30469f5a7b2..d1f94e4c7c32 100644
--- a/ports-mgmt/portaudit/Makefile
+++ b/ports-mgmt/portaudit/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= portaudit
-PORTVERSION= 0.5.11
+PORTVERSION= 0.5.12
CATEGORIES= ports-mgmt security
DISTFILES=
@@ -36,22 +36,6 @@ SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g' \
-e "s|%%REQPKGVER%%|${REQPKGVER}|g" \
-e "s|%%BZIP2_CMD%%|${BZIP2_CMD}|g" \
-.include <bsd.port.pre.mk>
-
-.if !defined(DFOSVERSION)
-.if ${OSVERSION} < 491101 || ${OSVERSION} >= 500000 && ${OSVERSION} < 502120
-RUN_DEPENDS= ${LOCALBASE}/sbin/pkg_info:${PORTSDIR}/ports-mgmt/pkg_install-devel
-.endif
-.else
-.if ${DFOSVERSION} < 110000
-RUN_DEPENDS= ${LOCALBASE}/sbin/pkg_info:${PORTSDIR}/ports-mgmt/pkg_install-devel
-.endif
-.endif
-
-.if defined(BZIP2DEPENDS)
-RUN_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
-.endif
-
do-build:
.for f in portaudit-cmd.sh portaudit.sh portaudit.1 portaudit.conf
@${SED} ${SED_SCRIPT} ${FILESDIR}/${f} >${WRKDIR}/${f}
@@ -79,4 +63,4 @@ do-install:
post-install:
@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/ports-mgmt/portaudit/files/portaudit-cmd.sh b/ports-mgmt/portaudit/files/portaudit-cmd.sh
index 4a303698ce4c..14f59dbe57ac 100644
--- a/ports-mgmt/portaudit/files/portaudit-cmd.sh
+++ b/ports-mgmt/portaudit/files/portaudit-cmd.sh
@@ -389,6 +389,10 @@ if $opt_version; then
fi
if $opt_fetch; then
+ if $opt_quiet ; then
+ portaudit_fetch_cmd="${portaudit_fetch_cmd} -q"
+ fi
+
if ! fetch_auditfile; then
echo "portaudit: Download failed." >&2
exit 2