svn commit: r392093 - branches/2015Q3/security/cops

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jul 14 20:55:02 UTC 2015


Author: amdmi3
Date: Tue Jul 14 20:55:01 2015
New Revision: 392093
URL: https://svnweb.freebsd.org/changeset/ports/392093

Log:
  MFH: r392085
  
  - Fix shebangs
  
  Approved by:	portmgr blanket
  Approved by:	ports-secteam (shebang fix blanket)

Modified:
  branches/2015Q3/security/cops/Makefile
Directory Properties:
  branches/2015Q3/   (props changed)

Modified: branches/2015Q3/security/cops/Makefile
==============================================================================
--- branches/2015Q3/security/cops/Makefile	Tue Jul 14 20:52:11 2015	(r392092)
+++ branches/2015Q3/security/cops/Makefile	Tue Jul 14 20:55:01 2015	(r392093)
@@ -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-branches mailing list