[packages/apache-mod_perl] - updated to current trunk for 2.0.8 update
baggins
baggins at pld-linux.org
Fri Sep 12 00:03:57 CEST 2014
commit 52c2ea552e1ef2cf8f3c59a5c8250dfb7fd9ccde
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Sep 12 00:03:08 2014 +0200
- updated to current trunk for 2.0.8 update
apache-mod_perl.spec | 16 +++++++---------
perl-5.18.patch | 23 -----------------------
2 files changed, 7 insertions(+), 32 deletions(-)
---
diff --git a/apache-mod_perl.spec b/apache-mod_perl.spec
index c31e373..ff7abc7 100644
--- a/apache-mod_perl.spec
+++ b/apache-mod_perl.spec
@@ -9,9 +9,9 @@
%define apxs /usr/sbin/apxs
%define mod_name perl
-%define ver 2.0.7
-%define snap svn1448242
-%define rel 9
+%define ver 2.0.8
+%define snap svn1624218
+%define rel 1
Summary: A Perl interpreter for the Apache Web server
Summary(cs.UTF-8): Vestavěný interpret Perlu pro WWW server Apache
Summary(da.UTF-8): En indbygget Perl-fortolker for webtjeneren Apache
@@ -38,13 +38,12 @@ Epoch: 1
License: Apache
Group: Networking/Daemons/HTTP
#Source0: http://perl.apache.org/dist/mod_perl-%{version}.tar.gz
-# svn export -r 1448242 https://svn.apache.org/repos/asf/perl/modperl/branches/httpd24 mod_perl-2.0.7-svn1448242
-# tar czvf mod_perl-2.0.7-svn1448242.tar.gz mod_perl-2.0.7-svn1448242
-Source0: mod_perl-%{version}-%{snap}.tar.gz
-# Source0-md5: 8b62bbfe8b499bc87b6d3d28eb765a24
+# svn export -r 1624218 https://svn.apache.org/repos/asf/perl/modperl/branches/httpd24 mod_perl-2.0.8-svn1624218
+# tar cvf - mod_perl-2.0.8-svn1624218 | xz >mod_perl-2.0.8-svn1624218.tar.xz
+Source0: mod_perl-%{version}-%{snap}.tar.xz
+# Source0-md5: d9f3ec5b4d845c360cf5773f90980c81
Source1: %{name}.conf
Patch0: %{name}-Makefile_PL.patch
-Patch1: perl-5.18.patch
URL: http://perl.apache.org/
BuildRequires: apache-devel >= 2.0.55-1
BuildRequires: apr-util-devel >= 1:1.0.0
@@ -258,7 +257,6 @@ pomocnicze do testowania serwera Apache.
%prep
%setup -q -n mod_%{mod_name}-%{ver}-%{snap}
%patch0 -p1
-%patch1 -p1
%build
%{__perl} Makefile.PL \
diff --git a/perl-5.18.patch b/perl-5.18.patch
deleted file mode 100644
index 0cce226..0000000
--- a/perl-5.18.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-+++ mod_perl-2.0.7-svn1448242/src/modules/perl/modperl_perl.c 2013-02-20 08:54:50.000000000 +0100
---- mod_perl-2.0.8/src/modules/perl/modperl_perl.c 2013-03-26 06:04:00.000000000 +0100
-@@ -265,12 +265,17 @@
- {
- #ifdef MP_NEED_HASH_SEED_FIXUP
- if (MP_init_hash_seed_set) {
--#if MP_PERL_VERSION(5, 8, 1)
-- PL_hash_seed = MP_init_hash_seed;
-+#if MP_PERL_VERSION_AT_LEAST(5, 17, 6)
-+ memcpy(&PL_hash_seed, &MP_init_hash_seed,
-+ sizeof(PL_hash_seed) > sizeof(MP_init_hash_seed) ?
-+ sizeof(MP_init_hash_seed) : sizeof(PL_hash_seed));
- PL_hash_seed_set = MP_init_hash_seed_set;
--#else
-+#elif MP_PERL_VERSION_AT_LEAST(5, 8, 2)
- PL_rehash_seed = MP_init_hash_seed;
- PL_rehash_seed_set = MP_init_hash_seed_set;
-+#else
-+ PL_hash_seed = MP_init_hash_seed;
-+ PL_hash_seed_set = MP_init_hash_seed_set;
- #endif
- }
- #endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_perl.git/commitdiff/52c2ea552e1ef2cf8f3c59a5c8250dfb7fd9ccde
More information about the pld-cvs-commit
mailing list