nginx-vl.spec 39 KB

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