summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-04-03 08:48:17 +0000
committerHans de Graaff <graaff@gentoo.org>2010-04-03 08:48:17 +0000
commit9f593fec89585e033d99129c7bee8279ed23c89c (patch)
tree2995c5ff4c3b6af6434f93702a170351c9235d2e
parentVersion bump. Drop patches applied upstream. Update --as-needed patch. See ht... (diff)
downloadgentoo-2-9f593fec89585e033d99129c7bee8279ed23c89c.tar.gz
gentoo-2-9f593fec89585e033d99129c7bee8279ed23c89c.tar.bz2
gentoo-2-9f593fec89585e033d99129c7bee8279ed23c89c.zip
Version bump. Fixes regression in 2.2.10.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
-rw-r--r--www-apache/passenger/ChangeLog7
-rw-r--r--www-apache/passenger/passenger-2.2.11.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/www-apache/passenger/ChangeLog b/www-apache/passenger/ChangeLog
index 76b9502657b8..ae14dad32c2c 100644
--- a/www-apache/passenger/ChangeLog
+++ b/www-apache/passenger/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apache/passenger
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.21 2010/02/26 06:33:50 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.22 2010/04/03 08:48:17 graaff Exp $
+
+*passenger-2.2.11 (03 Apr 2010)
+
+ 03 Apr 2010; Hans de Graaff <graaff@gentoo.org> +passenger-2.2.11.ebuild:
+ Version bump. Fixes regression in 2.2.10.
26 Feb 2010; Hans de Graaff <graaff@gentoo.org> -passenger-2.2.5.ebuild,
-passenger-2.2.7.ebuild, -passenger-2.2.8.ebuild:
diff --git a/www-apache/passenger/passenger-2.2.11.ebuild b/www-apache/passenger/passenger-2.2.11.ebuild
new file mode 100644
index 000000000000..e5f4200348e4
--- /dev/null
+++ b/www-apache/passenger/passenger-2.2.11.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/passenger-2.2.11.ebuild,v 1.1 2010/04/03 08:48:17 graaff Exp $
+
+inherit apache-module flag-o-matic ruby
+
+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"
+
+DEPEND=">=dev-lang/ruby-1.8.5
+ >=dev-ruby/rubygems-0.9.0
+ >=dev-ruby/rake-0.8.1
+ >=dev-ruby/fastthread-1.0.1
+ >=dev-ruby/rack-1.0.0"
+RDEPEND="${DEPEND}"
+
+APACHE2_MOD_FILE="${S}/ext/apache2/mod_${PN}.so"
+APACHE2_MOD_CONF="30_mod_${PN}-2.0.1 30_mod_${PN}"
+APACHE2_MOD_DEFINE="PASSENGER"
+
+need_apache2_2
+
+pkg_setup() {
+ use debug && append-flags -DPASSENGER_DEBUG
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/2.2.4-gentoo.patch
+ rm -f bin/passenger-install-apache2-module
+}
+
+src_compile() {
+ append-flags -fno-strict-aliasing
+
+ APXS2="${APXS}" \
+ HTTPD="${APACHE_BIN}" \
+ rake apache2 native_support || die "rake failed"
+
+ if use doc; then
+ rake doc || die "rake doc failed"
+ fi
+}
+
+src_install() {
+ DISTDIR="${D}" \
+ rake fakeroot || die "rake failed"
+
+ apache-module_src_install
+}