summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apache/passenger/ChangeLog7
-rw-r--r--www-apache/passenger/Manifest10
-rw-r--r--www-apache/passenger/passenger-3.0.19.ebuild95
3 files changed, 107 insertions, 5 deletions
diff --git a/www-apache/passenger/ChangeLog b/www-apache/passenger/ChangeLog
index 1f2b839aa2e7..f9ebde168c9a 100644
--- a/www-apache/passenger/ChangeLog
+++ b/www-apache/passenger/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apache/passenger
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.61 2013/01/19 10:28:34 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.62 2013/01/19 10:36:42 graaff Exp $
+
+*passenger-3.0.19 (19 Jan 2013)
+
+ 19 Jan 2013; Hans de Graaff <graaff@gentoo.org> +passenger-3.0.19.ebuild:
+ Version bump.
19 Jan 2013; Hans de Graaff <graaff@gentoo.org> -passenger-3.0.13.ebuild,
-passenger-3.0.14.ebuild:
diff --git a/www-apache/passenger/Manifest b/www-apache/passenger/Manifest
index 97332b3d9932..1fabc244c5fd 100644
--- a/www-apache/passenger/Manifest
+++ b/www-apache/passenger/Manifest
@@ -11,18 +11,20 @@ AUX passenger-3.0.8-gentoo.patch 1746 SHA256 d639c675c7d2c3c23001f33513d0758a33e
DIST passenger-2.2.15.tar.gz 2128473 SHA256 95a9f61070d268ecaa311539d8e28b348765ca0e1528665ef928fc4b4bcc1436 SHA512 a82f7d39d0a1053fd4b63c7d1464db54d229d0b42b326afc11dddef680938f522ba20b3bbd39ebb0241407b669dcdb7478c58420ca2f2225a9b2daa03ce8c17e WHIRLPOOL 0755d39c7d5abe804c7b47fba1fe8c309f1ce6cf8f3d4c419694559538842d9b2be69bbe79a2635c86de70dc8c286d6c9f53b1f3ee44963dea24cf3502337d1d
DIST passenger-3.0.17.tar.gz 2667619 SHA256 3f1380cdf8342fd3b0df344b4b95e5f7810114dd331e56ca1900eda1f5747f01 SHA512 485a2e9893c81989cd89aae2d4922da4a0391b26687286f56c9b5d2b9b1e8e8e0607376895e7a44f7073743c1ea9f7de335420407145a39b1ab275e01bc77466 WHIRLPOOL e168e599d84d841ef4655905512f4b2e17e07d396793b7ea574cc587df634f4853635b8e9f3c8fefa33a74d6fb952be03284696b0fabeb39cd887b8eaf486cd2
DIST passenger-3.0.18.tar.gz 2669419 SHA256 ac96993dc085b0384ca8802d392e19ce68d20057bf2ba7fbb7cc84a13826eedd SHA512 6f0c67cac39cb4855a3e3444ee0dc16e9f88b7e2842d92394978cf5dd2e24e4de8dbaf8f2dc640688f3a66c510a9405c7968dc180822b4b0029a5d240b0bd370 WHIRLPOOL f6f2a31cddb2d95a113ff89e9ad458b5551e84730eebc215b554ba3f045e5fed13e438892cdddb954701fd410f6b03e83086742cb0a11db472df730c6fbcb41b
+DIST passenger-3.0.19.tar.gz 2663368 SHA256 7a4dc7eeaca1ac81636167ebfe1cf69b18fc2f09f52a882b73c05a9e9ec12d98 SHA512 379506c1ef6eab01021a570c3420d7c50d4b3a8d1e0ab493dfa70dd58ae64190eb2bb30a6290db8385d35b4b1eaadb73a3ace998ea32c7ba20bcfe0809077f1d WHIRLPOOL 51e73bf6e0077f0e88cbbfe6a2edd5efad738880ab439ea32262536e217e053be24fe86d97462fa2d853372c7d7ccf6e088959c64de4dd6d5e1c02ab80211fd4
DIST passenger-3.0.7.tar.gz 2830376 SHA256 021972c7f4fecd80042e7fc1d8f19ee3008a5491a3b1d34958b2b7ed42bddc85 SHA512 44e63770edbbdfc275933e707b32f646bba4b3060b5a509c02e7aabdb658af92cf2e3e841ac7335b1eb5b9b0049522ee17f314fee53376c5ed0e4012c4708045 WHIRLPOOL 74efe292fbeb1f1267aa46f1393ba7d9cf7c352ea6895f2bb4c3624a358bd131f726bfae247eafbc5a4a788905103eab3a02af69b8ab23aae54b4d996a8a54a0
EBUILD passenger-2.2.15-r1.ebuild 1372 SHA256 5de33fbcfc3ab8c09f885fa7a15669cc37b942f4df58b55fc831818ad6206a22 SHA512 da9358bd38247437860aba55b8ab26c515c337298ff5ab69a066047d961db978576bcfde9ec4316ab6714c9748d838281b6df773c307cc55b66d1cc849ae0b8e WHIRLPOOL 0dbe621e85f8d3ad6fcaa9163cd593c8e82799582544f95b65218ba72ae0163c1b6eb45e575f4ed40d6e1df145f3a4aca1131c77e85c04b61cf3095784eb6ad2
EBUILD passenger-2.2.15.ebuild 1310 SHA256 adfb99efd637dd1f9f6b7d87c751f86de68048349cb602b6a137aecb7794f016 SHA512 a928a41badb0cb122bd38476b1176b89dcabae27e3cc1907247086a27bf3b12252962f2b11f5f9f88d502a1a7204d394abd12d9bc2b01a4fce9cd2f8b898ee68 WHIRLPOOL 44db92c92505b434faf9488ffeb6bd715de02d51270b25afcbe40c5f1ef306856143b71ecc296dfa6cae28d4d9158577e1230e29732893dd62e9a03eb502a5f3
EBUILD passenger-3.0.17.ebuild 3025 SHA256 af7a3fee5eb186cdc763e60d8eeb5a73a9dcf3e7ff72d4c019974257cbf046af SHA512 c4c398465fdccd78453d84916baa600e98141f4ff31bed6e1784c8f621e5657d5c71f4fe02c711640b069d2006afa7fb26bf4188971ec98f28f88924a8b3f892 WHIRLPOOL d9dda4ba8b783667ea3c5b1edea5c95b444c435d6305be5b2b59a08fa50c4bf4958a67fe6e280b5607be5c5c622273acaab7558ba4ddd7d1e7d145f8023e8554
EBUILD passenger-3.0.18.ebuild 3025 SHA256 3393cbf1413381dc5f2516617808bbe93c96639397adfa37d5e5a4917a2c9e07 SHA512 34f3d880d5fe81219546eedeb6fb0922a0157dc3e1f4bf09c5a5b4bbf0fa338b0f1b0b017e7b1f354a72b832b6a61a652b17fb4b260f856f1494663042f7bdf7 WHIRLPOOL 94d3b947a71643afb51461a7a87ec8797b9f9a28d6f4a8bed25daa2d516449fbaf0361b3630a2c99b17bac58b6c8275f3ab1e2de9b3e1bc5a4319660f8194917
+EBUILD passenger-3.0.19.ebuild 3024 SHA256 d631d932a86c1d361f4dd2565e14064f87871d4f3e7df9fdafb4498694090147 SHA512 be8491bf8433b005801180c343f64ec3abb3fa8c7a065e6c94bb5a5b136d81ddd0e2f8db921cf4c29b52635f7419735ea87b221c16f51796a77f2fdae604e284 WHIRLPOOL 2ac49771d434ba1bb2f83828da6fcfa92cebe8d3679e0b8c121a8ee13b2c8ae59fb0261ca2b75e32eb6e7859be56cd7fc8476379fff9f3fe049c6e17425a9d39
EBUILD passenger-3.0.7.ebuild 2506 SHA256 a5ec450770867f3d4981f6ba77ea95e91cd6ae22a419a42a471360a1a30083d9 SHA512 ee22c70431161e24c8803088b8dff45ed28fc077f78fe4dc90c9761f48b0fb4feb57ac35389b34971a597a9860457c3aae2f511ebeeb085c799a75f854fb8beb WHIRLPOOL 727f17ddb64a16b02c0783a657184a8a12f30fa00dc3c513797b96214cefe0ad8ccf419762757d2c2729e6a7785aa0bf58d2235d290999e72ce1ccc668d78fb3
-MISC ChangeLog 9822 SHA256 c87160dce5c31f9d5c3051b479132c9f1184954bc8830901938e8dbd2e1efbc3 SHA512 8ce117f716c9e679cd980252c33281d9e9a55da2735904b919368e096f84dcc2be9480971ad3e121c0941fc968d8ea7c0d8f079e514920b557ed9e27365fc818 WHIRLPOOL f6093fff85e8daa372e22ea1ac4a6cdeac7da53cc27c566e7154cf4d0a1616fdeabd6b6639eefd9950f05c0e12f11a6797bcc762f81e29768b9f985d80fedb54
+MISC ChangeLog 9948 SHA256 f8f2554e5efba5168740d57ed7ed0286cd41f991a6a39f19587a1cd23319b961 SHA512 3cb8391dbd5e3b77afb2ae581a2d9181885abb5953982a945f373912f30cdd83dd6a27bf117d94c6d149c58a387eeece76b6b154125e9b3a07aff43225b1f6fa WHIRLPOOL db6244ed7e8d8494ba39eb586df54e9e29563753a2d4066f1953c44cb622d8acd08c8e6ad4d18474c4e1a99d0a523bf4f9c4cee828416caca286e905fa2f59a9
MISC metadata.xml 235 SHA256 426d2ea49777c4552d4d17e05c35cb094f22210fc91574ed3f282ded828fecb1 SHA512 b5127ae32b50e1b3fc0e0f4cd13914e8bb625084c19156194027fe7b4687015768d05c2b28fac3fe0b588c6503bb13b48629d82ab321dff3b614df8eb6250921 WHIRLPOOL e5ae624478bfd2f882ca1dc4b3802910a04031e3612630b90a654b223a590b1b0b3b208dc788f5347e0d0c42c8559a23c94274907cbd8b0b1b06ba4f6e1012d2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iF4EAREIAAYFAlD6dVMACgkQiIP6VqMIqNeABAD/S2CPj3+HDxOJv6qRE8DBjht6
-PiIm2owtoZa1VK28kY8A/3KovwHmsHeZMWTtWfBeGzfD7sTFLPj9fTT9w0Hiiag/
-=BciF
+iF4EAREIAAYFAlD6dzsACgkQiIP6VqMIqNfS3gD/RGmmOH+jlnYRBlJk9KZQdIy0
+jy/cPRKZM8G+cQ5etlgA/A3/B0pPihKcqFu0SvZRN+8tHbzU/ch4Q+RSAx42IPJn
+=YSq1
-----END PGP SIGNATURE-----
diff --git a/www-apache/passenger/passenger-3.0.19.ebuild b/www-apache/passenger/passenger-3.0.19.ebuild
new file mode 100644
index 000000000000..1ae6d49be928
--- /dev/null
+++ b/www-apache/passenger/passenger-3.0.19.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/passenger-3.0.19.ebuild,v 1.1 2013/01/19 10:36:42 graaff Exp $
+
+EAPI=5
+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_bdepend "dev-ruby/rake"
+
+ruby_add_rdepend "
+ >=dev-ruby/daemon_controller-1.0.0
+ >=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
+
+pkg_setup() {
+ use debug && append-flags -DPASSENGER_DEBUG
+}
+
+all_ruby_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.0.8-gentoo.patch
+ epatch "${FILESDIR}"/${PN}-3.0.12-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."
+
+ # fix automagic use of asciidoc, bug 413469
+ sed -i -e '/fakeroot/ s/+ Packaging::ASCII_DOCS//' build/packaging.rb || die
+}
+
+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
+}