2024-01-06 07:38:27 +01:00
|
|
|
Name: nginx
|
2024-08-19 21:44:43 +02:00
|
|
|
Version: 1.27.1
|
2024-01-06 07:38:29 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 07:38:27 +01:00
|
|
|
Summary: High Performance Load Balancer, Web Server and Reverse Proxy
|
|
|
|
Group: System/Servers
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 07:38:28 +01:00
|
|
|
URL: https://nginx.org/
|
2024-01-06 07:38:27 +01:00
|
|
|
Source: https://github.com/nginx/nginx.git/release-%{version}/nginx-%{version}.tar.bz2
|
|
|
|
Source1: nginx.service
|
2024-01-06 07:38:28 +01:00
|
|
|
Source2: nginx-fastcgi-php.conf
|
|
|
|
Source3: nginx-sites-available-default
|
2024-01-06 07:38:29 +01:00
|
|
|
Patch0: nginx-1.25.1-sites-modules-enabled.patch
|
2024-01-06 07:38:27 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libGeoIP-devel
|
|
|
|
BuildRequires: libgd-devel
|
|
|
|
BuildRequires: libnsl-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-06 07:38:28 +01:00
|
|
|
BuildRequires: libpcre2-devel
|
2024-01-06 07:38:27 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 07:38:29 +01:00
|
|
|
BuildRequires: libxcrypt-devel
|
2024-01-06 07:38:27 +01:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
%systemd_requires
|
|
|
|
|
|
|
|
%description
|
|
|
|
High Performance Load Balancer, Web Server and Reverse Proxy.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 07:38:28 +01:00
|
|
|
#-D -T
|
|
|
|
#%patch0 -p1
|
2024-01-06 07:38:27 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 07:38:28 +01:00
|
|
|
#:<< _EOF
|
2024-01-06 07:38:27 +01:00
|
|
|
auto/configure \
|
|
|
|
--prefix=%{_localstatedir}/www/nginx \
|
|
|
|
--sbin-path=%{_sbindir}/nginx \
|
|
|
|
--conf-path=%{_sysconfdir}/nginx/nginx.conf \
|
2024-01-06 07:38:28 +01:00
|
|
|
--modules-path=%{_libdir}/nginx/modules \
|
2024-01-06 07:38:27 +01:00
|
|
|
--error-log-path=%{_localstatedir}/log/nginx/error_log \
|
|
|
|
--http-log-path=%{_localstatedir}/log/nginx/access_log \
|
|
|
|
--pid-path=/run/nginx.pid \
|
2024-01-06 07:38:28 +01:00
|
|
|
--with-compat \
|
|
|
|
--with-debug \
|
|
|
|
--with-file-aio \
|
2024-01-06 07:38:27 +01:00
|
|
|
--with-select_module \
|
|
|
|
--with-poll_module \
|
2024-01-06 07:38:28 +01:00
|
|
|
--with-http_auth_request_module \
|
2024-01-06 07:38:27 +01:00
|
|
|
--with-http_addition_module \
|
|
|
|
--with-http_dav_module \
|
2024-01-06 07:38:28 +01:00
|
|
|
--with-http_degradation_module \
|
2024-01-06 07:38:27 +01:00
|
|
|
--with-http_flv_module \
|
2024-01-06 07:38:28 +01:00
|
|
|
--with-http_geoip_module=dynamic \
|
2024-01-06 07:38:27 +01:00
|
|
|
--with-http_gunzip_module \
|
|
|
|
--with-http_gzip_static_module \
|
2024-01-06 07:38:28 +01:00
|
|
|
--with-http_image_filter_module=dynamic \
|
|
|
|
--with-http_mp4_module \
|
|
|
|
--with-http_perl_module=dynamic \
|
2024-01-06 07:38:27 +01:00
|
|
|
--with-http_random_index_module \
|
2024-01-06 07:38:28 +01:00
|
|
|
--with-http_realip_module \
|
2024-01-06 07:38:27 +01:00
|
|
|
--with-http_secure_link_module \
|
|
|
|
--with-http_slice_module \
|
2024-01-06 07:38:28 +01:00
|
|
|
--with-http_ssl_module \
|
2024-01-06 07:38:27 +01:00
|
|
|
--with-http_stub_status_module \
|
2024-01-06 07:38:28 +01:00
|
|
|
--with-http_sub_module \
|
|
|
|
--with-http_v2_module \
|
|
|
|
--with-http_xslt_module=dynamic \
|
2024-01-06 07:38:27 +01:00
|
|
|
--with-mail=dynamic \
|
|
|
|
--with-mail_ssl_module \
|
|
|
|
--with-stream=dynamic \
|
|
|
|
--with-stream_ssl_module \
|
|
|
|
--with-stream_realip_module \
|
|
|
|
--with-stream_geoip_module=dynamic \
|
2024-01-06 07:38:28 +01:00
|
|
|
--with-stream_ssl_preread_module \
|
|
|
|
--with-threads
|
2024-01-06 07:38:27 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/nginx.service
|
2024-01-06 07:38:28 +01:00
|
|
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/nginx/snippets/fastcgi-php.conf
|
|
|
|
install -D -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/nginx/sites-available/default
|
2024-01-06 07:38:28 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/nginx/sites-{available,enabled}
|
2024-01-06 07:38:28 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/nginx/modules-{available,enabled}
|
2024-01-06 07:38:28 +01:00
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_localstatedir}/www/html
|
|
|
|
cp %{buildroot}%{_localstatedir}/www/nginx/html/index.html \
|
|
|
|
%{buildroot}%{_localstatedir}/www/html/index.nginx-openmamba.html
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
rm -f %{buildroot}%{_sysconfdir}/nginx/*.default
|
2024-01-06 07:38:27 +01:00
|
|
|
|
|
|
|
find %{buildroot} -type f -name perllocal.pod -exec rm -f {} ';'
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
2024-01-06 07:38:28 +01:00
|
|
|
[ $1 -eq 1 ] && ln -s ../sites-available/default %{_sysconfdir}/nginx/sites-enabled/default
|
2024-01-06 07:38:27 +01:00
|
|
|
%systemd_post nginx
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun nginx
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun nginx
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/nginx
|
|
|
|
%config(noreplace) %{_sysconfdir}/nginx/fastcgi.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/nginx/fastcgi_params
|
|
|
|
%config(noreplace) %{_sysconfdir}/nginx/mime.types
|
|
|
|
%config(noreplace) %{_sysconfdir}/nginx/nginx.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/nginx/scgi_params
|
|
|
|
%config(noreplace) %{_sysconfdir}/nginx/uwsgi_params
|
2024-01-06 07:38:28 +01:00
|
|
|
%{_sysconfdir}/nginx/koi-utf
|
|
|
|
%{_sysconfdir}/nginx/koi-win
|
2024-01-06 07:38:27 +01:00
|
|
|
%{_sysconfdir}/nginx/win-utf
|
2024-01-06 07:38:28 +01:00
|
|
|
%dir %{_sysconfdir}/nginx/snippets
|
|
|
|
%{_sysconfdir}/nginx/snippets/fastcgi-php.conf
|
2024-01-06 07:38:28 +01:00
|
|
|
%dir %{_sysconfdir}/nginx/sites-available
|
2024-01-06 07:38:28 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/nginx/sites-available/default
|
2024-01-06 07:38:28 +01:00
|
|
|
%dir %{_sysconfdir}/nginx/sites-enabled
|
2024-01-06 07:38:28 +01:00
|
|
|
%dir %{_sysconfdir}/nginx/modules-available
|
|
|
|
%dir %{_sysconfdir}/nginx/modules-enabled
|
2024-01-06 07:38:27 +01:00
|
|
|
%{_sbindir}/nginx
|
|
|
|
%{_unitdir}/nginx.service
|
|
|
|
%dir %{_libdir}/nginx
|
2024-01-06 07:38:28 +01:00
|
|
|
%dir %{_libdir}/nginx/modules
|
|
|
|
%{_libdir}/nginx/modules/ngx_mail_module.so
|
|
|
|
%{_libdir}/nginx/modules/ngx_stream_module.so
|
|
|
|
%{_libdir}/nginx/modules/ngx_http_geoip_module.so
|
|
|
|
%{_libdir}/nginx/modules/ngx_http_image_filter_module.so
|
|
|
|
%{_libdir}/nginx/modules/ngx_http_perl_module.so
|
|
|
|
%{_libdir}/nginx/modules/ngx_http_xslt_filter_module.so
|
|
|
|
%{_libdir}/nginx/modules/ngx_stream_geoip_module.so
|
2024-01-06 07:38:27 +01:00
|
|
|
%{perl_sitearch}/*
|
|
|
|
%dir %{_localstatedir}/www/nginx
|
|
|
|
%dir %{_localstatedir}/www/nginx/html
|
|
|
|
%{_localstatedir}/www/nginx/html/*.html
|
2024-01-06 07:38:28 +01:00
|
|
|
%{_localstatedir}/www/html/index.nginx-openmamba.html
|
2024-01-06 07:38:27 +01:00
|
|
|
%dir %{_localstatedir}/log/nginx
|
|
|
|
%{_mandir}/man3/nginx.3pm*
|
|
|
|
|
|
|
|
%changelog
|
2024-08-19 21:44:43 +02:00
|
|
|
* Thu Aug 15 2024 Automatic Build System <autodist@openmamba.org> 1.27.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-07 13:14:04 +02:00
|
|
|
* Fri May 31 2024 Automatic Build System <autodist@openmamba.org> 1.27.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-24 17:27:58 +02:00
|
|
|
* Wed Apr 24 2024 Automatic Build System <autodist@openmamba.org> 1.26.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-18 10:17:59 +02:00
|
|
|
* Wed Apr 17 2024 Automatic Build System <autodist@openmamba.org> 1.25.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-23 18:54:40 +01:00
|
|
|
* Wed Feb 14 2024 Automatic Build System <autodist@openmamba.org> 1.25.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:29 +01:00
|
|
|
* Wed Oct 25 2023 Automatic Build System <autodist@mambasoft.it> 1.25.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:29 +01:00
|
|
|
* Wed Aug 16 2023 Automatic Build System <autodist@mambasoft.it> 1.25.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:29 +01:00
|
|
|
* Tue Jul 18 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.25.1-2mamba
|
|
|
|
- restore sites-modules-enabled patch
|
|
|
|
|
|
|
|
* Wed Jun 14 2023 Automatic Build System <autodist@mambasoft.it> 1.25.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed May 24 2023 Automatic Build System <autodist@mambasoft.it> 1.25.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 12 2023 Automatic Build System <autodist@mambasoft.it> 1.24.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 29 2023 Automatic Build System <autodist@mambasoft.it> 1.23.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:29 +01:00
|
|
|
* Sat Dec 17 2022 Automatic Build System <autodist@mambasoft.it> 1.23.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 20 2022 Automatic Build System <autodist@mambasoft.it> 1.23.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Automatic Build System <autodist@mambasoft.it> 1.23.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 22 2022 Automatic Build System <autodist@mambasoft.it> 1.23.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Fri Jun 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22.0-3mamba
|
|
|
|
- add and use modules-enabled folder; add more configuration options
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Sat Jun 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22.0-2mamba
|
|
|
|
- restore conf-sites-enabled patch
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Wed May 25 2022 Automatic Build System <autodist@mambasoft.it> 1.22.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Wed Jan 26 2022 Automatic Build System <autodist@mambasoft.it> 1.21.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Wed Dec 29 2021 Automatic Build System <autodist@mambasoft.it> 1.21.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Wed Nov 03 2021 Automatic Build System <autodist@mambasoft.it> 1.21.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Wed Sep 08 2021 Automatic Build System <autodist@mambasoft.it> 1.21.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Wed Sep 01 2021 Automatic Build System <autodist@mambasoft.it> 1.21.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21.1-3mamba
|
|
|
|
- provide snippets/fastcgi-php.conf and move default site from nginx.conf to sites-available/default
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Sun Aug 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21.1-2mamba
|
|
|
|
- configure with sites-enabled and site-available layout; remove .default configuration files
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Tue Jul 06 2021 Automatic Build System <autodist@mambasoft.it> 1.21.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Wed May 26 2021 Automatic Build System <autodist@mambasoft.it> 1.21.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Tue Apr 20 2021 Automatic Build System <autodist@mambasoft.it> 1.20.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Wed Apr 14 2021 Automatic Build System <autodist@mambasoft.it> 1.19.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Tue Mar 30 2021 Automatic Build System <autodist@mambasoft.it> 1.19.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Wed Mar 10 2021 Automatic Build System <autodist@mambasoft.it> 1.19.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Wed Feb 17 2021 Automatic Build System <autodist@mambasoft.it> 1.19.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:28 +01:00
|
|
|
* Sun Feb 14 2021 Automatic Build System <autodist@mambasoft.it> 1.19.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:27 +01:00
|
|
|
* Wed Apr 22 2020 Automatic Build System <autodist@mambasoft.it> 1.18.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:27 +01:00
|
|
|
* Thu Aug 15 2019 Automatic Build System <autodist@mambasoft.it> 1.16.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:27 +01:00
|
|
|
* Tue Apr 23 2019 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:38:27 +01:00
|
|
|
* Sat Oct 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15.5-1mamba
|
|
|
|
- package created using the webbuild interface
|