nginx-vl.spec 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346
  1. %bcond_with systemd
  2. # build mod_wsgi
  3. %bcond_with wsgi
  4. # build http_geoip_module
  5. %bcond_without geoip
  6. %bcond_without geoip2
  7. # build naxsi module
  8. %bcond_with naxsi
  9. # build modsecurity module
  10. %bcond_without modsecurity
  11. # build brotli module
  12. %bcond_without brotli
  13. %global nginx_modulesdir %{_libdir}/nginx/modules
  14. %global nginx_modconfdir %{_sysconfdir}/nginx/modules.d
  15. %define nginx_user www-data
  16. %define nginx_group %{nginx_user}
  17. %define nginx_home %{_localstatedir}/lib/nginx
  18. %define nginx_home_tmp %{nginx_home}/tmp
  19. %define nginx_home_cache %{nginx_home}/cache
  20. %define nginx_logdir %{_localstatedir}/log/nginx
  21. %define nginx_confdir %{_sysconfdir}/nginx
  22. %define nginx_datadir %{_datadir}/nginx
  23. %define nginx_webroot %{nginx_datadir}/html
  24. Summary: Robust, small and high performance http and reverse proxy server
  25. Summary(ja): 堅牢・軽量・高性能な HTTP およびリバースプロキシサーバ
  26. Name: nginx
  27. Group: servers
  28. %global nginx_version 1.26.2
  29. Version: %{nginx_version}
  30. # do not reset or decrease.
  31. Release: 24%{?_dist_release}%{?with_systemd:.systemd}
  32. Vendor: Project Vine
  33. Distribution: Vine Linux
  34. Packager: daisuke
  35. # BSD License (two clause)
  36. # http://www.freebsd.org/copyright/freebsd-license.html
  37. License: BSD
  38. URL: https://nginx.org/
  39. Source0: https://nginx.org/download/nginx-%{version}.tar.gz
  40. Source1: %{name}.init
  41. Source2: %{name}.logrotate
  42. Source3: nginx-virtual.conf.template
  43. Source4: nginx-ssl.conf
  44. Source5: %{name}.sysconfig
  45. Source10: nginx-vine.conf
  46. Source11: nginx-default-vine
  47. Source20: proxy_cache.conf
  48. Source21: nginx.service
  49. Source22: nginx-upgrade
  50. Source23: nginx-upgrade.8
  51. Source100: nginx-index.html
  52. Source101: poweredby-vine.png
  53. Source102: nginx-logo.png
  54. Source103: nginx-50x.html
  55. Source104: nginx-404.html
  56. %define ngx_fancyindex_version 0.5.2
  57. Source1000: https://github.com/aperezdc/ngx-fancyindex/releases/download/v%{ngx_fancyindex_version}/ngx-fancyindex-0.5.2.tar.xz
  58. # https://github.com/giom/nginx_accept_language_module
  59. %define nginx_accept_language_module_version 2f69842
  60. Source1010: giom-nginx_accept_language_module-%{nginx_accept_language_module_version}.tar.gz
  61. %define passenger_version 6.0.23
  62. Source1020: https://github.com/phusion/passenger/releases/download/release-%{passenger_version}/passenger-%{passenger_version}.tar.gz
  63. # https://github.com/gnosek/nginx-upstream-fair
  64. %define upstream_fair_version a18b409
  65. Source1030: gnosek-nginx-upstream-fair-%{upstream_fair_version}.tar.gz
  66. %define mod_wsgi_version 6975f0ec7eeb
  67. Source2000: lifeeth-mod_wsgi-%{mod_wsgi_version}.tar.bz2
  68. %define nginx_dav_ext_module_version 3.0.0
  69. Source2010: https://github.com/arut/nginx-dav-ext-module/archive/v%{nginx_dav_ext_module_version}.tar.gz#/nginx-dav-ext-module-%{nginx_dav_ext_module_version}.tar.gz
  70. %if %{with naxsi}
  71. %global with_naxsi 1
  72. %endif
  73. %global naxsi_version 0.56
  74. %global naxsi_srcversion untagged-afabfc163946baa8036f
  75. Source2020: https://github.com/nbs-system/naxsi/archive/%{naxsi_srcversion}.tar.gz#/naxsi-%{naxsi_srcversion}.tar.gz
  76. Source2021: naxsi_params
  77. %if %{with geoip2}
  78. %global with_geoip2 1
  79. %global geoip2_version 3.4
  80. Source2030: https://github.com/leev/ngx_http_geoip2_module/archive/%{geoip2_version}.tar.gz#/ngx_http_geoip2_module-%{geoip2_version}.tar.gz
  81. %endif
  82. %if %{with modsecurity}
  83. %global with_modsecurity 1
  84. %global modsecurity_version 1.0.3
  85. %global modsecurity_hash ef64996aedd4bb5fa1831631361244813d48b82f
  86. #Source2040: https://github.com/SpiderLabs/ModSecurity-nginx/releases/download/v%{modsecurity_version}/modsecurity-nginx-v%{modsecurity_version}.tar.gz
  87. Source2040: https://github.com/SpiderLabs/ModSecurity-nginx/archive/%{modsecurity_hash}.tar.gz
  88. %endif
  89. %if %{with brotli}
  90. %global with_brotli 1
  91. %global brotli_version 1.0.0~rc
  92. %global brotli_commit a71f9312c2deb28875acc7bacfdd5695a111aa53
  93. Source2050: https://github.com/google/ngx_brotli/archive/%{brotli_commit}.tar.gz#/ngx_brotli-%{brotli_commit}.tar.gz
  94. %endif
  95. # removes -Werror in upstream build scripts. -Werror conflicts with
  96. # -D_FORTIFY_SOURCE=2 causing warnings to turn into errors.
  97. Patch0: 0001-remove-Werror-in-upstream-build-scripts.patch
  98. # downstream patch - fix PIDFile race condition (rhbz#1869026)
  99. # rejected upstream: https://trac.nginx.org/nginx/ticket/1897
  100. Patch1: 0002-fix-PIDFile-handling.patch
  101. # to fix https://github.com/gnosek/nginx-upstream-fair/pull/23
  102. Patch101: gnosek-nginx-upstream-fair-pull-23.patch
  103. # fix buffer size for zlib-ng
  104. Patch200: nginx-zlib_ng.patch
  105. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  106. BuildRequires: libboost-devel
  107. BuildRequires: libxcrypt-devel
  108. BuildRequires: libnsl2-devel
  109. BuildRequires: pcre2-devel
  110. BuildRequires: zlib-devel
  111. BuildRequires: openssl-devel
  112. BuildRequires: libxml2-devel
  113. BuildRequires: libxslt-devel
  114. BuildRequires: curl-devel
  115. BuildRequires: perl >= 2:5.34.0
  116. # for /usr/sbin/useradd
  117. Requires(pre): shadow-utils
  118. %if %{with systemd}
  119. BuildRequires: systemd
  120. Requires(post): systemd
  121. Requires(preun): systemd
  122. Requires(postun): systemd
  123. %else
  124. Requires(post): chkconfig
  125. # for /sbin/service
  126. Requires(preun): chkconfig, initscripts
  127. Requires(postun): initscripts
  128. %endif
  129. %if "%{_dist_release}" > "vl6"
  130. Requires(pre): www-common
  131. %endif
  132. Provides: webserver
  133. %description
  134. Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3
  135. proxy server written by Igor Sysoev.
  136. %description -l ja
  137. Nginx [engine x/エンジンX] は Igor Sysoev により開発された以下の機能をもつ
  138. 堅牢・軽量・高性能なHTTPサーバかつリバースプロキシサーバです。
  139. - HTTP(S) サーバ
  140. - HTTP(S) リバースプロキシサーバ
  141. - IMAP/POP3 プロキシサーバ
  142. %package passenger
  143. Summary: mod_passenger for Nginx
  144. Summary(ja): Nginx用Passenger
  145. Version: %{passenger_version}
  146. Group: servers
  147. BuildRequires: ruby, rubygem-rake
  148. Requires: ruby, rubygem-rake
  149. BuildRequires: ruby-devel, ruby-rubygems
  150. Requires: ruby-rubygems
  151. Requires: %{name} = %{nginx_version}-%{release}
  152. %description passenger
  153. Nginx [engine x] is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3
  154. This package contains nginx server with passenger support.
  155. %description -l ja passenger
  156. Nginx [engine x/エンジンX] は Igor Sysoev により開発された以下の機能をもつ
  157. 堅牢・軽量・高性能なHTTPサーバかつリバースプロキシサーバです。
  158. - HTTP(S) サーバ
  159. - HTTP(S) リバースプロキシサーバ
  160. - IMAP/POP3 プロキシサーバ
  161. このパッケージには Passenger サポートを含んだ nginxサーバが入っています。
  162. %if %{with geoip}
  163. %package geoip
  164. Summary: Nginx HTTP geoip module
  165. Group: servers
  166. BuildRequires: GeoIP-devel
  167. Requires: %{name} = %{nginx_version}-%{release}
  168. Requires: GeoIP
  169. %description geoip
  170. %{summary}.
  171. %endif
  172. %package image-filter
  173. Summary: Nginx HTTP image filter module
  174. Group: servers
  175. BuildRequires: gd-devel
  176. Requires: %{name} = %{nginx_version}-%{release}
  177. Requires: gd
  178. %description image-filter
  179. %{summary}.
  180. %package perl
  181. Summary: Nginx HTTP perl module
  182. Group: servers
  183. BuildRequires: perl
  184. BuildRequires: perl(ExtUtils::Embed)
  185. Requires: %{name} = %{nginx_version}-%{release}
  186. Requires: perl >= 2:5.34.0
  187. %description perl
  188. %{summary}.
  189. %package xslt-filter
  190. Summary: Nginx XSLT module
  191. Group: servers
  192. BuildRequires: libxslt-devel
  193. Requires: %{name} = %{nginx_version}-%{release}
  194. %description xslt-filter
  195. %{summary}.
  196. %package mail
  197. Summary: Nginx mail modules
  198. Group: servers
  199. Requires: %{name} = %{nginx_version}-%{release}
  200. %description mail
  201. %{summary}.
  202. %package stream
  203. Summary: Nginx stream modules
  204. Group: servers
  205. Requires: %{name} = %{nginx_version}-%{release}
  206. %description stream
  207. %{summary}.
  208. %package dav-ext
  209. Summary: Nginx dav-ext modules
  210. Version: %{nginx_dav_ext_module_version}
  211. Group: servers
  212. Requires: %{name} = %{nginx_version}-%{release}
  213. %description dav-ext
  214. %{summary}.
  215. %if %{with geoip2}
  216. %package http-geoip2
  217. Summary: Nginx HTTP geoip2 modules
  218. Version: %{geoip2_version}
  219. Group: servers
  220. BuildRequires: libmaxminddb-devel
  221. Requires: %{name} = %{nginx_version}-%{release}
  222. %description http-geoip2
  223. %{summary}.
  224. %package stream-geoip2
  225. Summary: Nginx stream geoip2 modules
  226. Version: %{geoip2_version}
  227. Group: servers
  228. BuildRequires: libmaxminddb-devel
  229. Requires: %{name} = %{nginx_version}-%{release}
  230. Requires: %{name}-stream = %{nginx_version}-%{release}
  231. %description stream-geoip2
  232. %{summary}.
  233. %endif
  234. %if %{with naxsi}
  235. %package naxsi
  236. Summary: an open-source, high performance, low rules maintenance WAF for NGINX
  237. Summary(ja): NGiNXのためのOSS・高パフォーマンス・低メンテナンスコストなWAF
  238. Version: %{naxsi_version}
  239. Group: servers
  240. License: GPL3
  241. Requires: %{name} = %{nginx_version}-%{release}
  242. %description naxsi
  243. NAXSI means Nginx Anti XSS & SQL Injection.
  244. Technically, it is a third party nginx module, available as a package for
  245. many UNIX-like platforms. This module, by default, reads a small subset of
  246. simple (and readable) rules containing 99% of known patterns involved in
  247. website vulnerabilities. For example, <, | or drop are not supposed to be
  248. part of a URI.
  249. Being very simple, those patterns may match legitimate queries, it is
  250. the Naxsi's administrator duty to add specific rules that will whitelist
  251. legitimate behaviours. The administrator can either add whitelists manually
  252. by analyzing nginx's error log, or (recommended) start the project with an intensive auto-learning phase that will automatically generate whitelisting
  253. rules regarding a website's behaviour.
  254. In short, Naxsi behaves like a DROP-by-default firewall, the only task is
  255. to add required ACCEPT rules for the target website to work properly.
  256. %endif
  257. %if %{with modsecurity}
  258. %package modsecurity
  259. Summary: The ModSecurity-nginx connector
  260. Summary(ja): ModSecurity Nginxコネクター
  261. Version: %{modsecurity_version}
  262. Group: servers
  263. License: ASL 2.0
  264. BuildRequires: libmodsecurity-devel
  265. Requires: %{name} = %{nginx_version}-%{release}
  266. %description modsecurity
  267. The ModSecurity-nginx connector is the connection point between
  268. nginx and libmodsecurity (ModSecurity v3). Said another way, this
  269. project provides a communication channel between nginx and libmodsecurity.
  270. This connector is required to use LibModSecurity with nginx.
  271. %endif
  272. %if %{with brotli}
  273. %package brotli
  274. Summary: brotli compression module for Nginx
  275. Summary(ja): Nginx用brotli圧縮モジュール
  276. Version: %{brotli_version}
  277. Group: servers
  278. License: BSD
  279. BuildRequires: brotli-devel
  280. Requires: %{name} = %{nginx_version}-%{release}
  281. %description brotli
  282. ngx_brotli is a set of two nginx modules:
  283. - ngx_brotli filter module - used to compress responses on-the-fly,
  284. - ngx_brotli static module - used to serve pre-compressed files.
  285. %endif
  286. %debug_package
  287. %if %{with systemd}
  288. %define rundir /run
  289. %else
  290. %define rundir %{_localstatedir}/run
  291. %endif
  292. %prep
  293. %setup -q -a 1000 -a 1010 -a 1020 -a 1030 %{?with_wsgi:-a 2000} -a 2010 %{?with_naxsi:-a 2020} %{?with_geoip2:-a 2030} %{?with_modsecurity:-a 2040} %{?with_brotli:-a 2050}
  294. %patch0 -p1
  295. %patch1 -p1
  296. %patch200 -p1
  297. # pushd passenger-%{passenger_version}/ext/
  298. # %patch100 -p2
  299. # popd
  300. pushd gnosek-nginx-upstream-fair-%{upstream_fair_version}
  301. %patch101 -p1
  302. popd
  303. pushd passenger-%{passenger_version}
  304. #patch1000 -p1
  305. popd
  306. %if %{with modsecurity}
  307. rm -rf modsecurity-doc
  308. mkdir -p modsecurity-doc
  309. pushd ModSecurity-nginx-%{modsecurity_hash}
  310. cp LICENSE README.md ../modsecurity-doc/
  311. popd
  312. %endif
  313. %build
  314. %set_build_flags
  315. # nginx does not utilize a standard configure script. It has its own
  316. # and the standard configure options cause the nginx configure script
  317. # to error out. This is is also the reason for the DESTDIR environment
  318. # variable. The configure script(s) have been patched (Patch1 and
  319. # Patch2) in order to support installing into a build environment.
  320. export DESTDIR=%{buildroot}
  321. CONFIGOPTS="\
  322. --user=%{nginx_user} \
  323. --group=%{nginx_group} \
  324. --prefix=%{nginx_datadir} \
  325. --sbin-path=%{_sbindir}/%{name} \
  326. --modules-path=%{nginx_modulesdir} \
  327. --conf-path=%{nginx_confdir}/%{name}.conf \
  328. --error-log-path=%{nginx_logdir}/error.log \
  329. --http-log-path=%{nginx_logdir}/access.log \
  330. --http-client-body-temp-path=%{nginx_home_tmp}/client_body \
  331. --http-proxy-temp-path=%{nginx_home_tmp}/proxy \
  332. --http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \
  333. --pid-path=%{rundir}/%{name}.pid \
  334. --lock-path=%{_localstatedir}/lock/subsys/%{name} \
  335. --with-file-aio \
  336. --with-ipv6 \
  337. --with-http_ssl_module \
  338. --with-http_v2_module \
  339. --with-http_realip_module \
  340. --with-http_addition_module \
  341. --with-http_xslt_module=dynamic \
  342. --with-http_image_filter_module=dynamic \
  343. %if %{with geoip}
  344. --with-http_geoip_module=dynamic \
  345. %endif
  346. --with-http_sub_module \
  347. --with-http_dav_module \
  348. --with-http_flv_module \
  349. --with-http_mp4_module \
  350. --with-http_gunzip_module \
  351. --with-http_gzip_static_module \
  352. --with-http_auth_request_module \
  353. --with-http_random_index_module \
  354. --with-http_secure_link_module \
  355. --with-http_degradation_module \
  356. --with-http_stub_status_module \
  357. --with-http_perl_module=dynamic \
  358. --with-mail=dynamic \
  359. --with-mail_ssl_module \
  360. --with-stream=dynamic \
  361. --with-stream_ssl_preread_module \
  362. --add-module=ngx-fancyindex-%{ngx_fancyindex_version} \
  363. --add-module=giom-nginx_accept_language_module-%{nginx_accept_language_module_version} \
  364. --add-module=gnosek-nginx-upstream-fair-%{upstream_fair_version} \
  365. %if %{with wsgi}
  366. --add-module=lifeeth-mod_wsgi-%{mod_wsgi_version} \
  367. %endif
  368. --add-dynamic-module=nginx-dav-ext-module-%{nginx_dav_ext_module_version} \
  369. %if %{with naxsi}
  370. --add-dynamic-module=naxsi-%{naxsi_srcversion}/naxsi_src \
  371. %endif
  372. %if %{with geoip2}
  373. --add-dynamic-module=ngx_http_geoip2_module-%{geoip2_version} \
  374. %endif
  375. %if %{with modsecurity}
  376. --add-dynamic-module=ModSecurity-nginx-%{modsecurity_hash} \
  377. %endif
  378. %if %{with brotli}
  379. --with-compat \
  380. --add-dynamic-module=ngx_brotli-%{brotli_commit} \
  381. %endif
  382. --add-dynamic-module=passenger-%{passenger_version}/src/nginx_module \
  383. %ifarch i686
  384. --with-cpu-opt=pentiumpro \
  385. --with-zlib-asm=pentiumpro \
  386. --with-md5-asm \
  387. --with-sha1-asm \
  388. %endif
  389. "
  390. ./configure \
  391. $CONFIGOPTS \
  392. --with-cc-opt="%{optflags}"
  393. %make_build
  394. %install
  395. rm -rf %{buildroot}
  396. %make_install INSTALLDIRS=vendor
  397. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  398. find %{buildroot} -type f -name perllocal.pod -exec rm -f {} \;
  399. find %{buildroot} -type f -empty -exec rm -f {} \;
  400. find %{buildroot} -type f -exec chmod 0644 {} \;
  401. find %{buildroot} -type f -name '*.so' -exec chmod 0755 {} \;
  402. chmod 0755 %{buildroot}%{_sbindir}/nginx
  403. %if %{with systemd}
  404. install -p -d -m 0755 %{buildroot}%{_unitdir}
  405. install -p -D -m 0644 %{SOURCE21} \
  406. %{buildroot}%{_unitdir}/nginx.service
  407. install -p -D -m 0755 %{SOURCE22} %{buildroot}%{_bindir}/nginx-upgrade
  408. install -p -D -m 0644 %{SOURCE23} %{buildroot}%{_mandir}/man8/nginx-upgrade.8
  409. %else
  410. %{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
  411. %endif
  412. %{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
  413. sed -i -e 's|@rundir@|%{rundir}|g' %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
  414. %{__install} -p -D -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
  415. %{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/conf.d
  416. %{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/sites.d
  417. %{__install} -p -m 0644 %{SOURCE3} %{buildroot}%{nginx_confdir}/sites.d/virtual.conf.template
  418. %{__install} -p -m 0644 %{SOURCE4} %{buildroot}%{nginx_confdir}/conf.d/ssl.conf
  419. %{__sed} \
  420. -e 's/__NGINXUSER__/%{nginx_user}/g' \
  421. %if %{with systemd}
  422. -e 's|/var/run/nginx.pid|/run/nginx.pid|g' \
  423. %endif
  424. %{SOURCE10} > %{buildroot}%{nginx_confdir}/nginx.conf
  425. %{__cp} %{buildroot}%{nginx_confdir}/nginx.conf %{buildroot}%{nginx_confdir}/nginx.conf.default
  426. %{__install} -p -m 0644 %{SOURCE11} %{buildroot}%{nginx_confdir}/sites.d/default
  427. %{__install} -p -m 0644 %{SOURCE20} %{buildroot}%{nginx_confdir}/conf.d/proxy_cache.conf
  428. %{__install} -p -d -m 0755 %{buildroot}%{nginx_home_cache}
  429. %{__install} -p -d -m 0755 %{buildroot}%{nginx_home_tmp}
  430. %{__install} -p -d -m 0755 %{buildroot}%{nginx_logdir}
  431. %{__install} -p -d -m 0755 %{buildroot}%{nginx_webroot}
  432. %{__install} -p -m 0644 %{SOURCE100} %{buildroot}%{nginx_webroot}/index.html
  433. %{__install} -p -m 0644 %{SOURCE101} %{buildroot}%{nginx_webroot}/poweredby.png
  434. %{__install} -p -m 0644 %{SOURCE102} %{buildroot}%{nginx_webroot}/nginx-logo.png
  435. %{__install} -p -m 0644 %{SOURCE103} %{buildroot}%{nginx_webroot}/50x.html
  436. %{__install} -p -m 0644 %{SOURCE104} %{buildroot}%{nginx_webroot}/404.html
  437. %{__install} -p -d -m 0755 %{buildroot}%{nginx_modulesdir}
  438. %{__install} -p -d -m 0755 %{buildroot}%{nginx_modconfdir}
  439. %if %{with wsgi}
  440. %{__install} -p -m 0644 \
  441. lifeeth-mod_wsgi-%{mod_wsgi_version}/conf/wsgi_vars \
  442. %{buildroot}%{nginx_confdir}
  443. cp -f lifeeth-mod_wsgi-%{mod_wsgi_version}/README README.mod_wsgi
  444. %endif
  445. # upstream fair module document
  446. cp -f gnosek-nginx-upstream-fair-%{upstream_fair_version}/README README.upstream_fair
  447. # document for nginx-dav-ext-module
  448. cp -f nginx-dav-ext-module-%{nginx_dav_ext_module_version}/LICENSE LICENSE.dav-ext-module
  449. cp -f nginx-dav-ext-module-%{nginx_dav_ext_module_version}/README.rst README.dav-ext-module.rst
  450. # configuration for dynamic modules
  451. %if %{with geoip}
  452. echo 'load_module "%{nginx_modulesdir}/ngx_http_geoip_module.so";' \
  453. > %{buildroot}%{nginx_modconfdir}/geoip.conf
  454. %endif
  455. echo 'load_module "%{nginx_modulesdir}/ngx_http_image_filter_module.so";' \
  456. > %{buildroot}%{nginx_modconfdir}/image-filter.conf
  457. echo 'load_module "%{nginx_modulesdir}/ngx_http_perl_module.so";' \
  458. > %{buildroot}%{nginx_modconfdir}/perl.conf
  459. echo 'load_module "%{nginx_modulesdir}/ngx_http_xslt_filter_module.so";' \
  460. > %{buildroot}%{nginx_modconfdir}/xslt-filter.conf
  461. echo 'load_module "%{nginx_modulesdir}/ngx_mail_module.so";' \
  462. > %{buildroot}%{nginx_modconfdir}/mail.conf
  463. echo 'load_module "%{nginx_modulesdir}/ngx_stream_module.so";' \
  464. > %{buildroot}%{nginx_modconfdir}/stream.conf
  465. echo 'load_module "%{nginx_modulesdir}/ngx_http_dav_ext_module.so";' \
  466. > %{buildroot}%{nginx_modconfdir}/dav-ext.conf
  467. echo 'load_module "%{nginx_modulesdir}/ngx_http_passenger_module.so";' \
  468. > %{buildroot}%{nginx_modconfdir}/passenger.conf
  469. %if %{with geoip2}
  470. # geoip2 module
  471. cp -f ngx_http_geoip2_module-%{geoip2_version}/LICENSE LICENSE.geoip2
  472. cp -f ngx_http_geoip2_module-%{geoip2_version}/README.md README.geoip2.md
  473. echo 'load_module "%{nginx_modulesdir}/ngx_http_geoip2_module.so";' \
  474. > %{buildroot}%{nginx_modconfdir}/http-geoip2.conf
  475. echo 'load_module "%{nginx_modulesdir}/ngx_stream_geoip2_module.so";' \
  476. > %{buildroot}%{nginx_modconfdir}/stream-geoip2.conf
  477. %endif
  478. %if %{with naxsi}
  479. # NAXSI module
  480. cp -f naxsi-%{naxsi_srcversion}/LICENSE LICENSE.naxsi
  481. cp -f naxsi-%{naxsi_srcversion}/README.md README.naxsi.md
  482. install -p -m0644 naxsi-%{naxsi_srcversion}/naxsi_config/naxsi_core.rules \
  483. %{buildroot}%{nginx_confdir}/
  484. install -p -m0644 %{SOURCE2021} %{buildroot}%{nginx_confdir}/naxsi_params
  485. echo 'load_module "%{nginx_modulesdir}/ngx_http_naxsi_module.so";' \
  486. > %{buildroot}%{nginx_modconfdir}/naxsi.conf
  487. %endif
  488. %if %{with modsecurity}
  489. # modsecurity module
  490. echo 'load_module "%{nginx_modulesdir}/ngx_http_modsecurity_module.so";' \
  491. > %{buildroot}%{nginx_modconfdir}/modsecurity.conf
  492. %endif
  493. %if %{with brotli}
  494. # modsecurity module
  495. cat <<EOF > %{buildroot}%{nginx_modconfdir}/brotli.conf
  496. load_module %{nginx_modulesdir}/ngx_http_brotli_filter_module.so;
  497. load_module %{nginx_modulesdir}/ngx_http_brotli_static_module.so;
  498. EOF
  499. %endif
  500. touch %{buildroot}%{nginx_confdir}/conf.d/virtual.conf
  501. # convert to UTF-8 all files that give warnings.
  502. for textfile in CHANGES
  503. do
  504. mv $textfile $textfile.old
  505. iconv --from-code ISO8859-1 --to-code UTF-8 --output $textfile $textfile.old
  506. rm -f $textfile.old
  507. done
  508. %clean
  509. rm -rf %{buildroot}
  510. %pre
  511. if [ -L %{_sbindir}/nginx ]; then
  512. update-alternatives --remove nginx %{_sbindir}/nginx.normal ||:
  513. update-alternatives --remove nginx %{_sbindir}/nginx.passenger ||:
  514. rm -f %{_sbindir}/nginx
  515. fi
  516. %post
  517. %if %{with systemd}
  518. %systemd_post nginx.service
  519. %else
  520. if [ $1 == 1 ]; then
  521. /sbin/chkconfig --add %{name}
  522. fi
  523. %endif
  524. %preun
  525. %if %{with systemd}
  526. %systemd_preun nginx.service
  527. %else
  528. if [ $1 = 0 -o -x /bin/systemctl ]; then
  529. /sbin/service %{name} stop >/dev/null 2>&1
  530. /sbin/chkconfig --del %{name}
  531. fi
  532. %endif
  533. %postun
  534. %if %{with systemd}
  535. %systemd_postun nginx.service
  536. if [ $1 -ge 1 ]; then
  537. /usr/bin/nginx-upgrade >/dev/null 2>&1 || :
  538. fi
  539. %else
  540. if [ $1 == 2 ]; then
  541. /sbin/service %{name} upgrade || :
  542. fi
  543. %endif
  544. %if %{with systemd}
  545. %if %{with geoip}
  546. %post geoip
  547. if [ $1 -eq 1 ]; then
  548. systemctl reload nginx.service >/dev/null 2>&1 || :
  549. fi
  550. %endif
  551. %post image-filter
  552. if [ $1 -eq 1 ]; then
  553. systemctl reload nginx.service >/dev/null 2>&1 || :
  554. fi
  555. %post perl
  556. if [ $1 -eq 1 ]; then
  557. systemctl reload nginx.service >/dev/null 2>&1 || :
  558. fi
  559. %post xslt-filter
  560. if [ $1 -eq 1 ]; then
  561. systemctl reload nginx.service >/dev/null 2>&1 || :
  562. fi
  563. %post mail
  564. if [ $1 -eq 1 ]; then
  565. systemctl reload nginx.service >/dev/null 2>&1 || :
  566. fi
  567. %post stream
  568. if [ $1 -eq 1 ]; then
  569. systemctl reload nginx.service >/dev/null 2>&1 || :
  570. fi
  571. %post dav-ext
  572. if [ $1 -eq 1 ]; then
  573. systemctl reload nginx.service >/dev/null 2>&1 || :
  574. fi
  575. %post http-geoip2
  576. if [ $1 -eq 1 ]; then
  577. systemctl reload nginx.service >/dev/null 2>&1 || :
  578. fi
  579. %post stream-geoip2
  580. if [ $1 -eq 1 ]; then
  581. systemctl reload nginx.service >/dev/null 2>&1 || :
  582. fi
  583. %if %{with naxsi}
  584. %post naxsi
  585. if [ $1 -eq 1 ]; then
  586. systemctl reload nginx.service >/dev/null 2>&1 || :
  587. fi
  588. %endif
  589. %if %{with modsecurity}
  590. %post modsecurity
  591. if [ $1 -eq 1 ]; then
  592. systemctl reload nginx.service >/dev/null 2>&1 || :
  593. fi
  594. %endif
  595. %if %{with brotli}
  596. %post brotli
  597. if [ $1 -eq 1 ]; then
  598. systemctl reload nginx.service >/dev/null 2>&1 || :
  599. fi
  600. %endif
  601. %endif
  602. %files
  603. %defattr(-,root,root,-)
  604. %license LICENSE
  605. %doc CHANGES README
  606. %doc README.upstream_fair
  607. %doc %{?with_wsgi:README.mod_wsgi}
  608. %{nginx_datadir}/
  609. %{_sbindir}/%{name}
  610. %{_mandir}/man3/%{name}.3pm.gz
  611. %if %{with systemd}
  612. %{_bindir}/nginx-upgrade
  613. %{_mandir}/man8/nginx-upgrade.8*
  614. %{_unitdir}/nginx.service
  615. %else
  616. %{_initrddir}/%{name}
  617. %endif
  618. %dir %{nginx_modulesdir}
  619. %dir %{nginx_modconfdir}
  620. %dir %{nginx_confdir}
  621. %dir %{nginx_confdir}/conf.d
  622. %config(noreplace) %{nginx_confdir}/conf.d/*.conf
  623. %ghost %config(noreplace) %{nginx_confdir}/conf.d/virtual.conf
  624. %config(noreplace) %{nginx_confdir}/sites.d/*
  625. %config(noreplace) %{nginx_confdir}/win-utf
  626. %config(noreplace) %{nginx_confdir}/%{name}.conf.default
  627. %config(noreplace) %{nginx_confdir}/mime.types.default
  628. %config(noreplace) %{nginx_confdir}/fastcgi_params
  629. %config(noreplace) %{nginx_confdir}/fastcgi_params.default
  630. %config(noreplace) %{nginx_confdir}/koi-win
  631. %config(noreplace) %{nginx_confdir}/koi-utf
  632. %config(noreplace) %{nginx_confdir}/%{name}.conf
  633. %config(noreplace) %{nginx_confdir}/mime.types
  634. %config(noreplace) %{nginx_confdir}/fastcgi.conf
  635. %config(noreplace) %{nginx_confdir}/fastcgi.conf.default
  636. %config(noreplace) %{nginx_confdir}/scgi_params
  637. %config(noreplace) %{nginx_confdir}/scgi_params.default
  638. %config(noreplace) %{nginx_confdir}/uwsgi_params
  639. %config(noreplace) %{nginx_confdir}/uwsgi_params.default
  640. %if %{with wsgi}
  641. %config(noreplace) %{nginx_confdir}/wsgi_vars
  642. %endif
  643. %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
  644. %config(noreplace) %{_sysconfdir}/sysconfig/%{name}
  645. %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home}
  646. %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_tmp}
  647. %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_cache}
  648. %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_logdir}
  649. %files passenger
  650. %defattr(-,root,root,-)
  651. %doc passenger-%{passenger_version}/doc/*.md
  652. %doc passenger-%{passenger_version}/doc/templates
  653. %doc passenger-%{passenger_version}/doc/images
  654. %config(noreplace) %{nginx_modconfdir}/passenger.conf
  655. %{nginx_modulesdir}/ngx_http_passenger_module.so
  656. %if %{with geoip}
  657. %files geoip
  658. %config(noreplace) %{nginx_modconfdir}/geoip.conf
  659. %{nginx_modulesdir}/ngx_http_geoip_module.so
  660. %endif
  661. %files image-filter
  662. %config(noreplace) %{nginx_modconfdir}/image-filter.conf
  663. %{nginx_modulesdir}/ngx_http_image_filter_module.so
  664. %files perl
  665. %config(noreplace) %{nginx_modconfdir}/perl.conf
  666. %{nginx_modulesdir}/ngx_http_perl_module.so
  667. %dir %{perl_vendorarch}/auto/%{name}
  668. %{perl_vendorarch}/%{name}.pm
  669. %{perl_vendorarch}/auto/%{name}/%{name}.so
  670. %files xslt-filter
  671. %config(noreplace) %{nginx_modconfdir}/xslt-filter.conf
  672. %{nginx_modulesdir}/ngx_http_xslt_filter_module.so
  673. %files mail
  674. %config(noreplace) %{nginx_modconfdir}/mail.conf
  675. %{nginx_modulesdir}/ngx_mail_module.so
  676. %files stream
  677. %config(noreplace) %{nginx_modconfdir}/stream.conf
  678. %{nginx_modulesdir}/ngx_stream_module.so
  679. %files dav-ext
  680. %license LICENSE.dav-ext-module
  681. %doc README.dav-ext-module.rst
  682. %config(noreplace) %{nginx_modconfdir}/dav-ext.conf
  683. %{nginx_modulesdir}/ngx_http_dav_ext_module.so
  684. %if %{with geoip2}
  685. %files http-geoip2
  686. %license LICENSE.geoip2
  687. %doc README.geoip2.md
  688. %{nginx_modulesdir}/ngx_http_geoip2_module.so
  689. %config(noreplace) %{nginx_modconfdir}/http-geoip2.conf
  690. %files stream-geoip2
  691. %license LICENSE.geoip2
  692. %doc README.geoip2.md
  693. %{nginx_modulesdir}/ngx_stream_geoip2_module.so
  694. %config(noreplace) %{nginx_modconfdir}/stream-geoip2.conf
  695. %endif
  696. %if %{with naxsi}
  697. %files naxsi
  698. %defattr(-,root,root,-)
  699. %license LICENSE.naxsi
  700. %doc README.naxsi.md
  701. %{nginx_modulesdir}/ngx_http_naxsi_module.so
  702. %config(noreplace) %{nginx_modconfdir}/naxsi.conf
  703. %config(noreplace) %{nginx_confdir}/naxsi_params
  704. %config(noreplace) %{nginx_confdir}/naxsi_core.rules
  705. %endif
  706. %if %{with modsecurity}
  707. %files modsecurity
  708. %defattr(-,root,root,-)
  709. %license modsecurity-doc/LICENSE
  710. %doc modsecurity-doc/README.md
  711. %{nginx_modulesdir}/ngx_http_modsecurity_module.so
  712. %config(noreplace) %{nginx_modconfdir}/modsecurity.conf
  713. %endif
  714. %if %{with brotli}
  715. %files brotli
  716. %config(noreplace) %{nginx_modconfdir}/brotli.conf
  717. %{nginx_modulesdir}/ngx_http_brotli_filter_module.so
  718. %{nginx_modulesdir}/ngx_http_brotli_static_module.so
  719. %endif
  720. %changelog
  721. * Tue Dec 17 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.26.2-24
  722. - fixed buffer size for zlib-ng.
  723. * Fri Aug 16 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.26.2-23
  724. - updated to 1.26.2.
  725. * Mon Oct 16 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.24.0-22
  726. - added Patch10000 to fix CVE-2023-44487.
  727. * Thu Aug 31 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.24.0-21
  728. - added brotli module.
  729. * Thu Apr 27 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.24.0-20
  730. - updated to 1.24.0.
  731. * Thu Oct 20 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22.1-19
  732. - updated to 1.22.1.
  733. - updated passenger to 6.0.15.
  734. * Tue May 31 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22.0-18
  735. - updated to 1.22.0.
  736. * Sat May 21 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.2-17
  737. - updated modsecurity-nginx to 1.0.3.
  738. * Fri Nov 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.2-16
  739. - rebuilt with perl-5.34.0.
  740. * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.2-15
  741. - updated to 1.20.2.
  742. - updated passenger to 6.0.12.
  743. - dropped Patch1000: fixed in upstream.
  744. * Fri Nov 12 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.1-14
  745. - fixed path to nginx.pid.
  746. - fixed systemd-unit.
  747. - dropped Patch1000.
  748. - imported Patch1000 from upstream.
  749. * Thu Oct 07 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.1-13
  750. - rebuilt with openssl-3.0.0.
  751. * Sun Jul 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.1-12
  752. - updated ModSecurity-nginx to 1.0.2.
  753. - dropped Patch2040.
  754. * Fri May 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.1-11
  755. - updated to 1.20.1.
  756. * Wed Apr 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.0-10
  757. - updated to 1.20.0.
  758. * Wed Feb 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.0-9
  759. - updated Patch2040.
  760. * Wed Oct 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.0-8
  761. - added Patch2040 to fix several bugs.
  762. * Tue May 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.0-7
  763. - updated to 1.18.0.
  764. - disabled NAXSI as default.
  765. * Sun Apr 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-6
  766. - added systemd support (disabled as default).
  767. * Mon Mar 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-5
  768. - updated modsecurity module to 1.0.1.
  769. - dropped Patch2040 and 2041: fixed in upstream.
  770. * Wed Nov 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-4
  771. - added Patch2041.
  772. * Thu Oct 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-3
  773. - added Patch2040.
  774. * Wed Oct 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-2
  775. - added ModSecurity module.
  776. * Sat Aug 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-1
  777. - updated to 1.16.1.
  778. - made to install NAXSI as a dynamic module.
  779. * Wed Aug 07 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-3
  780. - added NAXSI module.
  781. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-2
  782. - rebuilt with perl-5.26.
  783. * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-1
  784. - updated to 1.16.0.
  785. - updated passenger to 6.0.2.
  786. - updated nginx-dav-ext-module to 3.0.0.
  787. - dropped Patch1001: fixed in upstream.
  788. * Tue Nov 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.15.5-1
  789. - updated to 1.15.5.
  790. - updated passenger to 5.3.6.
  791. - updated ngx_fancyindex_version to 0.4.3.
  792. * Mon Mar 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.13.9-1
  793. - updated to 1.13.9.
  794. - updated ngx-fancyindex to 0.4.2.
  795. - updated nginx-accept_language_module to git HEAD.
  796. - updated nginx-upstream-fair to git HEAD.
  797. - updated passenger to 5.2.1.
  798. - added Source2010 (nginx-dav-ext-module).
  799. - enabled --with-stream and --with-stream_ssl_preread_module.
  800. * Fri Sep 8 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.5-1
  801. - updated to 1.13.5
  802. - updated passenger to 5.1.8
  803. * Fri Aug 11 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.4-1
  804. - updated to 1.13.4
  805. - updated passenger to 5.1.7
  806. * Fri Jul 14 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.3-1
  807. - updated to 1.13.3
  808. * Sat Jul 1 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.2-1
  809. - updated to 1.13.2
  810. * Sun Jun 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.1-1
  811. - updated to 1.13.1
  812. - updated passenger to 5.1.5
  813. * Wed Apr 26 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.0-1
  814. - updated to 1.13.0
  815. * Wed Apr 5 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.13-1
  816. - updated to 1.11.13
  817. * Sat Mar 25 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.12-1
  818. - updated to 1.11.12
  819. * Tue Mar 7 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.10-1
  820. - updated to 1.11.10
  821. - updated passenger to 5.1.2
  822. * Tue Jan 31 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.9-1
  823. - updated to 1.11.9
  824. * Wed Dec 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.8-1
  825. - updated to 1.11.8
  826. * Sat Nov 19 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.6-1
  827. - updated to 1.11.6
  828. - applied gnosek-nginx-upstream-fair-pull-23.patch against nginx-1.11.6
  829. * Mon Sep 5 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.3-1
  830. - updated to 1.11.3
  831. - updated passenger to 5.0.30
  832. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 1.10.1-2
  833. - rebuild with gcc-5.4.0
  834. * Tue Jun 7 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.1-1
  835. - updated to 1.10.1.
  836. - updated passenger to 5.0.28.
  837. * Wed Apr 20 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.15-1
  838. - updated to 1.9.15
  839. * Thu Apr 7 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.14-1
  840. - updated to 1.9.14
  841. - updated passenger to 5.0.27
  842. * Wed Apr 6 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.13-1
  843. - new upstream release
  844. * Mon Mar 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.12-1
  845. - updated to 1.9.12.
  846. - updated passenger to 5.0.26.
  847. * Wed Feb 17 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.11-1
  848. - new upstream release
  849. * Wed Feb 3 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.10-1
  850. - update to 1.9.10
  851. - update passenger to 5.0.24
  852. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.9-2
  853. - update passenger to 5.0.23
  854. * Sun Dec 20 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.9-1
  855. - new upstream release
  856. * Sat Dec 5 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.7-1
  857. - new upstream release
  858. * Sat Oct 10 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.5-1
  859. - new upstream release
  860. * Sun Aug 23 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.4-1
  861. - new upstream release
  862. * Thu Jul 16 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.3-1
  863. - update to 1.9.3
  864. - update passenger to 5.0.11
  865. * Thu Jun 25 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.2-2
  866. - updated Source4 (ssl.conf).
  867. * Wed Jun 17 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.2-1
  868. - update to 1.9.2
  869. - update passenger to 5.0.10
  870. - update ngx-fancyindex to 0.3.5
  871. * Thu Sep 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.2-1
  872. - update to 1.6.2
  873. - update passenger to 4.0.52
  874. * Fri Aug 08 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.1-1
  875. - new upstream release
  876. * Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.0-3
  877. - rebuild with new environment
  878. * Mon Jun 23 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.0-2
  879. - update passenger to 4.0.45
  880. * Fri Apr 25 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0-1
  881. - update to 1.6.0 (stable)
  882. * Thu Feb 20 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.10-2
  883. - update fancyindex to 0.3.3
  884. * Wed Feb 12 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.10-1
  885. - update to 1.5.10
  886. - update passenger to 4.0.37
  887. * Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.6-2
  888. - rebuilt with GeoIP-1.6.0.
  889. - added Patch100.
  890. * Tue Oct 29 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.6-1
  891. - update to 1.5.6
  892. - update passenger to 4.0.21
  893. * Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.1-2
  894. - rebuilt with gd-2.1.0.
  895. * Wed May 08 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-1
  896. - update to 1.4.1
  897. * Mon Apr 29 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-1
  898. - update to 1.4.0
  899. - enable SPDY module
  900. * Wed Feb 13 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.7-1
  901. - new upstream release
  902. - update passenger to 3.0.19
  903. - update ngx-fancyindex to upstream git master
  904. * Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.5-1
  905. - new upstream release
  906. - update passenger to 3.0.17
  907. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-3
  908. - rebuild with pcre-8.31
  909. * Tue Oct 09 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.4-2
  910. - added http_geoip_module.
  911. * Tue Sep 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-1
  912. - update to 1.2.4
  913. * Thu Jul 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
  914. - update to 1.2.2
  915. * Thu Jun 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-1
  916. - update to 1.2.1
  917. - change nginx user from nginx to www-data
  918. - R(pre): www-common
  919. * Wed Apr 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
  920. - update to 1.2.0
  921. - update passenger to 3.0.12
  922. - drop http_upstream_keepalive
  923. * Mon Mar 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.14-1
  924. - new upstream release
  925. * Thu Feb 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-1
  926. - update to 1.0.12
  927. * Tue Jan 10 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.11-1
  928. - update to 1.0.11
  929. - update passenger to 3.0.11
  930. * Mon Nov 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-1
  931. - update to 1.0.10
  932. * Tue Sep 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-2
  933. - update passenger to 3.0.9
  934. * Tue Aug 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
  935. - update to 1.0.6
  936. * Thu Jun 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  937. - update to 1.0.4
  938. * Wed May 18 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-3
  939. - add gnosek-nginx-upstream-fair module
  940. - add ngx_http_upstream_keepalive module
  941. * Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-2
  942. - add nginx-passenger sub pakckage
  943. - use alternatives to choose nginx with or without passenger
  944. - add BR: ruby, rubygems, rubygem-rake
  945. * Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
  946. - update to 1.0.2
  947. * Wed May 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
  948. - update to 1.0.1
  949. * Sun May 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-2
  950. - add bcond_with wsgi for mod_wsgi
  951. - add bcond_with passenger
  952. - you need to install rake.gem to build with this option.
  953. - add Provides: webserver
  954. * Tue Apr 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
  955. - new upstream release 1.0.0!
  956. * Sun Mar 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-2
  957. - rebuild with perl-5.12.3
  958. * Mon Jan 17 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-1
  959. - update to 0.8.54
  960. * Sun Nov 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.53-1
  961. - update to 0.8.53
  962. - add nginx_accept_language_module
  963. * Fri Sep 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.50-1
  964. - update to 0.8.50
  965. - update ngx-fancyindex to 0.3
  966. - add BR: libxml2-devel, libxslt-devel
  967. - add scgi_params* and uwsgi_params* to %%files
  968. * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.35-1
  969. - update to 0.8.35 (development version)
  970. - add sites.d/ to store vitualhost settings
  971. - split out default server settings to sites.d/default
  972. - add fancyindex module
  973. * Fri Dec 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.63-1
  974. - new upstream release
  975. * Sun Sep 20 2009 Shu KONNO <owa@bg.wakwak.com> 0.7.62-1
  976. - update to 0.7.62 (included security fix: VU#180065)
  977. * Wed Aug 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-4
  978. - fix typo
  979. * Thu Aug 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-3
  980. - add translated descriptions
  981. * Sat Jul 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-2
  982. - update 404.html/50x.html to use powered by vine logo.
  983. * Wed Jul 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-1
  984. - initial build for Vine Linux
  985. - update to 0.7.61
  986. * Sun May 17 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.36-2
  987. - init script updates from Gena Makhomed
  988. - remove nginx-upstream-fair
  989. * Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.36-1
  990. - update to 0.6.36
  991. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.35-3
  992. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  993. * Thu Feb 19 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.35-2
  994. - rebuild
  995. * Thu Feb 19 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.35-1
  996. - update to 0.6.35
  997. * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.6.34-2
  998. - rebuild with new openssl
  999. * Tue Dec 30 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.34-1
  1000. - update to 0.6.34
  1001. * Thu Dec 4 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.6.33-2
  1002. - Fix inclusion of /usr/share/nginx tree => no unowned directories.
  1003. * Sun Nov 23 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.33-1
  1004. - update to 0.6.33
  1005. * Tue Jul 22 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.32-1
  1006. - update to 0.6.32
  1007. - nginx now supports DESTDIR so removed the patches that enabled it
  1008. * Mon May 26 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.31-3
  1009. - init script fixes
  1010. - resolve 'listen 80 default' [#447873]
  1011. * Mon May 12 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.31-2
  1012. - update to 0.6.31
  1013. * Sun May 11 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.30-2
  1014. - upate to new upstream stable branch 0.6
  1015. - added 3rd party module nginx-upstream-fair
  1016. - added default webpages
  1017. * Sun Apr 20 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.35-2
  1018. - update init script to match recommended guidelines
  1019. - add /etc/nginx/conf.d support [#443280]
  1020. - use /etc/sysconfig/nginx to determine nginx.conf [#442708]
  1021. * Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.5.35-3
  1022. - add Requires for versioned perl (libperl.so)
  1023. - drop silly file Requires
  1024. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.35-2
  1025. - Autorebuild for GCC 4.3
  1026. * Sat Jan 19 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.35-1
  1027. - update to 0.5.35
  1028. * Sat Dec 15 2007 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.34-1
  1029. - update to 0.5.34
  1030. * Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 0.5.33-2
  1031. - Rebuild for deps
  1032. * Sun Nov 11 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.33-1
  1033. - update to 0.5.33
  1034. * Mon Sep 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.32-1
  1035. - updated to 0.5.32
  1036. - fixed rpmlint UTF-8 complaints.
  1037. * Sat Aug 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.31-2
  1038. - added --with-http_stub_status_module build option.
  1039. - added --with-http_sub_module build option.
  1040. - added use of pcre-config --cflags
  1041. * Fri Aug 17 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.31-1
  1042. - Update to 0.5.31
  1043. - specify license is BSD
  1044. * Sat Aug 11 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.30-2
  1045. - Add BuildRequires: perl-devel - fixing rawhide build
  1046. * Mon Jul 30 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.30-1
  1047. - Update to 0.5.30
  1048. * Tue Jul 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.29-1
  1049. - Update to 0.5.29
  1050. * Wed Jul 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.28-1
  1051. - Update to 0.5.28
  1052. * Mon Jul 09 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.27-1
  1053. - Update to 0.5.27
  1054. * Mon Jun 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.26-1
  1055. - Update to 0.5.26
  1056. * Sat Apr 28 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.19-1
  1057. - Update to 0.5.19
  1058. * Mon Apr 02 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.17-1
  1059. - Update to 0.5.17
  1060. * Mon Mar 26 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.16-1
  1061. - Update to 0.5.16
  1062. - add ownership of /usr/share/nginx/html (#233950)
  1063. * Fri Mar 23 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-3
  1064. - fixed package review bugs (#235222) given by ruben@rubenkerkhof.com
  1065. * Thu Mar 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-2
  1066. - fixed package review bugs (#233522) given by kevin@tummy.com
  1067. * Thu Mar 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-1
  1068. - create patches to assist with building for Fedora
  1069. - initial packaging for Fedora