nginx-vl.spec 39 KB

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