Changes of Revision 2
[-] [+] | Deleted | nginx-polarssl.spec |
@@ -1,417 +0,0 @@ -%define nginx_user nginx -%define nginx_group %{nginx_user} -%define nginx_home %{_localstatedir}/lib/nginx -%define nginx_home_tmp %{nginx_home}/tmp -%define nginx_logdir %{_localstatedir}/log/nginx -%define nginx_confdir %{_sysconfdir}/nginx -%define nginx_datadir %{_datadir}/nginx -%define nginx_webroot %{nginx_datadir}/html - - -%define rtmp_ext nginx-rtmp-module -%define rtmp_ext_version 1.0.8 -%define rtmp %{rtmp_ext}-%{rtmp_ext_version} -%define rtmp_nover %{rtmp_ext} -%define with_rtmp_ext 1 -%define sticky_module_version 1.1 - -Name: nginx-polarssl -Version: 1.4.7 -Release: 1 -Summary: Robust, small and high performance http and reverse proxy server - heavy module extended pack incl. a few fixes to make them apply cleanly together. RPM Tag íxhuge from now. - -Group: System Environment/Daemons - -License: BSD -URL: http://nginx.net/ -BuildRoot: %{_tmppath}/%{name}-%{version}-root - -BuildRequires: pcre-devel zlib-devel polarssl polarssl-devel perl(ExtUtils::Embed) openssl-devel -BuildRequires: GeoIP-devel libaio-devel pam-devel - -# Modsec -BuildRequires: httpd-devel lua-devel curl-devel -BuildRequires: libxslt-devel,GeoIP-devel,gd-devel - -BuildRequires: libxml2-devel - - -Requires: pcre zlib openssl pam apr-util apr -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires(pre): shadow-utils -Requires(post): chkconfig -Requires(preun): chkconfig initscripts -Requires(postun): initscripts - -Provides: webserver - -Source0: http://sysoev.ru/nginx/nginx-%{version}.tar.gz - -Source1: %{name}.init -Source2: %{name}.logrotate -Source3: virtual.conf -Source4: ssl.conf -Source5: nginx-upstream-fair.tgz -Source6: upstream-fair.conf -Source7: %{name}.sysconfig -Source8: ngx_slowfs_cache-1.5.tar.gz -Source9: Nginx-limit-traffic-rate-module.tar.gz -Source10: proxy.conf -Source11: nginx_upstream_check_module-master.tar.gz -Source12: nginx_tcp_proxy_module-0.4.5.tar.gz -Source13: nginx-upstream-carp-read-only.tar.gz -Source14: %{rtmp}.tar.gz -Source15: nginx-upload-module-2.2.zip -Source16: mod_zip-master.tar.gz -Source17: nginx-upload-progress-module-0.9.0.zip -Source18: ngx_http_auth_pam_module-1.2.tar.gz -Source20: GeoIPCountryWhois.csv -Source21: nginx-http-rdns.tar.gz - -Source100: index.html -Source101: poweredby.png -Source102: nginx-logo.png -Source103: 50x.html -Source104: 404.html -Source105: modsecurity.conf - -Source107: ngx_cache_purge-2.1.tar.gz -Source108: modsecurity-apache_2.7.7.tar.gz -Source109: ngx_pagespeed-release-1.6.29.5-beta.tar.gz - - - -# removes -Werror in upstream build scripts. -Werror conflicts with -# -D_FORTIFY_SOURCE=2 causing warnings to turn into errors. -Patch0: nginx-auto-cc-gcc.patch - -# configuration patch to match all the Fedora paths for logs, pid files -# etc. -Patch1: nginx-conf-0.7.x.patch -Patch2: check_1.2.6+.patch -Patch3: nginx-memset_zero.patch -Patch4: tcp-proxymod.patch -Patch7: nginx-1.3.9-upload.patch -Patch8: nginx-1.3.12-polarssl-20130217.diff - -%description -Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 -proxy server written by Igor Sysoev. - -Following third party modules added: -* nginx-upstream-fair -* mod_zip -* ngx_http_auth_pam_module -* nginx-upload-progress-module -* nginx-upload-module -* nginx-rtmp-module -* nginx-upstream-check -* nginx-tcp-proxy -* nginx-slowfs-cache -* nginx-limit-traffic-rate -* nginx-upstream-carp-read-only -* nginx mod pagespeed -* nginx mod security -* nginx polar ssl patch - -%prep -%setup -q - -%setup -T -D -a 107 -a 108 -a 109 - -%patch0 -p0 -%patch1 -p0 -%patch2 -p1 -%patch4 -p1 -#%patch5 -p1 - -%{__tar} zxvf %{SOURCE5} -%{__tar} zxvf %{SOURCE9} -%{__tar} zxvf %{SOURCE11} -%{__tar} zxvf %{SOURCE12} -%{__tar} zxvf %{SOURCE13} -%{__tar} zxvf %{SOURCE14} -unzip %{SOURCE15} -%{__tar} zxvf %{SOURCE16} -unzip %{SOURCE17} -%{__tar} zxvf %{SOURCE18} - -%patch7 -p0 -%patch8 -p1 - -%build - -pushd modsecurity-apache_2.7.7 -# build mod_security library first -%configure \ -%if 0%{?el5} - --with-libxml=/var/mod_security/usr/ \ -%endif - --enable-standalone-module --enable-pcre-match-limit=no --enable-pcre-match-limit-recursion=no -make || : -cd standalone -make install-exec-hook || : -popd - - - -export DESTDIR=%{buildroot} -./configure \ - --user=%{nginx_user} \ - --group=%{nginx_group} \ - --prefix=%{nginx_datadir} \ - --sbin-path=%{_sbindir}/%{name} \ - --conf-path=%{nginx_confdir}/%{name}.conf \ - --error-log-path=%{nginx_logdir}/error.log \ - --http-log-path=%{nginx_logdir}/access.log \ - --http-client-body-temp-path=%{nginx_home_tmp}/client_body \ - --http-proxy-temp-path=%{nginx_home_tmp}/proxy \ - --http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \ - --pid-path=%{_localstatedir}/run/%{name}.pid \ - --lock-path=%{_localstatedir}/lock/subsys/%{name} \ - --with-http_secure_link_module \ - --with-http_random_index_module \ - --with-polarssl \ - --with-http_ssl_module \ - --with-http_realip_module \ - --with-http_addition_module \ - --with-http_sub_module \ - --with-http_dav_module \ - --with-http_flv_module \ - --with-http_gzip_static_module \ - --with-http_degradation_module \ - --with-http_stub_status_module \ - --with-http_mp4_module \ - --with-http_geoip_module \ - --with-http_perl_module \ - --with-debug \ - --with-ipv6 \ - --with-http_spdy_module \ - --add-module=%{_builddir}/nginx-%{version}/modsecurity-apache_2.7.7/nginx/modsecurity \ - --add-module=%{_builddir}/nginx-%{version}/ngx_cache_purge-2.1 \ - --add-module=%{_builddir}/nginx-%{version}/nginx-upstream-fair \ - --add-module=%{_builddir}/nginx-%{version}/nginx_upstream_check_module-master \ - --add-module=%{_builddir}/nginx-%{version}/%{rtmp} \ - --add-module=%{_builddir}/nginx-%{version}/Nginx-limit-traffic-rate-module \ - --add-module=%{_builddir}/nginx-%{version}/nginx_tcp_proxy_module-0.4.5 \ - --add-module=%{_builddir}/nginx-%{version}/nginx-upload-progress-module-master \ - --add-module=%{_builddir}/nginx-%{version}/mod_zip-master \ - --add-module=%{_builddir}/nginx-%{version}/nginx-upload-module-2.2 \ | ||
[-] [+] | Added | nginx.spec ^ |