Logoj0ke.net Open Build Service > Projects > internetx > mod_security > Changes
Sign Up | Log In

Difference Between Revision 36 and internetx:managed:testing / mod_security

[-] Changed mod_security-ix.changes
x
 
1
@@ -1,76 +1,4 @@
2
 -------------------------------------------------------------------
3
-Wed Jan 11 06:34:21 UTC 2023 - Carsten Schoene <carsten.schoene@internetx.com>
4
-
5
-- Update to release 2.9.7 
6
-
7
--------------------------------------------------------------------
8
-Thu Mar 17 10:30:16 UTC 2022 - Local OBS User <cs@linux-administrator.com>
9
-
10
-- Update to release 2.9.5
11
-
12
--------------------------------------------------------------------
13
-Mon Aug 23 11:39:54 UTC 2021 - Local OBS User <cs@linux-administrator.com>
14
-
15
-- Update to release 2.9.4 
16
-
17
--------------------------------------------------------------------
18
-Wed Feb  5 09:52:49 UTC 2020 - Local OBS User <cs@linux-administrator.com>
19
-
20
-- Update to release 2.9.3
21
-
22
--------------------------------------------------------------------
23
-Wed May 16 06:44:59 UTC 2018 - cs@linux-administrator.com
24
-
25
-- Update to release 2.9.2 
26
-
27
--------------------------------------------------------------------
28
-Thu Apr  9 09:26:32 UTC 2015 - cs@linux-administrator.com
29
-
30
-- Update to relesae 2.9.0
31
-- set PERL ENV var to /usr/bin/perl
32
-- drop mlogc-disable-force-sslv3.patch (TLSv1 is default now)
33
-
34
--------------------------------------------------------------------
35
-Fri Aug  8 17:29:19 UTC 2014 - cs@linux-administrator.com
36
-
37
-- Update to release 2.8.0
38
-
39
--------------------------------------------------------------------
40
-Sun Jan  5 16:20:52 UTC 2014 - cs@linux-administrator.com
41
-
42
-- enable --enable-htaccess-config 
43
-
44
--------------------------------------------------------------------
45
-Thu Dec 19 23:23:46 UTC 2013 - cs@linux-administrator.com
46
-
47
-- Update to release 2.7.7 
48
-
49
--------------------------------------------------------------------
50
-Tue Jul 30 17:01:30 UTC 2013 - cs@linux-administrator.com
51
-
52
-- Update to release 2.7.5 
53
-
54
--------------------------------------------------------------------
55
-Thu Jul 11 19:33:18 UTC 2013 - cs@linux-administrator.com
56
-
57
-- build against asl-libxml2 for EL5 based systems
58
-
59
--------------------------------------------------------------------
60
-Sat Jun 29 17:00:16 UTC 2013 - cs@linux-administrator.com
61
-
62
-- added CVE-2013-2765.patch for 2.6.8 (included in 2.7.4)
63
-
64
--------------------------------------------------------------------
65
-Wed Jun  5 10:16:47 UTC 2013 - cs@linux-administrator.com
66
-
67
-- fix permissions in cleanup cron script 
68
-
69
--------------------------------------------------------------------
70
-Mon May 27 17:02:32 UTC 2013 - cs@linux-administrator.com
71
-
72
-- Update to release 2.7.4 (only for >= SLE_11, >= EL6) 
73
-
74
--------------------------------------------------------------------
75
 Fri Mar 29 17:31:45 UTC 2013 - cs@linux-administrator.com
76
 
77
 - Update to release 2.7.3 (only for >= SLE_11, >= EL6) 
78
[-] Changed mod_security-ix.spec ^
117
 
1
@@ -1,36 +1,16 @@
2
-%define aslxml 1
3
-%define pkgname modsecurity-
4
 Summary:   Security module for the Apache HTTP Server
5
 Name:      mod_security 
6
 %if 0%{?centos_version} >= 6 || 0%{?rhel_version} >= 600 || 0%{?sl_version} >= 600 || 0%{?suse_version} >= 1110 || 0%{?sles_version} >= 11
7
-%define        pkgversion  2.9.7
8
-%define        oldver      0
9
-%define        _aslxml     0
10
-%define        epoch       1
11
-BuildRequires: libxml2-devel
12
-%else
13
-%if %{aslxml}
14
-%define        pkgversion  2.9.7
15
-%define        oldver      0
16
-%define        _aslxml     1
17
-%define        epoch       1
18
-BuildRequires: asl-libxml2-devel
19
+%define        pkgversion  2.7.3
20
 %else
21
 %define        pkgversion  2.6.8
22
-%define        pkgname     modsecurity-apache_
23
-%define        oldver      1
24
-%define        _aslxml     0
25
-%define        epoch       0
26
-BuildRequires: libxml2-devel
27
-%endif
28
 %endif
29
 Version:   %{pkgversion}
30
-Epoch:     %{epoch}
31
-Release:   35
32
+Release:   30
33
 License:   GPLv2
34
 URL:       http://www.modsecurity.org/
35
 Group:     System Environment/Daemons
36
-Source:        http://www.modsecurity.org/download/%{pkgname}%{version}.tar.bz2
37
+Source:        http://www.modsecurity.org/download/modsecurity-apache_%{version}.tar.bz2
38
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?sl_version} || 0%{?redhat_version}
39
 Source1:   00_mod_security.conf
40
 Source2:   modsecurity_crs_10_config-default.conf
41
@@ -44,18 +24,13 @@
42
 Source5:   modsec-clamscan.pl
43
 Source6:   modsec-clean_var-asl-data-audit
44
 Patch1:        waf-label.patch
45
-Patch2:        modsecurity-2.9.1_curl-lower_7.34.patch
46
-Patch50:   CVE-2013-2765.patch
47
+Patch2:        mlogc-disable-force-sslv3.patch
48
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
49
 %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?sl_version} || 0%{?redhat_version}
50
 Requires:  httpd httpd-mmn = %([ -a %{_includedir}/httpd/.mmn ] && cat %{_includedir}/httpd/.mmn || echo missing)
51
 BuildRequires: httpd-devel pkgconfig lua-devel
52
 Requires:  lua
53
-%if 0%{?rhel} >= 7 
54
-%define        apxs            %{_bindir}/apxs
55
-%else
56
 %define        apxs            %{_sbindir}/apxs
57
-%endif
58
 %define        apache_libexecdir   %(%{apxs} -q LIBEXECDIR)                                       
59
 ##%define      apache_sysconfdir   %(%{apxs} -q SYSCONFDIR)
60
 %define        apache_sysconfdir   /etc/httpd
61
@@ -79,10 +54,9 @@
62
 Provides:  apache2-mod_security2 = %{version}
63
 %endif
64
 
65
-BuildRequires: pcre-devel libtool curl-devel 
66
+BuildRequires: libxml2-devel pcre-devel libtool curl-devel 
67
 BuildRequires: curl
68
 
69
-BuildRequires:  autoconf automake
70
 Requires:  libxml2 pcre
71
 Provides:  ix-mod_security = %{version}
72
 
73
@@ -92,28 +66,20 @@
74
 as a powerful umbrella - shielding web applications from attacks.
75
 
76
 %prep
77
-%setup -n %{pkgname}%{version}
78
+%setup -n modsecurity-apache_%{version}
79
 %patch1 -p1
80
-%patch2 -p0
81
-%if 0%{?oldver} == 1
82
-%patch50 -p1
83
-%endif
84
+%patch2
85
 
86
 %build
87
 CFLAGS="%{optflags}"
88
 export CFLAGS
89
-export PERL=/usr/bin/perl
90
-
91
-[ ! -f configure ] && ./autogen.sh
92
 
93
 %configure \
94
-%if 0%{_aslxml} == 1
95
-   --with-libxml=/var/asl/usr/ \
96
-%endif
97
-        --enable-pcre-match-limit=no \
98
-        --enable-pcre-match-limit-recursion=no \
99
-   --enable-pcre-study \
100
-   --enable-htaccess-config
101
+   --disable-pcre-match-limit \
102
+   --disable-pcre-match-limit-recursion
103
+
104
+# Legacy from LoadFile
105
+#perl -pi.orig -e 's|LIBDIR|%{_libdir}|;' %{SOURCE1}
106
 
107
 make  %{_smp_mflags}
108
 
109
@@ -134,7 +100,6 @@
110
 install -D -m644 %{SOURCE4} %{buildroot}/%{apache_sysconfdir}/modsec/zzz_asl_custom_local_exclude.conf
111
 install -D -m755 %{SOURCE5} %{buildroot}%{_bindir}/modsec-clamscan.pl
112
 install -D -m755 %{SOURCE6} %{buildroot}%{_sysconfdir}/cron.daily/modsec-clean_var-asl-data-audit
113
-sed -i s@"%APAUSR%:%APAGRP%"@"%{apache_usr}:%{apache_grp}"@g %{buildroot}%{_sysconfdir}/cron.daily/modsec-clean_var-asl-data-audit
114
 
115
 mkdir -p %{buildroot}/var/log/mlogc/data
116
 install -D -m755 mlogc/mlogc %{buildroot}%{_bindir}/mlogc
117
[+] Deleted CVE-2013-2765.patch ^
[+] Deleted modsecurity-2.9.1_curl-lower_7.34.patch ^
[+] Changed modsec-clamscan.pl ^
[+] Changed modsec-clean_var-asl-data-audit ^
Deleted modsecurity-2.8.0.tar.bz2 ^
Deleted modsecurity-2.9.0.tar.bz2 ^
Deleted modsecurity-2.9.2.tar.bz2 ^
Deleted modsecurity-2.9.3.tar.bz2 ^
Deleted modsecurity-2.9.4.tar.bz2 ^
Deleted modsecurity-2.9.5.tar.bz2 ^
Deleted modsecurity-2.9.7.tar.bz2 ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/CHANGES ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/Makefile.in ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/NOTICE ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/README.TXT ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/alp2/Makefile.in ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/alp2/alp2.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/alp2/alp2.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/alp2/alp2_pp.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/alp2/alp2_pp.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/Makefile.am ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/Makefile.in ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/Makefile.win ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/acmp.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/acmp.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/apache2.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/apache2_config.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/apache2_io.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/apache2_util.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/mod_security2.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/modsecurity.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/modsecurity.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_crypt.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_crypt.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_geo.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_geo.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_gsb.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_gsb.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_logging.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_logging.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_lua.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_lua.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_multipart.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_multipart.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_parsers.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_parsers.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_pcre.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_pcre.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_release.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_release.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_reqbody.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_tree.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_tree.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_unicode.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_unicode.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_util.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_util.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_xml.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/msc_xml.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/persist_dbm.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/persist_dbm.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/re.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/re.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/re_actions.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/re_operators.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/re_tfns.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/re_variables.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/apache2/utf8tables.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/build/find_apr.m4 ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/build/find_apu.m4 ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/configure ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/configure.ac ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/ext/Makefile.in ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/ext/mod_op_strstr.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/ext/mod_reqbody_example.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/ext/mod_tfn_reverse.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/ext/mod_var_remote_addr_port.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/iis/Makefile.win ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/iis/main.cpp ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/iis/moduleconfig.cpp ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/iis/moduleconfig.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/iis/mymodule.cpp ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/iis/mymodule.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/iis/mymodulefactory.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/mlogc/Makefile.in ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/mlogc/mlogc-batch-load.pl.in ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/mlogc/mlogc.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/nginx/modsecurity/apr_bucket_nginx.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/nginx/modsecurity/config ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/nginx/modsecurity/ngx_http_modsecurity.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/nginx/modsecurity/ngx_pool_context.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/Makefile.am ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/Makefile.in ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/api.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/api.h ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/buckets.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/config.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/filters.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/hooks.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/main.cpp ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/regex.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/standalone/server.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/tests/Makefile.am ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/tests/Makefile.in ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/tests/msc_test.c ^
[+] Changed modsecurity-apache_2.7.3.tar.bz2/tools/Makefile.in ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/apache2/libinjection ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/apache2/libinjection/COPYING.txt ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/apache2/libinjection/sqli_fingerprints.h ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/apache2/libinjection/sqlparse.c ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/apache2/libinjection/sqlparse.h ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/apache2/libinjection/sqlparse_data.h ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/apache2/libinjection/sqlparse_private.h ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/tests/op/detectSQLi.t ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/tests/regression/nginx ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/tests/regression/nginx/conf ^
Changed modsecurity-apache_2.7.4.tar.bz2/tests/regression/nginx/conf/empty.conf ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/tests/regression/nginx/conf/nginx.conf.template ^
[+] Deleted modsecurity-apache_2.7.4.tar.bz2/tests/run-regression-tests-nginx.pl ^
Deleted modsecurity-apache_2.7.5.tar.bz2 ^
Deleted modsecurity-apache_2.7.7.tar.bz2 ^