[-]
[+]
|
Deleted |
nginx-SLE_10.spec
|
@@ -1,174 +0,0 @@
-#
-# spec file for package nginx-0.8 (Version 0.7.67)
-#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
-#
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-# norootforbuild
-
-Name: nginx
-Version: 0.7.67
-Release: 1
-#
-%define pkg_name nginx
-#
-%define ngx_prefix %{_prefix}
-%define ngx_sbindir %{_sbindir}/nginx
-%define ngx_conf_dir %{_sysconfdir}/nginx
-%define ngx_conf_path %{ngx_conf_dir}/nginx.conf
-%define ngx_error_log /var/log/nginx/error.log
-%define ngx_access_log /var/log/nginx/access.log
-%define ngx_pid_path /var/run/nginx.pid
-%define ngx_lock_path /var/run/nginx.lock
-%define ngx_home /var/lib/nginx
-%define ngx_tmp_http %{ngx_home}/tmp/
-%define ngx_tmp_proxy %{ngx_home}/proxy/
-%define ngx_tmp_fcgi %{ngx_home}/fastcgi/
-%define ngx_user_group nginx
-#
-License: BSD
-Group: Productivity/Networking/Web/Proxy
-#
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: openssl-devel pcre-devel pkgconfig zlib-devel dos2unix
-BuildRequires: libxslt-devel gd-devel
-Provides: nginx = %{version}-%{release}
-PreReq: %insserv_prereq %fillup_prereq pwdutils
-%requires_eq perl
-#
-Url: http://nginx.net/
-Source: http://sysoev.ru/nginx/nginx-%{version}.tar.gz
-Source1: nginx.init.suse
-Patch: nginx-0.4.0-no_Werror.patch
-Patch1: nginx-0.6.31-DESTDIR.patch
-# Patch2: nginx-0.4.0-html.patch
-Patch2: nginx-0.6.38-html.patch
-Patch3: nginx-0.4.0-perl_vendor_install.patch
-Patch4: nginx-0.6.31_default_config.patch
-#
-Summary: A HTTP server and IMAP/POP3 proxy server
-%description
-nginx [engine x] is a HTTP server and IMAP/POP3 proxy server written by Igor Sysoev.
-It has been running on many heavily loaded Russian sites for more than two years.
-
-
-Authors:
---------
- Igor Sysoev
-
-
-%prep
-%setup -n %{pkg_name}-%{version}
-%patch
-#%patch1
-%patch2
-%patch3
-%patch4
-dos2unix contrib/geo2nginx.pl
-
-%build
-./configure \
- --prefix=%{ngx_prefix}/ \
- --sbin-path=%{ngx_sbindir} \
- --conf-path=%{ngx_conf_path} \
- --error-log-path=%{ngx_error_log} \
- --http-log-path=%{ngx_access_log} \
- --pid-path=%{ngx_pid_path} \
- --lock-path=%{ngx_lock_path} \
- --http-client-body-temp-path=%{ngx_tmp_http} \
- --http-proxy-temp-path=%{ngx_tmp_proxy} \
- --http-fastcgi-temp-path=%{ngx_tmp_fcgi} \
- --user=nginx --group=nginx \
- --with-rtsig_module \
- --with-select_module \
- --with-poll_module \
- --with-ipv6 \
- --with-http_ssl_module \
- --with-http_realip_module \
- --with-http_addition_module \
- --with-http_xslt_module \
- --with-http_image_filter_module \
- --with-http_sub_module \
- --with-http_dav_module \
- --with-http_flv_module \
- --with-http_gzip_static_module \
- --with-http_random_index_module \
- --with-http_secure_link_module \
- --with-http_stub_status_module \
- --with-http_perl_module \
- --with-perl=%{_bindir}/perl \
- --with-mail \
- --with-md5=/usr \
- --with-sha1=/usr \
-%if 0%{?suse_version} > 1000 || 0%{?fedora_version} > 4 || 0%{?mandriva_version} > 2006
- --with-cc-opt="%{optflags} -fstack-protector"
-%else
- --with-cc-opt="%{optflags}"
-%endif
-%{__make}
-
-%install
-%makeinstall
-%perl_process_packlist
-#
-%{__install} -d -m 0750 %{buildroot}%{ngx_home}/{,tmp,proxy,fastcgi}
-#
-%{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{pkg_name}
-%{__ln_s} -f %{_sysconfdir}/init.d/%{pkg_name} %{buildroot}%{_sbindir}/rc%{pkg_name}
-
-%post
-%fillup_and_insserv %{pkg_name}
-
-%preun
-%stop_on_removal %{pkg_name}
-
-%postun
-%restart_on_update %{pkg_name}
-%{insserv_cleanup}
-
-%clean
-%{__rm} -rf %{buildroot}
-
-%pre
-/usr/sbin/groupadd -r %{ngx_user_group} &>/dev/null ||:
-/usr/sbin/useradd -g %{ngx_user_group} -s /bin/false -r -c "user for %{ngx_user_group}" -d %{ngx_home} %{ngx_user_group} &>/dev/null ||:
-
-%files
-%defattr(-,root,root,-)
-%dir %{ngx_conf_dir}/
-%config(noreplace) %{ngx_conf_dir}/koi-utf
-%config(noreplace) %{ngx_conf_dir}/koi-win
-%config(noreplace) %{ngx_conf_dir}/fastcgi_params
-%config(noreplace) %{ngx_conf_dir}/fastcgi_params.default
-%config(noreplace) %{ngx_conf_dir}/mime.types
-%config(noreplace) %{ngx_conf_dir}/mime.types.default
-%config(noreplace) %{ngx_conf_dir}/nginx.conf
-%config(noreplace) %{ngx_conf_dir}/nginx.conf.default
-%config(noreplace) %{ngx_conf_dir}/fastcgi.conf
-%config(noreplace) %{ngx_conf_dir}/fastcgi.conf.default
-%config(noreplace) %{ngx_conf_dir}/win-utf
-%dir %{perl_vendorarch}/auto/nginx/
-%{perl_vendorarch}/auto/nginx/.packlist
-%{perl_vendorarch}/auto/nginx/nginx.bs
-%{perl_vendorarch}/auto/nginx/nginx.so
-%{perl_vendorarch}/nginx.pm
-%{ngx_sbindir}
-%{_mandir}/man3/nginx.3pm*
-/srv/www/htdocs/50x.html
-/srv/www/htdocs/index.html
-/var/adm/perl-modules/%{name}
-%{_sysconfdir}/init.d/%{pkg_name}
-%{_sbindir}/rc%{pkg_name}
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) /var/log/nginx/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/tmp/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/proxy/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/fastcgi/
-%doc CHANGES* LICENSE README
-%doc conf/ contrib/
-
-%changelog
|
[-]
[+]
|
Deleted |
nginx-SLE_11.spec
^
|
@@ -1,174 +0,0 @@
-#
-# spec file for package nginx-0.8 (Version 0.7.67)
-#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
-#
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-# norootforbuild
-
-Name: nginx
-Version: 0.7.67
-Release: 1
-#
-%define pkg_name nginx
-#
-%define ngx_prefix %{_prefix}
-%define ngx_sbindir %{_sbindir}/nginx
-%define ngx_conf_dir %{_sysconfdir}/nginx
-%define ngx_conf_path %{ngx_conf_dir}/nginx.conf
-%define ngx_error_log /var/log/nginx/error.log
-%define ngx_access_log /var/log/nginx/access.log
-%define ngx_pid_path /var/run/nginx.pid
-%define ngx_lock_path /var/run/nginx.lock
-%define ngx_home /var/lib/nginx
-%define ngx_tmp_http %{ngx_home}/tmp/
-%define ngx_tmp_proxy %{ngx_home}/proxy/
-%define ngx_tmp_fcgi %{ngx_home}/fastcgi/
-%define ngx_user_group nginx
-#
-License: BSD
-Group: Productivity/Networking/Web/Proxy
-#
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: openssl-devel pcre-devel pkgconfig zlib-devel dos2unix
-BuildRequires: libxslt-devel gd-devel
-Provides: nginx = %{version}-%{release}
-PreReq: %insserv_prereq %fillup_prereq pwdutils
-%requires_eq perl
-#
-Url: http://nginx.net/
-Source: http://sysoev.ru/nginx/nginx-%{version}.tar.gz
-Source1: nginx.init.suse
-Patch: nginx-0.4.0-no_Werror.patch
-Patch1: nginx-0.6.31-DESTDIR.patch
-# Patch2: nginx-0.4.0-html.patch
-Patch2: nginx-0.6.38-html.patch
-Patch3: nginx-0.4.0-perl_vendor_install.patch
-Patch4: nginx-0.6.31_default_config.patch
-#
-Summary: A HTTP server and IMAP/POP3 proxy server
-%description
-nginx [engine x] is a HTTP server and IMAP/POP3 proxy server written by Igor Sysoev.
-It has been running on many heavily loaded Russian sites for more than two years.
-
-
-Authors:
---------
- Igor Sysoev
-
-
-%prep
-%setup -n %{pkg_name}-%{version}
-%patch
-#%patch1
-%patch2
-%patch3
-%patch4
-dos2unix contrib/geo2nginx.pl
-
-%build
-./configure \
- --prefix=%{ngx_prefix}/ \
- --sbin-path=%{ngx_sbindir} \
- --conf-path=%{ngx_conf_path} \
- --error-log-path=%{ngx_error_log} \
- --http-log-path=%{ngx_access_log} \
- --pid-path=%{ngx_pid_path} \
- --lock-path=%{ngx_lock_path} \
- --http-client-body-temp-path=%{ngx_tmp_http} \
- --http-proxy-temp-path=%{ngx_tmp_proxy} \
- --http-fastcgi-temp-path=%{ngx_tmp_fcgi} \
- --user=nginx --group=nginx \
- --with-rtsig_module \
- --with-select_module \
- --with-poll_module \
- --with-ipv6 \
- --with-http_ssl_module \
- --with-http_realip_module \
- --with-http_addition_module \
- --with-http_xslt_module \
- --with-http_image_filter_module \
- --with-http_sub_module \
- --with-http_dav_module \
- --with-http_flv_module \
- --with-http_gzip_static_module \
- --with-http_random_index_module \
- --with-http_secure_link_module \
- --with-http_stub_status_module \
- --with-http_perl_module \
- --with-perl=%{_bindir}/perl \
- --with-mail \
- --with-md5=/usr \
- --with-sha1=/usr \
-%if 0%{?suse_version} > 1000 || 0%{?fedora_version} > 4 || 0%{?mandriva_version} > 2006
- --with-cc-opt="%{optflags} -fstack-protector"
-%else
- --with-cc-opt="%{optflags}"
-%endif
-%{__make}
-
-%install
-%makeinstall
-%perl_process_packlist
-#
-%{__install} -d -m 0750 %{buildroot}%{ngx_home}/{,tmp,proxy,fastcgi}
-#
-%{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{pkg_name}
-%{__ln_s} -f %{_sysconfdir}/init.d/%{pkg_name} %{buildroot}%{_sbindir}/rc%{pkg_name}
-
-%post
-%fillup_and_insserv %{pkg_name}
-
-%preun
-%stop_on_removal %{pkg_name}
-
-%postun
-%restart_on_update %{pkg_name}
-%{insserv_cleanup}
-
-%clean
-%{__rm} -rf %{buildroot}
-
-%pre
-/usr/sbin/groupadd -r %{ngx_user_group} &>/dev/null ||:
-/usr/sbin/useradd -g %{ngx_user_group} -s /bin/false -r -c "user for %{ngx_user_group}" -d %{ngx_home} %{ngx_user_group} &>/dev/null ||:
-
-%files
-%defattr(-,root,root,-)
-%dir %{ngx_conf_dir}/
-%config(noreplace) %{ngx_conf_dir}/koi-utf
-%config(noreplace) %{ngx_conf_dir}/koi-win
-%config(noreplace) %{ngx_conf_dir}/fastcgi_params
-%config(noreplace) %{ngx_conf_dir}/fastcgi_params.default
-%config(noreplace) %{ngx_conf_dir}/mime.types
-%config(noreplace) %{ngx_conf_dir}/mime.types.default
-%config(noreplace) %{ngx_conf_dir}/nginx.conf
-%config(noreplace) %{ngx_conf_dir}/nginx.conf.default
-%config(noreplace) %{ngx_conf_dir}/fastcgi.conf
-%config(noreplace) %{ngx_conf_dir}/fastcgi.conf.default
-%config(noreplace) %{ngx_conf_dir}/win-utf
-%dir %{perl_vendorarch}/auto/nginx/
-%{perl_vendorarch}/auto/nginx/.packlist
-%{perl_vendorarch}/auto/nginx/nginx.bs
-%{perl_vendorarch}/auto/nginx/nginx.so
-%{perl_vendorarch}/nginx.pm
-%{ngx_sbindir}
-%{_mandir}/man3/nginx.3pm*
-/srv/www/htdocs/50x.html
-/srv/www/htdocs/index.html
-/var/adm/perl-modules/%{name}
-%{_sysconfdir}/init.d/%{pkg_name}
-%{_sbindir}/rc%{pkg_name}
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) /var/log/nginx/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/tmp/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/proxy/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/fastcgi/
-%doc CHANGES* LICENSE README
-%doc conf/ contrib/
-
-%changelog
|
[-]
[+]
|
Deleted |
nginx-SLE_11_SP1.spec
^
|
@@ -1,174 +0,0 @@
-#
-# spec file for package nginx-0.8 (Version 0.7.67)
-#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
-#
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-# norootforbuild
-
-Name: nginx
-Version: 0.7.67
-Release: 1
-#
-%define pkg_name nginx
-#
-%define ngx_prefix %{_prefix}
-%define ngx_sbindir %{_sbindir}/nginx
-%define ngx_conf_dir %{_sysconfdir}/nginx
-%define ngx_conf_path %{ngx_conf_dir}/nginx.conf
-%define ngx_error_log /var/log/nginx/error.log
-%define ngx_access_log /var/log/nginx/access.log
-%define ngx_pid_path /var/run/nginx.pid
-%define ngx_lock_path /var/run/nginx.lock
-%define ngx_home /var/lib/nginx
-%define ngx_tmp_http %{ngx_home}/tmp/
-%define ngx_tmp_proxy %{ngx_home}/proxy/
-%define ngx_tmp_fcgi %{ngx_home}/fastcgi/
-%define ngx_user_group nginx
-#
-License: BSD
-Group: Productivity/Networking/Web/Proxy
-#
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: openssl-devel pcre-devel pkgconfig zlib-devel dos2unix
-BuildRequires: libxslt-devel gd-devel
-Provides: nginx = %{version}-%{release}
-PreReq: %insserv_prereq %fillup_prereq pwdutils
-%requires_eq perl
-#
-Url: http://nginx.net/
-Source: http://sysoev.ru/nginx/nginx-%{version}.tar.gz
-Source1: nginx.init.suse
-Patch: nginx-0.4.0-no_Werror.patch
-Patch1: nginx-0.6.31-DESTDIR.patch
-# Patch2: nginx-0.4.0-html.patch
-Patch2: nginx-0.6.38-html.patch
-Patch3: nginx-0.4.0-perl_vendor_install.patch
-Patch4: nginx-0.6.31_default_config.patch
-#
-Summary: A HTTP server and IMAP/POP3 proxy server
-%description
-nginx [engine x] is a HTTP server and IMAP/POP3 proxy server written by Igor Sysoev.
-It has been running on many heavily loaded Russian sites for more than two years.
-
-
-Authors:
---------
- Igor Sysoev
-
-
-%prep
-%setup -n %{pkg_name}-%{version}
-%patch
-#%patch1
-%patch2
-%patch3
-%patch4
-dos2unix contrib/geo2nginx.pl
-
-%build
-./configure \
- --prefix=%{ngx_prefix}/ \
- --sbin-path=%{ngx_sbindir} \
- --conf-path=%{ngx_conf_path} \
- --error-log-path=%{ngx_error_log} \
- --http-log-path=%{ngx_access_log} \
- --pid-path=%{ngx_pid_path} \
- --lock-path=%{ngx_lock_path} \
- --http-client-body-temp-path=%{ngx_tmp_http} \
- --http-proxy-temp-path=%{ngx_tmp_proxy} \
- --http-fastcgi-temp-path=%{ngx_tmp_fcgi} \
- --user=nginx --group=nginx \
- --with-rtsig_module \
- --with-select_module \
- --with-poll_module \
- --with-ipv6 \
- --with-http_ssl_module \
- --with-http_realip_module \
- --with-http_addition_module \
- --with-http_xslt_module \
- --with-http_image_filter_module \
- --with-http_sub_module \
- --with-http_dav_module \
- --with-http_flv_module \
- --with-http_gzip_static_module \
- --with-http_random_index_module \
- --with-http_secure_link_module \
- --with-http_stub_status_module \
- --with-http_perl_module \
- --with-perl=%{_bindir}/perl \
- --with-mail \
- --with-md5=/usr \
- --with-sha1=/usr \
-%if 0%{?suse_version} > 1000 || 0%{?fedora_version} > 4 || 0%{?mandriva_version} > 2006
- --with-cc-opt="%{optflags} -fstack-protector"
-%else
- --with-cc-opt="%{optflags}"
-%endif
-%{__make}
-
-%install
-%makeinstall
-%perl_process_packlist
-#
-%{__install} -d -m 0750 %{buildroot}%{ngx_home}/{,tmp,proxy,fastcgi}
-#
-%{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{pkg_name}
-%{__ln_s} -f %{_sysconfdir}/init.d/%{pkg_name} %{buildroot}%{_sbindir}/rc%{pkg_name}
-
-%post
-%fillup_and_insserv %{pkg_name}
-
-%preun
-%stop_on_removal %{pkg_name}
-
-%postun
-%restart_on_update %{pkg_name}
-%{insserv_cleanup}
-
-%clean
-%{__rm} -rf %{buildroot}
-
-%pre
-/usr/sbin/groupadd -r %{ngx_user_group} &>/dev/null ||:
-/usr/sbin/useradd -g %{ngx_user_group} -s /bin/false -r -c "user for %{ngx_user_group}" -d %{ngx_home} %{ngx_user_group} &>/dev/null ||:
-
-%files
-%defattr(-,root,root,-)
-%dir %{ngx_conf_dir}/
-%config(noreplace) %{ngx_conf_dir}/koi-utf
-%config(noreplace) %{ngx_conf_dir}/koi-win
-%config(noreplace) %{ngx_conf_dir}/fastcgi_params
-%config(noreplace) %{ngx_conf_dir}/fastcgi_params.default
-%config(noreplace) %{ngx_conf_dir}/mime.types
-%config(noreplace) %{ngx_conf_dir}/mime.types.default
-%config(noreplace) %{ngx_conf_dir}/nginx.conf
-%config(noreplace) %{ngx_conf_dir}/nginx.conf.default
-%config(noreplace) %{ngx_conf_dir}/fastcgi.conf
-%config(noreplace) %{ngx_conf_dir}/fastcgi.conf.default
-%config(noreplace) %{ngx_conf_dir}/win-utf
-%dir %{perl_vendorarch}/auto/nginx/
-%{perl_vendorarch}/auto/nginx/.packlist
-%{perl_vendorarch}/auto/nginx/nginx.bs
-%{perl_vendorarch}/auto/nginx/nginx.so
-%{perl_vendorarch}/nginx.pm
-%{ngx_sbindir}
-%{_mandir}/man3/nginx.3pm*
-/srv/www/htdocs/50x.html
-/srv/www/htdocs/index.html
-/var/adm/perl-modules/%{name}
-%{_sysconfdir}/init.d/%{pkg_name}
-%{_sbindir}/rc%{pkg_name}
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) /var/log/nginx/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/tmp/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/proxy/
-%dir %attr(750,%{ngx_user_group},%{ngx_user_group}) %{ngx_home}/fastcgi/
-%doc CHANGES* LICENSE README
-%doc conf/ contrib/
-
-%changelog
|
[-]
[+]
|
Added |
nginx-testing-SLE_10.spec
^
|
|
[-]
[+]
|
Added |
nginx-testing-SLE_11.spec
^
|
|
[-]
[+]
|
Added |
nginx-testing-SLE_11_SP1.spec
^
|
|
[-]
[+]
|
Added |
nginx-testing.spec
^
|
|
[-]
[+]
|
Deleted |
nginx.spec
^
|
@@ -1,190 +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
-
-Name: nginx
-Version: 0.7.67
-Release: 1
-Summary: Robust, small and high performance http and reverse proxy server
-Group: System Environment/Daemons
-
-License: BSD
-URL: http://nginx.net/
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-
-BuildRequires: pcre-devel,zlib-devel,openssl-devel,perl(ExtUtils::Embed)
-Requires: pcre,zlib,openssl
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires(pre): shadow-utils
-Requires(post): chkconfig
-Requires(preun): chkconfig, initscripts
-Requires(postun): initscripts
-
-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
-Source100: index.html
-Source101: poweredby.png
-Source102: nginx-logo.png
-Source103: 50x.html
-Source104: 404.html
-
-# 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
-
-# syslog patch, use syslog instead of nginx logfiles
-Patch2: nginx-syslog.patch
-#Patch3: nginx-unix-sockets.diff
-
-%description
-Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3
-proxy server written by Igor Sysoev.
-
-One third party module, nginx-upstream-fair, has been added.
-
-%prep
-%setup -q
-
-%patch0 -p0
-%patch1 -p0
-%patch2 -p1
-# %patch3 -p1
-%{__tar} zxvf %{SOURCE5}
-
-%build
-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_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_stub_status_module \
- --with-mail \
- --with-mail_ssl_module \
- --with-debug \
- --with-cc-opt="-O -pipe -mtune=generic -fomit-frame-pointer $(pcre-config --cflags)" \
- --add-module=%{_builddir}/nginx-%{version}/nginx-upstream-fair
-make %{?_smp_mflags}
-
-mv nginx-upstream-fair/README nginx-upstream-fair/README.nginx-upstream-fair
-
-%install
-rm -rf %{buildroot}
-make install DESTDIR=%{buildroot} INSTALLDIRS=vendor
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -type f -name perllocal.pod -exec rm -f {} \;
-find %{buildroot} -type f -empty -exec rm -f {} \;
-find %{buildroot} -type f -exec chmod 0644 {} \;
-find %{buildroot} -type f -name '*.so' -exec chmod 0755 {} \;
-chmod 0755 %{buildroot}%{_sbindir}/nginx
-%{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
-%{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
-%{__install} -p -D -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
-%{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/conf.d
-%{__install} -p -m 0644 %{SOURCE3} %{SOURCE4} %{SOURCE6} %{buildroot}%{nginx_confdir}/conf.d
-%{__install} -p -d -m 0755 %{buildroot}%{nginx_home_tmp}
-%{__install} -p -d -m 0755 %{buildroot}%{nginx_logdir}
-%{__install} -p -d -m 0755 %{buildroot}%{nginx_webroot}
-%{__install} -p -m 0644 %{SOURCE100} %{SOURCE101} %{SOURCE102} %{SOURCE103} %{SOURCE104} %{buildroot}%{nginx_webroot}
-
-# convert to UTF-8 all files that give warnings.
-for textfile in CHANGES
-do
- mv $textfile $textfile.old
- iconv --from-code ISO8859-1 --to-code UTF-8 --output $textfile $textfile.old
- rm -f $textfile.old
-done
-
-%clean
-rm -rf %{buildroot}
-
-%pre
-%{_sbindir}/useradd -c "Nginx user" -s /bin/false -r -d %{nginx_home} %{nginx_user} 2>/dev/null || :
-
-%post
-/sbin/chkconfig --add %{name}
-
-%preun
-if [ $1 = 0 ]; then
- /sbin/service %{name} stop >/dev/null 2>&1
- /sbin/chkconfig --del %{name}
-fi
-
-%postun
-if [ $1 -ge 1 ]; then
- /sbin/service %{name} condrestart > /dev/null 2>&1 || :
-fi
-
-%files
-%defattr(-,root,root,-)
-%doc LICENSE CHANGES README nginx-upstream-fair/README.nginx-upstream-fair
-%{nginx_datadir}/
-%{_sbindir}/%{name}
-# %{_mandir}/man3/%{name}.3pm.gz
-%{_initrddir}/%{name}
-%dir %{nginx_confdir}
-%dir %{nginx_confdir}/conf.d
-%config(noreplace) %{nginx_confdir}/conf.d/*.conf
-%config(noreplace) %{nginx_confdir}/win-utf
-%config(noreplace) %{nginx_confdir}/%{name}.conf.default
-%config(noreplace) %{nginx_confdir}/mime.types.default
-%config(noreplace) %{nginx_confdir}/fastcgi_params
-%config(noreplace) %{nginx_confdir}/fastcgi_params.default
-%config(noreplace) %{nginx_confdir}/fastcgi.conf
-%config(noreplace) %{nginx_confdir}/fastcgi.conf.default
-%config(noreplace) %{nginx_confdir}/koi-win
-%config(noreplace) %{nginx_confdir}/koi-utf
-%config(noreplace) %{nginx_confdir}/%{name}.conf
-%config(noreplace) %{nginx_confdir}/mime.types
-%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
-%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
-#%dir %{perl_vendorarch}/auto/%{name}
-#%{perl_vendorarch}/%{name}.pm
-#%{perl_vendorarch}/auto/%{name}/%{name}.so
-%attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home}
-%attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_tmp}
-%attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_logdir}
-
-
-%changelog
-* Wed Nov 17 2009 Juergen Gotteswinter <jg at internetx.de> 0.7.64-1
-
-- version bump to 0.7.64
-
-
-* Wed Oct 28 2009 Juergen Gotteswinter <jg at internetx.de> 0.7.63-1
-
-- version bump to 0.7.63
-
-* Fri Oct 23 2009 Juergen Gotteswinter <jg at internetx.de> 0.7.62-3
-- included nginx-socket-patch for unix socket support
|