nginx-vl.spec 36 KB

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