From 6b4c9542293b280493c04b7311e68deaacab9da3 Mon Sep 17 00:00:00 2001 From: thierry Date: Sat, 15 May 2004 08:19:04 +0000 Subject: Add phpldapadmin 0.9.4b, a set of PHP-scripts to administer LDAP servers over the web. PR: 66154 Submitted by: Matthew Seaman --- net/Makefile | 1 + net/phpldapadmin/Makefile | 56 +++++++++++++++++++++++++++++++++++++++++ net/phpldapadmin/distinfo | 2 ++ net/phpldapadmin/pkg-descr | 11 ++++++++ net/phpldapadmin/pkg-message | 17 +++++++++++++ net/phpldapadmin098/Makefile | 56 +++++++++++++++++++++++++++++++++++++++++ net/phpldapadmin098/distinfo | 2 ++ net/phpldapadmin098/pkg-descr | 11 ++++++++ net/phpldapadmin098/pkg-message | 17 +++++++++++++ 9 files changed, 173 insertions(+) create mode 100644 net/phpldapadmin/Makefile create mode 100644 net/phpldapadmin/distinfo create mode 100644 net/phpldapadmin/pkg-descr create mode 100644 net/phpldapadmin/pkg-message create mode 100644 net/phpldapadmin098/Makefile create mode 100644 net/phpldapadmin098/distinfo create mode 100644 net/phpldapadmin098/pkg-descr create mode 100644 net/phpldapadmin098/pkg-message (limited to 'net') diff --git a/net/Makefile b/net/Makefile index 6716584c2ed7..a724b98ae5ff 100644 --- a/net/Makefile +++ b/net/Makefile @@ -497,6 +497,7 @@ SUBDIR += pfflowd SUBDIR += pfinger SUBDIR += phex + SUBDIR += phpldapadmin SUBDIR += pim6dd SUBDIR += pim6sd SUBDIR += pipsecd diff --git a/net/phpldapadmin/Makefile b/net/phpldapadmin/Makefile new file mode 100644 index 000000000000..e6d92f49e342 --- /dev/null +++ b/net/phpldapadmin/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: phpLDAPadmin +# Date created: 30 Apr 2004 +# Whom: Matthew Seaman +# +# $FreeBSD$ +# + +PORTNAME= phpldapadmin +PORTVERSION= 0.9.4b +CATEGORIES= net www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= phpldapadmin + +MAINTAINER= m.seaman@infracaninophile.co.uk +COMMENT= A set of PHP-scripts to administer LDAP servers over the web + +USE_PHP= yes +WANT_PHP_WEB= yes +NO_BUILD= yes + +WWWDIR?= www/${PORTNAME} + +MSG_SKEL= ${PKGDIR}/pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message +PLIST= ${WRKDIR}/plist +PLIST_SUB+= WWWDIR=${WWWDIR} + +.SILENT: + +post-patch: + ${RM} -f ${PLIST} + cd ${WRKSRC} ; \ + ${FIND} . ! -type d ! -name .cvsignore | ${SORT} | \ + ${SED} "s,^.,%%WWWDIR%%," >${PLIST} ; \ + ${FIND} . -type d | ${SORT} -r | \ + ${SED} "s,^.,@dirrm %%WWWDIR%%," >>${PLIST} + ${SED} -e 's,%%WWWDIR%%,${WWWDIR},g' \ + -e 's,%%PREFIX%%,${PREFIX},g' ${MSG_SKEL} > ${PKGMESSAGE} + +do-install: + cd ${WRKSRC} ; \ + for src in $$( ${FIND} . ! -name .cvsignore ) ; do \ + dst=${PREFIX}/${WWWDIR}$${src#.} ; \ + if ${TEST} -d $$src ; then \ + ${MKDIR} $$dst ; \ + else \ + ${INSTALL_DATA} $$src $$dst ; \ + fi \ + done + +post-install: + ${ECHO_MSG} + ${CAT} ${PKGMESSAGE} + ${ECHO_MSG} + +.include diff --git a/net/phpldapadmin/distinfo b/net/phpldapadmin/distinfo new file mode 100644 index 000000000000..7b559f5d01ab --- /dev/null +++ b/net/phpldapadmin/distinfo @@ -0,0 +1,2 @@ +MD5 (phpldapadmin-0.9.4b.tar.gz) = 0aa6021da066c637e56354980dccddbe +SIZE (phpldapadmin-0.9.4b.tar.gz) = 375889 diff --git a/net/phpldapadmin/pkg-descr b/net/phpldapadmin/pkg-descr new file mode 100644 index 000000000000..80de707d442b --- /dev/null +++ b/net/phpldapadmin/pkg-descr @@ -0,0 +1,11 @@ +phpLDAPadmin is a web-based LDAP client. It provides easy, +anywhere-accessible, multi-language administration for your LDAP +server. Its hierarchical tree-viewer and advanced search functionality +make it intuitive to browse and administer your LDAP directory. Since +it is a web application, this LDAP browser works on many platforms, +making your LDAP server easily manageable from any +location. phpLDAPadmin is the perfect LDAP browser for the LDAP +professional and novice alike. Its user base consists mostly of LDAP +administration professionals. + +WWW: http://phpldapadmin.sourceforge.net/ diff --git a/net/phpldapadmin/pkg-message b/net/phpldapadmin/pkg-message new file mode 100644 index 000000000000..f820d15624b0 --- /dev/null +++ b/net/phpldapadmin/pkg-message @@ -0,0 +1,17 @@ + + phpLDAPadmin has been installed into: + + %%PREFIX%%/%%WWWDIR%% + + Please copy config.php.example to config.php and edit to suit + your needs. + + To make phpLDAPadmin available through your web site, I suggest + that you add the following to httpd.conf: + + Alias /phpldapadmin/ "%%PREFIX%%/%%WWWDIR%%/" + + You will need a version of PHP with LDAP functionality enabled, + which is not the default. If necessary, enable the 'OPENLDAP' + option in the www/mod_php4 port's configuration screen and + reinstall PHP. diff --git a/net/phpldapadmin098/Makefile b/net/phpldapadmin098/Makefile new file mode 100644 index 000000000000..e6d92f49e342 --- /dev/null +++ b/net/phpldapadmin098/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: phpLDAPadmin +# Date created: 30 Apr 2004 +# Whom: Matthew Seaman +# +# $FreeBSD$ +# + +PORTNAME= phpldapadmin +PORTVERSION= 0.9.4b +CATEGORIES= net www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= phpldapadmin + +MAINTAINER= m.seaman@infracaninophile.co.uk +COMMENT= A set of PHP-scripts to administer LDAP servers over the web + +USE_PHP= yes +WANT_PHP_WEB= yes +NO_BUILD= yes + +WWWDIR?= www/${PORTNAME} + +MSG_SKEL= ${PKGDIR}/pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message +PLIST= ${WRKDIR}/plist +PLIST_SUB+= WWWDIR=${WWWDIR} + +.SILENT: + +post-patch: + ${RM} -f ${PLIST} + cd ${WRKSRC} ; \ + ${FIND} . ! -type d ! -name .cvsignore | ${SORT} | \ + ${SED} "s,^.,%%WWWDIR%%," >${PLIST} ; \ + ${FIND} . -type d | ${SORT} -r | \ + ${SED} "s,^.,@dirrm %%WWWDIR%%," >>${PLIST} + ${SED} -e 's,%%WWWDIR%%,${WWWDIR},g' \ + -e 's,%%PREFIX%%,${PREFIX},g' ${MSG_SKEL} > ${PKGMESSAGE} + +do-install: + cd ${WRKSRC} ; \ + for src in $$( ${FIND} . ! -name .cvsignore ) ; do \ + dst=${PREFIX}/${WWWDIR}$${src#.} ; \ + if ${TEST} -d $$src ; then \ + ${MKDIR} $$dst ; \ + else \ + ${INSTALL_DATA} $$src $$dst ; \ + fi \ + done + +post-install: + ${ECHO_MSG} + ${CAT} ${PKGMESSAGE} + ${ECHO_MSG} + +.include diff --git a/net/phpldapadmin098/distinfo b/net/phpldapadmin098/distinfo new file mode 100644 index 000000000000..7b559f5d01ab --- /dev/null +++ b/net/phpldapadmin098/distinfo @@ -0,0 +1,2 @@ +MD5 (phpldapadmin-0.9.4b.tar.gz) = 0aa6021da066c637e56354980dccddbe +SIZE (phpldapadmin-0.9.4b.tar.gz) = 375889 diff --git a/net/phpldapadmin098/pkg-descr b/net/phpldapadmin098/pkg-descr new file mode 100644 index 000000000000..80de707d442b --- /dev/null +++ b/net/phpldapadmin098/pkg-descr @@ -0,0 +1,11 @@ +phpLDAPadmin is a web-based LDAP client. It provides easy, +anywhere-accessible, multi-language administration for your LDAP +server. Its hierarchical tree-viewer and advanced search functionality +make it intuitive to browse and administer your LDAP directory. Since +it is a web application, this LDAP browser works on many platforms, +making your LDAP server easily manageable from any +location. phpLDAPadmin is the perfect LDAP browser for the LDAP +professional and novice alike. Its user base consists mostly of LDAP +administration professionals. + +WWW: http://phpldapadmin.sourceforge.net/ diff --git a/net/phpldapadmin098/pkg-message b/net/phpldapadmin098/pkg-message new file mode 100644 index 000000000000..f820d15624b0 --- /dev/null +++ b/net/phpldapadmin098/pkg-message @@ -0,0 +1,17 @@ + + phpLDAPadmin has been installed into: + + %%PREFIX%%/%%WWWDIR%% + + Please copy config.php.example to config.php and edit to suit + your needs. + + To make phpLDAPadmin available through your web site, I suggest + that you add the following to httpd.conf: + + Alias /phpldapadmin/ "%%PREFIX%%/%%WWWDIR%%/" + + You will need a version of PHP with LDAP functionality enabled, + which is not the default. If necessary, enable the 'OPENLDAP' + option in the www/mod_php4 port's configuration screen and + reinstall PHP. -- cgit