rpms/perl-libwww-perl/devel rt-38736_taint.patch, NONE, 1.1 perl-libwww-perl.spec, 1.27, 1.28 lwp-untaint.patch, 1.1, NONE perl-libwww-perl-5.808-skip-message-tests.patch, 1.1, NONE

Marcela Mašláňová mmaslano at fedoraproject.org
Tue Oct 7 10:37:48 UTC 2008


Author: mmaslano

Update of /cvs/pkgs/rpms/perl-libwww-perl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2408

Modified Files:
	perl-libwww-perl.spec 
Added Files:
	rt-38736_taint.patch 
Removed Files:
	lwp-untaint.patch 
	perl-libwww-perl-5.808-skip-message-tests.patch 
Log Message:
* Tue Oct  7 2008 Marcela Mašláňová <mmaslano at redhat.com> 5.816-1
- update to 5.816
- fix #465855 - add --aliases into INSTALLDIRS
- use upstream patch for previous problem (see rt 38736)


rt-38736_taint.patch:

--- NEW FILE rt-38736_taint.patch ---
diff -up libwww-perl-5.816/lib/HTTP/Message.pm.ooo libwww-perl-5.816/lib/HTTP/Message.pm
--- libwww-perl-5.816/lib/HTTP/Message.pm.ooo	2008-10-07 10:47:51.000000000 +0200
+++ libwww-perl-5.816/lib/HTTP/Message.pm	2008-10-07 10:50:18.000000000 +0200
@@ -410,7 +410,7 @@ sub AUTOLOAD
     # We create the function here so that it will not need to be
     # autoloaded the next time.
     no strict 'refs';
-    *$method = eval "sub { shift->{'_headers'}->$method(\@_) }";
+    *$method = sub { shift->{'_headers'}->$method(@_) };
     goto &$method;
 }
 


Index: perl-libwww-perl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-libwww-perl/devel/perl-libwww-perl.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- perl-libwww-perl.spec	22 Sep 2008 07:06:38 -0000	1.27
+++ perl-libwww-perl.spec	7 Oct 2008 10:37:18 -0000	1.28
@@ -1,6 +1,6 @@
 Name:           perl-libwww-perl
-Version:        5.814
-Release:        2%{?dist}
+Version:        5.816
+Release:        1%{?dist}
 Summary:        A Perl interface to the World-Wide Web
 
 Group:          Development/Libraries
@@ -13,8 +13,8 @@
 # previous versions just skipped all the tests, I don't feel so bad
 # about being lazy and skipping these instead of figuring out why they
 # fail in mock and not on my box.
-Patch1:         perl-libwww-perl-5.808-skip-message-tests.patch
-Patch2:         lwp-untaint.patch
+Patch1:         perl-libwww-perl-5.816-skip-message-tests.patch
+Patch2:         rt-38736_taint.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -36,12 +36,9 @@
 
 %prep
 %setup -q -n libwww-perl-%{version} 
-##%patch1 -p1
+%patch1 -p1
 %patch2 -p1
 
-# Install the aliases by default
-%{__perl} -pi -e 's|my \$default = "n";|my \$default = "y";|' Makefile.PL
-
 # Filter unwanted Provides:
 cat << \EOF > %{name}-prov
 #!/bin/sh
@@ -67,7 +64,8 @@
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
+# Install the aliases by default
+%{__perl} Makefile.PL INSTALLDIRS=vendor --aliases < /dev/null
 make %{?_smp_mflags}
 
 %install
@@ -116,6 +114,11 @@
 
 
 %changelog
+* Tue Oct  7 2008 Marcela Mašláňová <mmaslano at redhat.com> 5.816-1
+- update to 5.816
+- fix #465855 - add --aliases into INSTALLDIRS
+- use upstream patch for previous problem (see rt 38736)
+
 * Thu Sep 18 2008 Marcela Maslanova <mmaslano at redhat.com> 5.814-2
 - use untaint patch from Villa Skyte
 


--- lwp-untaint.patch DELETED ---


--- perl-libwww-perl-5.808-skip-message-tests.patch DELETED ---




More information about the fedora-extras-commits mailing list