|
@@ -1,4 +1,4 @@
|
|
-%define rel 1
|
|
|
|
|
|
+%define rel 2
|
|
|
|
|
|
Summary: A Perl interface to the World-Wide Web
|
|
Summary: A Perl interface to the World-Wide Web
|
|
Name: perl-libwww-perl
|
|
Name: perl-libwww-perl
|
|
@@ -8,6 +8,9 @@ License: GPL or Artistic
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/LWP/libwww-perl-%{version}.tar.gz
|
|
Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/LWP/libwww-perl-%{version}.tar.gz
|
|
Source10: filter-depends.sh
|
|
Source10: filter-depends.sh
|
|
|
|
+Patch100: lwp-download_CVE-2010-2253.patch
|
|
|
|
+Patch110: lwp-download_usage.patch
|
|
|
|
+
|
|
URL: http://search.cpan.org/dist/libwww-perl/
|
|
URL: http://search.cpan.org/dist/libwww-perl/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
@@ -17,6 +20,9 @@ Requires: perl >= 5.8.0, perl-URI, perl-HTML-Parser perl-Compress-Zlib
|
|
%define __find_requires %{SOURCE10}
|
|
%define __find_requires %{SOURCE10}
|
|
#define __perl_requires %{SOURCE10}
|
|
#define __perl_requires %{SOURCE10}
|
|
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+
|
|
%description
|
|
%description
|
|
The libwww-perl collection is a set of Perl modules which provides a
|
|
The libwww-perl collection is a set of Perl modules which provides a
|
|
simple and consistent application programming interface to the
|
|
simple and consistent application programming interface to the
|
|
@@ -27,6 +33,8 @@ help you implement simple HTTP servers.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n libwww-perl-%{version}
|
|
%setup -q -n libwww-perl-%{version}
|
|
|
|
+%patch100 -p1 -b .CVE-2010-2253
|
|
|
|
+%patch110 -p0 -b .usage
|
|
|
|
|
|
%build
|
|
%build
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor << EOO
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor << EOO
|
|
@@ -84,6 +92,10 @@ make test
|
|
%{_mandir}/man?/*
|
|
%{_mandir}/man?/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Aug 15 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 5.833-2
|
|
|
|
+- add patch100,110 for fix CVE-2010-2253 (lwp-download)
|
|
|
|
+- add Vendor/Dist Tags
|
|
|
|
+
|
|
* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 5.833-1
|
|
* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 5.833-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- delete perllocal.pod and .packlist at %%install section
|
|
- delete perllocal.pod and .packlist at %%install section
|