svn commit: r392085 - head/security/cops
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Jul 14 20:32:40 UTC 2015
Author: amdmi3
Date: Tue Jul 14 20:32:39 2015
New Revision: 392085
URL: https://svnweb.freebsd.org/changeset/ports/392085
Log:
- Fix shebangs
Approved by: portmgr blanket
MFH: 2015Q3 (blanket)
Modified:
head/security/cops/Makefile
Modified: head/security/cops/Makefile
==============================================================================
--- head/security/cops/Makefile Tue Jul 14 20:32:14 2015 (r392084)
+++ head/security/cops/Makefile Tue Jul 14 20:32:39 2015 (r392085)
@@ -3,6 +3,7 @@
PORTNAME= cops
PORTVERSION= 1.04
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.fish2.com/cops/ \
http://komquats.com/distfiles/
@@ -11,6 +12,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//
MAINTAINER= cy at FreeBSD.org
COMMENT= System secureness checker
+USES= perl5 shebangfix
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:S/.//g}+
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= reconfig
@@ -24,6 +26,10 @@ C_SRC= home.chk.c user.chk.c is_able.c
addto.c clearfiles.c filewriters.c members.c tilde.c \
crc.c crc_check.c
+post-patch:
+ @${REINPLACE_CMD} -i '' -e 's|${perl_OLD_CMD}|${perl_CMD}|' \
+ ${WRKSRC}/perl/cops
+
pre-build:
${SED} \
-e 's,^SECURE=/usr/foo/bar,SECURE=${PREFIX}/cops,g' \
More information about the svn-ports-all
mailing list