Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/passenger/
Date: Sat, 06 Nov 2021 08:05:51
Message-Id: 1636185937.ea9e25ce32cf72d67784baa6d0904578782c9b5b.graaff@gentoo
1 commit: ea9e25ce32cf72d67784baa6d0904578782c9b5b
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 6 07:10:42 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 6 08:05:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9e25ce
7
8 www-apache/passenger: cleanup
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 www-apache/passenger/Manifest | 2 -
14 www-apache/passenger/passenger-6.0.10-r1.ebuild | 126 -----------------------
15 www-apache/passenger/passenger-6.0.10.ebuild | 129 ------------------------
16 www-apache/passenger/passenger-6.0.9.ebuild | 129 ------------------------
17 4 files changed, 386 deletions(-)
18
19 diff --git a/www-apache/passenger/Manifest b/www-apache/passenger/Manifest
20 index 07054af4229..3160433bfc7 100644
21 --- a/www-apache/passenger/Manifest
22 +++ b/www-apache/passenger/Manifest
23 @@ -1,4 +1,2 @@
24 -DIST passenger-6.0.10.tar.gz 8178910 BLAKE2B 9c7b8e05130e7242cb13986b97582786d77c2d5341620bd3594f428ecf26bf983262ad92b7b8a21666bfa262de0f4d148cef56de2015c0e2b42a3d7d87db2b43 SHA512 5ef2170cb9e55de37cc2b561f2f5c6a6406c71d70b248078ac5086d9d6e9ba90efcf223f1ed6b14774c8eb008d7cb6e98f3d5f8a088126ea697638a8dce6741c
25 DIST passenger-6.0.11.tar.gz 8183414 BLAKE2B 9767c3f198d7a779dfefed1d1a2ab07e3dda964a61718475470266e3b4448a45d2c5e7416a2e148afa66241f74e91e98ccbec7f2a08f5d4d1e2eff2ac7de5f63 SHA512 977d8adb261c17d5f21115703b9b18c4d3bfc17f998fb880d3a28f68392db2f9e6a2cb7612211f08bc913fd2f417cb2b689fcab2317707e17e8ddea6aeb967d2
26 DIST passenger-6.0.8.tar.gz 7567855 BLAKE2B ea8577c07a57eaea4e3b2b236808c9e54badb35368e948132af04220026b2676a71d066625a64cd98ce35118ae613bcbca8a0a1f8e0bc2a8d321c1165dec72f5 SHA512 ad35bee4a1c855b8f5401ab44e2a9b0cf3281e7fb1d8e09c8b12c54a465545d43285301c7d0fe16914e3c0fd5407d0d5cef31bb296f850d787903e6e006b368f
27 -DIST passenger-6.0.9.tar.gz 8180342 BLAKE2B 41bdfe06fe3dd94cbcbe44b8a9e2945447662a00b082c94d84196c13ec597c8aa6f5b34ff7855d06a983a27673c6e5c65426dfee20bcd601cea03cc2035a9da0 SHA512 fbb7a5a9e222672ea2db13f92de0710b84cde530d67633ad31265a1e34bf8a79f006a9db35eec45200d61c1084f0846275a06b55c717cf35ccdc7a8e878d37b4
28
29 diff --git a/www-apache/passenger/passenger-6.0.10-r1.ebuild b/www-apache/passenger/passenger-6.0.10-r1.ebuild
30 deleted file mode 100644
31 index ace4e92b8d8..00000000000
32 --- a/www-apache/passenger/passenger-6.0.10-r1.ebuild
33 +++ /dev/null
34 @@ -1,126 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -USE_RUBY="ruby26 ruby27 ruby30"
40 -
41 -inherit apache-module flag-o-matic multilib ruby-ng toolchain-funcs
42 -
43 -DESCRIPTION="Passenger makes deployment of Ruby on Rails applications a breeze"
44 -HOMEPAGE="https://www.phusionpassenger.com/"
45 -SRC_URI="https://s3.amazonaws.com/phusion-passenger/releases/${P}.tar.gz"
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
50 -IUSE="apache2 debug"
51 -
52 -ruby_add_bdepend "dev-ruby/rake"
53 -
54 -ruby_add_rdepend "
55 - >=dev-ruby/rack-1.0.0:*
56 - >=dev-ruby/rake-0.8.1"
57 -
58 -# libev is bundled but with adapations that do not seem to be accepted
59 -# upstream, so we must use the bundled version :-(
60 -CDEPEND="
61 - >=dev-libs/libuv-1.8.0
62 - net-misc/curl[ssl]
63 - apache2? ( www-servers/apache[apache2_modules_unixd(+)] )"
64 -
65 -RDEPEND="${RDEPEND} ${CDEPEND}"
66 -DEPEND="${DEPEND} ${CDEPEND}"
67 -
68 -APACHE2_MOD_CONF="30_mod_${PN}-5.0.0 30_mod_${PN}"
69 -APACHE2_MOD_DEFINE="PASSENGER"
70 -
71 -want_apache2
72 -
73 -pkg_setup() {
74 - use debug && append-flags -DPASSENGER_DEBUG
75 - depend.apache_pkg_setup
76 -}
77 -
78 -all_ruby_prepare() {
79 - eapply "${FILESDIR}"/${PN}-5.1.11-gentoo.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 - # Fix hard-coded use of AR
104 - sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/support/cplusplus.rb || die
105 -
106 - # Make sure apache support is not attempted with -apache2
107 - if ! use apache2 ; then
108 - sed -i -e '/fakeroot/ s/:apache2, //' build/packaging.rb || die
109 - fi
110 -}
111 -
112 -all_ruby_compile() {
113 - if use apache2 ; then
114 - V=1 EXTRA_LDFLAGS="${LDFLAGS}" \
115 - APXS2="${APXS}" \
116 - HTTPD="${APACHE_BIN}" \
117 - FS_LIBDIR='/usr/'$(get_libdir) \
118 - USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
119 - RANLIB=$(tc-getRANLIB) \
120 - ruby -S rake apache2 || die "rake failed"
121 - fi
122 -}
123 -
124 -each_ruby_compile() {
125 - append-flags -fno-strict-aliasing
126 -
127 - V=1 EXTRA_LDFLAGS="${LDFLAGS}" \
128 - APXS2="${APXS}" \
129 - HTTPD="${APACHE_BIN}" \
130 - FS_LIBDIR='/usr/'$(get_libdir) \
131 - USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
132 - RANLIB=$(tc-getRANLIB) \
133 - ${RUBY} -S rake native_support || die "rake failed"
134 -}
135 -
136 -all_ruby_install() {
137 - if use apache2 ; then
138 - APACHE2_MOD_FILE="${S}/buildout/apache2/mod_${PN}.so"
139 - apache-module_src_install
140 -
141 - # Patch in the correct libdir
142 - sed -i -e 's:/usr/lib/:/usr/'$(get_libdir)'/:' "${D}${APACHE_MODULES_CONFDIR}/30_mod_${PN}.conf" || die
143 - fi
144 -
145 - dodoc CHANGELOG README.md doc/*.md
146 -}
147 -
148 -each_ruby_install() {
149 - DISTDIR="${D}" \
150 - RUBYLIBDIR="$(ruby_rbconfig_value vendordir)" \
151 - RUBYARCHDIR="$(ruby_rbconfig_value archdir)" \
152 - APXS2="${APXS}" \
153 - HTTPD="${APACHE_BIN}" \
154 - FS_DOCDIR="/usr/share/doc/${P}" \
155 - FS_LIBDIR='/usr/'$(get_libdir) \
156 - EXTRA_LDFLAGS="${LDFLAGS}" \
157 - USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
158 - RANLIB=$(tc-getRANLIB) \
159 - ${RUBY} -S rake fakeroot || die "rake failed"
160 -}
161
162 diff --git a/www-apache/passenger/passenger-6.0.10.ebuild b/www-apache/passenger/passenger-6.0.10.ebuild
163 deleted file mode 100644
164 index 52d626c53cb..00000000000
165 --- a/www-apache/passenger/passenger-6.0.10.ebuild
166 +++ /dev/null
167 @@ -1,129 +0,0 @@
168 -# Copyright 1999-2021 Gentoo Authors
169 -# Distributed under the terms of the GNU General Public License v2
170 -
171 -EAPI=7
172 -USE_RUBY="ruby26 ruby27 ruby30"
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 ~ppc ~ppc64 ~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 -
214 - # Change these with sed instead of a patch so that we can easily use
215 - # the toolchain-funcs methods.
216 - sed -i -e "/^CC/ s/=.*$/= '$(tc-getCC)'/" \
217 - -e "/^CXX\s/ s/=.*$/= '$(tc-getCXX)'/" \
218 - -e 's/PlatformInfo.debugging_cflags//' build/basics.rb || die
219 -
220 - # Avoid fixed debugging CFLAGs.
221 - sed -e '/debugging_cflags/areturn ""' -i src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb || die
222 -
223 - # Use sed here so that we can dynamically set the documentation directory.
224 - sed -i -e "s:/usr/share/doc/passenger:/usr/share/doc/${P}:" \
225 - -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \
226 - src/ruby_supportlib/phusion_passenger.rb || die
227 - sed -i -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" src/cxx_supportlib/ResourceLocator.h || die
228 -
229 - # Don't install a tool that won't work in our setup.
230 - sed -i -e '/passenger-install-apache2-module/d' src/ruby_supportlib/phusion_passenger/packaging.rb || die
231 - rm -f bin/passenger-install-apache2-module || die "Unable to remove unneeded install script."
232 -
233 - # Make sure we use the system-provided version where possible
234 - rm -rf src/cxx_supportlib/vendor-copy/libuv || die "Unable to remove vendored code."
235 -
236 - # Avoid building documentation to avoid a dependency on mizuho.
237 - #sed -i -e 's/, :doc//' build/packaging.rb || die
238 - touch doc/*.html || die
239 -
240 - # Fix hard-coded use of AR
241 - sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/support/cplusplus.rb || die
242 -
243 - # Make sure apache support is not attempted with -apache2
244 - if ! use apache2 ; then
245 - sed -i -e '/fakeroot/ s/:apache2, //' build/packaging.rb || die
246 - fi
247 -}
248 -
249 -all_ruby_compile() {
250 - if use apache2 ; then
251 - V=1 EXTRA_LDFLAGS="${LDFLAGS}" \
252 - APXS2="${APXS}" \
253 - HTTPD="${APACHE_BIN}" \
254 - FS_LIBDIR='/usr/'$(get_libdir) \
255 - USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
256 - RANLIB=$(tc-getRANLIB) \
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 - RANLIB=$(tc-getRANLIB) \
270 - ${RUBY} -S rake native_support || die "rake failed"
271 -}
272 -
273 -all_ruby_install() {
274 - if use apache2 ; then
275 - APACHE2_MOD_FILE="${S}/buildout/apache2/mod_${PN}.so"
276 - apache-module_src_install
277 -
278 - # Patch in the correct libdir
279 - sed -i -e 's:/usr/lib/:/usr/'$(get_libdir)'/:' "${D}${APACHE_MODULES_CONFDIR}/30_mod_${PN}.conf" || die
280 - fi
281 -
282 - dodoc CHANGELOG README.md
283 -}
284 -
285 -each_ruby_install() {
286 - DISTDIR="${D}" \
287 - RUBYLIBDIR="$(ruby_rbconfig_value vendordir)" \
288 - RUBYARCHDIR="$(ruby_rbconfig_value archdir)" \
289 - APXS2="${APXS}" \
290 - HTTPD="${APACHE_BIN}" \
291 - FS_LIBDIR='/usr/'$(get_libdir) \
292 - EXTRA_LDFLAGS="${LDFLAGS}" \
293 - USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
294 - RANLIB=$(tc-getRANLIB) \
295 - ${RUBY} -S rake fakeroot || die "rake failed"
296 -}
297
298 diff --git a/www-apache/passenger/passenger-6.0.9.ebuild b/www-apache/passenger/passenger-6.0.9.ebuild
299 deleted file mode 100644
300 index 0a7a0aa829f..00000000000
301 --- a/www-apache/passenger/passenger-6.0.9.ebuild
302 +++ /dev/null
303 @@ -1,129 +0,0 @@
304 -# Copyright 1999-2021 Gentoo Authors
305 -# Distributed under the terms of the GNU General Public License v2
306 -
307 -EAPI=6
308 -USE_RUBY="ruby25 ruby26 ruby27 ruby30"
309 -
310 -inherit apache-module flag-o-matic multilib ruby-ng toolchain-funcs
311 -
312 -DESCRIPTION="Passenger makes deployment of Ruby on Rails applications a breeze"
313 -HOMEPAGE="https://www.phusionpassenger.com/"
314 -SRC_URI="https://s3.amazonaws.com/phusion-passenger/releases/${P}.tar.gz"
315 -
316 -LICENSE="GPL-2"
317 -SLOT="0"
318 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
319 -IUSE="apache2 debug"
320 -
321 -ruby_add_bdepend "dev-ruby/rake"
322 -
323 -ruby_add_rdepend "
324 - >=dev-ruby/rack-1.0.0:*
325 - >=dev-ruby/rake-0.8.1"
326 -
327 -# libev is bundled but with adapations that do not seem to be accepted
328 -# upstream, so we must use the bundled version :-(
329 -CDEPEND="
330 - >=dev-libs/libuv-1.8.0
331 - net-misc/curl[ssl]
332 - apache2? ( www-servers/apache[apache2_modules_unixd(+)] )"
333 -
334 -RDEPEND="${RDEPEND} ${CDEPEND}"
335 -DEPEND="${DEPEND} ${CDEPEND}"
336 -
337 -APACHE2_MOD_CONF="30_mod_${PN}-5.0.0 30_mod_${PN}"
338 -APACHE2_MOD_DEFINE="PASSENGER"
339 -
340 -want_apache2
341 -
342 -pkg_setup() {
343 - use debug && append-flags -DPASSENGER_DEBUG
344 - depend.apache_pkg_setup
345 -}
346 -
347 -all_ruby_prepare() {
348 - eapply "${FILESDIR}"/${PN}-5.1.11-gentoo.patch
349 -
350 - # Change these with sed instead of a patch so that we can easily use
351 - # the toolchain-funcs methods.
352 - sed -i -e "/^CC/ s/=.*$/= '$(tc-getCC)'/" \
353 - -e "/^CXX\s/ s/=.*$/= '$(tc-getCXX)'/" \
354 - -e 's/PlatformInfo.debugging_cflags//' build/basics.rb || die
355 -
356 - # Avoid fixed debugging CFLAGs.
357 - sed -e '/debugging_cflags/areturn ""' -i src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb || die
358 -
359 - # Use sed here so that we can dynamically set the documentation directory.
360 - sed -i -e "s:/usr/share/doc/passenger:/usr/share/doc/${P}:" \
361 - -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \
362 - src/ruby_supportlib/phusion_passenger.rb || die
363 - sed -i -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" src/cxx_supportlib/ResourceLocator.h || die
364 -
365 - # Don't install a tool that won't work in our setup.
366 - sed -i -e '/passenger-install-apache2-module/d' src/ruby_supportlib/phusion_passenger/packaging.rb || die
367 - rm -f bin/passenger-install-apache2-module || die "Unable to remove unneeded install script."
368 -
369 - # Make sure we use the system-provided version where possible
370 - rm -rf src/cxx_supportlib/vendor-copy/libuv || die "Unable to remove vendored code."
371 -
372 - # Avoid building documentation to avoid a dependency on mizuho.
373 - #sed -i -e 's/, :doc//' build/packaging.rb || die
374 - touch doc/*.html || die
375 -
376 - # Fix hard-coded use of AR
377 - sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/support/cplusplus.rb || die
378 -
379 - # Make sure apache support is not attempted with -apache2
380 - if ! use apache2 ; then
381 - sed -i -e '/fakeroot/ s/:apache2, //' build/packaging.rb || die
382 - fi
383 -}
384 -
385 -all_ruby_compile() {
386 - if use apache2 ; then
387 - V=1 EXTRA_LDFLAGS="${LDFLAGS}" \
388 - APXS2="${APXS}" \
389 - HTTPD="${APACHE_BIN}" \
390 - FS_LIBDIR='/usr/'$(get_libdir) \
391 - USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
392 - RANLIB=$(tc-getRANLIB) \
393 - ruby -S rake apache2 || die "rake failed"
394 - fi
395 -}
396 -
397 -each_ruby_compile() {
398 - append-flags -fno-strict-aliasing
399 -
400 - V=1 EXTRA_LDFLAGS="${LDFLAGS}" \
401 - APXS2="${APXS}" \
402 - HTTPD="${APACHE_BIN}" \
403 - FS_LIBDIR='/usr/'$(get_libdir) \
404 - USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
405 - RANLIB=$(tc-getRANLIB) \
406 - ${RUBY} -S rake native_support || die "rake failed"
407 -}
408 -
409 -all_ruby_install() {
410 - if use apache2 ; then
411 - APACHE2_MOD_FILE="${S}/buildout/apache2/mod_${PN}.so"
412 - apache-module_src_install
413 -
414 - # Patch in the correct libdir
415 - sed -i -e 's:/usr/lib/:/usr/'$(get_libdir)'/:' "${D}${APACHE_MODULES_CONFDIR}/30_mod_${PN}.conf" || die
416 - fi
417 -
418 - dodoc CHANGELOG README.md
419 -}
420 -
421 -each_ruby_install() {
422 - DISTDIR="${D}" \
423 - RUBYLIBDIR="$(ruby_rbconfig_value vendordir)" \
424 - RUBYARCHDIR="$(ruby_rbconfig_value archdir)" \
425 - APXS2="${APXS}" \
426 - HTTPD="${APACHE_BIN}" \
427 - FS_LIBDIR='/usr/'$(get_libdir) \
428 - EXTRA_LDFLAGS="${LDFLAGS}" \
429 - USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \
430 - RANLIB=$(tc-getRANLIB) \
431 - ${RUBY} -S rake fakeroot || die "rake failed"
432 -}