1 |
commit: 1c74058ec2c5c99b31f8483c17bd2870493519d4 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 27 07:59:03 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 27 11:17:29 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c74058e |
7 |
|
8 |
www-apache/passenger: cleanup |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
www-apache/passenger/Manifest | 2 - |
14 |
www-apache/passenger/passenger-5.3.2.ebuild | 127 ---------------------------- |
15 |
www-apache/passenger/passenger-6.0.0.ebuild | 127 ---------------------------- |
16 |
3 files changed, 256 deletions(-) |
17 |
|
18 |
diff --git a/www-apache/passenger/Manifest b/www-apache/passenger/Manifest |
19 |
index 449d123bf19..a323f3e8c46 100644 |
20 |
--- a/www-apache/passenger/Manifest |
21 |
+++ b/www-apache/passenger/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
-DIST passenger-5.3.2.tar.gz 7039759 BLAKE2B be10b368530b8560d7d93664bbf91711ace0cadb0d1e15a978c0a52311a626ea2e1c6d05e507ef488b384e4a7ccc4b02da35bd5bd5878788b036401e06a33b5f SHA512 97900a0e0de67cc3c3770c291c85c6fe937fceab5632c9832bc5c461d3b4e586a47c9733a1a50a805834f591e5af90651789ed74bf74e0eed4d6ce8084c51967 |
24 |
DIST passenger-5.3.7.tar.gz 7195477 BLAKE2B 43a2384574316f6c8472f326389e8c1feed769e78d66c20e63f6d2679b1ac1b20a9122612c98e3006520e6f24c5883addd93ef11e8f0385759ee0c9e9299b7ad SHA512 bbef4881e0e0c698b29b10ff8a7afbc001c31d14fb80ffa27ed6867a92ad23712319733e6162be1f7720ebda421630af2f258f8167fa73c7b5ea594bc8247158 |
25 |
-DIST passenger-6.0.0.tar.gz 7202705 BLAKE2B 764e3072e1bed8caf87198442a11d660c8bb4d88007bf60fd77c3dc10c110a6e7836c35c1897484190df74281ff1027bdf7f2ed7eb98155ab4419b108aae1136 SHA512 f3fb7e29764397684bff58314db34d25d22a0a4f1420d149f8f43b2a1ff77407a1d67908bf89182f3ed8fbe9476938da91a13dd11c9eeeb6fe4f0af2f9646ec7 |
26 |
DIST passenger-6.0.1.tar.gz 7203144 BLAKE2B 1c59a4e7c6e82fc57f507653d8648cc8c21fae6ce8fb008b0839b60e6a076227f139300d7521eaff281ce2f935f20a730b3b34cb2cf3527a807f38e78219277d SHA512 d2fdd27367a2adc8e5486038c7bb9a504c13bc675ba9640123c1a091e6a891238c90c54a75938cd119d74f40c8d0b28257704c83ebefa024057c744ea845997d |
27 |
|
28 |
diff --git a/www-apache/passenger/passenger-5.3.2.ebuild b/www-apache/passenger/passenger-5.3.2.ebuild |
29 |
deleted file mode 100644 |
30 |
index 200353b9e91..00000000000 |
31 |
--- a/www-apache/passenger/passenger-5.3.2.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,127 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
-USE_RUBY="ruby23 ruby24 ruby25" |
39 |
- |
40 |
-inherit apache-module flag-o-matic multilib ruby-ng toolchain-funcs |
41 |
- |
42 |
-DESCRIPTION="Passenger makes deployment of Ruby on Rails applications a breeze" |
43 |
-HOMEPAGE="https://www.phusionpassenger.com/" |
44 |
-SRC_URI="https://s3.amazonaws.com/phusion-passenger/releases/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="GPL-2" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 x86" |
49 |
-IUSE="apache2 debug" |
50 |
- |
51 |
-ruby_add_bdepend "dev-ruby/rake" |
52 |
- |
53 |
-ruby_add_rdepend " |
54 |
- >=dev-ruby/rack-1.0.0:* |
55 |
- >=dev-ruby/rake-0.8.1" |
56 |
- |
57 |
-# libev is bundled but with adapations that do not seem to be accepted |
58 |
-# upstream, so we must use the bundled version :-( |
59 |
-CDEPEND=" |
60 |
- >=dev-libs/libuv-1.8.0 |
61 |
- net-misc/curl[ssl] |
62 |
- apache2? ( www-servers/apache[apache2_modules_unixd(+)] )" |
63 |
- |
64 |
-RDEPEND="${RDEPEND} ${CDEPEND}" |
65 |
-DEPEND="${DEPEND} ${CDEPEND}" |
66 |
- |
67 |
-APACHE2_MOD_CONF="30_mod_${PN}-5.0.0 30_mod_${PN}" |
68 |
-APACHE2_MOD_DEFINE="PASSENGER" |
69 |
- |
70 |
-want_apache2 |
71 |
- |
72 |
-pkg_setup() { |
73 |
- use debug && append-flags -DPASSENGER_DEBUG |
74 |
- depend.apache_pkg_setup |
75 |
-} |
76 |
- |
77 |
-all_ruby_prepare() { |
78 |
- epatch "${FILESDIR}"/${PN}-5.1.11-gentoo.patch |
79 |
- eapply "${FILESDIR}"/${PN}-5.1.1-isnan.patch |
80 |
- |
81 |
- # Change these with sed instead of a patch so that we can easily use |
82 |
- # the toolchain-funcs methods. |
83 |
- sed -i -e "/^CC/ s/=.*$/= '$(tc-getCC)'/" \ |
84 |
- -e "/^CXX\s/ s/=.*$/= '$(tc-getCXX)'/" \ |
85 |
- -e 's/PlatformInfo.debugging_cflags//' build/basics.rb || die |
86 |
- |
87 |
- # Avoid fixed debugging CFLAGs. |
88 |
- sed -e '/debugging_cflags/areturn ""' -i src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb || die |
89 |
- |
90 |
- # Use sed here so that we can dynamically set the documentation directory. |
91 |
- sed -i -e "s:/usr/share/doc/passenger:/usr/share/doc/${P}:" \ |
92 |
- -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \ |
93 |
- src/ruby_supportlib/phusion_passenger.rb || die |
94 |
- sed -i -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" src/cxx_supportlib/ResourceLocator.h || die |
95 |
- |
96 |
- # Don't install a tool that won't work in our setup. |
97 |
- sed -i -e '/passenger-install-apache2-module/d' src/ruby_supportlib/phusion_passenger/packaging.rb || die |
98 |
- rm -f bin/passenger-install-apache2-module || die "Unable to remove unneeded install script." |
99 |
- |
100 |
- # Make sure we use the system-provided version where possible |
101 |
- rm -rf src/cxx_supportlib/vendor-copy/libuv || die "Unable to remove vendored code." |
102 |
- |
103 |
- # Avoid building documentation to avoid a dependency on mizuho. |
104 |
- #sed -i -e 's/, :doc//' build/packaging.rb || die |
105 |
- touch doc/*.html || die |
106 |
- |
107 |
- # Fix hard-coded use of AR |
108 |
- sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/support/cplusplus.rb || die |
109 |
- |
110 |
- # Make sure apache support is not attempted with -apache2 |
111 |
- if ! use apache2 ; then |
112 |
- sed -i -e '/fakeroot/ s/:apache2, //' build/packaging.rb || die |
113 |
- fi |
114 |
-} |
115 |
- |
116 |
-all_ruby_compile() { |
117 |
- if use apache2 ; then |
118 |
- V=1 EXTRA_LDFLAGS="${LDFLAGS}" \ |
119 |
- APXS2="${APXS}" \ |
120 |
- HTTPD="${APACHE_BIN}" \ |
121 |
- FS_LIBDIR='/usr/'$(get_libdir) \ |
122 |
- USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \ |
123 |
- ruby -S rake apache2 || die "rake failed" |
124 |
- fi |
125 |
-} |
126 |
- |
127 |
-each_ruby_compile() { |
128 |
- append-flags -fno-strict-aliasing |
129 |
- |
130 |
- V=1 EXTRA_LDFLAGS="${LDFLAGS}" \ |
131 |
- APXS2="${APXS}" \ |
132 |
- HTTPD="${APACHE_BIN}" \ |
133 |
- FS_LIBDIR='/usr/'$(get_libdir) \ |
134 |
- USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \ |
135 |
- ${RUBY} -S rake native_support || die "rake failed" |
136 |
-} |
137 |
- |
138 |
-all_ruby_install() { |
139 |
- if use apache2 ; then |
140 |
- APACHE2_MOD_FILE="${S}/buildout/apache2/mod_${PN}.so" |
141 |
- apache-module_src_install |
142 |
- |
143 |
- # Patch in the correct libdir |
144 |
- sed -i -e 's:/usr/lib/:/usr/'$(get_libdir)'/:' "${D}${APACHE_MODULES_CONFDIR}/30_mod_${PN}.conf" || die |
145 |
- fi |
146 |
- |
147 |
- dodoc CHANGELOG README.md |
148 |
-} |
149 |
- |
150 |
-each_ruby_install() { |
151 |
- DISTDIR="${D}" \ |
152 |
- RUBYLIBDIR="$(ruby_rbconfig_value vendordir)" \ |
153 |
- RUBYARCHDIR="$(ruby_rbconfig_value archdir)" \ |
154 |
- APXS2="${APXS}" \ |
155 |
- HTTPD="${APACHE_BIN}" \ |
156 |
- FS_LIBDIR='/usr/'$(get_libdir) \ |
157 |
- EXTRA_LDFLAGS="${LDFLAGS}" \ |
158 |
- USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \ |
159 |
- ${RUBY} -S rake fakeroot || die "rake failed" |
160 |
-} |
161 |
|
162 |
diff --git a/www-apache/passenger/passenger-6.0.0.ebuild b/www-apache/passenger/passenger-6.0.0.ebuild |
163 |
deleted file mode 100644 |
164 |
index 3e6bbbe2025..00000000000 |
165 |
--- a/www-apache/passenger/passenger-6.0.0.ebuild |
166 |
+++ /dev/null |
167 |
@@ -1,127 +0,0 @@ |
168 |
-# Copyright 1999-2018 Gentoo Authors |
169 |
-# Distributed under the terms of the GNU General Public License v2 |
170 |
- |
171 |
-EAPI=6 |
172 |
-USE_RUBY="ruby23 ruby24 ruby25" |
173 |
- |
174 |
-inherit apache-module flag-o-matic multilib ruby-ng toolchain-funcs |
175 |
- |
176 |
-DESCRIPTION="Passenger makes deployment of Ruby on Rails applications a breeze" |
177 |
-HOMEPAGE="https://www.phusionpassenger.com/" |
178 |
-SRC_URI="https://s3.amazonaws.com/phusion-passenger/releases/${P}.tar.gz" |
179 |
- |
180 |
-LICENSE="GPL-2" |
181 |
-SLOT="0" |
182 |
-KEYWORDS="~amd64 ~x86" |
183 |
-IUSE="apache2 debug" |
184 |
- |
185 |
-ruby_add_bdepend "dev-ruby/rake" |
186 |
- |
187 |
-ruby_add_rdepend " |
188 |
- >=dev-ruby/rack-1.0.0:* |
189 |
- >=dev-ruby/rake-0.8.1" |
190 |
- |
191 |
-# libev is bundled but with adapations that do not seem to be accepted |
192 |
-# upstream, so we must use the bundled version :-( |
193 |
-CDEPEND=" |
194 |
- >=dev-libs/libuv-1.8.0 |
195 |
- net-misc/curl[ssl] |
196 |
- apache2? ( www-servers/apache[apache2_modules_unixd(+)] )" |
197 |
- |
198 |
-RDEPEND="${RDEPEND} ${CDEPEND}" |
199 |
-DEPEND="${DEPEND} ${CDEPEND}" |
200 |
- |
201 |
-APACHE2_MOD_CONF="30_mod_${PN}-5.0.0 30_mod_${PN}" |
202 |
-APACHE2_MOD_DEFINE="PASSENGER" |
203 |
- |
204 |
-want_apache2 |
205 |
- |
206 |
-pkg_setup() { |
207 |
- use debug && append-flags -DPASSENGER_DEBUG |
208 |
- depend.apache_pkg_setup |
209 |
-} |
210 |
- |
211 |
-all_ruby_prepare() { |
212 |
- eapply "${FILESDIR}"/${PN}-5.1.11-gentoo.patch |
213 |
- eapply "${FILESDIR}"/${PN}-5.1.1-isnan.patch |
214 |
- |
215 |
- # Change these with sed instead of a patch so that we can easily use |
216 |
- # the toolchain-funcs methods. |
217 |
- sed -i -e "/^CC/ s/=.*$/= '$(tc-getCC)'/" \ |
218 |
- -e "/^CXX\s/ s/=.*$/= '$(tc-getCXX)'/" \ |
219 |
- -e 's/PlatformInfo.debugging_cflags//' build/basics.rb || die |
220 |
- |
221 |
- # Avoid fixed debugging CFLAGs. |
222 |
- sed -e '/debugging_cflags/areturn ""' -i src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb || die |
223 |
- |
224 |
- # Use sed here so that we can dynamically set the documentation directory. |
225 |
- sed -i -e "s:/usr/share/doc/passenger:/usr/share/doc/${P}:" \ |
226 |
- -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \ |
227 |
- src/ruby_supportlib/phusion_passenger.rb || die |
228 |
- sed -i -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" src/cxx_supportlib/ResourceLocator.h || die |
229 |
- |
230 |
- # Don't install a tool that won't work in our setup. |
231 |
- sed -i -e '/passenger-install-apache2-module/d' src/ruby_supportlib/phusion_passenger/packaging.rb || die |
232 |
- rm -f bin/passenger-install-apache2-module || die "Unable to remove unneeded install script." |
233 |
- |
234 |
- # Make sure we use the system-provided version where possible |
235 |
- rm -rf src/cxx_supportlib/vendor-copy/libuv || die "Unable to remove vendored code." |
236 |
- |
237 |
- # Avoid building documentation to avoid a dependency on mizuho. |
238 |
- #sed -i -e 's/, :doc//' build/packaging.rb || die |
239 |
- touch doc/*.html || die |
240 |
- |
241 |
- # Fix hard-coded use of AR |
242 |
- sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/support/cplusplus.rb || die |
243 |
- |
244 |
- # Make sure apache support is not attempted with -apache2 |
245 |
- if ! use apache2 ; then |
246 |
- sed -i -e '/fakeroot/ s/:apache2, //' build/packaging.rb || die |
247 |
- fi |
248 |
-} |
249 |
- |
250 |
-all_ruby_compile() { |
251 |
- if use apache2 ; then |
252 |
- V=1 EXTRA_LDFLAGS="${LDFLAGS}" \ |
253 |
- APXS2="${APXS}" \ |
254 |
- HTTPD="${APACHE_BIN}" \ |
255 |
- FS_LIBDIR='/usr/'$(get_libdir) \ |
256 |
- USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \ |
257 |
- ruby -S rake apache2 || die "rake failed" |
258 |
- fi |
259 |
-} |
260 |
- |
261 |
-each_ruby_compile() { |
262 |
- append-flags -fno-strict-aliasing |
263 |
- |
264 |
- V=1 EXTRA_LDFLAGS="${LDFLAGS}" \ |
265 |
- APXS2="${APXS}" \ |
266 |
- HTTPD="${APACHE_BIN}" \ |
267 |
- FS_LIBDIR='/usr/'$(get_libdir) \ |
268 |
- USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \ |
269 |
- ${RUBY} -S rake native_support || die "rake failed" |
270 |
-} |
271 |
- |
272 |
-all_ruby_install() { |
273 |
- if use apache2 ; then |
274 |
- APACHE2_MOD_FILE="${S}/buildout/apache2/mod_${PN}.so" |
275 |
- apache-module_src_install |
276 |
- |
277 |
- # Patch in the correct libdir |
278 |
- sed -i -e 's:/usr/lib/:/usr/'$(get_libdir)'/:' "${D}${APACHE_MODULES_CONFDIR}/30_mod_${PN}.conf" || die |
279 |
- fi |
280 |
- |
281 |
- dodoc CHANGELOG README.md |
282 |
-} |
283 |
- |
284 |
-each_ruby_install() { |
285 |
- DISTDIR="${D}" \ |
286 |
- RUBYLIBDIR="$(ruby_rbconfig_value vendordir)" \ |
287 |
- RUBYARCHDIR="$(ruby_rbconfig_value archdir)" \ |
288 |
- APXS2="${APXS}" \ |
289 |
- HTTPD="${APACHE_BIN}" \ |
290 |
- FS_LIBDIR='/usr/'$(get_libdir) \ |
291 |
- EXTRA_LDFLAGS="${LDFLAGS}" \ |
292 |
- USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \ |
293 |
- ${RUBY} -S rake fakeroot || die "rake failed" |
294 |
-} |