nginx-vl.spec 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072
  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: 2%{?_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. %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. %build
  266. # nginx does not utilize a standard configure script. It has its own
  267. # and the standard configure options cause the nginx configure script
  268. # to error out. This is is also the reason for the DESTDIR environment
  269. # variable. The configure script(s) have been patched (Patch1 and
  270. # Patch2) in order to support installing into a build environment.
  271. export DESTDIR=%{buildroot}
  272. CONFIGOPTS="\
  273. --user=%{nginx_user} \
  274. --group=%{nginx_group} \
  275. --prefix=%{nginx_datadir} \
  276. --sbin-path=%{_sbindir}/%{name} \
  277. --modules-path=%{nginx_modulesdir} \
  278. --conf-path=%{nginx_confdir}/%{name}.conf \
  279. --error-log-path=%{nginx_logdir}/error.log \
  280. --http-log-path=%{nginx_logdir}/access.log \
  281. --http-client-body-temp-path=%{nginx_home_tmp}/client_body \
  282. --http-proxy-temp-path=%{nginx_home_tmp}/proxy \
  283. --http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \
  284. --pid-path=%{_localstatedir}/run/%{name}.pid \
  285. --lock-path=%{_localstatedir}/lock/subsys/%{name} \
  286. --with-file-aio \
  287. --with-ipv6 \
  288. --with-http_ssl_module \
  289. --with-http_v2_module \
  290. --with-http_realip_module \
  291. --with-http_addition_module \
  292. --with-http_xslt_module=dynamic \
  293. --with-http_image_filter_module=dynamic \
  294. %if %{with geoip}
  295. --with-http_geoip_module=dynamic \
  296. %endif
  297. --with-http_sub_module \
  298. --with-http_dav_module \
  299. --with-http_flv_module \
  300. --with-http_mp4_module \
  301. --with-http_gunzip_module \
  302. --with-http_gzip_static_module \
  303. --with-http_auth_request_module \
  304. --with-http_random_index_module \
  305. --with-http_secure_link_module \
  306. --with-http_degradation_module \
  307. --with-http_stub_status_module \
  308. --with-http_perl_module=dynamic \
  309. --with-mail=dynamic \
  310. --with-mail_ssl_module \
  311. --with-stream=dynamic \
  312. --with-stream_ssl_preread_module \
  313. --add-module=ngx-fancyindex-%{ngx_fancyindex_version} \
  314. --add-module=giom-nginx_accept_language_module-%{nginx_accept_language_module_version} \
  315. --add-module=gnosek-nginx-upstream-fair-%{upstream_fair_version} \
  316. %if %{with wsgi}
  317. --add-module=lifeeth-mod_wsgi-%{mod_wsgi_version} \
  318. %endif
  319. --add-dynamic-module=nginx-dav-ext-module-%{nginx_dav_ext_module_version} \
  320. %if %{with naxsi}
  321. --add-dynamic-module=naxsi-%{naxsi_srcversion}/naxsi_src \
  322. %endif
  323. %if %{with geoip2}
  324. --add-dynamic-module=ngx_http_geoip2_module-%{geoip2_version} \
  325. %endif
  326. %if %{with modsecurity}
  327. --add-dynamic-module=modsecurity-nginx-v%{modsecurity_version} \
  328. %endif
  329. --add-dynamic-module=passenger-%{passenger_version}/src/nginx_module \
  330. %ifarch i686
  331. --with-cpu-opt=pentiumpro \
  332. --with-zlib-asm=pentiumpro \
  333. --with-md5-asm \
  334. --with-sha1-asm \
  335. %endif
  336. "
  337. ./configure \
  338. $CONFIGOPTS \
  339. --with-cc-opt="%{optflags}"
  340. make %{?_smp_mflags}
  341. %install
  342. rm -rf %{buildroot}
  343. make install DESTDIR=%{buildroot} INSTALLDIRS=vendor
  344. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  345. find %{buildroot} -type f -name perllocal.pod -exec rm -f {} \;
  346. find %{buildroot} -type f -empty -exec rm -f {} \;
  347. find %{buildroot} -type f -exec chmod 0644 {} \;
  348. find %{buildroot} -type f -name '*.so' -exec chmod 0755 {} \;
  349. chmod 0755 %{buildroot}%{_sbindir}/nginx
  350. %{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
  351. %{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
  352. %{__install} -p -D -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
  353. %{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/conf.d
  354. %{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/sites.d
  355. %{__install} -p -m 0644 %{SOURCE3} %{buildroot}%{nginx_confdir}/sites.d/virtual.conf.template
  356. %{__install} -p -m 0644 %{SOURCE4} %{buildroot}%{nginx_confdir}/conf.d/ssl.conf
  357. %{__sed} -e 's/__NGINXUSER__/%{nginx_user}/g' %{SOURCE10} > %{buildroot}%{nginx_confdir}/nginx.conf
  358. %{__cp} %{buildroot}%{nginx_confdir}/nginx.conf %{buildroot}%{nginx_confdir}/nginx.conf.default
  359. %{__install} -p -m 0644 %{SOURCE11} %{buildroot}%{nginx_confdir}/sites.d/default
  360. %{__install} -p -m 0644 %{SOURCE20} %{buildroot}%{nginx_confdir}/conf.d/proxy_cache.conf
  361. %{__install} -p -d -m 0755 %{buildroot}%{nginx_home_cache}
  362. %{__install} -p -d -m 0755 %{buildroot}%{nginx_home_tmp}
  363. %{__install} -p -d -m 0755 %{buildroot}%{nginx_logdir}
  364. %{__install} -p -d -m 0755 %{buildroot}%{nginx_webroot}
  365. %{__install} -p -m 0644 %{SOURCE100} %{buildroot}%{nginx_webroot}/index.html
  366. %{__install} -p -m 0644 %{SOURCE101} %{buildroot}%{nginx_webroot}/poweredby.png
  367. %{__install} -p -m 0644 %{SOURCE102} %{buildroot}%{nginx_webroot}/nginx-logo.png
  368. %{__install} -p -m 0644 %{SOURCE103} %{buildroot}%{nginx_webroot}/50x.html
  369. %{__install} -p -m 0644 %{SOURCE104} %{buildroot}%{nginx_webroot}/404.html
  370. %{__install} -p -d -m 0755 %{buildroot}%{nginx_modulesdir}
  371. %{__install} -p -d -m 0755 %{buildroot}%{nginx_modconfdir}
  372. %if %{with wsgi}
  373. %{__install} -p -m 0644 \
  374. lifeeth-mod_wsgi-%{mod_wsgi_version}/conf/wsgi_vars \
  375. %{buildroot}%{nginx_confdir}
  376. cp -f lifeeth-mod_wsgi-%{mod_wsgi_version}/README README.mod_wsgi
  377. %endif
  378. # upstream fair module document
  379. cp -f gnosek-nginx-upstream-fair-%{upstream_fair_version}/README README.upstream_fair
  380. # document for nginx-dav-ext-module
  381. cp -f nginx-dav-ext-module-%{nginx_dav_ext_module_version}/LICENSE LICENSE.dav-ext-module
  382. cp -f nginx-dav-ext-module-%{nginx_dav_ext_module_version}/README.rst README.dav-ext-module.rst
  383. # configuration for dynamic modules
  384. %if %{with geoip}
  385. echo 'load_module "%{nginx_modulesdir}/ngx_http_geoip_module.so";' \
  386. > %{buildroot}%{nginx_modconfdir}/geoip.conf
  387. %endif
  388. echo 'load_module "%{nginx_modulesdir}/ngx_http_image_filter_module.so";' \
  389. > %{buildroot}%{nginx_modconfdir}/image-filter.conf
  390. echo 'load_module "%{nginx_modulesdir}/ngx_http_perl_module.so";' \
  391. > %{buildroot}%{nginx_modconfdir}/perl.conf
  392. echo 'load_module "%{nginx_modulesdir}/ngx_http_xslt_filter_module.so";' \
  393. > %{buildroot}%{nginx_modconfdir}/xslt-filter.conf
  394. echo 'load_module "%{nginx_modulesdir}/ngx_mail_module.so";' \
  395. > %{buildroot}%{nginx_modconfdir}/mail.conf
  396. echo 'load_module "%{nginx_modulesdir}/ngx_stream_module.so";' \
  397. > %{buildroot}%{nginx_modconfdir}/stream.conf
  398. echo 'load_module "%{nginx_modulesdir}/ngx_http_dav_ext_module.so";' \
  399. > %{buildroot}%{nginx_modconfdir}/dav-ext.conf
  400. echo 'load_module "%{nginx_modulesdir}/ngx_http_passenger_module.so";' \
  401. > %{buildroot}%{nginx_modconfdir}/passenger.conf
  402. %if %{with geoip2}
  403. # geoip2 module
  404. cp -f ngx_http_geoip2_module-%{geoip2_version}/LICENSE LICENSE.geoip2
  405. cp -f ngx_http_geoip2_module-%{geoip2_version}/README.md README.geoip2.md
  406. echo 'load_module "%{nginx_modulesdir}/ngx_http_geoip2_module.so";' \
  407. > %{buildroot}%{nginx_modconfdir}/http-geoip2.conf
  408. echo 'load_module "%{nginx_modulesdir}/ngx_stream_geoip2_module.so";' \
  409. > %{buildroot}%{nginx_modconfdir}/stream-geoip2.conf
  410. %endif
  411. %if %{with naxsi}
  412. # NAXSI module
  413. cp -f naxsi-%{naxsi_srcversion}/LICENSE LICENSE.naxsi
  414. cp -f naxsi-%{naxsi_srcversion}/README.md README.naxsi.md
  415. install -p -m0644 naxsi-%{naxsi_srcversion}/naxsi_config/naxsi_core.rules \
  416. %{buildroot}%{nginx_confdir}/
  417. install -p -m0644 %{SOURCE2021} %{buildroot}%{nginx_confdir}/naxsi_params
  418. echo 'load_module "%{nginx_modulesdir}/ngx_http_naxsi_module.so";' \
  419. > %{buildroot}%{nginx_modconfdir}/naxsi.conf
  420. %endif
  421. %if %{with modsecurity}
  422. # modsecurity module
  423. echo 'load_module "%{nginx_modulesdir}/ngx_http_modsecurity_module.so";' \
  424. > %{buildroot}%{nginx_modconfdir}/modsecurity.conf
  425. %endif
  426. touch %{buildroot}%{nginx_confdir}/conf.d/virtual.conf
  427. # convert to UTF-8 all files that give warnings.
  428. for textfile in CHANGES
  429. do
  430. mv $textfile $textfile.old
  431. iconv --from-code ISO8859-1 --to-code UTF-8 --output $textfile $textfile.old
  432. rm -f $textfile.old
  433. done
  434. %clean
  435. rm -rf %{buildroot}
  436. %pre
  437. if [ -L %{_sbindir}/nginx ]; then
  438. update-alternatives --remove nginx %{_sbindir}/nginx.normal ||:
  439. update-alternatives --remove nginx %{_sbindir}/nginx.passenger ||:
  440. rm -f %{_sbindir}/nginx
  441. fi
  442. %post
  443. if [ $1 == 1 ]; then
  444. /sbin/chkconfig --add %{name}
  445. fi
  446. %preun
  447. if [ $1 = 0 ]; then
  448. /sbin/service %{name} stop >/dev/null 2>&1
  449. /sbin/chkconfig --del %{name}
  450. fi
  451. %postun
  452. if [ $1 == 2 ]; then
  453. /sbin/service %{name} upgrade || :
  454. fi
  455. %files
  456. %defattr(-,root,root,-)
  457. %license LICENSE
  458. %doc CHANGES README
  459. %doc README.upstream_fair
  460. %doc %{?with_wsgi:README.mod_wsgi}
  461. %{nginx_datadir}/
  462. %{_sbindir}/%{name}
  463. %{_mandir}/man3/%{name}.3pm.gz
  464. %{_initrddir}/%{name}
  465. %dir %{nginx_modulesdir}
  466. %dir %{nginx_modconfdir}
  467. %dir %{nginx_confdir}
  468. %dir %{nginx_confdir}/conf.d
  469. %config(noreplace) %{nginx_confdir}/conf.d/*.conf
  470. %ghost %config(noreplace) %{nginx_confdir}/conf.d/virtual.conf
  471. %config(noreplace) %{nginx_confdir}/sites.d/*
  472. %config(noreplace) %{nginx_confdir}/win-utf
  473. %config(noreplace) %{nginx_confdir}/%{name}.conf.default
  474. %config(noreplace) %{nginx_confdir}/mime.types.default
  475. %config(noreplace) %{nginx_confdir}/fastcgi_params
  476. %config(noreplace) %{nginx_confdir}/fastcgi_params.default
  477. %config(noreplace) %{nginx_confdir}/koi-win
  478. %config(noreplace) %{nginx_confdir}/koi-utf
  479. %config(noreplace) %{nginx_confdir}/%{name}.conf
  480. %config(noreplace) %{nginx_confdir}/mime.types
  481. %config(noreplace) %{nginx_confdir}/fastcgi.conf
  482. %config(noreplace) %{nginx_confdir}/fastcgi.conf.default
  483. %config(noreplace) %{nginx_confdir}/scgi_params
  484. %config(noreplace) %{nginx_confdir}/scgi_params.default
  485. %config(noreplace) %{nginx_confdir}/uwsgi_params
  486. %config(noreplace) %{nginx_confdir}/uwsgi_params.default
  487. %if %{with wsgi}
  488. %config(noreplace) %{nginx_confdir}/wsgi_vars
  489. %endif
  490. %config(noreplace) %{nginx_confdir}/naxsi_params
  491. %config(noreplace) %{nginx_confdir}/naxsi_core.rules
  492. %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
  493. %config(noreplace) %{_sysconfdir}/sysconfig/%{name}
  494. %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home}
  495. %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_tmp}
  496. %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_home_cache}
  497. %attr(-,%{nginx_user},%{nginx_group}) %dir %{nginx_logdir}
  498. %files passenger
  499. %defattr(-,root,root,-)
  500. %doc passenger-%{passenger_version}/doc/*.md
  501. %doc passenger-%{passenger_version}/doc/*.txt
  502. %doc passenger-%{passenger_version}/doc/*.html
  503. %doc passenger-%{passenger_version}/doc/templates
  504. %doc passenger-%{passenger_version}/doc/users_guide_snippets
  505. %doc passenger-%{passenger_version}/doc/images
  506. %config(noreplace) %{nginx_modconfdir}/passenger.conf
  507. %{nginx_modulesdir}/ngx_http_passenger_module.so
  508. %if %{with geoip}
  509. %files geoip
  510. %config(noreplace) %{nginx_modconfdir}/geoip.conf
  511. %{nginx_modulesdir}/ngx_http_geoip_module.so
  512. %endif
  513. %files image-filter
  514. %config(noreplace) %{nginx_modconfdir}/image-filter.conf
  515. %{nginx_modulesdir}/ngx_http_image_filter_module.so
  516. %files perl
  517. %config(noreplace) %{nginx_modconfdir}/perl.conf
  518. %{nginx_modulesdir}/ngx_http_perl_module.so
  519. %dir %{perl_vendorarch}/auto/%{name}
  520. %{perl_vendorarch}/%{name}.pm
  521. %{perl_vendorarch}/auto/%{name}/%{name}.so
  522. %files xslt-filter
  523. %config(noreplace) %{nginx_modconfdir}/xslt-filter.conf
  524. %{nginx_modulesdir}/ngx_http_xslt_filter_module.so
  525. %files mail
  526. %config(noreplace) %{nginx_modconfdir}/mail.conf
  527. %{nginx_modulesdir}/ngx_mail_module.so
  528. %files stream
  529. %config(noreplace) %{nginx_modconfdir}/stream.conf
  530. %{nginx_modulesdir}/ngx_stream_module.so
  531. %files dav-ext
  532. %license LICENSE.dav-ext-module
  533. %doc README.dav-ext-module.rst
  534. %config(noreplace) %{nginx_modconfdir}/dav-ext.conf
  535. %{nginx_modulesdir}/ngx_http_dav_ext_module.so
  536. %if %{with geoip2}
  537. %files http-geoip2
  538. %license LICENSE.geoip2
  539. %doc README.geoip2.md
  540. %{nginx_modulesdir}/ngx_http_geoip2_module.so
  541. %config(noreplace) %{nginx_modconfdir}/http-geoip2.conf
  542. %files stream-geoip2
  543. %license LICENSE.geoip2
  544. %doc README.geoip2.md
  545. %{nginx_modulesdir}/ngx_stream_geoip2_module.so
  546. %config(noreplace) %{nginx_modconfdir}/stream-geoip2.conf
  547. %endif
  548. %if %{with naxsi}
  549. %files naxsi
  550. %defattr(-,root,root,-)
  551. %license LICENSE.naxsi
  552. %doc README.naxsi.md
  553. %{nginx_modulesdir}/ngx_http_naxsi_module.so
  554. %config(noreplace) %{nginx_modconfdir}/naxsi.conf
  555. %endif
  556. %if %{with modsecurity}
  557. %files modsecurity
  558. %defattr(-,root,root,-)
  559. %license modsecurity-%{mod_securiy_version}/LICENSE
  560. %doc modsecurity-%{mod_securiy_version}/README.md
  561. %{nginx_modulesdir}/ngx_http_modsecurity_module.so
  562. %config(noreplace) %{nginx_modconfdir}/modsecurity.conf
  563. %endif
  564. %changelog
  565. * Wed Oct 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-2
  566. - added ModSecurity module.
  567. * Sat Aug 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-1
  568. - updated to 1.16.1.
  569. - made to install NAXSI as a dynamic module.
  570. * Wed Aug 07 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-3
  571. - added NAXSI module.
  572. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-2
  573. - rebuilt with perl-5.26.
  574. * Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.0-1
  575. - updated to 1.16.0.
  576. - updated passenger to 6.0.2.
  577. - updated nginx-dav-ext-module to 3.0.0.
  578. - dropped Patch1001: fixed in upstream.
  579. * Tue Nov 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.15.5-1
  580. - updated to 1.15.5.
  581. - updated passenger to 5.3.6.
  582. - updated ngx_fancyindex_version to 0.4.3.
  583. * Mon Mar 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.13.9-1
  584. - updated to 1.13.9.
  585. - updated ngx-fancyindex to 0.4.2.
  586. - updated nginx-accept_language_module to git HEAD.
  587. - updated nginx-upstream-fair to git HEAD.
  588. - updated passenger to 5.2.1.
  589. - added Source2010 (nginx-dav-ext-module).
  590. - enabled --with-stream and --with-stream_ssl_preread_module.
  591. * Fri Sep 8 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.5-1
  592. - updated to 1.13.5
  593. - updated passenger to 5.1.8
  594. * Fri Aug 11 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.4-1
  595. - updated to 1.13.4
  596. - updated passenger to 5.1.7
  597. * Fri Jul 14 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.3-1
  598. - updated to 1.13.3
  599. * Sat Jul 1 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.2-1
  600. - updated to 1.13.2
  601. * Sun Jun 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.1-1
  602. - updated to 1.13.1
  603. - updated passenger to 5.1.5
  604. * Wed Apr 26 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.13.0-1
  605. - updated to 1.13.0
  606. * Wed Apr 5 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.13-1
  607. - updated to 1.11.13
  608. * Sat Mar 25 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.12-1
  609. - updated to 1.11.12
  610. * Tue Mar 7 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.10-1
  611. - updated to 1.11.10
  612. - updated passenger to 5.1.2
  613. * Tue Jan 31 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.9-1
  614. - updated to 1.11.9
  615. * Wed Dec 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.8-1
  616. - updated to 1.11.8
  617. * Sat Nov 19 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.6-1
  618. - updated to 1.11.6
  619. - applied gnosek-nginx-upstream-fair-pull-23.patch against nginx-1.11.6
  620. * Mon Sep 5 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.11.3-1
  621. - updated to 1.11.3
  622. - updated passenger to 5.0.30
  623. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 1.10.1-2
  624. - rebuild with gcc-5.4.0
  625. * Tue Jun 7 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.10.1-1
  626. - updated to 1.10.1.
  627. - updated passenger to 5.0.28.
  628. * Wed Apr 20 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.15-1
  629. - updated to 1.9.15
  630. * Thu Apr 7 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.14-1
  631. - updated to 1.9.14
  632. - updated passenger to 5.0.27
  633. * Wed Apr 6 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.13-1
  634. - new upstream release
  635. * Mon Mar 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.12-1
  636. - updated to 1.9.12.
  637. - updated passenger to 5.0.26.
  638. * Wed Feb 17 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.11-1
  639. - new upstream release
  640. * Wed Feb 3 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.10-1
  641. - update to 1.9.10
  642. - update passenger to 5.0.24
  643. * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.9-2
  644. - update passenger to 5.0.23
  645. * Sun Dec 20 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.9-1
  646. - new upstream release
  647. * Sat Dec 5 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.7-1
  648. - new upstream release
  649. * Sat Oct 10 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.5-1
  650. - new upstream release
  651. * Sun Aug 23 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.4-1
  652. - new upstream release
  653. * Thu Jul 16 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.3-1
  654. - update to 1.9.3
  655. - update passenger to 5.0.11
  656. * Thu Jun 25 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.2-2
  657. - updated Source4 (ssl.conf).
  658. * Wed Jun 17 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.2-1
  659. - update to 1.9.2
  660. - update passenger to 5.0.10
  661. - update ngx-fancyindex to 0.3.5
  662. * Thu Sep 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.2-1
  663. - update to 1.6.2
  664. - update passenger to 4.0.52
  665. * Fri Aug 08 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.1-1
  666. - new upstream release
  667. * Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.0-3
  668. - rebuild with new environment
  669. * Mon Jun 23 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.6.0-2
  670. - update passenger to 4.0.45
  671. * Fri Apr 25 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0-1
  672. - update to 1.6.0 (stable)
  673. * Thu Feb 20 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.10-2
  674. - update fancyindex to 0.3.3
  675. * Wed Feb 12 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.10-1
  676. - update to 1.5.10
  677. - update passenger to 4.0.37
  678. * Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.6-2
  679. - rebuilt with GeoIP-1.6.0.
  680. - added Patch100.
  681. * Tue Oct 29 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.6-1
  682. - update to 1.5.6
  683. - update passenger to 4.0.21
  684. * Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.1-2
  685. - rebuilt with gd-2.1.0.
  686. * Wed May 08 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-1
  687. - update to 1.4.1
  688. * Mon Apr 29 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-1
  689. - update to 1.4.0
  690. - enable SPDY module
  691. * Wed Feb 13 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.7-1
  692. - new upstream release
  693. - update passenger to 3.0.19
  694. - update ngx-fancyindex to upstream git master
  695. * Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.5-1
  696. - new upstream release
  697. - update passenger to 3.0.17
  698. * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-3
  699. - rebuild with pcre-8.31
  700. * Tue Oct 09 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.4-2
  701. - added http_geoip_module.
  702. * Tue Sep 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-1
  703. - update to 1.2.4
  704. * Thu Jul 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
  705. - update to 1.2.2
  706. * Thu Jun 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-1
  707. - update to 1.2.1
  708. - change nginx user from nginx to www-data
  709. - R(pre): www-common
  710. * Wed Apr 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
  711. - update to 1.2.0
  712. - update passenger to 3.0.12
  713. - drop http_upstream_keepalive
  714. * Mon Mar 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.14-1
  715. - new upstream release
  716. * Thu Feb 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-1
  717. - update to 1.0.12
  718. * Tue Jan 10 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.11-1
  719. - update to 1.0.11
  720. - update passenger to 3.0.11
  721. * Mon Nov 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-1
  722. - update to 1.0.10
  723. * Tue Sep 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-2
  724. - update passenger to 3.0.9
  725. * Tue Aug 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
  726. - update to 1.0.6
  727. * Thu Jun 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  728. - update to 1.0.4
  729. * Wed May 18 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-3
  730. - add gnosek-nginx-upstream-fair module
  731. - add ngx_http_upstream_keepalive module
  732. * Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-2
  733. - add nginx-passenger sub pakckage
  734. - use alternatives to choose nginx with or without passenger
  735. - add BR: ruby, rubygems, rubygem-rake
  736. * Wed May 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
  737. - update to 1.0.2
  738. * Wed May 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
  739. - update to 1.0.1
  740. * Sun May 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-2
  741. - add bcond_with wsgi for mod_wsgi
  742. - add bcond_with passenger
  743. - you need to install rake.gem to build with this option.
  744. - add Provides: webserver
  745. * Tue Apr 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
  746. - new upstream release 1.0.0!
  747. * Sun Mar 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-2
  748. - rebuild with perl-5.12.3
  749. * Mon Jan 17 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.54-1
  750. - update to 0.8.54
  751. * Sun Nov 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.53-1
  752. - update to 0.8.53
  753. - add nginx_accept_language_module
  754. * Fri Sep 24 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.50-1
  755. - update to 0.8.50
  756. - update ngx-fancyindex to 0.3
  757. - add BR: libxml2-devel, libxslt-devel
  758. - add scgi_params* and uwsgi_params* to %%files
  759. * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.35-1
  760. - update to 0.8.35 (development version)
  761. - add sites.d/ to store vitualhost settings
  762. - split out default server settings to sites.d/default
  763. - add fancyindex module
  764. * Fri Dec 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.63-1
  765. - new upstream release
  766. * Sun Sep 20 2009 Shu KONNO <owa@bg.wakwak.com> 0.7.62-1
  767. - update to 0.7.62 (included security fix: VU#180065)
  768. * Wed Aug 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-4
  769. - fix typo
  770. * Thu Aug 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-3
  771. - add translated descriptions
  772. * Sat Jul 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-2
  773. - update 404.html/50x.html to use powered by vine logo.
  774. * Wed Jul 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.61-1
  775. - initial build for Vine Linux
  776. - update to 0.7.61
  777. * Sun May 17 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.36-2
  778. - init script updates from Gena Makhomed
  779. - remove nginx-upstream-fair
  780. * Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.36-1
  781. - update to 0.6.36
  782. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.35-3
  783. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  784. * Thu Feb 19 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.35-2
  785. - rebuild
  786. * Thu Feb 19 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.35-1
  787. - update to 0.6.35
  788. * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.6.34-2
  789. - rebuild with new openssl
  790. * Tue Dec 30 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.34-1
  791. - update to 0.6.34
  792. * Thu Dec 4 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.6.33-2
  793. - Fix inclusion of /usr/share/nginx tree => no unowned directories.
  794. * Sun Nov 23 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.33-1
  795. - update to 0.6.33
  796. * Tue Jul 22 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.32-1
  797. - update to 0.6.32
  798. - nginx now supports DESTDIR so removed the patches that enabled it
  799. * Mon May 26 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.31-3
  800. - init script fixes
  801. - resolve 'listen 80 default' [#447873]
  802. * Mon May 12 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.31-2
  803. - update to 0.6.31
  804. * Sun May 11 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.6.30-2
  805. - upate to new upstream stable branch 0.6
  806. - added 3rd party module nginx-upstream-fair
  807. - added default webpages
  808. * Sun Apr 20 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.35-2
  809. - update init script to match recommended guidelines
  810. - add /etc/nginx/conf.d support [#443280]
  811. - use /etc/sysconfig/nginx to determine nginx.conf [#442708]
  812. * Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.5.35-3
  813. - add Requires for versioned perl (libperl.so)
  814. - drop silly file Requires
  815. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.35-2
  816. - Autorebuild for GCC 4.3
  817. * Sat Jan 19 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.35-1
  818. - update to 0.5.35
  819. * Sat Dec 15 2007 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.5.34-1
  820. - update to 0.5.34
  821. * Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 0.5.33-2
  822. - Rebuild for deps
  823. * Sun Nov 11 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.33-1
  824. - update to 0.5.33
  825. * Mon Sep 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.32-1
  826. - updated to 0.5.32
  827. - fixed rpmlint UTF-8 complaints.
  828. * Sat Aug 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.31-2
  829. - added --with-http_stub_status_module build option.
  830. - added --with-http_sub_module build option.
  831. - added use of pcre-config --cflags
  832. * Fri Aug 17 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.31-1
  833. - Update to 0.5.31
  834. - specify license is BSD
  835. * Sat Aug 11 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.30-2
  836. - Add BuildRequires: perl-devel - fixing rawhide build
  837. * Mon Jul 30 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.30-1
  838. - Update to 0.5.30
  839. * Tue Jul 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.29-1
  840. - Update to 0.5.29
  841. * Wed Jul 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.28-1
  842. - Update to 0.5.28
  843. * Mon Jul 09 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.27-1
  844. - Update to 0.5.27
  845. * Mon Jun 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.26-1
  846. - Update to 0.5.26
  847. * Sat Apr 28 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.19-1
  848. - Update to 0.5.19
  849. * Mon Apr 02 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.17-1
  850. - Update to 0.5.17
  851. * Mon Mar 26 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.16-1
  852. - Update to 0.5.16
  853. - add ownership of /usr/share/nginx/html (#233950)
  854. * Fri Mar 23 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-3
  855. - fixed package review bugs (#235222) given by ruben@rubenkerkhof.com
  856. * Thu Mar 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-2
  857. - fixed package review bugs (#233522) given by kevin@tummy.com
  858. * Thu Mar 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.5.15-1
  859. - create patches to assist with building for Fedora
  860. - initial packaging for Fedora