1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- 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
This commit is contained in:
Simon L. B. Nielsen 2007-12-27 09:54:23 +00:00
parent aae125715d
commit 714fd8f611
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204608
2 changed files with 6 additions and 18 deletions

View File

@ -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>

View File

@ -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