Logoj0ke.net Open Build Service > Projects > home:jg:http-testing:polarssl > nginx > Changes
Sign Up | Log In

Changes of Revision 5

[-] Changed nginx.spec
x
 
1
@@ -73,7 +73,6 @@
2
 Source102:     nginx-logo.png
3
 Source103:     50x.html
4
 Source104:     404.html
5
-Source105: modsecurity.conf
6
 
7
 Source107:  ngx_cache_purge-2.1.tar.gz
8
 Source108:  modsecurity-apache_2.7.7.tar.gz
9
@@ -141,19 +140,6 @@
10
 
11
 %build
12
 
13
-pushd modsecurity-apache_2.7.7
14
-# build mod_security library first
15
-%configure \
16
-%if 0%{?el5}
17
-        --with-libxml=/var/mod_security/usr/ \
18
-%endif
19
-        --enable-standalone-module --enable-pcre-match-limit=no --enable-pcre-match-limit-recursion=no
20
-make || :
21
-cd standalone
22
-make install-exec-hook || :
23
-popd
24
-
25
-
26
 
27
 export DESTDIR=%{buildroot}
28
 ./configure \
29
@@ -187,9 +173,7 @@
30
     --with-debug \
31
     --with-ipv6 \
32
     --with-http_spdy_module \
33
-    --add-module=%{_builddir}/nginx-%{version}/modsecurity-apache_2.7.7/nginx/modsecurity \
34
     --add-module=%{_builddir}/nginx-%{version}/ngx_cache_purge-2.1 \
35
-    --add-module=%{_builddir}/nginx-%{version}/nginx-upstream-fair \
36
     --add-module=%{_builddir}/nginx-%{version}/nginx_upstream_check_module-master \
37
     --add-module=%{_builddir}/nginx-%{version}/%{rtmp} \
38
     --add-module=%{_builddir}/nginx-%{version}/Nginx-limit-traffic-rate-module \
39
@@ -197,7 +181,6 @@
40
     --add-module=%{_builddir}/nginx-%{version}/nginx-upload-progress-module-master \
41
     --add-module=%{_builddir}/nginx-%{version}/mod_zip-master \
42
     --add-module=%{_builddir}/nginx-%{version}/nginx-upload-module-2.2 \
43
-    --add-module=%{_builddir}/nginx-%{version}/ngx_http_auth_pam_module-1.2 \
44
     --with-pcre \
45
     --with-pcre-jit \
46
     --with-file-aio
47
@@ -240,7 +223,6 @@
48
 %{__install} -p -d -m 0755 %{buildroot}%{nginx_home_tmp}
49
 %{__install} -p -d -m 0755 %{buildroot}%{nginx_logdir}
50
 %{__install} -p -d -m 0755 %{buildroot}%{nginx_webroot}
51
-%{__install} -p -m 0644 %{SOURCE105} %{buildroot}%{nginx_confdir}/conf.d
52
 %{__install} -p -m 0644 %{SOURCE100} %{SOURCE101} %{SOURCE102} %{SOURCE103} %{SOURCE104} %{buildroot}%{nginx_webroot}
53
 
54
 mv ngx_cache_purge-2.1/CHANGES ngx_cache_purge-2.1/CHANGES.ngx_cache_purge
55