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

(-)net/self-service-password.new/Makefile (+6 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	self-service-password
3
PORTNAME=	self-service-password
4
DISTVERSION=	1.4
4
DISTVERSION=	1.4
5
PORTREVISION=	1
5
CATEGORIES=	net www
6
CATEGORIES=	net www
6
MASTER_SITES=	http://ltb-project.org/archives/
7
MASTER_SITES=	http://ltb-project.org/archives/
7
PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
8
PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
Lines 13-18 Link Here
13
LICENSE=	GPLv3
14
LICENSE=	GPLv3
14
LICENSE_FILE=	${WRKSRC}/LICENCE
15
LICENSE_FILE=	${WRKSRC}/LICENCE
15
16
17
RUN_DEPENDS=	${LOCALBASE}/share/smarty3-${PHP_FLAVOR}/Smarty.class.php:www/smarty3@${PHP_FLAVOR}
18
16
USES=		php:flavors,web
19
USES=		php:flavors,web
17
USE_PHP=	filter hash ldap mbstring openssl phar session
20
USE_PHP=	filter hash ldap mbstring openssl phar session
18
21
Lines 38-43 Link Here
38
post-extract:
41
post-extract:
39
	@${FIND} ${WRKSRC}/ -name '*.sig' -delete
42
	@${FIND} ${WRKSRC}/ -name '*.sig' -delete
40
	@${MV} ${WRKSRC}/${CFGDIR}/${CFGFILE} ${WRKSRC}/${CFGDIR}/${CFGFILE}.sample
43
	@${MV} ${WRKSRC}/${CFGDIR}/${CFGFILE} ${WRKSRC}/${CFGDIR}/${CFGFILE}.sample
44
	@${REINPLACE_CMD} \
45
		-e 's;/usr/share/php/smarty3;${PREFIX}/share/smarty3-${PHP_FLAVOR};' \
46
		${WRKSRC}/${CFGDIR}/${CFGFILE}.sample
41
47
42
do-install:
48
do-install:
43
	@cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
49
	@cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
(-)net/self-service-password.new/files/pkg-message.in (-4 / +4 lines)
Lines 5-18 Link Here
5
5
6
    %%WWWDIR%%
6
    %%WWWDIR%%
7
7
8
Please edit config.inc.php to suit your needs.
8
Please edit config.inc.php or create config.inc.local.php to suit your needs.
9
9
10
To make Self Service Password available through your web site, I suggest that
10
To make Self Service Password available through your web site, I suggest that
11
you add something like the following to httpd.conf:
11
you add something like the following to httpd.conf:
12
12
13
    Alias /ssp/ "%%WWWDIR%%/"
13
    Alias /ssp/ "%%WWWDIR%%/htdocs/"
14
14
15
    <Directory "%%WWWDIR%%">
15
    <Directory "%%WWWDIR%%/htdocs">
16
        Options none
16
        Options none
17
        AllowOverride none
17
        AllowOverride none
18
18
Lines 26-32 Link Here
26
you add something like the following to nginx.conf:
26
you add something like the following to nginx.conf:
27
27
28
location /ssp/ {
28
location /ssp/ {
29
    alias %%WWWDIR%%/;
29
    alias %%WWWDIR%%/htdocs/;
30
    index index.php;
30
    index index.php;
31
31
32
    location ~ \.php$ {
32
    location ~ \.php$ {

Return to bug 255554