SPECS: apache1-mod_perl.spec - updated to 1.30 (fixes CVE-2007-134...

qboosh qboosh at pld-linux.org
Sun Nov 4 19:07:16 CET 2007


Author: qboosh                       Date: Sun Nov  4 18:07:16 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.30 (fixes CVE-2007-1349)
- separated -doc (which requires apache1-doc)
- -devel renamed to perl-mod_perl1-devel (as it is for perl, not apache)
- License is Apache v1.1, not GPL

---- Files affected:
SPECS:
   apache1-mod_perl.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: SPECS/apache1-mod_perl.spec
diff -u SPECS/apache1-mod_perl.spec:1.42 SPECS/apache1-mod_perl.spec:1.43
--- SPECS/apache1-mod_perl.spec:1.42	Thu Jun  7 13:11:00 2007
+++ SPECS/apache1-mod_perl.spec	Sun Nov  4 19:07:11 2007
@@ -1,8 +1,7 @@
 # $Revision$, $Date$
-# TODO:
-# - orphaned dirs for %{_manualdocdir}/mod/*html
 #
-%bcond_without	ipv6		# disable IPv6 support. must match same bcond from apache1-devel
+# Conditional build:
+%bcond_without	ipv6	# IPv6 support (must match same bcond from apache1-devel)
 #
 %include	/usr/lib/rpm/macros.perl
 %define		mod_name	perl
@@ -27,20 +26,19 @@
 Summary(uk.UTF-8):	Модуль вбудовування інтерпретатора Perl в сервер Apache
 Summary(zh_CN.UTF-8):	用于 Apache web 服务程序的 Perl 解释程序。
 Name:		apache1-mod_perl
-Version:	1.29
-Release:	14
-License:	GPL
+Version:	1.30
+Release:	1
+License:	Apache v1.1
 Group:		Networking/Daemons
 Source0:	http://perl.apache.org/dist/mod_perl-%{version}.tar.gz
-# Source0-md5:	1491931790509b9af06fc037d02b0e7a
+# Source0-md5:	bfd6f6cff1ab1cc3dbb58a236701d169
 Patch0:		apache-perl-rh.patch
 # from ftp://ftp.kddlabs.co.jp/Linux/packages/Kondara/pub/Jirai/
 Patch1:		mod_perl-v6.patch
 Patch2:		%{name}-optimize.patch
 URL:		http://perl.apache.org/
-BuildRequires:	apache1-apxs
 %{?with_ipv6:BuildRequires:	apache1(ipv6)-devel}
-BuildRequires:	apache1-devel >= 1.3.33-2
+BuildRequires:	apache1-devel >= 1.3.39-2
 BuildRequires:	perl-B-Graph
 BuildRequires:	perl-BSD-Resource
 BuildRequires:	perl-Devel-Symdump
@@ -57,8 +55,6 @@
 Provides:	apache(mod_perl)
 Obsoletes:	mod_perl
 Obsoletes:	mod_perl-common
-# older apache1-mod_perl could make bad autodeps to perl-mod_perl1
-BuildConflicts:	apache1-mod_perl < 1.29-12.1
 %{!?with_ipv6:Conflicts:	apache1(ipv6)}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -197,34 +193,47 @@
 接口。 由于不必启动任何外部 Perl 解释程序,因此会使 CGI
 脚本回转过程更为快速。
 
-%package devel
+%package -n perl-mod_perl1
+Summary:	Perl APIs for mod_perl
+Summary(pl.UTF-8):	Perlowe API dla mod_perla
+Group:		Development/Languages/Perl
+
+%description -n perl-mod_perl1
+Perl APIs for mod_perl.
+
+%description -n perl-mod_perl1 -l pl.UTF-8
+Perlowe API dla mod_perl.
+
+%package -n perl-mod_perl1-devel
 Summary:	Files needed for building XS modules that use mod_perl
 Summary(pl.UTF-8):	Pliki potrzebne do budowania modułów XS korzystających z mod_perla
 Group:		Development/Libraries
 Requires:	apache1-devel
-Requires:	perl-mod_%{mod_name}1 = %{version}-%{release}
+Requires:	perl-mod_perl1 = %{version}-%{release}
+Obsoletes:	apache1-mod_perl-devel
 
-%description devel
+%description -n perl-mod_perl1-devel
 The apache1-mod_perl-devel package contains the files needed for
 building XS modules that use mod_perl.
 
-%description devel -l pl.UTF-8
+%description -n perl-mod_perl1-devel -l pl.UTF-8
 Ten pakiet zawiera pliki potrzebne do budowania modułów XS
 korzystających z mod_perla.
 
-%package -n perl-mod_%{mod_name}1
-Summary:	Perl APIs for mod_perl
-Summary(pl.UTF-8):	Perlowe API dla mod_perla
-Group:		Development/Languages/Perl
+%package doc
+Summary:	mod_perl documentation
+Summary(pl.UTF_8):	Dokumentacja do mod_perla
+Group:		Documentation
+Requires:	apache1-doc
 
-%description -n perl-mod_%{mod_name}1
-Perl APIs for mod_perl.
+%description doc
+mod_perl online documentation.
 
-%description -n perl-mod_%{mod_name}1 -l pl.UTF-8
-Perlowe API dla mod_perl.
+%description doc -l pl.UTF-8
+Dokumentacja do mod_perla dostępna przez Apache'a.
 
 %prep
-%setup  -q -n mod_perl-%{version}
+%setup -q -n mod_perl-%{version}
 %patch0 -p1
 %{?with_ipv6:%patch1 -p1}
 %patch2 -p1
@@ -284,31 +293,34 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README INSTALL CREDITS faq/*.html faq/*.txt apache-modlist.html eg
-# FIXME: parent dirs not owned as the manualdocdir (via apache1-doc) is not in deps
-%doc %{_manualdocdir}/mod/*html
-
+%doc CREDITS Changes INSTALL LICENSE README STATUS SUPPORT faq/*.html faq/*.txt apache-modlist.html eg
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
-%attr(755,root,root) %{_pkglibdir}/*
+%attr(755,root,root) %{_pkglibdir}/libperl.so
 
-%files -n perl-mod_%{mod_name}1
+%files doc
 %defattr(644,root,root,755)
-%{perl_vendorarch}/*.pm
-%{perl_vendorarch}/*.PL
+%{_manualdocdir}/mod/mod_perl.html
 
+%files -n perl-mod_perl1
+%defattr(644,root,root,755)
+%{perl_vendorarch}/Apache.pm
+%{perl_vendorarch}/mod_perl*.pm
+%{perl_vendorarch}/mod_perl_hooks.pm.PL
 %dir %{perl_vendorarch}/Apache
 %{perl_vendorarch}/Apache/*.pm
 %{perl_vendorarch}/Apache/Constants
 %dir %{perl_vendorarch}/auto/Apache
 %dir %{perl_vendorarch}/auto/Apache/Leak
+%{perl_vendorarch}/auto/Apache/Leak/Leak.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Apache/Leak/Leak.so
 %dir %{perl_vendorarch}/auto/Apache/Symbol
+%{perl_vendorarch}/auto/Apache/Symbol/Symbol.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Apache/Symbol/Symbol.so
+%{_mandir}/man3/Apache*.3pm*
+%{_mandir}/man3/cgi_to_mod_perl.3pm*
+%{_mandir}/man3/mod_perl*.3pm*
 
-%{perl_vendorarch}/auto/*/*/*.bs
-%attr(755,root,root) %{perl_vendorarch}/auto/*/*/*.so
-
-%{_mandir}/man3/[Acm]*
-
-%files devel
+%files -n perl-mod_perl1-devel
 %defattr(644,root,root,755)
 %{perl_vendorarch}/auto/Apache/typemap
 %{perl_vendorarch}/auto/Apache/mod_perl.exp
@@ -320,6 +332,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2007/11/04 18:07:11  qboosh
+- updated to 1.30 (fixes CVE-2007-1349)
+- separated -doc (which requires apache1-doc)
+- -devel renamed to perl-mod_perl1-devel (as it is for perl, not apache)
+- License is Apache v1.1, not GPL
+
 Revision 1.42  2007/06/07 11:11:00  shadzik
 - BR s@%{apxs}@apache1-apxs at g
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apache1-mod_perl.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list