diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/Net-LDAPapi |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/Net-LDAPapi')
-rw-r--r-- | dev-perl/Net-LDAPapi/Manifest | 6 | ||||
-rw-r--r-- | dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.4.ebuild | 45 | ||||
-rw-r--r-- | dev-perl/Net-LDAPapi/files/3.0.4-ldap_result-no_error.patch | 14 | ||||
-rw-r--r-- | dev-perl/Net-LDAPapi/metadata.xml | 17 |
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-perl/Net-LDAPapi/Manifest b/dev-perl/Net-LDAPapi/Manifest new file mode 100644 index 000000000000..1816d82e49d3 --- /dev/null +++ b/dev-perl/Net-LDAPapi/Manifest @@ -0,0 +1,6 @@ +AUX 3.0.4-ldap_result-no_error.patch 345 SHA256 5cc3d7403995a02e254422cf15eb6254b43e4e4c80779ea2a8484a3b67e4f6a6 SHA512 20bdad2c9c7ba91532a9d6e7714b7ba5a9f995c4ee9474739c02a329749376d0ac9e58b4dbd8cc9272be985e447e7ead825f69ee5544bdedc51eb5b3348c642c WHIRLPOOL 3261c2921a1bc8e1bef07dbef59d1a289ee8a2fe87cff8e357138840d1f5771b23dcdcb434fe651eae2ce7c4644f8a2d8b0c6be9b5183fcb5b8108c8ef92d4e2 +DIST Net-LDAPapi-3.0.4.tar.gz 66972 SHA256 99874f6fe1cd1540c267bb33cb28c2f93881d8644bcc09e6e0fc2c039dd774a3 SHA512 9e2153c9f50a8fba1c8e52493c147a9db7e88015fa48739d4762a4cbc1711c24472b031a6c077d46d38285146ff389f07d9f2908016b0e2c07b76aa75ef2d2ca WHIRLPOOL 7dcf54b8ca3dbcb6a6b66f3658e6e589b047bc3961261d0fdcd23488ae0131a7a84fcf4d500dd67088e9737eb1d13c1306c1bfcd2fcc8ca85d7ef106dc597c94 +EBUILD Net-LDAPapi-3.0.4.ebuild 1132 SHA256 e09cebec36b4cd1aef61b4bb6b3e11637c35213e32469ce89d650dbedba9079b SHA512 e48a5f5026c6746e0d44f2f8276763f6e55b62e1f3893ba0c2e2dcde00a59929881d95446c236e5cd56ca007640dc0c48a804fda4965d964e55c85bec37b36cd WHIRLPOOL 9356803b3673c4e24acf4a80a6e0da2b76cf8f739b14d73bebb25e52f7d8a5e9bbbb1e7d3d3a8f0f9b4afb3913f6a1c05dff7435d78fca39b409953023218214 +MISC ChangeLog 3010 SHA256 631bebc3838cfbfa948991b2c7739e608f5c7e17661ccec87fdd806f74f9bdd4 SHA512 441c6df6612b3a0f722e5894aa968a416653e1dac6b8c07ef3fbedb0497ea94c501d2d1781a5325be2448ec17036b09a23d93058d69a4517aa5bec8c0e7dfb60 WHIRLPOOL b1da8ecba2edb82488fc5ff13c4d32e1f728077872858d613045385652065568c3dd19af2f47ecee495cbd324fcec9f7f83082f91c570a77d1bd373b097f5b52 +MISC ChangeLog-2015 1366 SHA256 99280c35fd52d440882e8dcfd4e60730e8bf4c4d5bfce093032447ac07f083c8 SHA512 a3c0e9a025e6cfdee4a4f5fdd164dfe576cbe8f3e6e92ca6ddeae60ba1deb9786df94230b25238f363d07137337b405e88e392ea7d1e6fc65cfab85494ffac24 WHIRLPOOL a346192c6052dbcf89eef69d2b55cbf1611e6194bbf7b447842a34aa39500d18c00c13b4f18a362fc5b9ca7356b16a1164898aee798e889bfe720a27e5a99f6f +MISC metadata.xml 569 SHA256 7a9f9106c1414d78202a4eefb7cae6342e6624880a47f19b78f6cd7b9ed45ade SHA512 a70b4549e4186100a3e58a2cf527fcad9d44373ccbd572a12dcdde11a70f698c1a91c876cd7fc3170a1425b6fd2e26cf1dcb553b3c5c126f0fb2389656069fa1 WHIRLPOOL 60ca688f19f2cc7cbd719a109104e9d3432cde6f23b86e4e857125f2ddff3345a712d7b7bfc6c71039719cb6d1b87a3a7238a83cfac00ae644d21c961cf4e4c0 diff --git a/dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.4.ebuild b/dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.4.ebuild new file mode 100644 index 000000000000..683ec77215b8 --- /dev/null +++ b/dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=MISHIKAL + +inherit eutils 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="examples" +# 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" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker" + +# NOTE: tests are available but they hang +# Tests also require hand-customised live LDAP server +# and configured LDAP Search Base +RESTRICT="test" + +PATCHES=("${FILESDIR}/${PV}-ldap_result-no_error.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 + if use examples ; then + docompress -x usr/share/doc/${PF}/examples + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/dev-perl/Net-LDAPapi/files/3.0.4-ldap_result-no_error.patch b/dev-perl/Net-LDAPapi/files/3.0.4-ldap_result-no_error.patch new file mode 100644 index 000000000000..d1003ee9ae7e --- /dev/null +++ b/dev-perl/Net-LDAPapi/files/3.0.4-ldap_result-no_error.patch @@ -0,0 +1,14 @@ +diff --git a/LDAPapi.pm b/LDAPapi.pm +index 113d922..cba3b61 100644 +--- a/LDAPapi.pm ++++ b/LDAPapi.pm +@@ -1355,8 +1355,8 @@ sub result + $self->{"result"} = $result; + $self->{"status"} = $status; + +- $self->errorize($status); + if( $status == -1 || $status == 0 ) { ++ $self->errorize($status); + return undef; + } + diff --git a/dev-perl/Net-LDAPapi/metadata.xml b/dev-perl/Net-LDAPapi/metadata.xml new file mode 100644 index 000000000000..5afb265a360f --- /dev/null +++ b/dev-perl/Net-LDAPapi/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev-zero@gentoo.org</email> + <name>Tiziano Müller</name> + </maintainer> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">net-ldapapi</remote-id> + <remote-id type="cpan">Net-LDAPapi</remote-id> + <remote-id type="cpan-module">Net::LDAPapi</remote-id> + </upstream> +</pkgmetadata> |