-DIST Net-LDAPapi-3.0.4.tar.gz 66972 BLAKE2B 58fc7f4a949dfbd5a795234c9a16a157232238ce27f3157761c704965f3d7521f8ef5671af4b5bbd15050eda4464230697917817270cf77dacbeb49598a6a551 SHA512 9e2153c9f50a8fba1c8e52493c147a9db7e88015fa48739d4762a4cbc1711c24472b031a6c077d46d38285146ff389f07d9f2908016b0e2c07b76aa75ef2d2ca
DIST Net-LDAPapi-3.0.5.tar.gz 67814 BLAKE2B 2f35000e23ba17016837cd4a0cbe86be5d25254d8a34dd39c8c82cbc5a1979bb56b5b8a37af81cf1e8f12326709e252181e441d051ca0b18314408348d1435be SHA512 f3a6f4bb2e182ca93de2aa6c7a80bf20d64152fec5c4bda54efb91ec2a9be52939922993b79a2cdd248be3b83e605fc9ca3e6020f2cfb49b85256361edb512bd
+++ /dev/null
-# 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
-}
+++ /dev/null
-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;
- }
-