net/self-service-password: Update to 1.3

- Enable flavors

PR:		236068
Submitted by:	maintainer
This commit is contained in:
Tobias Kortkamp 2019-02-27 11:54:07 +00:00
parent 6b4ebbfec5
commit 9afb858ec7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494047
4 changed files with 33 additions and 5 deletions

View File

@ -2,9 +2,10 @@
# $FreeBSD$
PORTNAME= self-service-password
DISTVERSION= 1.2
DISTVERSION= 1.3
CATEGORIES= net www
MASTER_SITES= http://ltb-project.org/archives/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ltb-project-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@bsdserwis.com
@ -13,7 +14,7 @@ COMMENT= Set of PHP-scripts to change LDAP password over the web
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENCE
USES= php:web
USES= php:flavors,web
USE_PHP= filter hash ldap mbstring openssl phar session
NO_BUILD= yes

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1519157902
SHA256 (ltb-project-self-service-password-1.2.tar.gz) = 0aea7f338ac221c8387ab0b85822afe840f456beb8fa79b60cb66e3a98b240c5
SIZE (ltb-project-self-service-password-1.2.tar.gz) = 1737512
SHA256 (ltb-project-self-service-password-1.3.tar.gz) = 7a3ec2e0bade02b43301dd1b7017280a66a4c933f92c90c94fce2c07f20e5b39
SIZE (ltb-project-self-service-password-1.3.tar.gz) = 1744823

View File

@ -19,3 +19,20 @@ you add something like the following to httpd.conf:
Allow from 127.0.0.1 .example.com
</Directory>
------------------------------------------------------------------------------
To make Self Service Password available through your web site, I suggest that
you add something like the following to nginx.conf:
location /ssp/ {
alias %%WWWDIR%%/;
index index.php;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php-fpm-www.socket;
fastcgi_param HTTPS on;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
}

View File

@ -25,11 +25,12 @@
%%WWWDIR%%/images/unsplash-stars.jpeg
%%WWWDIR%%/index.php
%%WWWDIR%%/js/bootstrap.min.js
%%WWWDIR%%/js/jquery-1.10.2.min.js
%%WWWDIR%%/js/jquery-3.3.1.min.js
%%WWWDIR%%/lang/ca.inc.php
%%WWWDIR%%/lang/cn.inc.php
%%WWWDIR%%/lang/cs.inc.php
%%WWWDIR%%/lang/de.inc.php
%%WWWDIR%%/lang/ee.inc.php
%%WWWDIR%%/lang/el.inc.php
%%WWWDIR%%/lang/en.inc.php
%%WWWDIR%%/lang/es.inc.php
@ -66,6 +67,14 @@
%%WWWDIR%%/lib/vendor/ReCaptcha/RequestMethod.php
%%WWWDIR%%/lib/vendor/ReCaptcha/RequestParameters.php
%%WWWDIR%%/lib/vendor/ReCaptcha/Response.php
%%WWWDIR%%/lib/vendor/ron-maxweb/pwned-passwords/composer.json
%%WWWDIR%%/lib/vendor/ron-maxweb/pwned-passwords/ISSUE_TEMPLATE.md
%%WWWDIR%%/lib/vendor/ron-maxweb/pwned-passwords/LICENSE
%%WWWDIR%%/lib/vendor/ron-maxweb/pwned-passwords/PULL_REQUEST_TEMPLATE.md
%%WWWDIR%%/lib/vendor/ron-maxweb/pwned-passwords/readme.md
%%WWWDIR%%/lib/vendor/ron-maxweb/pwned-passwords/src/PwnedPasswords/providers/LaravelServiceProvider.php
%%WWWDIR%%/lib/vendor/ron-maxweb/pwned-passwords/src/PwnedPasswords/providers/SilexServiceProvider.php
%%WWWDIR%%/lib/vendor/ron-maxweb/pwned-passwords/src/PwnedPasswords/PwnedPasswords.php
%%WWWDIR%%/LICENCE
%%WWWDIR%%/menu.php
%%WWWDIR%%/pages/change.php
@ -76,3 +85,4 @@
%%WWWDIR%%/pages/sendtoken.php
%%WWWDIR%%/pages/setquestions.php
%%WWWDIR%%/README.md
%%WWWDIR%%/scripts/encrypt_answers.php