passenger 4.0.48 → 4.0.49

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of passenger might be problematic. Click here for more details.

Files changed (218) hide show
  1. checksums.yaml +8 -8
  2. checksums.yaml.gz.asc +7 -7
  3. data.tar.gz.asc +7 -7
  4. data/.editorconfig +36 -2
  5. data/.travis.yml +1 -1
  6. data/CHANGELOG +16 -0
  7. data/Rakefile +0 -1
  8. data/build/apache2.rb +4 -4
  9. data/build/common_library.rb +18 -18
  10. data/build/cplusplus_support.rb +2 -2
  11. data/build/documentation.rb +1 -1
  12. data/build/integration_tests.rb +12 -4
  13. data/build/misc.rb +12 -7
  14. data/build/packaging.rb +14 -14
  15. data/build/preprocessor.rb +10 -10
  16. data/build/rake_extensions.rb +11 -11
  17. data/build/ruby_extension.rb +2 -2
  18. data/dev/ci/inituidgid +24 -0
  19. data/dev/ci/run_jenkins.sh +57 -0
  20. data/dev/ci/run_rpm_tests.sh +77 -0
  21. data/dev/{run_travis.sh → ci/run_travis.sh} +60 -4
  22. data/doc/Users guide Nginx.txt +2 -2
  23. data/doc/users_guide_snippets/environment_variables.txt +0 -2
  24. data/doc/users_guide_snippets/tips.txt +20 -1
  25. data/ext/apache2/Bucket.cpp +18 -18
  26. data/ext/apache2/Bucket.h +4 -4
  27. data/ext/apache2/Configuration.cpp +7 -7
  28. data/ext/apache2/Configuration.hpp +43 -43
  29. data/ext/apache2/DirectoryMapper.h +5 -5
  30. data/ext/apache2/Hooks.cpp +142 -142
  31. data/ext/apache2/MergeDirConfig.cpp +40 -40
  32. data/ext/common/Account.h +17 -17
  33. data/ext/common/AccountsDatabase.h +9 -9
  34. data/ext/common/AgentsStarter.cpp +2 -2
  35. data/ext/common/AgentsStarter.h +40 -40
  36. data/ext/common/ApplicationPool2/Common.h +10 -6
  37. data/ext/common/ApplicationPool2/ComponentInfo.h +2 -2
  38. data/ext/common/ApplicationPool2/DirectSpawner.h +17 -17
  39. data/ext/common/ApplicationPool2/DummySpawner.h +5 -5
  40. data/ext/common/ApplicationPool2/Group.h +54 -38
  41. data/ext/common/ApplicationPool2/Implementation.cpp +76 -49
  42. data/ext/common/ApplicationPool2/Options.h +98 -91
  43. data/ext/common/ApplicationPool2/Pool.h +70 -69
  44. data/ext/common/ApplicationPool2/Process.h +21 -21
  45. data/ext/common/ApplicationPool2/Session.h +11 -11
  46. data/ext/common/ApplicationPool2/SmartSpawner.h +60 -60
  47. data/ext/common/ApplicationPool2/Socket.h +19 -19
  48. data/ext/common/ApplicationPool2/Spawner.h +64 -72
  49. data/ext/common/ApplicationPool2/SpawnerFactory.h +4 -4
  50. data/ext/common/ApplicationPool2/SuperGroup.h +41 -41
  51. data/ext/common/BackgroundEventLoop.cpp +1 -1
  52. data/ext/common/BackgroundEventLoop.h +2 -2
  53. data/ext/common/Constants.h +1 -1
  54. data/ext/common/EventedBufferedInput.h +5 -5
  55. data/ext/common/EventedClient.h +51 -51
  56. data/ext/common/EventedMessageServer.h +39 -39
  57. data/ext/common/EventedServer.h +32 -32
  58. data/ext/common/Exceptions.h +23 -23
  59. data/ext/common/FileDescriptor.h +18 -18
  60. data/ext/common/Logging.cpp +1 -1
  61. data/ext/common/MessageClient.h +27 -27
  62. data/ext/common/MessageReadersWriters.h +79 -79
  63. data/ext/common/MessageServer.h +59 -59
  64. data/ext/common/RandomGenerator.h +12 -12
  65. data/ext/common/ResourceLocator.h +8 -8
  66. data/ext/common/SafeLibev.h +54 -25
  67. data/ext/common/ServerInstanceDir.h +31 -31
  68. data/ext/common/StaticString.h +50 -48
  69. data/ext/common/Utils.cpp +73 -78
  70. data/ext/common/Utils.h +6 -6
  71. data/ext/common/Utils/Base64.cpp +3 -3
  72. data/ext/common/Utils/Base64.h +7 -7
  73. data/ext/common/Utils/BlockingQueue.h +9 -9
  74. data/ext/common/Utils/BufferedIO.h +17 -17
  75. data/ext/common/Utils/CachedFileStat.hpp +16 -16
  76. data/ext/common/Utils/Dechunker.h +25 -25
  77. data/ext/common/Utils/FileChangeChecker.h +10 -10
  78. data/ext/common/Utils/MemZeroGuard.h +5 -5
  79. data/ext/common/Utils/MemoryBarrier.h +1 -1
  80. data/ext/common/Utils/MessageIO.h +61 -61
  81. data/ext/common/Utils/ProcessMetricsCollector.h +40 -40
  82. data/ext/common/Utils/ScopeGuard.h +7 -7
  83. data/ext/common/Utils/SpeedMeter.h +1 -1
  84. data/ext/common/Utils/StrIntUtils.cpp +13 -13
  85. data/ext/common/Utils/StrIntUtils.h +3 -3
  86. data/ext/common/Utils/StringScanning.h +5 -5
  87. data/ext/common/Utils/SystemMetricsCollector.h +2 -2
  88. data/ext/common/Utils/SystemTime.h +10 -10
  89. data/ext/common/Utils/Template.h +2 -2
  90. data/ext/common/Utils/Timer.h +6 -6
  91. data/ext/common/Utils/VariantMap.h +29 -29
  92. data/ext/common/agents/Base.cpp +19 -19
  93. data/ext/common/agents/HelperAgent/AgentOptions.h +1 -1
  94. data/ext/common/agents/HelperAgent/FileBackedPipe.h +6 -6
  95. data/ext/common/agents/HelperAgent/Main.cpp +44 -43
  96. data/ext/common/agents/HelperAgent/RequestHandler.cpp +4 -4
  97. data/ext/common/agents/HelperAgent/RequestHandler.h +29 -28
  98. data/ext/common/agents/HelperAgent/ScgiRequestParser.h +56 -50
  99. data/ext/common/agents/LoggingAgent/AdminController.h +8 -8
  100. data/ext/common/agents/LoggingAgent/DataStoreId.h +17 -17
  101. data/ext/common/agents/LoggingAgent/FilterSupport.h +167 -167
  102. data/ext/common/agents/LoggingAgent/LoggingServer.h +122 -122
  103. data/ext/common/agents/LoggingAgent/Main.cpp +7 -7
  104. data/ext/common/agents/LoggingAgent/RemoteSender.h +54 -54
  105. data/ext/common/agents/SpawnPreparer.cpp +4 -4
  106. data/ext/common/agents/TempDirToucher.c +2 -2
  107. data/ext/common/agents/Watchdog/AgentWatcher.cpp +47 -47
  108. data/ext/common/agents/Watchdog/HelperAgentWatcher.cpp +7 -7
  109. data/ext/common/agents/Watchdog/LoggingAgentWatcher.cpp +7 -7
  110. data/ext/common/agents/Watchdog/Main.cpp +22 -22
  111. data/ext/common/agents/Watchdog/ServerInstanceDirToucher.cpp +9 -9
  112. data/ext/libeio/eio.c +1 -1
  113. data/ext/nginx/Configuration.c +30 -30
  114. data/ext/nginx/Configuration.h +1 -1
  115. data/ext/nginx/ContentHandler.c +54 -54
  116. data/ext/nginx/ContentHandler.h +3 -3
  117. data/ext/nginx/StaticContentHandler.c +2 -2
  118. data/ext/nginx/ngx_http_passenger_module.c +21 -21
  119. data/ext/oxt/detail/backtrace_enabled.hpp +1 -1
  120. data/ext/oxt/detail/context.hpp +1 -1
  121. data/ext/oxt/detail/spin_lock_darwin.hpp +4 -4
  122. data/ext/oxt/detail/spin_lock_gcc_x86.hpp +3 -3
  123. data/ext/oxt/detail/spin_lock_pthreads.hpp +4 -4
  124. data/ext/oxt/detail/tracable_exception_disabled.hpp +1 -1
  125. data/ext/oxt/dynamic_thread_group.hpp +18 -18
  126. data/ext/oxt/implementation.cpp +9 -8
  127. data/ext/oxt/macros.hpp +2 -2
  128. data/ext/oxt/system_calls.cpp +11 -11
  129. data/ext/oxt/system_calls.hpp +13 -13
  130. data/ext/oxt/thread.hpp +22 -14
  131. data/ext/ruby/passenger_native_support.c +55 -55
  132. data/lib/phusion_passenger.rb +24 -24
  133. data/lib/phusion_passenger/common_library.rb +2 -0
  134. data/lib/phusion_passenger/loader_shared_helpers.rb +18 -18
  135. data/lib/phusion_passenger/packaging.rb +9 -4
  136. data/lib/phusion_passenger/platform_info/apache.rb +45 -31
  137. data/lib/phusion_passenger/platform_info/compiler.rb +11 -11
  138. data/lib/phusion_passenger/rack/thread_handler_extension.rb +1 -1
  139. data/lib/phusion_passenger/request_handler/thread_handler.rb +8 -8
  140. data/lib/phusion_passenger/standalone/app_finder.rb +16 -16
  141. data/lib/phusion_passenger/standalone/command.rb +22 -22
  142. data/packaging/rpm/LICENSE.txt +19 -0
  143. data/packaging/rpm/Makefile +13 -0
  144. data/packaging/rpm/README.md +41 -0
  145. data/packaging/rpm/Vagrantfile +38 -0
  146. data/{rpm/Vagrantfile → packaging/rpm/Vagrantfile.centos} +0 -0
  147. data/packaging/rpm/build +170 -0
  148. data/packaging/rpm/create_project +41 -0
  149. data/packaging/rpm/git_update +88 -0
  150. data/packaging/rpm/image/Dockerfile +37 -0
  151. data/packaging/rpm/image/Gemfile +3 -0
  152. data/packaging/rpm/image/Gemfile.lock +12 -0
  153. data/packaging/rpm/image/RPM-GPG-KEY-amazon-ga +19 -0
  154. data/packaging/rpm/image/amazon2014-i386.cfg +96 -0
  155. data/packaging/rpm/image/amazon2014-x86_64.cfg +96 -0
  156. data/packaging/rpm/image/site-defaults.cfg +168 -0
  157. data/packaging/rpm/internal/build_tasks.rb +238 -0
  158. data/packaging/rpm/internal/dummygpg +11 -0
  159. data/packaging/rpm/internal/exec_build +42 -0
  160. data/packaging/rpm/internal/get_distro_arch +14 -0
  161. data/packaging/rpm/internal/get_distro_id +10 -0
  162. data/packaging/rpm/internal/git_update +27 -0
  163. data/packaging/rpm/internal/inituidgid +17 -0
  164. data/packaging/rpm/internal/my_init +344 -0
  165. data/packaging/rpm/internal/python27 +3 -0
  166. data/packaging/rpm/internal/repo_update +46 -0
  167. data/packaging/rpm/internal/setuser +26 -0
  168. data/packaging/rpm/internal/tracking_helper +40 -0
  169. data/packaging/rpm/jenkins_release +99 -0
  170. data/packaging/rpm/lib/build_tasks_support.rb +402 -0
  171. data/packaging/rpm/lib/preprocessor.rb +341 -0
  172. data/packaging/rpm/nginx_spec/404.html +119 -0
  173. data/packaging/rpm/nginx_spec/50x.html +119 -0
  174. data/packaging/rpm/nginx_spec/index.html +116 -0
  175. data/packaging/rpm/nginx_spec/nginx-auto-cc-gcc.patch +13 -0
  176. data/packaging/rpm/nginx_spec/nginx-logo.png +0 -0
  177. data/packaging/rpm/nginx_spec/nginx-upgrade +13 -0
  178. data/packaging/rpm/nginx_spec/nginx-upgrade.8 +151 -0
  179. data/packaging/rpm/nginx_spec/nginx.conf +131 -0
  180. data/packaging/rpm/nginx_spec/nginx.init +144 -0
  181. data/packaging/rpm/nginx_spec/nginx.logrotate +13 -0
  182. data/packaging/rpm/nginx_spec/nginx.service +15 -0
  183. data/packaging/rpm/nginx_spec/nginx.spec.template +559 -0
  184. data/packaging/rpm/nginx_spec/nginx.sysconfig +4 -0
  185. data/packaging/rpm/nginx_spec/passenger.conf +9 -0
  186. data/packaging/rpm/nginx_spec/poweredby.png +0 -0
  187. data/{rpm → packaging/rpm/passenger_spec}/apache-passenger.conf.in +0 -0
  188. data/{rpm → packaging/rpm/passenger_spec}/config.json +0 -0
  189. data/{rpm → packaging/rpm/passenger_spec}/passenger.logrotate +0 -0
  190. data/{rpm → packaging/rpm/passenger_spec}/passenger.spec.template +58 -31
  191. data/{rpm → packaging/rpm/passenger_spec}/passenger_dynamic_thread_group.patch +0 -0
  192. data/{rpm → packaging/rpm/passenger_spec}/passenger_tests_default_config_example.patch +0 -0
  193. data/{rpm → packaging/rpm/passenger_spec}/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch +0 -0
  194. data/{rpm → packaging/rpm/passenger_spec}/rubygem-passenger-4.0.18-gcc47-include-sys_types.patch +0 -0
  195. data/packaging/rpm/repo_update +114 -0
  196. data/packaging/rpm/setup-system +60 -0
  197. data/packaging/rpm/shell +10 -0
  198. data/resources/templates/standalone/config.erb +3 -1
  199. data/test/config.json.rpm-automation +1 -1
  200. data/test/cxx/ApplicationPool2/DirectSpawnerTest.cpp +11 -11
  201. data/test/cxx/ApplicationPool2/OptionsTest.cpp +5 -5
  202. data/test/cxx/ApplicationPool2/PoolTest.cpp +129 -89
  203. data/test/cxx/ApplicationPool2/ProcessTest.cpp +15 -15
  204. data/test/cxx/ApplicationPool2/SmartSpawnerTest.cpp +22 -22
  205. data/test/cxx/ApplicationPool2/SpawnerTestCases.cpp +11 -11
  206. data/test/cxx/ScgiRequestParserTest.cpp +75 -61
  207. data/test/cxx/UtilsTest.cpp +86 -85
  208. data/test/gdbinit.example +3 -0
  209. data/test/integration_tests/nginx_tests.rb +3 -3
  210. data/test/integration_tests/source_packaging_test.rb +3 -1
  211. data/test/stub/nginx/nginx.conf.erb +8 -1
  212. data/test/support/nginx_controller.rb +7 -7
  213. metadata +62 -17
  214. metadata.gz.asc +7 -7
  215. data/build/rpm.rb +0 -128
  216. data/dev/rpmtool +0 -21
  217. data/dev/test_rpm_packaging.sh +0 -28
  218. data/rpm/get_distro_id.py +0 -4
@@ -0,0 +1,144 @@
1
+ #!/bin/sh
2
+ #
3
+ # nginx - this script starts and stops the nginx daemon
4
+ #
5
+ # chkconfig: - 85 15
6
+ # description: Nginx is an HTTP(S) server, HTTP(S) reverse \
7
+ # proxy and IMAP/POP3 proxy server
8
+ # processname: nginx
9
+ # config: /etc/nginx/nginx.conf
10
+ # config: /etc/sysconfig/nginx
11
+ # pidfile: /var/run/nginx.pid
12
+
13
+ # Source function library.
14
+ . /etc/rc.d/init.d/functions
15
+
16
+ # Source networking configuration.
17
+ . /etc/sysconfig/network
18
+
19
+ # Check that networking is up.
20
+ [ "$NETWORKING" = "no" ] && exit 0
21
+
22
+ nginx="/usr/sbin/nginx"
23
+ prog=$(basename $nginx)
24
+
25
+ sysconfig="/etc/sysconfig/$prog"
26
+ lockfile="/var/lock/subsys/nginx"
27
+ pidfile="/var/run/${prog}.pid"
28
+
29
+ NGINX_CONF_FILE="/etc/nginx/nginx.conf"
30
+
31
+ [ -f $sysconfig ] && . $sysconfig
32
+
33
+
34
+ start() {
35
+ [ -x $nginx ] || exit 5
36
+ [ -f $NGINX_CONF_FILE ] || exit 6
37
+ echo -n $"Starting $prog: "
38
+ daemon $nginx -c $NGINX_CONF_FILE
39
+ retval=$?
40
+ echo
41
+ [ $retval -eq 0 ] && touch $lockfile
42
+ return $retval
43
+ }
44
+
45
+ stop() {
46
+ echo -n $"Stopping $prog: "
47
+ killproc -p $pidfile $prog
48
+ retval=$?
49
+ echo
50
+ [ $retval -eq 0 ] && rm -f $lockfile
51
+ return $retval
52
+ }
53
+
54
+ restart() {
55
+ configtest_q || return 6
56
+ stop
57
+ start
58
+ }
59
+
60
+ reload() {
61
+ configtest_q || return 6
62
+ echo -n $"Reloading $prog: "
63
+ killproc -p $pidfile $prog -HUP
64
+ echo
65
+ }
66
+
67
+ configtest() {
68
+ $nginx -t -c $NGINX_CONF_FILE
69
+ }
70
+
71
+ configtest_q() {
72
+ $nginx -t -q -c $NGINX_CONF_FILE
73
+ }
74
+
75
+ rh_status() {
76
+ status $prog
77
+ }
78
+
79
+ rh_status_q() {
80
+ rh_status >/dev/null 2>&1
81
+ }
82
+
83
+ # Upgrade the binary with no downtime.
84
+ upgrade() {
85
+ local oldbin_pidfile="${pidfile}.oldbin"
86
+
87
+ configtest_q || return 6
88
+ echo -n $"Upgrading $prog: "
89
+ killproc -p $pidfile $prog -USR2
90
+ retval=$?
91
+ sleep 1
92
+ if [[ -f ${oldbin_pidfile} && -f ${pidfile} ]]; then
93
+ killproc -p $oldbin_pidfile $prog -QUIT
94
+ success $"$prog online upgrade"
95
+ echo
96
+ return 0
97
+ else
98
+ failure $"$prog online upgrade"
99
+ echo
100
+ return 1
101
+ fi
102
+ }
103
+
104
+ # Tell nginx to reopen logs
105
+ reopen_logs() {
106
+ configtest_q || return 6
107
+ echo -n $"Reopening $prog logs: "
108
+ killproc -p $pidfile $prog -USR1
109
+ retval=$?
110
+ echo
111
+ return $retval
112
+ }
113
+
114
+ case "$1" in
115
+ start)
116
+ rh_status_q && exit 0
117
+ $1
118
+ ;;
119
+ stop)
120
+ rh_status_q || exit 0
121
+ $1
122
+ ;;
123
+ restart|configtest|reopen_logs)
124
+ $1
125
+ ;;
126
+ force-reload|upgrade)
127
+ rh_status_q || exit 7
128
+ upgrade
129
+ ;;
130
+ reload)
131
+ rh_status_q || exit 7
132
+ $1
133
+ ;;
134
+ status|status_q)
135
+ rh_$1
136
+ ;;
137
+ condrestart|try-restart)
138
+ rh_status_q || exit 7
139
+ restart
140
+ ;;
141
+ *)
142
+ echo $"Usage: $0 {start|stop|reload|configtest|status|force-reload|upgrade|restart|reopen_logs}"
143
+ exit 2
144
+ esac
@@ -0,0 +1,13 @@
1
+ /var/log/nginx/*log {
2
+ create 0644 nginx nginx
3
+ daily
4
+ rotate 10
5
+ missingok
6
+ notifempty
7
+ compress
8
+ sharedscripts
9
+ postrotate
10
+ /bin/kill -USR1 `cat /var/run/nginx.pid 2>/dev/null` 2>/dev/null || true
11
+ endscript
12
+ }
13
+
@@ -0,0 +1,15 @@
1
+ [Unit]
2
+ Description=The nginx HTTP and reverse proxy server
3
+ After=syslog.target network.target remote-fs.target nss-lookup.target
4
+
5
+ [Service]
6
+ Type=forking
7
+ PIDFile=/run/nginx.pid
8
+ ExecStartPre=/usr/sbin/nginx -t
9
+ ExecStart=/usr/sbin/nginx
10
+ ExecReload=/bin/kill -s HUP $MAINPID
11
+ ExecStop=/bin/kill -s QUIT $MAINPID
12
+ PrivateTmp=true
13
+
14
+ [Install]
15
+ WantedBy=multi-user.target
@@ -0,0 +1,559 @@
1
+ # Based on http://pkgs.fedoraproject.org/cgit/nginx.git/tree/
2
+
3
+ %global package_name <%= NGINX_RPM_NAME %>
4
+ %global package_version <%= NGINX_RPM_VERSION %>
5
+ %global package_release <%= NGINX_RPM_RELEASE %>
6
+ %global passenger_version <%= PASSENGER_VERSION %>
7
+ %global passenger_package_name <%= PASSENGER_RPM_NAME %>
8
+ %global passenger_package_version <%= PASSENGER_RPM_VERSION %>
9
+ %global passenger_tarball_name <%= PASSENGER_TARBALL_NAME %>
10
+ %global release_dist .<%= @distribution %>
11
+
12
+ %global _hardened_build 1
13
+ %global nginx_user nginx
14
+ %global nginx_group %{nginx_user}
15
+ %global nginx_home %{_localstatedir}/lib/nginx
16
+ %global nginx_home_tmp %{nginx_home}/tmp
17
+ %global nginx_confdir %{_sysconfdir}/nginx
18
+ %global nginx_datadir %{_datadir}/nginx
19
+ %global nginx_logdir %{_localstatedir}/log/nginx
20
+ %global nginx_webroot %{nginx_datadir}/html
21
+
22
+ %{!?ruby_sitelibdir: %global ruby_sitelibdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["sitelibdir"]')}
23
+ %global passenger_ruby_libdir %{ruby_sitelibdir}
24
+ %global locations_ini %{passenger_ruby_libdir}/phusion_passenger/locations.ini
25
+
26
+ # gperftools exist only on selected arches
27
+ %ifarch %{ix86} x86_64 ppc ppc64 %{arm}
28
+ %global with_gperftools 1
29
+ %endif
30
+
31
+ Name: %{package_name}
32
+ Epoch: 1
33
+ Version: %{package_version}
34
+ Release: %{package_release}%{?release_dist}
35
+
36
+ Summary: A high performance web server and reverse proxy server
37
+ Group: System Environment/Daemons
38
+ # BSD License (two clause)
39
+ # http://www.freebsd.org/copyright/freebsd-license.html
40
+ License: BSD
41
+ URL: http://nginx.org/
42
+
43
+ Source0: http://nginx.org/download/nginx-%{version}.tar.gz
44
+ Source1: http://nginx.org/download/nginx-%{version}.tar.gz.asc
45
+ Source2: http://s3.amazonaws.com/phusion-passenger/releases/%{passenger_tarball_name}-%{passenger_version}.tar.gz
46
+ Source10: nginx.service
47
+ Source11: nginx.logrotate
48
+ Source12: nginx.conf
49
+ Source13: nginx-upgrade
50
+ Source14: nginx-upgrade.8
51
+ Source15: nginx.init
52
+ Source16: nginx.sysconfig
53
+ Source19: passenger.conf
54
+ Source100: index.html
55
+ Source101: poweredby.png
56
+ Source102: nginx-logo.png
57
+ Source103: 404.html
58
+ Source104: 50x.html
59
+
60
+ # removes -Werror in upstream build scripts. -Werror conflicts with
61
+ # -D_FORTIFY_SOURCE=2 causing warnings to turn into errors.
62
+ Patch0: nginx-auto-cc-gcc.patch
63
+
64
+ BuildRequires: GeoIP-devel
65
+ BuildRequires: gd-devel
66
+ %if 0%{?with_gperftools}
67
+ BuildRequires: gperftools-devel
68
+ %endif
69
+ BuildRequires: libxslt-devel
70
+ BuildRequires: openssl-devel
71
+ BuildRequires: pcre-devel
72
+ BuildRequires: perl-devel
73
+ BuildRequires: perl(ExtUtils::Embed)
74
+ BuildRequires: zlib-devel
75
+ Requires: GeoIP
76
+ Requires: gd
77
+ Requires: openssl
78
+ Requires: pcre
79
+ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
80
+ Requires(pre): shadow-utils
81
+ Conflicts: %{passenger_package_name}%{?_isa} < %{passenger_package_version}
82
+ Conflicts: %{passenger_package_name}%{?_isa} > %{passenger_package_version}
83
+ Provides: webserver
84
+
85
+ %if 0%{?rhel} >= 7 || 0%{?fedora} >= 16
86
+ BuildRequires: systemd
87
+ Requires(post): systemd
88
+ Requires(preun): systemd
89
+ Requires(postun): systemd
90
+ %else
91
+ Requires(post): chkconfig
92
+ Requires(preun): chkconfig, initscripts
93
+ Requires(postun): initscripts
94
+ %endif
95
+
96
+ %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
97
+ BuildRequires: libcurl-devel
98
+ %else
99
+ BuildRequires: curl-devel
100
+ %endif
101
+
102
+ %if 0%{?rhel} < 6 && 0%{?fedora} <= 16
103
+ Requires: rubygem(fastthread) >= 1.0.1
104
+ BuildRequires: rubygem(fastthread) >= 1.0.1
105
+ %endif
106
+
107
+ BuildRequires: httpd-devel
108
+ BuildRequires: libev-devel >= 4.0.0
109
+ BuildRequires: ruby
110
+ BuildRequires: ruby-devel
111
+ BuildRequires: rubygems
112
+ BuildRequires: rubygems-devel
113
+ BuildRequires: rubygem(rake) >= 0.8.1
114
+ BuildRequires: rubygem(rack)
115
+
116
+ %description
117
+ Nginx is a web server and a reverse proxy server for HTTP, SMTP, POP3 and
118
+ IMAP protocols, with a strong focus on high concurrency, performance and low
119
+ memory usage. Includes Phusion Passenger support.
120
+
121
+
122
+ %prep
123
+ %setup -q
124
+ %patch0 -p0
125
+ tar xzf %{SOURCE2}
126
+
127
+
128
+ %build
129
+ export EXTRA_CFLAGS="${CFLAGS:-%optflags} -Wno-deprecated"
130
+ export EXTRA_CXXFLAGS="${CXXFLAGS:-%optflags} -Wno-deprecated"
131
+
132
+ # Reduce optimization level. Passenger has not been tested with -O2.
133
+ export EXTRA_CFLAGS=`echo "$EXTRA_CFLAGS" | sed 's|-O2|-O|g'`
134
+ export EXTRA_CXXFLAGS=`echo "$EXTRA_CXXFLAGS" | sed 's|-O2|-O|g'`
135
+
136
+ export USE_VENDORED_LIBEV=false
137
+ export CACHING=false
138
+
139
+ # Speed up ccache (reduce I/O) by lightly compressing things.
140
+ # Always set these variables because pbuilder uses ccache transparently.
141
+ export CCACHE_COMPRESS=1
142
+ export CCACHE_COMPRESS_LEVEL=3
143
+
144
+ pushd `pwd`/%{passenger_tarball_name}-%{passenger_version}
145
+ if command -v drake; then
146
+ drake %{?_smp_mflags} nginx
147
+ else
148
+ rake nginx
149
+ fi
150
+ popd
151
+
152
+ # nginx does not utilize a standard configure script. It has its own
153
+ # and the standard configure options cause the nginx configure script
154
+ # to error out. This is is also the reason for the DESTDIR environment
155
+ # variable.
156
+ export DESTDIR=%{buildroot}
157
+ ./configure \
158
+ --prefix=%{nginx_datadir} \
159
+ --sbin-path=%{_sbindir}/nginx \
160
+ --conf-path=%{nginx_confdir}/nginx.conf \
161
+ --error-log-path=%{nginx_logdir}/error.log \
162
+ --http-log-path=%{nginx_logdir}/access.log \
163
+ --http-client-body-temp-path=%{nginx_home_tmp}/client_body \
164
+ --http-proxy-temp-path=%{nginx_home_tmp}/proxy \
165
+ --http-fastcgi-temp-path=%{nginx_home_tmp}/fastcgi \
166
+ --http-uwsgi-temp-path=%{nginx_home_tmp}/uwsgi \
167
+ --http-scgi-temp-path=%{nginx_home_tmp}/scgi \
168
+ %if 0%{?rhel} >= 7 || 0%{?fedora} >= 16
169
+ --pid-path=/run/nginx.pid \
170
+ --lock-path=/run/lock/subsys/nginx \
171
+ %else
172
+ --pid-path=%{_localstatedir}/run/nginx.pid \
173
+ --lock-path=%{_localstatedir}/lock/subsys/nginx \
174
+ %endif
175
+ --user=%{nginx_user} \
176
+ --group=%{nginx_group} \
177
+ --with-file-aio \
178
+ --with-ipv6 \
179
+ --with-http_ssl_module \
180
+ --with-http_spdy_module \
181
+ --with-http_realip_module \
182
+ --with-http_addition_module \
183
+ --with-http_xslt_module \
184
+ --with-http_image_filter_module \
185
+ --with-http_geoip_module \
186
+ --with-http_sub_module \
187
+ --with-http_dav_module \
188
+ --with-http_flv_module \
189
+ --with-http_mp4_module \
190
+ --with-http_gunzip_module \
191
+ --with-http_gzip_static_module \
192
+ --with-http_random_index_module \
193
+ --with-http_secure_link_module \
194
+ --with-http_degradation_module \
195
+ --with-http_stub_status_module \
196
+ --with-http_perl_module \
197
+ --with-mail \
198
+ --with-mail_ssl_module \
199
+ --with-pcre \
200
+ %if 0%{?with_gperftools}
201
+ --with-google_perftools_module \
202
+ %endif
203
+ --add-module=`pwd`/%{passenger_tarball_name}-%{passenger_version}/ext/nginx \
204
+ --with-debug \
205
+ --with-cc-opt="%{optflags} $(pcre-config --cflags)" \
206
+ --with-ld-opt="$RPM_LD_FLAGS -Wl,-E" # so the perl module finds its symbols
207
+
208
+ make %{?_smp_mflags}
209
+
210
+
211
+ %install
212
+ make install DESTDIR=%{buildroot} INSTALLDIRS=vendor
213
+
214
+ find %{buildroot} -type f -name .packlist -exec rm -f '{}' \;
215
+ find %{buildroot} -type f -name perllocal.pod -exec rm -f '{}' \;
216
+ find %{buildroot} -type f -empty -exec rm -f '{}' \;
217
+ find %{buildroot} -type f -iname '*.so' -exec chmod 0755 '{}' \;
218
+ %if 0%{?rhel} >= 7 || 0%{?fedora} >= 16
219
+ install -p -D -m 0644 %{SOURCE10} \
220
+ %{buildroot}%{_unitdir}/nginx.service
221
+ %else
222
+ install -p -D -m 0755 %{SOURCE15} \
223
+ %{buildroot}%{_initrddir}/nginx
224
+ install -p -D -m 0644 %{SOURCE16} \
225
+ %{buildroot}%{_sysconfdir}/sysconfig/nginx
226
+ %endif
227
+
228
+ install -p -D -m 0644 %{SOURCE11} \
229
+ %{buildroot}%{_sysconfdir}/logrotate.d/nginx
230
+
231
+ install -p -d -m 0755 %{buildroot}%{nginx_confdir}/conf.d
232
+ install -p -d -m 0700 %{buildroot}%{nginx_home}
233
+ install -p -d -m 0700 %{buildroot}%{nginx_home_tmp}
234
+ install -p -d -m 0700 %{buildroot}%{nginx_logdir}
235
+ install -p -d -m 0755 %{buildroot}%{nginx_webroot}
236
+
237
+ install -p -m 0644 %{SOURCE12} \
238
+ %{buildroot}%{nginx_confdir}
239
+ install -p -m 0644 %{SOURCE19} \
240
+ %{buildroot}%{nginx_confdir}/conf.d
241
+ install -p -m 0644 %{SOURCE100} \
242
+ %{buildroot}%{nginx_webroot}
243
+ install -p -m 0644 %{SOURCE101} %{SOURCE102} \
244
+ %{buildroot}%{nginx_webroot}
245
+ install -p -m 0644 %{SOURCE103} %{SOURCE104} \
246
+ %{buildroot}%{nginx_webroot}
247
+
248
+ sed -i "s|PASSENGER_ROOT|%{locations_ini}|" %{buildroot}%{nginx_confdir}/conf.d/passenger.conf
249
+
250
+ install -p -D -m 0644 %{_builddir}/nginx-%{version}/man/nginx.8 \
251
+ %{buildroot}%{_mandir}/man8/nginx.8
252
+
253
+ %if 0%{?rhel} >= 7 || 0%{?fedora} >= 16
254
+ install -p -D -m 0755 %{SOURCE13} %{buildroot}%{_bindir}/nginx-upgrade
255
+ install -p -D -m 0644 %{SOURCE14} %{buildroot}%{_mandir}/man8/nginx-upgrade.8
256
+
257
+ sed -i 's|/var/run|/run|g' \
258
+ %{buildroot}%{nginx_confdir}/nginx.conf \
259
+ %{buildroot}%{_initrddir}/nginx \
260
+ %{buildroot}%{_sysconfdir}/logrotate.d/nginx
261
+ %endif
262
+
263
+
264
+ %pre
265
+ getent group %{nginx_group} > /dev/null || groupadd -r %{nginx_group}
266
+ getent passwd %{nginx_user} > /dev/null || \
267
+ useradd -r -d %{nginx_home} -g %{nginx_group} \
268
+ -s /sbin/nologin -c "Nginx web server" %{nginx_user}
269
+ exit 0
270
+
271
+ %post
272
+ %if 0%{?rhel} >= 7 || 0%{?fedora} >= 16
273
+ %systemd_post nginx.service
274
+ %else
275
+ if [ $1 -eq 1 ]; then
276
+ /sbin/chkconfig --add %{name}
277
+ fi
278
+ %endif
279
+ if [ $1 -eq 2 ]; then
280
+ # Make sure these directories are not world readable.
281
+ chmod 700 %{nginx_home}
282
+ chmod 700 %{nginx_home_tmp}
283
+ chmod 700 %{nginx_logdir}
284
+ fi
285
+
286
+ %preun
287
+ %if 0%{?rhel} >= 7 || 0%{?fedora} >= 16
288
+ %systemd_preun nginx.service
289
+ %else
290
+ if [ $1 -eq 0 ]; then
291
+ /sbin/service %{name} stop >/dev/null 2>&1
292
+ /sbin/chkconfig --del %{name}
293
+ fi
294
+ %endif
295
+
296
+ %postun
297
+ %if 0%{?rhel} >= 7 || 0%{?fedora} >= 16
298
+ %systemd_postun nginx.service
299
+ %else
300
+ if [ $1 -eq 2 ]; then
301
+ /sbin/service %{name} upgrade || :
302
+ fi
303
+ %endif
304
+
305
+ %files
306
+ %doc LICENSE CHANGES README
307
+ %{nginx_datadir}/
308
+ %{_sbindir}/nginx
309
+ %{_mandir}/man3/nginx.3pm*
310
+ %{_mandir}/man8/nginx.8*
311
+ %if 0%{?rhel} >= 7 || 0%{?fedora} >= 16
312
+ %{_bindir}/nginx-upgrade
313
+ %{_mandir}/man8/nginx-upgrade.8*
314
+ %{_unitdir}/nginx.service
315
+ %else
316
+ %{_initrddir}/nginx
317
+ %config(noreplace) %{_sysconfdir}/sysconfig/nginx
318
+ %endif
319
+ %dir %{nginx_confdir}
320
+ %dir %{nginx_confdir}/conf.d
321
+ %config(noreplace) %{nginx_confdir}/conf.d/passenger.conf
322
+ %config(noreplace) %{nginx_confdir}/fastcgi.conf
323
+ %config(noreplace) %{nginx_confdir}/fastcgi.conf.default
324
+ %config(noreplace) %{nginx_confdir}/fastcgi_params
325
+ %config(noreplace) %{nginx_confdir}/fastcgi_params.default
326
+ %config(noreplace) %{nginx_confdir}/koi-utf
327
+ %config(noreplace) %{nginx_confdir}/koi-win
328
+ %config(noreplace) %{nginx_confdir}/mime.types
329
+ %config(noreplace) %{nginx_confdir}/mime.types.default
330
+ %config(noreplace) %{nginx_confdir}/nginx.conf
331
+ %config(noreplace) %{nginx_confdir}/nginx.conf.default
332
+ %config(noreplace) %{nginx_confdir}/scgi_params
333
+ %config(noreplace) %{nginx_confdir}/scgi_params.default
334
+ %config(noreplace) %{nginx_confdir}/uwsgi_params
335
+ %config(noreplace) %{nginx_confdir}/uwsgi_params.default
336
+ %config(noreplace) %{nginx_confdir}/win-utf
337
+ %config(noreplace) %{_sysconfdir}/logrotate.d/nginx
338
+ %dir %{perl_vendorarch}/auto/nginx
339
+ %{perl_vendorarch}/nginx.pm
340
+ %{perl_vendorarch}/auto/nginx/nginx.so
341
+ %attr(700,%{nginx_user},%{nginx_group}) %dir %{nginx_home}
342
+ %attr(700,%{nginx_user},%{nginx_group}) %dir %{nginx_home_tmp}
343
+ %attr(700,%{nginx_user},%{nginx_group}) %dir %{nginx_logdir}
344
+
345
+
346
+ %changelog
347
+ * Wed Nov 20 2013 Peter Borsa <peter.borsa@gmail.com> - 1:1.4.4-1
348
+ - Update to upstream release 1.4.4
349
+ - Security fix BZ 1032267
350
+
351
+ * Sun Nov 03 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.3-1
352
+ - update to upstream release 1.4.3
353
+
354
+ * Fri Aug 09 2013 Jonathan Steffan <jsteffan@fedoraproject.org> - 1:1.4.2-3
355
+ - Add in conditionals to build for non-systemd targets
356
+
357
+ * Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1:1.4.2-2
358
+ - Perl 5.18 rebuild
359
+
360
+ * Fri Jul 19 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.2-1
361
+ - update to upstream release 1.4.2
362
+
363
+ * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:1.4.1-3
364
+ - Perl 5.18 rebuild
365
+
366
+ * Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 1:1.4.1-2
367
+ - rebuild for new GD 2.1.0
368
+
369
+ * Tue May 07 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.1-1
370
+ - update to upstream release 1.4.1 (#960605, #960606):
371
+ CVE-2013-2028 stack-based buffer overflow when handling certain chunked
372
+ transfer encoding requests
373
+
374
+ * Sun Apr 28 2013 Dan Horák <dan[at]danny.cz> - 1:1.4.0-2
375
+ - gperftools exist only on selected arches
376
+
377
+ * Fri Apr 26 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.4.0-1
378
+ - update to upstream release 1.4.0
379
+ - enable SPDY module (new in this version)
380
+ - enable http gunzip module (new in this version)
381
+ - enable google perftools module and add gperftools-devel to BR
382
+ - enable debugging (#956845)
383
+ - trim changelog
384
+
385
+ * Tue Apr 02 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.8-1
386
+ - update to upstream release 1.2.8
387
+
388
+ * Fri Feb 22 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.7-2
389
+ - make sure nginx directories are not world readable (#913724, #913735)
390
+
391
+ * Sat Feb 16 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.7-1
392
+ - update to upstream release 1.2.7
393
+ - add .asc file
394
+
395
+ * Tue Feb 05 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-6
396
+ - use 'kill' instead of 'systemctl' when rotating log files to workaround
397
+ SELinux issue (#889151)
398
+
399
+ * Wed Jan 23 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-5
400
+ - uncomment "include /etc/nginx/conf.d/*.conf by default but leave the
401
+ conf.d directory empty (#903065)
402
+
403
+ * Wed Jan 23 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-4
404
+ - add comment in nginx.conf regarding "include /etc/nginf/conf.d/*.conf"
405
+ (#903065)
406
+
407
+ * Wed Dec 19 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-3
408
+ - use correct file ownership when rotating log files
409
+
410
+ * Tue Dec 18 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-2
411
+ - send correct kill signal and use correct file permissions when rotating
412
+ log files (#888225)
413
+ - send correct kill signal in nginx-upgrade
414
+
415
+ * Tue Dec 11 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.6-1
416
+ - update to upstream release 1.2.6
417
+
418
+ * Sat Nov 17 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.5-1
419
+ - update to upstream release 1.2.5
420
+
421
+ * Sun Oct 28 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.4-1
422
+ - update to upstream release 1.2.4
423
+ - introduce new systemd-rpm macros (#850228)
424
+ - link to official documentation not the community wiki (#870733)
425
+ - do not run systemctl try-restart after package upgrade to allow the
426
+ administrator to run nginx-upgrade and avoid downtime
427
+ - add nginx man page (#870738)
428
+ - add nginx-upgrade man page and remove README.fedora
429
+ - remove chkconfig from Requires(post/preun)
430
+ - remove initscripts from Requires(preun/postun)
431
+ - remove separate configuration files in "/etc/nginx/conf.d" directory
432
+ and revert to upstream default of a centralized nginx.conf file
433
+ (#803635) (#842738)
434
+
435
+ * Fri Sep 21 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.3-1
436
+ - update to upstream release 1.2.3
437
+
438
+ * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.1-3
439
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
440
+
441
+ * Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 1:1.2.1-2
442
+ - Perl 5.16 rebuild
443
+
444
+ * Sun Jun 10 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.1-1
445
+ - update to upstream release 1.2.1
446
+
447
+ * Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1:1.2.0-2
448
+ - Perl 5.16 rebuild
449
+
450
+ * Wed May 16 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.2.0-1
451
+ - update to upstream release 1.2.0
452
+
453
+ * Wed May 16 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-4
454
+ - add nginx-upgrade to replace functionality from the nginx initscript
455
+ that was lost after migration to systemd
456
+ - add README.fedora to describe usage of nginx-upgrade
457
+ - nginx.logrotate: use built-in systemd kill command in postrotate script
458
+ - nginx.service: start after syslog.target and network.target
459
+ - nginx.service: remove unnecessary references to config file location
460
+ - nginx.service: use /bin/kill instead of "/usr/sbin/nginx -s" following
461
+ advice from nginx-devel
462
+ - nginx.service: use private /tmp
463
+
464
+ * Mon May 14 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-3
465
+ - fix incorrect postrotate script in nginx.logrotate
466
+
467
+ * Thu Apr 19 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-2
468
+ - renable auto-cc-gcc patch due to warnings on rawhide
469
+
470
+ * Sat Apr 14 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.15-1
471
+ - update to upstream release 1.0.15
472
+ - no need to apply auto-cc-gcc patch
473
+ - add %%global _hardened_build 1
474
+
475
+ * Thu Mar 15 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.14-1
476
+ - update to upstream release 1.0.14
477
+ - amend some %%changelog formatting
478
+
479
+ * Tue Mar 06 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.13-1
480
+ - update to upstream release 1.0.13
481
+ - amend --pid-path and --log-path
482
+
483
+ * Sun Mar 04 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-5
484
+ - change pid path in nginx.conf to match systemd service file
485
+
486
+ * Sun Mar 04 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-3
487
+ - fix %%pre scriptlet
488
+
489
+ * Mon Feb 20 2012 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.0.12-2
490
+ - update upstream URL
491
+ - replace %%define with %%global
492
+ - remove obsolete BuildRoot tag, %%clean section and %%defattr
493
+ - remove various unnecessary commands
494
+ - add systemd service file and update scriptlets
495
+ - add Epoch to accommodate %%triggerun as part of systemd migration
496
+
497
+ * Sun Feb 19 2012 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.0.12-1
498
+ - Update to 1.0.12
499
+
500
+ * Thu Nov 17 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.10-1
501
+ - Bugfix: a segmentation fault might occur in a worker process if resolver got a big DNS response. Thanks to Ben Hawkes.
502
+ - Bugfix: in cache key calculation if internal MD5 implementation wasused; the bug had appeared in 1.0.4.
503
+ - Bugfix: the module ngx_http_mp4_module sent incorrect "Content-Length" response header line if the "start" argument was used. Thanks to Piotr Sikora.
504
+
505
+ * Thu Oct 27 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.8-1
506
+ - Update to new 1.0.8 stable release
507
+
508
+ * Fri Aug 26 2011 Keiran "Affix" Smith <fedora@affix.me> - 1.0.5-1
509
+ - Update nginx to Latest Stable Release
510
+
511
+ * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.0-3
512
+ - Perl mass rebuild
513
+
514
+ * Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.0-2
515
+ - Perl 5.14 mass rebuild
516
+
517
+ * Wed Apr 27 2011 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.0.0-1
518
+ - Update to 1.0.0
519
+
520
+ * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.53-6
521
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
522
+
523
+ * Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53.5
524
+ - Extract out default config into its own file (bug #635776)
525
+
526
+ * Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-4
527
+ - Revert ownership of log dir
528
+
529
+ * Sun Dec 12 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-3
530
+ - Change ownership of /var/log/nginx to be 0700 nginx:nginx
531
+ - update init script to use killproc -p
532
+ - add reopen_logs command to init script
533
+ - update init script to use nginx -q option
534
+
535
+ * Sun Oct 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-2
536
+ - Fix linking of perl module
537
+
538
+ * Sun Oct 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-1
539
+ - Update to new stable 0.8.53
540
+
541
+ * Sat Jul 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.67-2
542
+ - add Provides: webserver (bug #619693)
543
+
544
+ * Sun Jun 20 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.67-1
545
+ - Update to new stable 0.7.67
546
+ - fix bugzilla #591543
547
+
548
+ * Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.7.65-2
549
+ - Mass rebuild with perl-5.12.0
550
+
551
+ * Mon Feb 15 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.65-1
552
+ - Update to new stable 0.7.65
553
+ - change ownership of logdir to root:root
554
+ - add support for ipv6 (bug #561248)
555
+ - add random_index_module
556
+ - add secure_link_module
557
+
558
+ * Fri Dec 04 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.7.64-1
559
+ - Update to new stable 0.7.64