Author: scop
Update of /cvs/extras/rpms/perl-Net-SSLeay/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv32221/devel
Modified Files:
.cvsignore sources
Added Files:
perl-Net-SSLeay-test14.patch perl-Net-SSLeay.spec
Log Message:
auto-import perl-Net-SSLeay-1.26-1 on branch devel from perl-Net-SSLeay-1.26-1.src.rpm
perl-Net-SSLeay-test14.patch:
--- NEW FILE perl-Net-SSLeay-test14.patch ---
--- test.pl~ 2003-08-17 10:27:54.000000000 +0300
+++ test.pl 2004-10-12 00:19:42.761693459 +0300
@@ -187,7 +187,7 @@
$ENV{RND_SEED} = '1234567890123456789012345678901234567890';
print &test('14
www.bacus.pt';,
&Net::SSLeay::sslcat("www.bacus.pt", 443,
- "get\n\r\n\r") =~ /<TITLE>/);
+ "get\n\r\n\r") =~ /<TITLE>/i);
sub test_site ($$) {
my ($test_nro, $site) = @_;
--- NEW FILE perl-Net-SSLeay.spec ---
%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl}
-V:installvendorarch`"; echo $installvendorarch)}
Name: perl-Net-SSLeay
Version: 1.26
Release: 1
Epoch: 0
Summary: Perl extension for using OpenSSL
Group: Development/Libraries
License: BSDish
URL:
http://search.cpan.org/dist/Net_SSLeay.pm/
Source0:
http://www.fas.harvard.edu/~behrooz/Net_SSLeay.pm-1.26.tar.gz
Patch0: %{name}-test14.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl >= 1:5.6.1, openssl-devel
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Provides: perl-Net_SSLeay = %{epoch}:%{version}-%{release}
%description
This module offers some high level convinience functions for accessing
web pages on SSL servers (for symmetry, same API is offered for
accessing http servers, too), a sslcat() function for writing your own
clients, and finally access to the SSL api of SSLeay/OpenSSL package
so you can write servers or clients for more complicated applications.
%prep
%setup -q -n Net_SSLeay.pm-%{version}
%patch0 -p0
cp -p Net-SSLeay-Handle-*/Changes Changes.Net-SSLeay-Handle
chmod 644 examples/*
iconv -f iso-8859-1 -t utf-8 SSLeay.pm > SSLeay.pm.utf8
mv SSLeay.pm.utf8 SSLeay.pm
%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL -- INSTALLDIRS=vendor
%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -a \( -name .packlist -o -name ptrtstrun.pl \
-o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check || :
# make test # spawns servers, contacts external sites...
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes* Credits QuickRef README examples
%{perl_vendorarch}/auto/Net
%{perl_vendorarch}/Net
%{_mandir}/man3/Net::SSLeay*.3*
%changelog
* Mon Dec 20 2004 Ville Skytt�� <ville.skytta at iki.fi> - 0:1.26-1
- Drop fedora.us release prefix and suffix.
* Mon Oct 25 2004 Ville Skytt�� <ville.skytta at iki.fi> - 0:1.26-0.fdr.2
- Convert manual page to UTF-8.
* Tue Oct 12 2004 Ville Skytt�� <ville.skytta at iki.fi> - 0:1.26-0.fdr.1
- Update to unofficial 1.26 from Peter Behroozi, adds get1_session(),
enables session caching with IO::Socket::SSL (bug 1859, bug 1860).
- Bring outdated test14 up to date (bug 1859, test suite still not enabled).
* Sun Jul 11 2004 Ville Skytt�� <ville.skytta at iki.fi> - 0:1.25-0.fdr.4
- Rename to perl-Net-SSLeay, provide perl-Net_SSLeay for compatibility
with the rest of the world.
* Wed Jul 7 2004 Ville Skytt�� <ville.skytta at iki.fi> - 0:1.25-0.fdr.3
- Bring up to date with current fedora.us Perl spec template.
- Include examples in docs.
* Sun Feb 8 2004 Ville Skytt�� <ville.skytta at iki.fi> - 0:1.25-0.fdr.2
- Reduce directory ownership bloat.
* Fri Oct 17 2003 Ville Skytt�� <ville.skytta at iki.fi> - 0:1.25-0.fdr.1
- First build.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-SSLeay/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 20 Dec 2004 17:24:20 -0000 1.1
+++ .cvsignore 20 Dec 2004 17:25:07 -0000 1.2
@@ -0,0 +1 @@
+Net_SSLeay.pm-1.26.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-SSLeay/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 20 Dec 2004 17:24:20 -0000 1.1
+++ sources 20 Dec 2004 17:25:07 -0000 1.2
@@ -0,0 +1 @@
+6b7b044f553d089a1bce9fa0ef4c6615 Net_SSLeay.pm-1.26.tar.gz