Accepting request 529888 from devel:languages:perl

- add perl526.patch to build with perl 5.26
- remove ssl subpackage without files

- update to 0.65
  Enhancements:
  * t/74matchedvalues.t: more tests
  * {ASN,Extension}.pm: update ExtendedResponse to RFC 4511
  * Constant.pm: add LDAP_NOTICE_OF_DISCONNECTION
  * Control/DontUseCopy.pm: new
  * Control/ProxyAuth.pm: make sure criticality does not get changed
  * Control/Relax.pm: make sure value & criticality do not get changed
  * Control/ManageDsaIT.pm: make sure value never gets set
  
  Bug Fixes
  * LDAP.pm: do not set default sslversion for start_tls() & LDAPS
    Instead of second-guessing a default sslversion for start_tls() and LDAPS,
    rely on the - known to be sane - default value used by IO::Socket::SSL.
  * RT#100151: LDAP.pm: localize $SIG{__DIE__} in IPv6 support check
    Thanks to Troy Loveday <troyl@ti.com> for the detailed bug report and patch.
  * FAQ.pod: fix error in search() example
  * RFC.pod: typo fix

OBS-URL: https://build.opensuse.org/request/show/529888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-ldap?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2017-10-02 14:45:40 +00:00 committed by Git OBS Bridge
commit 3313de35f4
5 changed files with 48 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d5d71714f6c969e3a3ef406c1fa276a96028781e8cf38decd9a42f344dbdcb6
size 310088

3
perl-ldap-0.65.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f57dd261dc16ebf942a272ddafe69526598df71151a51916edc37a4f2f23834
size 311145

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Fri Sep 29 10:36:07 UTC 2017 - coolo@suse.com
- add perl526.patch to build with perl 5.26
- remove ssl subpackage without files
-------------------------------------------------------------------
Fri Sep 29 10:30:22 UTC 2017 - coolo@suse.com
- update to 0.65
Enhancements:
* t/74matchedvalues.t: more tests
* {ASN,Extension}.pm: update ExtendedResponse to RFC 4511
* Constant.pm: add LDAP_NOTICE_OF_DISCONNECTION
* Control/DontUseCopy.pm: new
* Control/ProxyAuth.pm: make sure criticality does not get changed
* Control/Relax.pm: make sure value & criticality do not get changed
* Control/ManageDsaIT.pm: make sure value never gets set
Bug Fixes
* LDAP.pm: do not set default sslversion for start_tls() & LDAPS
Instead of second-guessing a default sslversion for start_tls() and LDAPS,
rely on the - known to be sane - default value used by IO::Socket::SSL.
* RT#100151: LDAP.pm: localize $SIG{__DIE__} in IPv6 support check
Thanks to Troy Loveday <troyl@ti.com> for the detailed bug report and patch.
* FAQ.pod: fix error in search() example
* RFC.pod: typo fix
-------------------------------------------------------------------
Fri Feb 13 20:26:25 UTC 2015 - aj@ajaissle.de

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-ldap
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,13 +18,14 @@
Name: perl-ldap
%define cpan_name perl-ldap
Version: 0.64
Version: 0.65
Release: 0
Summary: Client Interface for LDAP Servers
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://cpan.org/modules/by-module/Net/
Url: http://search.cpan.org/~marschap/perl-ldap/
Source: perl-ldap-%{version}.tar.gz
Patch0: perl526.patch
BuildRequires: perl-Authen-SASL
BuildRequires: perl-Convert-ASN1
BuildRequires: perl-IO-Socket-SSL
@ -43,21 +44,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A Client interface for LDAP servers.
%package ssl
Summary: SSL Extension to perl-ldap
License: Artistic-1.0
Group: Development/Libraries/Perl
Requires: %{name} = %{version}
Requires: perl-IO-Socket-SSL
Provides: p_ldaps
Obsoletes: p_ldaps
%{perl_requires}
%description ssl
A Client interface for LDAP servers.
%prep
%setup -q -n perl-ldap-%{version}
%patch0 -p1
find . -type f -print0 | xargs -0 chmod 644
# MANUAL
find contrib -type f | xargs -n 1 sed -i "s@/usr/local/bin/perl@/usr/bin/perl@"
@ -76,6 +65,6 @@ find contrib -type f | xargs -n 1 sed -i "s@/usr/local/bin/perl@/usr/bin/perl@"
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CREDITS install-nomake README TODO
%doc Changes CREDITS README TODO
%changelog

11
perl526.patch Normal file
View File

@ -0,0 +1,11 @@
Index: perl-ldap-0.65/Makefile.PL
===================================================================
--- perl-ldap-0.65.orig/Makefile.PL
+++ perl-ldap-0.65/Makefile.PL
@@ -1,5 +1,6 @@
# -*- perl -*-
+use lib '.';
use inc::Module::Install;
perl_version 5.008001;