svn commit: r396489 - branches/2015Q3/www/web2ldap
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Sep 9 13:57:11 UTC 2015
Author: amdmi3
Date: Wed Sep 9 13:57:10 2015
New Revision: 396489
URL: https://svnweb.freebsd.org/changeset/ports/396489
Log:
MFH: r396488
- Fix shebangs
- Add NO_ARCH
Approved by: portmgr blanket
Approved by: ports-secteam shebang fix blanket
Modified:
branches/2015Q3/www/web2ldap/Makefile
Directory Properties:
branches/2015Q3/ (props changed)
Modified: branches/2015Q3/www/web2ldap/Makefile
==============================================================================
--- branches/2015Q3/www/web2ldap/Makefile Wed Sep 9 13:54:56 2015 (r396488)
+++ branches/2015Q3/www/web2ldap/Makefile Wed Sep 9 13:57:10 2015 (r396489)
@@ -3,7 +3,7 @@
PORTNAME= web2ldap
PORTVERSION= 1.2.19
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.web2ldap.de/download/ \
http://www.sfr-fresh.com/unix/www/ \
@@ -23,12 +23,15 @@ OPTIONS_DEFINE= DOCS
USES= cpe python:2 shebangfix
SHEBANG_FILES= sbin/*.py fcgi/*.py
SUB_FILES= pkg-message
+NO_ARCH= yes
PORTDOCS= *
PORTDATA= *
PLIST_DIRS= %%DATADIR%%/var/log %%DATADIR%%/var/run
post-patch:
+ @${REINPLACE_CMD} -e 's|/opt/fcgi/bin/cgi-fcgi|${LOCALBASE}/bin/cgi-fcgi|g' \
+ ${WRKSRC}/cgi-bin/web2ldap.cgi
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' \
-e 's|nobody|web2ldap|g' \
${WRKSRC}/etc/web2ldap/web2ldapcnf/standalone.py
More information about the svn-ports-all
mailing list