diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..084765b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Crypt-SSLeay-0.64.tar.gz diff --git a/.perl-Crypt-SSLeay.metadata b/.perl-Crypt-SSLeay.metadata new file mode 100644 index 0000000..58bcaec --- /dev/null +++ b/.perl-Crypt-SSLeay.metadata @@ -0,0 +1 @@ +081d3d30aa89e481374eaedf2d28661bcb7beada SOURCES/Crypt-SSLeay-0.64.tar.gz diff --git a/SPECS/perl-Crypt-SSLeay.spec b/SPECS/perl-Crypt-SSLeay.spec new file mode 100644 index 0000000..ce0bb7c --- /dev/null +++ b/SPECS/perl-Crypt-SSLeay.spec @@ -0,0 +1,296 @@ +Name: perl-Crypt-SSLeay +Summary: Crypt::SSLeay - OpenSSL glue that provides LWP https support +Version: 0.64 +Release: 5%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +Source0: http://www.cpan.org/authors/id/N/NA/NANIS/Crypt-SSLeay-%{version}.tar.gz +URL: http://search.cpan.org/dist/Crypt-SSLeay/ +BuildRequires: openssl-devel +BuildRequires: perl(constant) +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +%if ! ( 0%{?rhel} ) +BuildRequires: perl(ExtUtils::MakeMaker::Coverage) +%endif +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(Socket) +BuildRequires: perl(URI) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Try::Tiny) +BuildRequires: /etc/pki/tls/certs/ca-bundle.crt +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: /etc/pki/tls/certs/ca-bundle.crt + +# RPM 4.8 style +%{?filter_setup: +%filter_from_provides /^perl(DB)/d +} +# RPM 4.9 style +%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(DB\\) +%{?perl_default_filter} + +%description +This perl module provides support for the https protocol under LWP, so +that a LWP::UserAgent can make https GET & HEAD & POST +requests. Please see perldoc LWP for more information on POST +requests. + +The Crypt::SSLeay package contains Net::SSL, which is automatically +loaded by LWP::Protocol::https on https requests, and provides the +necessary SSL glue for that module to work. + +%prep +%setup -q -n Crypt-SSLeay-%{version} + +# Placate rpmlint +chmod -c -x lib/Net/SSL.pm + +%build +if pkg-config openssl ; then + export INC="$CFLAGS `pkg-config --cflags-only-I openssl`" + export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`" +fi + +perl Makefile.PL --default --no-live-tests INC="$INC" \ + LDFLAGS="$LDFLAGS" INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +%{_fixperms} %{buildroot} +chmod -R u+w %{buildroot}/* +chmod -R 644 eg/* +chmod -R 644 certs/* +rm certs/ca-bundle.crt +ln -s /etc/pki/tls/certs/ca-bundle.crt certs/ca-bundle.crt + +%check +make test + +%files +%doc Changes eg/* certs/* +%{perl_vendorarch}/auto/Crypt/ +%{perl_vendorarch}/Crypt/ +%{perl_vendorarch}/Net/ +%{_mandir}/man3/Crypt::SSLeay.3pm* +%{_mandir}/man3/Net::SSL.3pm* + +%changelog +* Fri Jan 24 2014 Daniel Mach - 0.64-5 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 0.64-4 +- Mass rebuild 2013-12-27 + +* Wed Aug 8 2012 Paul Howarth - 0.64-3 +- Remove circular BR: perl(Net::SSL) provided by this package +- Placate rpmlint regarding file permissions +- Don't need to remove empty directories from the buildroot + +* Tue Aug 07 2012 Petr Šabata - 0.64-1 +- 0.64 bump + +* Mon Jul 30 2012 Petr Šabata - 0.60-1 +- 0.60 bugfix bump +- Drop command macros and modernize the spec a bit + +* Fri Jul 20 2012 Fedora Release Engineering - 0.58-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jul 20 2012 Marcela Mašláňová - 0.58-10 +- Conditionalize ExtUtils::MakeMaker::Coverage + +* Mon Jun 25 2012 Petr Pisar - 0.58-9 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.58-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Sep 07 2011 Petr Sabata - 0.58-7 +- Link to the ca-certificates ca-bundle.crt instead of shipping our own, + outdated copy (#734385) + +* Fri Jul 22 2011 Petr Pisar - 0.58-6 +- RPM 4.9 dependency filtering added + +* Wed Jul 20 2011 Petr Sabata - 0.58-5 +- Perl mass rebuild + +* Tue Apr 19 2011 Paul Howarth - 0.58-4 +- Remove buildroot specification and cleaning, not needed for modern rpmbuild +- Use %%{?perl_default_filter} +- Filter the perl(DB) provide in a way that works with rpm >= 4.9 +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Fix line endings on documentation +- Fix upstream source URL +- Fix argument order for find with -depth + +* Tue Feb 08 2011 Fedora Release Engineering - 0.58-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Marcela Maslanova - 0.58-2 +- Rebuild to fix problems with vendorarch/lib (#661697) + +* Wed Sep 1 2010 Petr Sabata - 0.58-1 +- New upstream release, v0.58 +- removing perl-Crypt-SSLeay-0.57-live-tests.patch, fixed in upstream +- removing perl-Crypt-SSLeay-Makefile_ssl1.patch, fixed in upstream + +* Fri Apr 30 2010 Marcela Maslanova - 0.57-17 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 0.57-16 +- rebuild against perl 5.10.1 + +* Wed Nov 25 2009 Marcela Mašláňová - 0.57-14 +- change Makefile for openssl 1.0, which couldn't be found properly before + +* Fri Aug 21 2009 Tomas Mraz - 0.57-13 +- rebuilt with new openssl + +* Sat Jul 25 2009 Fedora Release Engineering - 0.57-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.57-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Jan 17 2009 Tomas Mraz - 0.57-10 +- rebuild with new openssl + +* Mon Oct 6 2008 Marcela Maslanova - 0.57-9 +- add examples into doc + +* Wed Sep 24 2008 Marcela Maslanova - 0.57-8 +- fix patches for fuzz + +* Wed Mar 5 2008 Tom "spot" Callaway - 0.57-7 +- rebuild for new perl + +* Tue Feb 19 2008 Fedora Release Engineering - 0.57-6 +- Autorebuild for GCC 4.3 + +* Wed Dec 05 2007 Release Engineering - 0.57-5 + - Rebuild for deps + +* Wed Dec 5 2007 Robin Norwood - 0.57-4 +- Rebuild for new openssl + +* Sat Oct 27 2007 Robin Norwood - 0.57-3 +- Remove unnecessary BR: pkgconfig + +* Fri Oct 26 2007 Robin Norwood - 0.57-2 +- Fix buildroot per package review +- Resolves: bz#226248 + +* Thu Oct 25 2007 Robin Norwood - 0.57-1 +- Update to latest upstream version. +- Remove old patch (patch applied to upstream) +- Several fixes for package review: +- Fixed BuildRequires (added Test::Pod and LWP::UserAgent) +- Apply patch to avoid prompting for input when building Makefile +- Fix defattr line +- Resolves: bz#226248 + +* Mon Aug 27 2007 Robin Norwood - 0.56-2 +- perl(ExtUtils::MakeMaker::Coverage) is now available + +* Mon Aug 13 2007 Robin Norwood - 0.56-1 +- 0.56 is the latest CPAN version, not 0.55 + +* Mon Aug 13 2007 Robin Norwood - 0.55-2 +- Update to latest version from CPAN: 0.55 +- Remove two old patches, update lib64 patch for Makefile.PL changes. + +* Tue Feb 13 2007 Robin Norwood - 0.53-1 +- New version: 0.53 + +* Mon Nov 27 2006 Robin Norwood - 0.51-12 +- Resolves: bug#217138 +- fix a segfault on x86_64 + +* Tue Oct 17 2006 Robin Norwood - 0.51-10 +- Filter out Provides perl(DB) +- bug #205562 + +* Wed Jul 12 2006 Jesse Keating - 0.51-9.2.2.1 +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 0.51-9.2.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 0.51-9.2.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Feb 03 2006 Jason Vas Dias - 0.51-9.2 +- rebuild for new perl-5.8.8 / gcc / glibc + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcc + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcj + +* Thu Nov 10 2005 Tomas Mraz 0.51-9 +- rebuilt against new openssl +- added missing SSL_library_init() + +* Sat Sep 24 2005 Ville Skyttä 0.51-8 +- Own more installed dirs (#73908). +- Enable rpmbuild's internal dependency generator, drop unneeded dependencies. +- Require perl(:MODULE_COMPAT_*). +- Run tests in the %%check section. +- Fix License, Source0, URL, and Group tags. + +* Wed Mar 30 2005 Warren Togami 0.51-7 +- remove brp-compress + +* Tue Mar 8 2005 Joe Orton 0.51-6 +- rebuild + +* Tue Aug 31 2004 Chip Turner 0.51-5 +- build for FC3 + +* Tue Aug 31 2004 Chip Turner 0.51-4 +- build for RHEL3 U4 + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Chip Turner 0.51-1 +- update to upstream 0.51 + +* Thu Jun 05 2003 Elliot Lee +- rebuilt + +* Tue Jan 7 2003 Nalin Dahyabhai +- pass openssl includes to make as INC and ldflags in as LDFLAGS + +* Thu Nov 21 2002 Chip Turner +- patch to support /usr/lib64 before /usr/lib + +* Wed Nov 20 2002 Chip Turner +- rebuild + +* Tue Aug 6 2002 Chip Turner +- automated release bump and build + +* Thu Jun 27 2002 Chip Turner +- description update + +* Tue Jun 25 2002 Chip Turner +- move to 0.39 + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Fri Dec 7 2001 root +- Spec file was autogenerated.