- changed default config option not to mention Fedora
authormatik <matik@pld-linux.org>
Tue, 11 Aug 2009 13:01:49 +0000 (13:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- S: cosmetics

Changed files:
    apache-mod_security-branding.patch -> 1.1
    apache-mod_security.spec -> 1.28

apache-mod_security-branding.patch [new file with mode: 0644]
apache-mod_security.spec

diff --git a/apache-mod_security-branding.patch b/apache-mod_security-branding.patch
new file mode 100644 (file)
index 0000000..9b3a097
--- /dev/null
@@ -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
+ #
index 9ccbd98..a906a5e 100644 (file)
@@ -4,12 +4,13 @@ Summary:      Apache module: securing web applications
 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
@@ -35,6 +36,7 @@ parasol chroniący aplikacje WWW przed atakami.
 %setup -q -n modsecurity-apache_%{version}
 mv rules/README{,.rules}
 mv rules/CHANGELOG{,.rules}
+%patch0 -p1
 
 %build
 cd apache2
This page took 0.112637 seconds and 4 git commands to generate.