nginx-vl.spec 39 KB

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