From 98f096c57f905c5c522e71284365faa3450757ff Mon Sep 17 00:00:00 2001 From: manu Date: Sat, 6 Jun 2015 05:26:55 +0000 Subject: [PATCH] Add Net_LDAP3 1.0.3, sucessor of Net_LDAP2 PEAR module --- doc/CHANGES-2015 | 3 ++- net/Makefile | 3 ++- net/pear-Net_LDAP3/DESCR | 7 +++++++ net/pear-Net_LDAP3/Makefile | 27 +++++++++++++++++++++++++++ net/pear-Net_LDAP3/PLIST | 3 +++ net/pear-Net_LDAP3/distinfo | 5 +++++ 6 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 net/pear-Net_LDAP3/DESCR create mode 100644 net/pear-Net_LDAP3/Makefile create mode 100644 net/pear-Net_LDAP3/PLIST create mode 100644 net/pear-Net_LDAP3/distinfo diff --git a/doc/CHANGES-2015 b/doc/CHANGES-2015 index 66555e61c56a..eecc2c298817 100644 --- a/doc/CHANGES-2015 +++ b/doc/CHANGES-2015 @@ -1,4 +1,4 @@ -$NetBSD: CHANGES-2015,v 1.2501 2015/06/06 03:42:40 taca Exp $ +$NetBSD: CHANGES-2015,v 1.2502 2015/06/06 05:28:34 manu Exp $ Changes to the packages collection and infrastructure in 2015: @@ -4734,3 +4734,4 @@ Changes to the packages collection and infrastructure in 2015: Updated www/contao32 to 3.2.21 [taca 2015-06-06] Updated www/contao34 to 3.4.5nb1 [taca 2015-06-06] Added www/contao35 version 3.5.0 [taca 2015-06-06] + Added net/pear-Net_LDAP3 version 1.0.3 [manu 2015-06-06] diff --git a/net/Makefile b/net/Makefile index c75a9676b973..25e34ce68c00 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1072 2015/05/30 02:09:54 wen Exp $ +# $NetBSD: Makefile,v 1.1073 2015/06/06 05:28:34 manu Exp $ # COMMENT= Networking tools @@ -520,6 +520,7 @@ SUBDIR+= pconsole SUBDIR+= pear-Net_DIME SUBDIR+= pear-Net_IDNA2 SUBDIR+= pear-Net_LDAP2 +SUBDIR+= pear-Net_LDAP3 SUBDIR+= pear-Net_SMTP SUBDIR+= pear-Net_Sieve SUBDIR+= pear-Net_Socket diff --git a/net/pear-Net_LDAP3/DESCR b/net/pear-Net_LDAP3/DESCR new file mode 100644 index 000000000000..67cd16fc1301 --- /dev/null +++ b/net/pear-Net_LDAP3/DESCR @@ -0,0 +1,7 @@ +Net_LDAP3 is a successor of Net_LDAP2. Informations on this project +are scarce, but it is required for Roundcube LDAP directory feature. + +Obtained by: +git clone -b pear-Net-LDAP3-1.0.3 \ + https://git.kolab.org/diffusion/PNL/php-net_ldap.git Net_LDAP3-1.0.3 +tar -czf Net_LDAP3-1.0.3.tgz Net_LDAP3-1.0.3 diff --git a/net/pear-Net_LDAP3/Makefile b/net/pear-Net_LDAP3/Makefile new file mode 100644 index 000000000000..665ef6f98472 --- /dev/null +++ b/net/pear-Net_LDAP3/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1 2015/06/06 05:26:55 manu Exp $ + +DISTNAME= Net_LDAP3-1.0.3 +PKGNAME= pear-${DISTNAME} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= pear +MASTER_SITES= ${MASTER_SITE_LOCAL} +CATEGORIES+= net + +MAINTAINER= pkgsrc-users@NetBSD.org +COMMENT= Object oriented interface for searching and manipulating LDAP-entries +LICENSE= gnu-lgpl-v3 + +PEAR_LIB= lib/php # duplicate from ../../langf/php/pear.mk +NO_CONFIGURE= yes +NO_BUILD= yes +USE_TOOLS+= pax + +DEPENDS+= ${PHP_PKG_PREFIX}-ldap>=5.2.12:../../databases/php-ldap + +do-install: + cd ${WRKSRC}/lib && ${PAX} -wr * ${DESTDIR}${PREFIX}/${PEAR_LIB}/ + +PLIST_SUBST+= PEAR_LIB=${PEAR_LIB:Q} + +.include "../../lang/php/phpversion.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/pear-Net_LDAP3/PLIST b/net/pear-Net_LDAP3/PLIST new file mode 100644 index 000000000000..754a48c2b86f --- /dev/null +++ b/net/pear-Net_LDAP3/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2015/06/06 05:26:55 manu Exp $ +${PEAR_LIB}/Net/LDAP3/Result.php +${PEAR_LIB}/Net/LDAP3.php diff --git a/net/pear-Net_LDAP3/distinfo b/net/pear-Net_LDAP3/distinfo new file mode 100644 index 000000000000..c1cb5b036c28 --- /dev/null +++ b/net/pear-Net_LDAP3/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/06/06 05:26:55 manu Exp $ + +SHA1 (pear/Net_LDAP3-1.0.3.tgz) = d579342f094c634eda378cfe1fe130ff11be94e3 +RMD160 (pear/Net_LDAP3-1.0.3.tgz) = 19ff1411466c7a29d01c7abb5133b4e666922f35 +Size (pear/Net_LDAP3-1.0.3.tgz) = 163823 bytes