View | Details | Raw Unified | Return to bug 227459
Collapse All | Expand All

(-)Makefile (-7 / +7 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	web2ldap
4
PORTNAME=	web2ldap
5
PORTVERSION=	1.2.94
5
PORTVERSION=	1.3.11
6
PORTREVISION=	1
7
CATEGORIES=	www
6
CATEGORIES=	www
8
MASTER_SITES=	http://www.web2ldap.de/download/ \
7
MASTER_SITES=	http://www.web2ldap.de/download/ \
9
		http://www.sfr-fresh.com/unix/www/
8
		http://www.sfr-fresh.com/unix/www/
Lines 20-40 Link Here
20
19
21
OPTIONS_DEFINE=	DOCS
20
OPTIONS_DEFINE=	DOCS
22
USES=		cpe python:2.7 shebangfix
21
USES=		cpe python:2.7 shebangfix
22
python2_OLD_CMD=/usr/bin/python2
23
python_OLD_CMD=	/usr/bin/python2.7
23
python_OLD_CMD=	/usr/bin/python2.7
24
SHEBANG_FILES=	sbin/*.py fcgi/*.py
24
SHEBANG_FILES=	setup.py web2ldap/checkinst.py
25
SUB_FILES=	pkg-message
25
SUB_FILES=	pkg-message
26
NO_ARCH=	yes
26
NO_ARCH=	yes
27
27
28
PORTDOCS=	*
28
PORTDOCS=	*
29
PORTDATA=	*
29
PORTDATA=	*
30
PLIST_DIRS=	%%DATADIR%%/var/log %%DATADIR%%/var/run
30
#PLIST_DIRS=	%%DATADIR%%/var/log %%DATADIR%%/var/run
31
31
32
post-patch:
32
post-patch:
33
	@${REINPLACE_CMD} -e 's|/opt/fcgi/bin/cgi-fcgi|${LOCALBASE}/bin/cgi-fcgi|g' \
33
#ji#	@${REINPLACE_CMD} -e 's|/opt/fcgi/bin/cgi-fcgi|${LOCALBASE}/bin/cgi-fcgi|g' \
34
		${WRKSRC}/cgi-bin/web2ldap.cgi
34
#		${WRKSRC}/cgi-bin/web2ldap.cgi
35
	@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' \
35
	@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' \
36
			  -e 's|nobody|web2ldap|g' \
36
			  -e 's|nobody|web2ldap|g' \
37
		${WRKSRC}/etc/web2ldap/web2ldapcnf/standalone.py
37
		${WRKSRC}/web2ldapcnf/standalone.py
38
	@${FIND} ${WRKSRC} -name '*.orig' -delete -o -name '*.bak' -delete
38
	@${FIND} ${WRKSRC} -name '*.orig' -delete -o -name '*.bak' -delete
39
39
40
do-build:
40
do-build:
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1505137106
1
TIMESTAMP = 1523002863
2
SHA256 (web2ldap-1.2.94.tar.gz) = 1a8ed7b6449c8a4ee370b118082142bf419dd0e0db86e588eaf648cf2ec9898e
2
SHA256 (web2ldap-1.3.11.tar.gz) = dbdafc22de8393571a8cc88cd17b4884e47657a51c4d5a01bdd052e9b15e537c
3
SIZE (web2ldap-1.2.94.tar.gz) = 619633
3
SIZE (web2ldap-1.3.11.tar.gz) = 556801
(-)files/pkg-message.in (-1 / +1 lines)
Lines 1-7 Link Here
1
===============================================================================
1
===============================================================================
2
Run:
2
Run:
3
3
4
  %%DATADIR%%/sbin/web2ldap.py
4
  %%DATADIR%%/web2ldapcnf/standalone.py
5
5
6
to start the standalone version of web2ldap. By default it only accepts
6
to start the standalone version of web2ldap. By default it only accepts
7
connections from localhost, but this can be modified in:
7
connections from localhost, but this can be modified in:

Return to bug 227459