nginx-vl.spec 36 KB

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