nginx-vl.spec 39 KB

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