summaryrefslogtreecommitdiff
path: root/dev-perl/Net-LDAPapi
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Net-LDAPapi')
-rw-r--r--dev-perl/Net-LDAPapi/Manifest2
-rw-r--r--dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.7.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-perl/Net-LDAPapi/Manifest b/dev-perl/Net-LDAPapi/Manifest
index bd84e1447e94..7d47d231dba1 100644
--- a/dev-perl/Net-LDAPapi/Manifest
+++ b/dev-perl/Net-LDAPapi/Manifest
@@ -1,5 +1,7 @@
AUX Net-LDAPapi-3.0.5-ldap_result-no_error.patch 779 BLAKE2B 9bfe88bf8e43fdcbe7586c497ce5eca4fbdee425aab8a4469bd0dd2932e304fb63d51cba4d5ffc5b307495a73b0ae821502a1e92fa326efb2d7cb7159715c0a6 SHA512 7ffa6d5dcc13aed3f3b7ba4672a77e154c1a0ba7de75b0c9754ccace383d628467351cc650b1ec910892a84e55331ad3599be92fa671f368dc4103efc51039dc
AUX Net-LDAPapi-3.0.5-test-env.patch 1392 BLAKE2B c83dc553fd535e9fa7693d761f47b7016729f2b12ad40e57ea4d62610b3db68b4bedbb4c0c9f749a66bcb35b34452ccb0267ca15e5fdb8bfdff74bac7c8e0bfe SHA512 d743885c10656bf2132c1067ea94d78686ab2b7a90cae195d63ee505ac8c884e7b2e6036d55dd21ac94bff497be7dbec93d9fa720c81079bf8225517e13e34e9
DIST Net-LDAPapi-3.0.5.tar.gz 67814 BLAKE2B 2f35000e23ba17016837cd4a0cbe86be5d25254d8a34dd39c8c82cbc5a1979bb56b5b8a37af81cf1e8f12326709e252181e441d051ca0b18314408348d1435be SHA512 f3a6f4bb2e182ca93de2aa6c7a80bf20d64152fec5c4bda54efb91ec2a9be52939922993b79a2cdd248be3b83e605fc9ca3e6020f2cfb49b85256361edb512bd
+DIST Net-LDAPapi-3.0.7.tar.gz 67902 BLAKE2B 6cec3e9d53aa3e1ee2b742f78869a0ded68f73c4e159e8b58a9063589271f610c847dcae2db5ce81e47971a783e4d097f68a84c4dead333264bcb0c9f4a4730a SHA512 230f906c94265ddb35fcd6dc0b5401f2b293064a61c5eb13bed271c47f5feb82e57abff4c41b89c5e8436aea6efa09dda6d290db793cb5cb8dd97cfd1cde96ee
EBUILD Net-LDAPapi-3.0.5.ebuild 1590 BLAKE2B 535d55d579e2975f905d80ec52fb43de60450907de680add167835322ff2d2edfc84a24bd9fd3b09dd535c10ef7030ca6d3ead9d57ad687d7111289a96170794 SHA512 db52a55bb880e595694009fdd248e6837a4f11af044e946e70ae12e2fc00e4ca8e6bedc2e11a8f83b5a4da16304a5edb24d13568def9c5fa0c344024ae530e65
+EBUILD Net-LDAPapi-3.0.7.ebuild 1601 BLAKE2B 0767cd6807309701851c88615af092a68c288a1c1a834eed6e95343adcc55b14bc07fa736b306722dfd399dd0b4250eff537b8310bcb57bba38d6f3591ec549f SHA512 22e317302dfebe91e516f3bb56d06c694f5c2c949fc311fb863b94fe97a2df09a2d867d40a7992ec1405df18060b6e1205cb404be2f9277c1d6a0d20d4b63268
MISC metadata.xml 452 BLAKE2B 1d64daf5e0530045a673741e5ec553711cca379a4bce03eb72a00eed916d5b8e94e5e5445f2a89b1f52cf1eaebe7e4db56ac6769691a55af6a1d7a604aed7653 SHA512 c37f664c8ff0662eb697e0cd0f8e6c08cadd4f23a870bbbdac0dca99e52e098c68832cf9daa1e0dea57104a090f39b9ca9ed11099e24b154caaab2c4896fe3ad
diff --git a/dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.7.ebuild b/dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.7.ebuild
new file mode 100644
index 000000000000..d55300f8d519
--- /dev/null
+++ b/dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.7.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=MISHIKAL
+DIST_EXAMPLES=( "examples/*" )
+inherit multilib perl-module
+
+DESCRIPTION="Perl5 Module Supporting LDAP API"
+HOMEPAGE="https://sourceforge.net/projects/net-ldapapi/
+ http://search.cpan.org/~mishikal/Net-LDAPapi/"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+# LICENSE is given on the corresponding sourceforge project and matches the
+# default cpan/perl license
+
+RDEPEND="net-nds/openldap[sasl]
+ dev-libs/cyrus-sasl
+ >=dev-perl/Convert-ASN1-0.190.0"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.0.5-ldap_result-no_error.patch"
+ "${FILESDIR}/${PN}-3.0.5-test-env.patch"
+)
+
+src_configure() {
+ myconf="-sdk OpenLDAP -lib_path /usr/$(get_libdir) -include_path /usr/include"
+ perl-module_src_configure
+}
+
+src_install() {
+ mydoc="Credits Todo"
+ perl-module_src_install
+}
+
+src_test() {
+ local MODULES=(
+ "Net::LDAPapi ${DIST_VERSION}"
+ )
+ local failed=()
+ for dep in "${MODULES[@]}"; do
+ ebegin "Compile testing ${dep}"
+ perl -Mblib="${S}" -M"${dep} ()" -e1
+ eend $? || failed+=( "$dep" )
+ done
+ if [[ ${failed[@]} ]]; then
+ echo
+ eerror "One or more modules failed compile:";
+ for dep in "${failed[@]}"; do
+ eerror " ${dep}"
+ done
+ die "Failing due to module compilation errors";
+ fi
+ if [[ -n "${LDAP_TEST_HOST}" ]]; then
+ perl-module_src_test
+ else
+ elog "Comprehensive testing disabled without LDAP_TEST_HOST set. For details, see:"
+ elog "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}"
+ fi
+}