nginx-vl.spec 39 KB

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