pkgsrc/databases/phpldapadmin/Makefile
obache aaa0e0518b Update phpldapadmin to 1.2.2.
RELEASE NOTES
-------------

This is a minor release update to fix some bugs that were discovered after the
release of 1.2.1.1.

There are some security fixes in this release - I suggest you upgrade your
version of PLA to avoid any exploits.

CHANGES SINCE 1.2.1.1
---------------------
dece0f4 Release 1.2.2
d58f011 Language Translation merge from launchpad
696c266 Additional fix for SF Feature #3387473
2d018aa SF Feature #3387473 - Support for schema discovery using OpenLDAP's cn=config DN
cddf783 Add an alert when RFC3866 tags are being used
1e1fcab SF Bug #3398344 - Import LDIF overwrites entries
d8ab7fc SF Patch #3391547 - Option for minmal mode
56830f1 SF Patch #3391389 - Option to initially open the tree
6c8b623 SF Patch #3391371 - Fix for schema link deactivation
7fc4f0c SF Patch #3391039 - Remove eval commands from PHP code
059b83b SF Bug #3391046 - Loading entries with many attributes is very slow
4089ffa SF Bug #3392644 - Cannot authenticate if password starts or ends with spaces
c57a927 Disable supplied modifiction templates, it confused too many people
d5744b0 SF Bug #3370546 - AjaxEnabled create and delete entry fails on IE9
76e6dad SF Bug #3417184 - PHP Code Injection Vulnerability
5d4245f SF Bug #3395004 - config.php.example refers to lang/en.php
80d027d SF Bug #3373466 - Unable to define force_may attributes
64668e8 Remove XSS vulnerabilty in debug code
caeba72 SF Bug #3355722 - Issue in MultiList attribute type
0782730 SF Bug #3355732 - Cosmetic issue in functions.php -> get_icon()
446faf7 FIX SASL configuration example
afa4a95 Fix SASL implementation - enabled GSSAPI
5987194 SF Bug #3304785 - posixGroup creation template uses cn instead of uid
ddb5ed0 Enabled hiding base DNs that users dont have access to
7649b9b SF Feature #3298820 - Only custom templates
2011-11-17 12:44:02 +00:00

63 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2011/11/17 12:44:02 obache Exp $
DISTNAME= phpldapadmin-${VERSION}
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpldapadmin/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://phpldapadmin.sourceforge.net/
COMMENT= Set of PHP-scripts to administer an LDAP directory over the WWW
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
.include "../../lang/php/phpversion.mk"
REPLACE_SH= tools/po/make*
DEPENDS+= ${PHP_PKG_PREFIX}-ldap>=4.1.2:../../databases/php-ldap
DEPENDS+= ${PHP_PKG_PREFIX}-gettext>=4.1.2:../../devel/php-gettext
USE_TOOLS+= pax
VERSION= 1.2.2
NO_BUILD= YES
CONF_FILES+= ${PREFIX}/share/examples/phpldapadmin/config.php.example \
${PREFIX}/share/phpldapadmin/config/config.php
CONF_FILES+= ${PREFIX}/share/examples/phpldapadmin/phpldapadmin.conf \
${PKG_SYSCONFDIR}/phpldapadmin.conf
PAX_DIRS= config doc hooks htdocs lib locale queries templates tools
INSTALLATION_DIRS+= \
share/doc/phpldapadmin share/examples/phpldapadmin \
share/phpldapadmin/config
do-configure:
${SED} -e "s|@LDAPADMINDIR@|${PREFIX}/share/phpldapadmin/htdocs|g" \
${FILESDIR}/phpldapadmin.conf > ${WRKDIR}/phpldapadmin.conf
${RM} -f ${WRKSRC}/.gitignore
${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} ${NONBINMODE}
do-install:
${INSTALL_DATA} ${WRKSRC}/config/config.php.example \
${DESTDIR}${PREFIX}/share/examples/phpldapadmin/config.php.example
${INSTALL_DATA} ${WRKDIR}/phpldapadmin.conf \
${DESTDIR}${PREFIX}/share/examples/phpldapadmin/phpldapadmin.conf
${INSTALL_DATA} ${WRKSRC}/index.php \
${DESTDIR}${PREFIX}/share/phpldapadmin
.for i in ${PAX_DIRS}
cd ${WRKSRC}/${i:Q} && pax \
-rwppm . ${DESTDIR}${PREFIX}/share/phpldapadmin/${i:Q}
.endfor
${INSTALL_DATA} ${WRKSRC}/INSTALL \
${DESTDIR}${PREFIX}/share/doc/phpldapadmin
${INSTALL_DATA} ${WRKSRC}/LICENSE \
${DESTDIR}${PREFIX}/share/doc/phpldapadmin
${INSTALL_DATA} ${WRKSRC}/VERSION \
${DESTDIR}${PREFIX}/share/phpldapadmin
.include "../../mk/bsd.pkg.mk"