nginx-vl.spec 39 KB

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