svn commit: r397632 - head/www/otrs

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Sep 23 18:53:26 UTC 2015


Author: amdmi3
Date: Wed Sep 23 18:53:25 2015
New Revision: 397632
URL: https://svnweb.freebsd.org/changeset/ports/397632

Log:
  - Fix shebangs
  - No need to chown SHAREOWN/SHAREGRP, breaks staging from non-root
  
  Approved by:	portmgr blanket

Modified:
  head/www/otrs/Makefile

Modified: head/www/otrs/Makefile
==============================================================================
--- head/www/otrs/Makefile	Wed Sep 23 18:52:19 2015	(r397631)
+++ head/www/otrs/Makefile	Wed Sep 23 18:53:25 2015	(r397632)
@@ -3,6 +3,7 @@
 
 PORTNAME=	otrs
 PORTVERSION=	4.0.8
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://ftp.otrs.org/pub/otrs/ \
 		ftp://ftp.samurai.com/pub/otrs/ \
@@ -49,7 +50,7 @@ BUILD_DEPENDS=	p5-Archive-Zip>=0:${PORTS
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USES=		cpe shebangfix perl5 tar:bzip2
-SHEBANG_FILES=	bin/cgi-bin/*.pl bin/fcgi-bin/*.pl bin/*.pl \
+SHEBANG_FILES=	bin/cgi-bin/*.pl bin/cgi-bin/app.psgi bin/fcgi-bin/*.pl bin/*.pl \
 		scripts/auto_build/*.pl scripts/tools/*.pl scripts/*.pl
 
 OPTIONS_DEFINE=		MYSQL PGSQL REPORTS SMTP POP3 IMAP LDAP PDF \
@@ -168,7 +169,6 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/${D}/*.* ${STAGEDIR}${OTRSDIR}/bin/${D}/
 .endfor
 	(cd ${WRKSRC} && ${PAX} -r -w Kernel var ${STAGEDIR}${OTRSDIR})
-	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${OTRSDIR}/Kernel
 	${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][lh] ${STAGEDIR}${OTRSDIR}/scripts/
 	${INSTALL_DATA} ${WRKSRC}/scripts/apache* \
 		${WRKSRC}/scripts/*.sql ${STAGEDIR}${OTRSDIR}/scripts/


More information about the svn-ports-head mailing list