1 |
commit: d9b04e6c5c0be0f304bbd0a7d2a86b998f72a062 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 28 06:12:31 2015 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 28 06:12:47 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b04e6c |
7 |
|
8 |
www-apache/passenger: remove obsolete files |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
.../files/2.2.15-gentoo-multilib-strict.patch | 33 ----- |
13 |
www-apache/passenger/files/2.2.4-gentoo.patch | 42 ------- |
14 |
.../passenger/files/30_mod_passenger-2.0.1.conf | 63 ---------- |
15 |
.../passenger/files/passenger-3.0.0-gentoo.patch | 34 ----- |
16 |
.../passenger/files/passenger-3.0.0-ldflags.patch | 13 -- |
17 |
.../passenger/files/passenger-3.0.12-ldflags.patch | 10 -- |
18 |
.../files/passenger-3.0.21-temp-file-usage.patch | 140 --------------------- |
19 |
.../passenger/files/passenger-3.0.8-gentoo.patch | 35 ------ |
20 |
8 files changed, 370 deletions(-) |
21 |
|
22 |
diff --git a/www-apache/passenger/files/2.2.15-gentoo-multilib-strict.patch b/www-apache/passenger/files/2.2.15-gentoo-multilib-strict.patch |
23 |
deleted file mode 100644 |
24 |
index ff6cefc..0000000 |
25 |
--- a/www-apache/passenger/files/2.2.15-gentoo-multilib-strict.patch |
26 |
+++ /dev/null |
27 |
@@ -1,33 +0,0 @@ |
28 |
-diff -Nuar passenger-2.2.15.orig/Rakefile passenger-2.2.15/Rakefile |
29 |
---- passenger-2.2.15.orig/Rakefile 2010-11-05 03:19:02.000000000 +0000 |
30 |
-+++ passenger-2.2.15/Rakefile 2010-11-05 03:23:45.000000000 +0000 |
31 |
-@@ -744,7 +744,7 @@ |
32 |
- extdir = "#{libdir}/#{CONFIG['arch']}" |
33 |
- bindir = "#{fakeroot}/usr/bin" |
34 |
- docdir = "#{fakeroot}/usr/share/doc/passenger-#{PACKAGE_VERSION}" |
35 |
-- libexecdir = "#{fakeroot}/usr/lib/phusion_passenger" |
36 |
-+ libexecdir = "#{fakeroot}/usr/libexec/phusion_passenger" |
37 |
- |
38 |
- sh "rm -rf #{fakeroot}" |
39 |
- sh "mkdir -p #{fakeroot}" |
40 |
-diff -Nuar passenger-2.2.15.orig/ext/common/Utils.cpp passenger-2.2.15/ext/common/Utils.cpp |
41 |
---- passenger-2.2.15.orig/ext/common/Utils.cpp 2010-06-24 11:53:02.000000000 +0000 |
42 |
-+++ passenger-2.2.15/ext/common/Utils.cpp 2010-11-05 03:22:39.000000000 +0000 |
43 |
-@@ -113,7 +113,7 @@ |
44 |
- return path; |
45 |
- } else { |
46 |
- path.assign(root); |
47 |
-- path.append("lib/phusion_passenger/passenger-spawn-server"); |
48 |
-+ path.append("libexec/phusion_passenger/passenger-spawn-server"); |
49 |
- return path; |
50 |
- } |
51 |
- return path; |
52 |
-@@ -152,7 +152,7 @@ |
53 |
- return path; |
54 |
- } else { |
55 |
- path.assign(root); |
56 |
-- path.append("lib/phusion_passenger/ApplicationPoolServerExecutable"); |
57 |
-+ path.append("libexec/phusion_passenger/ApplicationPoolServerExecutable"); |
58 |
- return path; |
59 |
- } |
60 |
- } |
61 |
|
62 |
diff --git a/www-apache/passenger/files/2.2.4-gentoo.patch b/www-apache/passenger/files/2.2.4-gentoo.patch |
63 |
deleted file mode 100644 |
64 |
index cd51913..0000000 |
65 |
--- a/www-apache/passenger/files/2.2.4-gentoo.patch |
66 |
+++ /dev/null |
67 |
@@ -1,42 +0,0 @@ |
68 |
---- Rakefile.~1~ 2009-05-19 11:48:28.236986307 +0200 |
69 |
-+++ Rakefile 2009-05-19 11:50:53.000000000 +0200 |
70 |
-@@ -38,11 +38,7 @@ |
71 |
- |
72 |
- CXX = "g++" |
73 |
- LIBEXT = PlatformInfo.library_extension |
74 |
--if OPTIMIZE |
75 |
-- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS" |
76 |
--else |
77 |
-- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS" |
78 |
--end |
79 |
-+OPTIMIZATION_FLAGS = "#{ENV['CXXFLAGS']} -DNDEBUG" |
80 |
- |
81 |
- # Extra compiler flags that should always be passed to the C/C++ compiler. |
82 |
- # Should be included last in the command string. |
83 |
-@@ -733,15 +729,15 @@ |
84 |
- task :fakeroot => [:apache2, :native_support, :doc] do |
85 |
- require 'rbconfig' |
86 |
- include Config |
87 |
-- fakeroot = "pkg/fakeroot" |
88 |
-+ fakeroot = ENV['DISTDIR'] |
89 |
- |
90 |
- # We don't use CONFIG['archdir'] and the like because we want |
91 |
- # the files to be installed to /usr, and the Ruby interpreter |
92 |
- # on the packaging machine might be in /usr/local. |
93 |
-- libdir = "#{fakeroot}/usr/lib/ruby/#{CONFIG['ruby_version']}" |
94 |
-+ libdir = "#{fakeroot}/#{CONFIG['sitedir']}/#{CONFIG['ruby_version']}" |
95 |
- extdir = "#{libdir}/#{CONFIG['arch']}" |
96 |
- bindir = "#{fakeroot}/usr/bin" |
97 |
-- docdir = "#{fakeroot}/usr/share/doc/phusion_passenger" |
98 |
-+ docdir = "#{fakeroot}/usr/share/doc/passenger-#{PACKAGE_VERSION}" |
99 |
- libexecdir = "#{fakeroot}/usr/lib/phusion_passenger" |
100 |
- |
101 |
- sh "rm -rf #{fakeroot}" |
102 |
-@@ -757,7 +753,6 @@ |
103 |
- sh "cp bin/* #{bindir}/" |
104 |
- |
105 |
- sh "mkdir -p #{libexecdir}" |
106 |
-- sh "cp ext/apache2/mod_passenger.so #{libexecdir}/" |
107 |
- sh "mv #{fakeroot}/usr/bin/passenger-spawn-server #{libexecdir}/" |
108 |
- sh "cp ext/apache2/ApplicationPoolServerExecutable #{libexecdir}/" |
109 |
- |
110 |
|
111 |
diff --git a/www-apache/passenger/files/30_mod_passenger-2.0.1.conf b/www-apache/passenger/files/30_mod_passenger-2.0.1.conf |
112 |
deleted file mode 100644 |
113 |
index 0bd7914..0000000 |
114 |
--- a/www-apache/passenger/files/30_mod_passenger-2.0.1.conf |
115 |
+++ /dev/null |
116 |
@@ -1,63 +0,0 @@ |
117 |
-<IfDefine PASSENGER> |
118 |
-LoadModule passenger_module modules/mod_passenger.so |
119 |
- |
120 |
-# The location to the Phusion Passenger root directory. This configuration |
121 |
-# option is essential to Phusion Passenger. The correct value is given by the |
122 |
-# installer, and should usually not be changed manually. |
123 |
-PassengerRoot /usr |
124 |
- |
125 |
-# This option allows one to specify how much information Phusion Passenger |
126 |
-# should write to the Apache error log file. A higher log level value means |
127 |
-# that more information will be logged. |
128 |
-# |
129 |
-# Possible values are: |
130 |
-# |
131 |
-# 0: Show only errors and warnings. |
132 |
-# 1: Show the most important debugging information. This might be useful for |
133 |
-# system administrators who are trying to figure out the cause of a |
134 |
-# problem. |
135 |
-# 2: Show more debugging information. This is typically only useful for |
136 |
-# developers. |
137 |
-# 3: Show even more debugging information. |
138 |
-PassengerLogLevel 0 |
139 |
- |
140 |
-# This option allows one to specify the Ruby interpreter to use. |
141 |
-PassengerRuby /usr/bin/ruby |
142 |
- |
143 |
-# Whether Passenger should automatically detect whether a virtual host's |
144 |
-# document root is a Ruby on Rails application. |
145 |
-RailsAutoDetect On |
146 |
- |
147 |
-# The maximum number of Ruby on Rails application instances that may be |
148 |
-# simultaneously active. A larger number results in higher memory usage, but |
149 |
-# improved ability to handle concurrent HTTP clients. |
150 |
-PassengerMaxPoolSize 20 |
151 |
- |
152 |
-# The maximum number of seconds that a Ruby on Rails application instance may |
153 |
-# be idle. That is, if an application instance hasn't done anything after the |
154 |
-# given number of seconds, then it will be shutdown in order to conserve |
155 |
-# memory. |
156 |
-PassengerPoolIdleTime 120 |
157 |
- |
158 |
-# The maximum number of application instances that may be simultaneously active |
159 |
-# for a single application. This helps to make sure that a single application |
160 |
-# will not occupy all available slots in the application pool. |
161 |
-# |
162 |
-# This value must be less than PassengerMaxPoolSize. A value of 0 means that |
163 |
-# there is no limit placed on the number of instances a single application may |
164 |
-# use, i.e. only the global limit of PassengerMaxPoolSize will be enforced. |
165 |
-PassengerMaxInstancesPerApp 0 |
166 |
- |
167 |
-# When the PassengerUserSwitching option is enabled a Rails application is started |
168 |
-# as the owner of the file config/environment.rb. So if |
169 |
-# /home/webapps/foo/config/environment.rb is owned by joe, then Passenger will |
170 |
-# launch the corresponding Rails application as joe as well. |
171 |
-PassengerUserSwitching On |
172 |
- |
173 |
-# Under no circumstances will Rails applications be run as root. If |
174 |
-# environment.rb is owned by root or by an unknown user, then the Rails |
175 |
-# application will run as the user specified by PassengerDefaultUser. |
176 |
-PassengerDefaultUser apache |
177 |
-</IfDefine> |
178 |
- |
179 |
-# vim: ts=4 filetype=apache |
180 |
|
181 |
diff --git a/www-apache/passenger/files/passenger-3.0.0-gentoo.patch b/www-apache/passenger/files/passenger-3.0.0-gentoo.patch |
182 |
deleted file mode 100644 |
183 |
index 695b9d5..0000000 |
184 |
--- a/www-apache/passenger/files/passenger-3.0.0-gentoo.patch |
185 |
+++ /dev/null |
186 |
@@ -1,34 +0,0 @@ |
187 |
---- build/config.rb.~1~ 2010-10-01 12:22:34.000000000 +0200 |
188 |
-+++ build/config.rb 2010-11-02 10:56:25.309314070 +0100 |
189 |
-@@ -17,11 +17,7 @@ |
190 |
- OPTIMIZE = boolean_option("OPTIMIZE") |
191 |
- CC = string_option("CC", "gcc") |
192 |
- CXX = string_option("CXX", "g++") |
193 |
--if OPTIMIZE |
194 |
-- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS".strip |
195 |
--else |
196 |
-- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS".strip |
197 |
--end |
198 |
-+OPTIMIZATION_FLAGS = "#{ENV['CXXFLAGS']}" |
199 |
- |
200 |
- # Extra compiler flags that should always be passed to the C/C++ compiler. |
201 |
- # Should be included last in the command string, even after PlatformInfo.portability_cflags. |
202 |
---- build/packaging.rb.~1~ 2010-10-10 20:52:03.000000000 +0200 |
203 |
-+++ build/packaging.rb 2010-11-02 11:03:56.944938507 +0100 |
204 |
-@@ -87,13 +87,13 @@ |
205 |
- require 'rbconfig' |
206 |
- require 'fileutils' |
207 |
- include Config |
208 |
-- fakeroot = "pkg/fakeroot" |
209 |
-+ fakeroot = ENV['DISTDIR'] |
210 |
- |
211 |
- # We don't use CONFIG['archdir'] and the like because we want |
212 |
- # the files to be installed to /usr, and the Ruby interpreter |
213 |
- # on the packaging machine might be in /usr/local. |
214 |
-- fake_libdir = "#{fakeroot}/usr/lib/ruby/#{CONFIG['ruby_version']}" |
215 |
-- fake_native_support_dir = "#{fakeroot}/usr/lib/ruby/#{CONFIG['ruby_version']}/#{CONFIG['arch']}" |
216 |
-+ fake_libdir = "#{fakeroot}/#{CONFIG['sitedir']}/#{CONFIG['ruby_version']}" |
217 |
-+ fake_native_support_dir = "#{fakeroot}/#{CONFIG['sitedir']}/#{CONFIG['ruby_version']}/#{CONFIG['arch']}" |
218 |
- fake_agents_dir = "#{fakeroot}#{NATIVELY_PACKAGED_AGENTS_DIR}" |
219 |
- fake_helper_scripts_dir = "#{fakeroot}#{NATIVELY_PACKAGED_HELPER_SCRIPTS_DIR}" |
220 |
- fake_docdir = "#{fakeroot}#{NATIVELY_PACKAGED_DOCDIR}" |
221 |
|
222 |
diff --git a/www-apache/passenger/files/passenger-3.0.0-ldflags.patch b/www-apache/passenger/files/passenger-3.0.0-ldflags.patch |
223 |
deleted file mode 100644 |
224 |
index dd378ad..0000000 |
225 |
--- a/www-apache/passenger/files/passenger-3.0.0-ldflags.patch |
226 |
+++ /dev/null |
227 |
@@ -1,13 +0,0 @@ |
228 |
---- build/config.rb.~1~ 2010-11-07 11:46:22.257690348 +0100 |
229 |
-+++ build/config.rb 2010-11-07 12:41:40.601438803 +0100 |
230 |
-@@ -25,7 +25,7 @@ |
231 |
- |
232 |
- # Extra linker flags that should always be passed to the linker. |
233 |
- # Should be included last in the command string, even after PlatformInfo.portability_ldflags. |
234 |
--EXTRA_LDFLAGS = "" |
235 |
-+EXTRA_LDFLAGS = "#{ENV['LDFLAGS']}" |
236 |
- |
237 |
- # Whether to use the vendored libev or the system one. |
238 |
--USE_VENDORED_LIBEV = boolean_option("USE_VENDORED_LIBEV", true) |
239 |
-\ No newline at end of file |
240 |
-+USE_VENDORED_LIBEV = boolean_option("USE_VENDORED_LIBEV", true) |
241 |
|
242 |
diff --git a/www-apache/passenger/files/passenger-3.0.12-ldflags.patch b/www-apache/passenger/files/passenger-3.0.12-ldflags.patch |
243 |
deleted file mode 100644 |
244 |
index de724ef..0000000 |
245 |
--- a/www-apache/passenger/files/passenger-3.0.12-ldflags.patch |
246 |
+++ /dev/null |
247 |
@@ -1,10 +0,0 @@ |
248 |
---- build/config.rb.~1~ 2010-11-07 11:46:22.257690348 +0100 |
249 |
-+++ build/config.rb 2010-11-07 12:41:40.601438803 +0100 |
250 |
-@@ -25,6 +25,6 @@ |
251 |
- |
252 |
- # Extra linker flags that should always be passed to the linker. |
253 |
- # Should be included last in the command string, even after PlatformInfo.portability_ldflags. |
254 |
--EXTRA_LDFLAGS = "" |
255 |
-+EXTRA_LDFLAGS = "#{ENV['LDFLAGS']}" |
256 |
- |
257 |
- # Whether to use the vendored libev or the system one. |
258 |
|
259 |
diff --git a/www-apache/passenger/files/passenger-3.0.21-temp-file-usage.patch b/www-apache/passenger/files/passenger-3.0.21-temp-file-usage.patch |
260 |
deleted file mode 100644 |
261 |
index 54f227f..0000000 |
262 |
--- a/www-apache/passenger/files/passenger-3.0.21-temp-file-usage.patch |
263 |
+++ /dev/null |
264 |
@@ -1,140 +0,0 @@ |
265 |
---- passenger-release-3.0.21.orig/ext/common/LoggingAgent/Main.cpp 2013-05-29 07:09:31.000000000 -0500 |
266 |
-+++ passenger-release-3.0.21.orig/ext/common/LoggingAgent/Main.cpp 2013-07-18 09:35:47.514433743 -0500 |
267 |
-@@ -265,11 +265,6 @@ main(int argc, char *argv[]) { |
268 |
- ev::sig sigtermWatcher(eventLoop); |
269 |
- ev::sig sigquitWatcher(eventLoop); |
270 |
- |
271 |
-- if (feedbackFdAvailable()) { |
272 |
-- feedbackFdWatcher.set<&feedbackFdBecameReadable>(); |
273 |
-- feedbackFdWatcher.start(FEEDBACK_FD, ev::READ); |
274 |
-- writeArrayMessage(FEEDBACK_FD, "initialized", NULL); |
275 |
-- } |
276 |
- sigintWatcher.set<&caughtExitSignal>(); |
277 |
- sigintWatcher.start(SIGINT); |
278 |
- sigtermWatcher.set<&caughtExitSignal>(); |
279 |
-@@ -281,6 +276,11 @@ main(int argc, char *argv[]) { |
280 |
- /********** Initialized! Enter main loop... **********/ |
281 |
- |
282 |
- P_DEBUG("Logging agent online, listening at " << socketAddress); |
283 |
-+ if (feedbackFdAvailable()) { |
284 |
-+ feedbackFdWatcher.set<&feedbackFdBecameReadable>(); |
285 |
-+ feedbackFdWatcher.start(FEEDBACK_FD, ev::READ); |
286 |
-+ writeArrayMessage(FEEDBACK_FD, "initialized", NULL); |
287 |
-+ } |
288 |
- ev_loop(eventLoop, 0); |
289 |
- return exitCode; |
290 |
- } catch (const tracable_exception &e) { |
291 |
---- passenger-release-3.0.21.orig/ext/common/ServerInstanceDir.h 2013-05-29 07:09:31.000000000 -0500 |
292 |
-+++ passenger-release-3.0.21.orig/ext/common/ServerInstanceDir.h 2013-07-18 09:38:54.431808622 -0500 |
293 |
-@@ -30,6 +30,7 @@ |
294 |
- #include <oxt/backtrace.hpp> |
295 |
- |
296 |
- #include <sys/types.h> |
297 |
-+#include <sys/stat.h> |
298 |
- #include <dirent.h> |
299 |
- #include <unistd.h> |
300 |
- #include <pwd.h> |
301 |
-@@ -38,6 +39,7 @@ |
302 |
- #include <cstring> |
303 |
- #include <string> |
304 |
- |
305 |
-+#include <Logging.h> |
306 |
- #include "Exceptions.h" |
307 |
- #include "Utils.h" |
308 |
- #include "Utils/StrIntUtils.h" |
309 |
-@@ -217,7 +219,69 @@ private: |
310 |
- * rights though, because we want admin tools to be able to list the available |
311 |
- * generations no matter what user they're running as. |
312 |
- */ |
313 |
-- makeDirTree(path, "u=rwxs,g=rx,o=rx"); |
314 |
-+ if (owner) { |
315 |
-+ switch (getFileType(path)) { |
316 |
-+ case FT_NONEXISTANT: |
317 |
-+ createDirectory(path); |
318 |
-+ break; |
319 |
-+ case FT_DIRECTORY: |
320 |
-+ verifyDirectoryPermissions(path); |
321 |
-+ break; |
322 |
-+ default: |
323 |
-+ throw RuntimeException("'" + path + "' already exists, and is not a directory"); |
324 |
-+ } |
325 |
-+ } else if (getFileType(path) != FT_DIRECTORY) { |
326 |
-+ throw RuntimeException("Server instance directory '" + path + |
327 |
-+ "' does not exist"); |
328 |
-+ } |
329 |
-+ } |
330 |
-+ |
331 |
-+ void createDirectory(const string &path) const { |
332 |
-+ // We do not use makeDirTree() here. If an attacker creates a directory |
333 |
-+ // just before we do, then we want to abort because we want the directory |
334 |
-+ // to have specific permissions. |
335 |
-+ if (mkdir(path.c_str(), parseModeString("u=rwx,g=rx,o=rx")) == -1) { |
336 |
-+ int e = errno; |
337 |
-+ throw FileSystemException("Cannot create server instance directory '" + |
338 |
-+ path + "'", e, path); |
339 |
-+ } |
340 |
-+ // verifyDirectoryPermissions() checks for the owner/group so we must make |
341 |
-+ // sure the server instance directory has that owner/group, even when the |
342 |
-+ // parent directory has setgid on. |
343 |
-+ if (chown(path.c_str(), geteuid(), getegid()) == -1) { |
344 |
-+ int e = errno; |
345 |
-+ throw FileSystemException("Cannot change the permissions of the server " |
346 |
-+ "instance directory '" + path + "'", e, path); |
347 |
-+ } |
348 |
-+ } |
349 |
-+ |
350 |
-+ /** |
351 |
-+ * When reusing an existing server instance directory, check permissions |
352 |
-+ * so that an attacker cannot pre-create a directory with too liberal |
353 |
-+ * permissions. |
354 |
-+ */ |
355 |
-+ void verifyDirectoryPermissions(const string &path) { |
356 |
-+ TRACE_POINT(); |
357 |
-+ struct stat buf; |
358 |
-+ |
359 |
-+ if (stat(path.c_str(), &buf) == -1) { |
360 |
-+ int e = errno; |
361 |
-+ throw FileSystemException("Cannot stat() " + path, e, path); |
362 |
-+ } else if (buf.st_mode != (S_IFDIR | parseModeString("u=rwx,g=rx,o=rx"))) { |
363 |
-+ throw RuntimeException("Tried to reuse existing server instance directory " + |
364 |
-+ path + ", but it has wrong permissions"); |
365 |
-+ } else if (buf.st_uid != geteuid() || buf.st_gid != getegid()) { |
366 |
-+ /* The server instance directory is always created by the Watchdog. Its UID/GID never |
367 |
-+ * changes because: |
368 |
-+ * 1. Disabling user switching only lowers the privilege of the HelperAgent. |
369 |
-+ * 2. For the UID/GID to change, the web server must be completely restarted |
370 |
-+ * (not just graceful reload) so that the control process can change its UID/GID. |
371 |
-+ * This causes the PID to change, so that an entirely new server instance |
372 |
-+ * directory is created. |
373 |
-+ */ |
374 |
-+ throw RuntimeException("Tried to reuse existing server instance directory " + |
375 |
-+ path + ", but it has wrong owner and group"); |
376 |
-+ } |
377 |
- } |
378 |
- |
379 |
- bool isDirectory(const string &dir, struct dirent *entry) const { |
380 |
---- passenger-release-3.0.21.orig/NEWS 2013-05-29 07:09:31.000000000 -0500 |
381 |
-+++ passenger-release-3.0.21.orig/NEWS 2013-07-18 08:58:30.943558375 -0500 |
382 |
-@@ -8,6 +8,7 @@ Release 3.0.21 |
383 |
- * Catch exceptions raised by Rack application objects. |
384 |
- * Fix for CVE-2013-2119. Details can be found in the announcement for version 4.0.5. |
385 |
- * Version 3.0.20 was pulled because its fixes were incomplete. |
386 |
-+ * Fix for CVE-2013-4136. Details can be found in the announcement for version 4.0.8. |
387 |
- |
388 |
- |
389 |
- Release 3.0.19 |
390 |
---- passenger-release-3.0.21.orig/test/cxx/ServerInstanceDirTest.cpp 2013-05-29 07:09:31.000000000 -0500 |
391 |
-+++ passenger-release-3.0.21.orig/test/cxx/ServerInstanceDirTest.cpp 2013-07-18 09:09:50.898433782 -0500 |
392 |
-@@ -73,9 +73,11 @@ namespace tut { |
393 |
- } |
394 |
- |
395 |
- TEST_METHOD(5) { |
396 |
-- // The destructor doesnn't remove the server instance directory if it |
397 |
-+ // The destructor doesn't remove the server instance directory if it |
398 |
- // wasn't created with the ownership flag or if it's been detached. |
399 |
- string path, path2; |
400 |
-+ makeDirTree(parentDir + "/passenger-test.1234"); |
401 |
-+ makeDirTree(parentDir + "/passenger-test.5678"); |
402 |
- { |
403 |
- ServerInstanceDir dir(1234, parentDir, false); |
404 |
- ServerInstanceDir dir2(5678, parentDir); |
405 |
|
406 |
diff --git a/www-apache/passenger/files/passenger-3.0.8-gentoo.patch b/www-apache/passenger/files/passenger-3.0.8-gentoo.patch |
407 |
deleted file mode 100644 |
408 |
index 6ca33dd..0000000 |
409 |
--- a/www-apache/passenger/files/passenger-3.0.8-gentoo.patch |
410 |
+++ /dev/null |
411 |
@@ -1,35 +0,0 @@ |
412 |
---- build/config.rb.~1~ 2010-10-01 12:22:34.000000000 +0200 |
413 |
-+++ build/config.rb 2010-11-02 10:56:25.309314070 +0100 |
414 |
-@@ -17,12 +17,8 @@ |
415 |
- OPTIMIZE = boolean_option("OPTIMIZE") |
416 |
- CC = string_option("CC", "gcc") |
417 |
- CXX = string_option("CXX", "g++") |
418 |
- # TODO: consider -fcommon |
419 |
--if OPTIMIZE |
420 |
-- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS".strip |
421 |
--else |
422 |
-- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS".strip |
423 |
--end |
424 |
-+OPTIMIZATION_FLAGS = "#{ENV['CXXFLAGS']} -DBOOST_DISABLE_ASSERTS".strip |
425 |
- |
426 |
- # Extra compiler flags that should always be passed to the C/C++ compiler. |
427 |
- # Should be included last in the command string, even after PlatformInfo.portability_cflags. |
428 |
---- build/packaging.rb.~1~ 2010-10-10 20:52:03.000000000 +0200 |
429 |
-+++ build/packaging.rb 2010-11-02 11:03:56.944938507 +0100 |
430 |
-@@ -87,13 +87,13 @@ |
431 |
- require 'rbconfig' |
432 |
- require 'fileutils' |
433 |
- include Config |
434 |
-- fakeroot = "pkg/fakeroot" |
435 |
-+ fakeroot = ENV['DISTDIR'] |
436 |
- |
437 |
- # We don't use CONFIG['archdir'] and the like because we want |
438 |
- # the files to be installed to /usr, and the Ruby interpreter |
439 |
- # on the packaging machine might be in /usr/local. |
440 |
-- fake_libdir = "#{fakeroot}/usr/lib/ruby/#{CONFIG['ruby_version']}" |
441 |
-- fake_native_support_dir = "#{fakeroot}/usr/lib/ruby/#{CONFIG['ruby_version']}/#{CONFIG['arch']}" |
442 |
-+ fake_libdir = "#{fakeroot}/#{CONFIG['sitedir']}/#{CONFIG['ruby_version']}" |
443 |
-+ fake_native_support_dir = "#{fakeroot}/#{CONFIG['sitedir']}/#{CONFIG['ruby_version']}/#{CONFIG['arch']}" |
444 |
- fake_agents_dir = "#{fakeroot}#{NATIVELY_PACKAGED_AGENTS_DIR}" |
445 |
- fake_helper_scripts_dir = "#{fakeroot}#{NATIVELY_PACKAGED_HELPER_SCRIPTS_DIR}" |
446 |
- fake_docdir = "#{fakeroot}#{NATIVELY_PACKAGED_DOCDIR}" |