| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/net/self-service-password/ |
Upload File : |
PORTNAME= self-service-password
DISTVERSION= 1.5.0
CATEGORIES= net www
MASTER_SITES= http://ltb-project.org/archives/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= ltb-project-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@bsdserwis.com
COMMENT= Set of PHP-scripts to change LDAP password over the web
WWW= https://ltb-project.org/documentation/self-service-password.html
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENCE
RUN_DEPENDS= ${LOCALBASE}/share/smarty3-${PHP_FLAVOR}/Smarty.class.php:www/smarty3@${PHP_FLAVOR}
USES= php:flavors,web
USE_PHP= filter hash ldap mbstring openssl phar session
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
SUB_LIST+= PKGNAME=${PKGNAME}
PLIST_SUB+= SSP_GRP=${WWWGRP} \
SSP_OWN=${WWWOWN}
CFGDIR= conf
CFGFILE= config.inc.php
.include <bsd.port.pre.mk>
.if ${PHP_VER} <= 70
# For older php mcrypt is needed
USE_PHP+= mcrypt
.endif
post-extract:
@${FIND} ${WRKSRC}/ -name '*.sig' -delete
@${MV} ${WRKSRC}/${CFGDIR}/${CFGFILE} ${WRKSRC}/${CFGDIR}/${CFGFILE}.sample
@${REINPLACE_CMD} \
-e 's;/usr/share/php/smarty3;${PREFIX}/share/smarty3-${PHP_FLAVOR};' \
${WRKSRC}/${CFGDIR}/${CFGFILE}.sample
do-install:
@cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
.include <bsd.port.post.mk>