summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-02-27 20:36:03 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-02-27 20:36:03 +0000
commit78967675c3df749b229d5d08b05c7ba656f48449 (patch)
treea5097be1b21daed2e6f663e48c205352a7b8e392 /www-apache
parentDEPEND on pkg-config #406057 by cyberbat. (diff)
downloadhistorical-78967675c3df749b229d5d08b05c7ba656f48449.tar.gz
historical-78967675c3df749b229d5d08b05c7ba656f48449.tar.bz2
historical-78967675c3df749b229d5d08b05c7ba656f48449.zip
Revision bump to try supporting Ruby 1.9 _or_ Ruby 1.8.
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/passenger/ChangeLog10
-rw-r--r--www-apache/passenger/Manifest13
-rw-r--r--www-apache/passenger/passenger-3.0.11-r1.ebuild90
3 files changed, 105 insertions, 8 deletions
diff --git a/www-apache/passenger/ChangeLog b/www-apache/passenger/ChangeLog
index 8cde12e13030..e138a441dbd9 100644
--- a/www-apache/passenger/ChangeLog
+++ b/www-apache/passenger/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apache/passenger
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.39 2011/12/26 11:51:00 graaff Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.40 2012/02/27 20:36:03 flameeyes Exp $
+
+*passenger-3.0.11-r1 (27 Feb 2012)
+
+ 27 Feb 2012; Diego E. Pettenò <flameeyes@gentoo.org>
+ +passenger-3.0.11-r1.ebuild:
+ Revision bump to try supporting Ruby 1.9 _or_ Ruby 1.8.
*passenger-3.0.11 (26 Dec 2011)
diff --git a/www-apache/passenger/Manifest b/www-apache/passenger/Manifest
index 34ced9f74b4d..57d54e80f889 100644
--- a/www-apache/passenger/Manifest
+++ b/www-apache/passenger/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
AUX 2.2.15-gentoo-multilib-strict.patch 1278 RMD160 bf8c07afd51c60c744b0b362a52236b1c22c6d29 SHA1 5d9fb5b88379b5e634285c739606beebc620ee87 SHA256 dced348f25d2bb41dff59f51c1dd7a8b6771c81dd699a54170e3627bef12ddea
AUX 2.2.4-gentoo.patch 1617 RMD160 bb019e88f04a8f04c9c0dfa6ef1d3f908fc5ffcc SHA1 b4bc124dcd2c537f65a39b9879ac35a0ec310d34 SHA256 d90394f0742131f32dc42a9619305b2712bed3967b78d56480447500d190b8ea
@@ -14,16 +14,17 @@ DIST passenger-3.0.8.tar.gz 2362561 RMD160 1264b76a3440492b3d435050007611735a627
DIST passenger-3.0.9.tar.gz 2365647 RMD160 51b3ec35d56bb93b7b2fd24f3fe5d64a5c60306a SHA1 dd158388786c606f71dc14014f07a43b6e13a34a SHA256 40a15c46bd0be13a8d55931cc526c5dae740f7c02d2bfc40a82075967131d7f6
EBUILD passenger-2.2.15-r1.ebuild 1372 RMD160 7b31bf101d0914063e790a710f4945f3ae7794eb SHA1 7b755ee72a6a46fe38ed33c5b3262e64030d1fc7 SHA256 5de33fbcfc3ab8c09f885fa7a15669cc37b942f4df58b55fc831818ad6206a22
EBUILD passenger-2.2.15.ebuild 1310 RMD160 de65bb9d8c9de2565db681ec0366d6e36189142d SHA1 f3271497fd03e28efbf56640fc7127004fa9e937 SHA256 adfb99efd637dd1f9f6b7d87c751f86de68048349cb602b6a137aecb7794f016
+EBUILD passenger-3.0.11-r1.ebuild 2872 RMD160 cbbb51f2405df605883227b35d65123cd17e03c4 SHA1 ed2856e473134a1fb26a2dfc56d7570c1c3e9935 SHA256 1db2fad17a04f52757c0ba8a418d963218cb761393369e21b8fce1b1b525fd55
EBUILD passenger-3.0.11.ebuild 2712 RMD160 c251ba9c502a222dbc016c07fd96ab511393171b SHA1 02e9e6ed4fd834a005cc674a86dcc4a4ad6b2e0e SHA256 4a7ed2e1587ee6e8fa976ba1edc2e5601b869501f8f3f6e3476bafd8a48ae040
EBUILD passenger-3.0.7.ebuild 2504 RMD160 c2c94c8a7fbc7cec7aede8460839f2cf49b5c6cc SHA1 197a7b644c8f88b8cf277a274d3584ea6e8037cb SHA256 7c2a9783f6272216032c0c48420b2fb337677765ea5deae87b3b282b6e0c1703
EBUILD passenger-3.0.8.ebuild 2512 RMD160 3047f366f107566aab6acd9d2b935e2d38cda178 SHA1 b5530a1b56424f5baf8f7065db8d7d2fa22b31fb SHA256 2945e07d685848169eb03dbbf68391abd1731e981a917d190cec3e6f743bb980
EBUILD passenger-3.0.9.ebuild 2512 RMD160 5cdaa6675751c7f5957aa0ca73a475077138da4a SHA1 be64df13b281b455398c6c1cf1dee16337e55338 SHA256 c8a03929566079216e61f4eb50eee925d31861a68220db3966ef379e2a5255d5
-MISC ChangeLog 7057 RMD160 9d7f87829bc6c98f939f0f0d5035874e7b575a07 SHA1 6c01346b4498c19df222259062c74201b77b13c5 SHA256 78f903d1980dd0c10a27c6e9b4e592631abcb3ce4dd56bdeaa0274bec4012aeb
+MISC ChangeLog 7242 RMD160 75eb58c6dc9ce4ee8564ac21e16fd87e52a3f9dc SHA1 9ac1696bf6bcf647b01eff783efd65a0954e85dd SHA256 6e7ade7f05d178f4c111c597336c9f158cd8e125cb93ce113eb53ad4de5d7133
MISC metadata.xml 179 RMD160 046a67d39c9a5784800b120b3da44d67caa1f0af SHA1 31e15b20d55994a9989fff90a20847c1e76db2cb SHA256 d07e5a69f0aaee3b23884e0e414fad4aba70b9f4a115d2649714b8f1bd99d9fe
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAk74X6oACgkQiIP6VqMIqNeV9AD+IPjfLaSxOPbwrk+yv9NqnDLM
-BjtTzzCjaXIczYbO4OABAJDOYZcf7mjctw6CW2yddUxjkm7GaPGlppmkX9i+C0bM
-=0VMu
+iEYEARECAAYFAk9L6OkACgkQAiZjviIA2XgTHwCfaLPcNt/3pdLhfYO2+XQH8i8+
+abAAnRhOUx5xmmo5bjYFHLm4GbdXDkSc
+=0ioy
-----END PGP SIGNATURE-----
diff --git a/www-apache/passenger/passenger-3.0.11-r1.ebuild b/www-apache/passenger/passenger-3.0.11-r1.ebuild
new file mode 100644
index 000000000000..4e755967d605
--- /dev/null
+++ b/www-apache/passenger/passenger-3.0.11-r1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/passenger-3.0.11-r1.ebuild,v 1.1 2012/02/27 20:36:03 flameeyes Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19"
+
+inherit apache-module flag-o-matic ruby-ng toolchain-funcs
+
+DESCRIPTION="Passenger (a.k.a. mod_rails) makes deployment of Ruby on Rails applications a breeze"
+HOMEPAGE="http://modrails.com/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc"
+
+ruby_add_rdepend "
+ >=dev-ruby/daemon_controller-0.2.5
+ >=dev-ruby/rack-1.0.0"
+
+USE_RUBY="ruby18" ruby_add_rdepend ">=dev-ruby/fastthread-1.0.1"
+
+CDEPEND=">=dev-libs/libev-3.90 net-misc/curl[ssl]"
+
+RDEPEND="${RDEPEND} ${CDEPEND}"
+DEPEND="${DEPEND} ${CDEPEND}
+ doc? ( >=app-text/asciidoc-8.6.5[highlight] )"
+
+APACHE2_MOD_CONF="30_mod_${PN}-2.0.1 30_mod_${PN}"
+APACHE2_MOD_DEFINE="PASSENGER"
+
+REQUIRED_USE+="ruby_targets_ruby18? ( !ruby_targets_ruby19 )
+ ruby_targets_ruby19? ( !ruby_targets_ruby18 )"
+
+need_apache2_2
+
+pkg_setup() {
+ use debug && append-flags -DPASSENGER_DEBUG
+}
+
+all_ruby_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.0.8-gentoo.patch
+ epatch "${FILESDIR}"/${PN}-3.0.0-ldflags.patch
+
+ # Change these with sed instead of a patch so that we can easily use
+ # the toolchain-funcs methods.
+ sed -i -e "s/gcc/$(tc-getCC)/" -e "s/g++/$(tc-getCXX)/" build/config.rb || die
+
+ # Use sed here so that we can dynamically set the documentation directory.
+ sed -i -e "s:/usr/share/doc/phusion-passenger:/usr/share/doc/${P}:" \
+ -e "s:/usr/lib/apache2/modules/mod_passenger.so:${APACHE_MODULESDIR}/mod_passenger.so:" \
+ -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \
+ lib/phusion_passenger.rb || die
+ sed -i -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" ext/common/ResourceLocator.h || die
+
+ # Don't install a tool that won't work in our setup.
+ sed -i -e '/passenger-install-apache2-module/d' lib/phusion_passenger/packaging.rb || die
+ rm -f bin/passenger-install-apache2-module || die "Unable to remove unneeded install script."
+
+ # Make sure we use the system-provided version.
+ rm -rf ext/libev || die "Unable to remove vendored libev."
+}
+
+each_ruby_compile() {
+ append-flags -fno-strict-aliasing
+
+ APXS2="${APXS}" \
+ HTTPD="${APACHE_BIN}" \
+ USE_VENDORED_LIBEV="no" LIBEV_LIBS="-lev" \
+ rake apache2 native_support || die "rake failed"
+
+ if use doc; then
+ rake doc || die "rake doc failed"
+ fi
+}
+
+each_ruby_install() {
+ DISTDIR="${D}" \
+ APXS2="${APXS}" \
+ HTTPD="${APACHE_BIN}" \
+ USE_VENDORED_LIBEV="no" LIBEV_LIBS="-lev" \
+ rake fakeroot || die "rake failed"
+
+ # TODO: this will create a mess when multiple RUBY_TARGETS have been
+ # selected.
+ APACHE2_MOD_FILE="${S}/ext/apache2/mod_${PN}.so"
+ apache-module_src_install
+}