mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Cope with recent php changes
PR: ports/69529 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
This commit is contained in:
parent
391cad710d
commit
cb329fe941
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114583
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= phpldapadmin
|
||||
PORTVERSION= 0.9.4b
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= phpldapadmin
|
||||
@ -16,11 +16,15 @@ MAINTAINER= m.seaman@infracaninophile.co.uk
|
||||
COMMENT= A set of PHP-scripts to administer LDAP servers over the web
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PHP= ldap openssl session
|
||||
|
||||
BROKEN_WITH_PHP= 5
|
||||
|
||||
.if defined(WITH_SUPHP)
|
||||
|
||||
RUN_DEPENDS+= ${LOCALBASE}/sbin/suphp:${PORTSDIR}/www/suphp
|
||||
PKGNAMESUFFIX= -suphp
|
||||
RUN_DEPENDS+= ${LOCALBASE}/sbin/suphp:${PORTSDIR}/www/suphp
|
||||
WANT_PHP_CGI= yes
|
||||
PKGINST_SKEL= ${PKGDIR}/pkg-install${PKGNAMESUFFIX}
|
||||
PKGINSTALL= ${WRKDIR}/pkg-install${PKGNAMESUFFIX}
|
||||
PKGDEINST_SKEL= ${PKGDIR}/pkg-deinstall${PKGNAMESUFFIX}
|
||||
@ -35,7 +39,6 @@ SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \
|
||||
|
||||
.else
|
||||
|
||||
USE_PHP= yes
|
||||
WANT_PHP_WEB= yes
|
||||
|
||||
.endif
|
||||
|
@ -10,6 +10,3 @@ I suggest that you add the following to httpd.conf:
|
||||
|
||||
Alias /phpldapadmin/ "%%PREFIX%%/%%PLADIR%%/"
|
||||
|
||||
You will need a version of PHP with LDAP functionality enabled,
|
||||
which is not the default. If necessary, enable the 'OPENLDAP'
|
||||
option in the PHP port's configuration screen and reinstall.
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= phpldapadmin
|
||||
PORTVERSION= 0.9.4b
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= phpldapadmin
|
||||
@ -16,11 +16,15 @@ MAINTAINER= m.seaman@infracaninophile.co.uk
|
||||
COMMENT= A set of PHP-scripts to administer LDAP servers over the web
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PHP= ldap openssl session
|
||||
|
||||
BROKEN_WITH_PHP= 5
|
||||
|
||||
.if defined(WITH_SUPHP)
|
||||
|
||||
RUN_DEPENDS+= ${LOCALBASE}/sbin/suphp:${PORTSDIR}/www/suphp
|
||||
PKGNAMESUFFIX= -suphp
|
||||
RUN_DEPENDS+= ${LOCALBASE}/sbin/suphp:${PORTSDIR}/www/suphp
|
||||
WANT_PHP_CGI= yes
|
||||
PKGINST_SKEL= ${PKGDIR}/pkg-install${PKGNAMESUFFIX}
|
||||
PKGINSTALL= ${WRKDIR}/pkg-install${PKGNAMESUFFIX}
|
||||
PKGDEINST_SKEL= ${PKGDIR}/pkg-deinstall${PKGNAMESUFFIX}
|
||||
@ -35,7 +39,6 @@ SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \
|
||||
|
||||
.else
|
||||
|
||||
USE_PHP= yes
|
||||
WANT_PHP_WEB= yes
|
||||
|
||||
.endif
|
||||
|
@ -10,6 +10,3 @@ I suggest that you add the following to httpd.conf:
|
||||
|
||||
Alias /phpldapadmin/ "%%PREFIX%%/%%PLADIR%%/"
|
||||
|
||||
You will need a version of PHP with LDAP functionality enabled,
|
||||
which is not the default. If necessary, enable the 'OPENLDAP'
|
||||
option in the PHP port's configuration screen and reinstall.
|
||||
|
Loading…
Reference in New Issue
Block a user