diff options
author | simon <simon@FreeBSD.org> | 2007-12-27 17:54:23 +0800 |
---|---|---|
committer | simon <simon@FreeBSD.org> | 2007-12-27 17:54:23 +0800 |
commit | e282ae1eaa22bc7cbb391e8fc74bd01bf7470493 (patch) | |
tree | e47c0b9e7fefdd580706a87648f46b9529e3c080 /ports-mgmt | |
parent | 99f595de02c12a764b1123243017720fae90d7c0 (diff) | |
download | freebsd-ports-gnome-e282ae1eaa22bc7cbb391e8fc74bd01bf7470493.tar.gz freebsd-ports-gnome-e282ae1eaa22bc7cbb391e8fc74bd01bf7470493.tar.zst freebsd-ports-gnome-e282ae1eaa22bc7cbb391e8fc74bd01bf7470493.zip |
- 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
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portaudit/Makefile | 20 | ||||
-rw-r--r-- | ports-mgmt/portaudit/files/portaudit-cmd.sh | 4 |
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 |