packages: apache-mod_security/apache-mod_security.spec, apache-mod_security...

matik matik at pld-linux.org
Tue Aug 11 15:01:55 CEST 2009


Author: matik                        Date: Tue Aug 11 13:01:55 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- changed default config option not to mention Fedora
- S: cosmetics

---- Files affected:
packages/apache-mod_security:
   apache-mod_security.spec (1.27 -> 1.28) , apache-mod_security-branding.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/apache-mod_security/apache-mod_security.spec
diff -u packages/apache-mod_security/apache-mod_security.spec:1.27 packages/apache-mod_security/apache-mod_security.spec:1.28
--- packages/apache-mod_security/apache-mod_security.spec:1.27	Sat Jun 13 15:02:51 2009
+++ packages/apache-mod_security/apache-mod_security.spec	Tue Aug 11 15:01:49 2009
@@ -5,12 +5,13 @@
 Summary(pl.UTF-8):	Moduł do apache: ochrona aplikacji WWW
 Name:		apache-mod_%{mod_name}
 Version:	2.5.9
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Networking/Daemons/HTTP
 Source0:	http://www.modsecurity.org/download/modsecurity-apache_%{version}.tar.gz
 # Source0-md5:	b7bf44a7e041b49b0da5043495660375
-Source1:	apache-mod_security.conf
+Source1:	%{name}.conf
+Patch0:		%{name}-branding.patch
 URL:		http://www.modsecurity.org/
 BuildRequires:	apache-devel
 BuildRequires:	rpmbuild(macros) >= 1.268
@@ -36,6 +37,7 @@
 %setup -q -n modsecurity-apache_%{version}
 mv rules/README{,.rules}
 mv rules/CHANGELOG{,.rules}
+%patch0 -p1
 
 %build
 cd apache2
@@ -88,6 +90,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2009/08/11 13:01:49  matik
+- changed default config option not to mention Fedora
+- S: cosmetics
+
 Revision 1.27  2009/06/13 13:02:51  gotar
 - restored local rules
 

================================================================
Index: packages/apache-mod_security/apache-mod_security-branding.patch
diff -u /dev/null packages/apache-mod_security/apache-mod_security-branding.patch:1.1
--- /dev/null	Tue Aug 11 15:01:55 2009
+++ packages/apache-mod_security/apache-mod_security-branding.patch	Tue Aug 11 15:01:49 2009
@@ -0,0 +1,11 @@
+--- modsecurity-apache_2.5.9/rules/modsecurity_crs_10_config.conf~	2008-04-24 18:48:08.000000000 +0200
++++ modsecurity-apache_2.5.9/rules/modsecurity_crs_10_config.conf	2009-08-11 14:54:14.403528140 +0200
+@@ -110,7 +110,7 @@
+ #      "Apache/2.2.0 (Fedora)"   
+ #      For this directive to work, you need to set Apache ServerTokens
+ #      to Full (this is the default option)
+-SecServerSignature "Apache/2.2.0 (Fedora)"
++SecServerSignature "Apache/2.2.0 (PLD)"
+ 
+ # Add ruleset identity to the logs
+ #
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache-mod_security/apache-mod_security.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list