diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2010-06-09 13:06:23 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2010-06-09 13:06:23 +0000 |
commit | a57f92bb8a880314ef498fa27149e0e29f02e5f3 (patch) | |
tree | a6d2f176c7c6904287a0081a3c18c56961f38183 /dev-perl/Net-LDAPapi | |
parent | Delete older ebuilds. (diff) | |
download | historical-a57f92bb8a880314ef498fa27149e0e29f02e5f3.tar.gz historical-a57f92bb8a880314ef498fa27149e0e29f02e5f3.tar.bz2 historical-a57f92bb8a880314ef498fa27149e0e29f02e5f3.zip |
Added patch to not treat results from ldap_results as normal ldap return values in 'sub error' (as in 3.0.2).
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-perl/Net-LDAPapi')
-rw-r--r-- | dev-perl/Net-LDAPapi/ChangeLog | 9 | ||||
-rw-r--r-- | dev-perl/Net-LDAPapi/Manifest | 4 | ||||
-rw-r--r-- | dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.3-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-perl/Net-LDAPapi/files/3.0.3-ldap_result-no_error.patch | 14 |
4 files changed, 68 insertions, 2 deletions
diff --git a/dev-perl/Net-LDAPapi/ChangeLog b/dev-perl/Net-LDAPapi/ChangeLog index 5f979389365e..d3623d294ec9 100644 --- a/dev-perl/Net-LDAPapi/ChangeLog +++ b/dev-perl/Net-LDAPapi/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-perl/Net-LDAPapi # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-LDAPapi/ChangeLog,v 1.1 2010/06/09 11:33:33 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-LDAPapi/ChangeLog,v 1.2 2010/06/09 13:06:23 dev-zero Exp $ + +*Net-LDAPapi-3.0.3-r1 (09 Jun 2010) + + 09 Jun 2010; Tiziano Müller <dev-zero@gentoo.org> + +files/3.0.3-ldap_result-no_error.patch, +Net-LDAPapi-3.0.3-r1.ebuild: + Added patch to not treat results from ldap_results as normal ldap return + values in 'sub error' (as in 3.0.2). *Net-LDAPapi-3.0.3 (09 Jun 2010) diff --git a/dev-perl/Net-LDAPapi/Manifest b/dev-perl/Net-LDAPapi/Manifest index ab2a5aac4a82..6493ac8321b9 100644 --- a/dev-perl/Net-LDAPapi/Manifest +++ b/dev-perl/Net-LDAPapi/Manifest @@ -1,4 +1,6 @@ +AUX 3.0.3-ldap_result-no_error.patch 345 RMD160 159e3b205a740d69c5e85bd3aa78967ccc0ce3fe SHA1 36d567baf21be7add790ee743c5ef781d4a41790 SHA256 5cc3d7403995a02e254422cf15eb6254b43e4e4c80779ea2a8484a3b67e4f6a6 DIST Net-LDAPapi-3.0.3.tar.gz 55369 RMD160 eb60a55156ac0d4f582fc1b10d7b607aff4280d4 SHA1 3a2bd919d25d13782da3e1904c4ee791a2371535 SHA256 8266a0493d6e771635c6788e80ae8e4d480c9a4dd752825e5dc903b9570325fb +EBUILD Net-LDAPapi-3.0.3-r1.ebuild 1114 RMD160 440000ce060d906e2eed2abf119c27642110724f SHA1 f869ee5a574ee790fef462871d3735574957034d SHA256 b76b2a83a7f8dc652b1bb265216be4b84b66e0d6f1e1ce7207cf6132c2d2dd70 EBUILD Net-LDAPapi-3.0.3.ebuild 1046 RMD160 63d98f1c8830cdb9b9b6edb2d43d17e75ca05755 SHA1 eaf945ac3f4b62104f091951735e2dfc44077101 SHA256 b40fed9c142eac8851c81086221b9c2266d5399d723d786911ad3e7ff717881b -MISC ChangeLog 365 RMD160 5a2a574549babe09ec79e71d449a645bb72e1e1a SHA1 3d22362d7cc2dbc3030ac4a6bf7da10693fdb03f SHA256 fe96f4d7ca505c0e98facf0df5cce9876b9a86fd96e18011d8de8fcb1bbc6951 +MISC ChangeLog 643 RMD160 1e8746d2e0cb20fa11d394bd3d204b0042083133 SHA1 b28627ace3ad04974920b11647065e75d2f85705 SHA256 d33f2967d1e6bb97e1f5fc8d7ae8211b1b281a0313fb3ceeb9287644e0b811eb MISC metadata.xml 401 RMD160 bb20d91759e3a2d2a28ad20f80052e2e7e43a9f3 SHA1 ccb52175c764fb217872db63d5ab1ce45313c118 SHA256 236955d1c4a418628282b16899dfefbf1de76c399d74402fddbb91659f297ccb diff --git a/dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.3-r1.ebuild b/dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.3-r1.ebuild new file mode 100644 index 000000000000..2b0f164eb93d --- /dev/null +++ b/dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.3-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-LDAPapi/Net-LDAPapi-3.0.3-r1.ebuild,v 1.1 2010/06/09 13:06:23 dev-zero Exp $ + +EAPI="3" + +MODULE_AUTHOR="MISHIKAL" + +inherit eutils multilib perl-module + +DESCRIPTION="Perl5 Module Supporting LDAP API" +HOMEPAGE="http://sourceforge.net/projects/net-ldapapi/ + http://search.cpan.org/~mishikal/Net-LDAPapi/" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" +# LICENSE is given on the corresponding sourceforge project and matches the +# default cpan/perl license + +COMMON="dev-lang/perl + net-nds/openldap + dev-perl/Convert-ASN1" +DEPEND="${COMMON} + virtual/perl-ExtUtils-MakeMaker" +RDEPEND="${COMMON}" + +# NOTE: tests are available but they hang + +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 + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/dev-perl/Net-LDAPapi/files/3.0.3-ldap_result-no_error.patch b/dev-perl/Net-LDAPapi/files/3.0.3-ldap_result-no_error.patch new file mode 100644 index 000000000000..d1003ee9ae7e --- /dev/null +++ b/dev-perl/Net-LDAPapi/files/3.0.3-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; + } + |