diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-01-23 13:58:54 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-01-23 13:58:54 +0000 |
commit | ed7810e757e111e0f893a165038fefb567d67ea0 (patch) | |
tree | 731f74d277d62f6c6d6b5aa243de7552d2894037 /www-apache | |
parent | Version bump. Add X useflag to make building without gui possible. Add config... (diff) | |
download | gentoo-2-ed7810e757e111e0f893a165038fefb567d67ea0.tar.gz gentoo-2-ed7810e757e111e0f893a165038fefb567d67ea0.tar.bz2 gentoo-2-ed7810e757e111e0f893a165038fefb567d67ea0.zip |
Version bump.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/passenger/ChangeLog | 11 | ||||
-rw-r--r-- | www-apache/passenger/passenger-2.2.8.ebuild | 6 | ||||
-rw-r--r-- | www-apache/passenger/passenger-2.2.9.ebuild | 57 |
3 files changed, 70 insertions, 4 deletions
diff --git a/www-apache/passenger/ChangeLog b/www-apache/passenger/ChangeLog index 9028b5c3ad11..5176f46359e7 100644 --- a/www-apache/passenger/ChangeLog +++ b/www-apache/passenger/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-apache/passenger -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.18 2009/12/27 17:46:16 graaff Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.19 2010/01/23 13:58:54 graaff Exp $ + +*passenger-2.2.9 (23 Jan 2010) + + 23 Jan 2010; Hans de Graaff <graaff@gentoo.org> passenger-2.2.8.ebuild, + +passenger-2.2.9.ebuild: + Version bump: + http://blog.phusion.nl/2010/01/08/phusion-passenger-2-2-9-released/ *passenger-2.2.8 (27 Dec 2009) diff --git a/www-apache/passenger/passenger-2.2.8.ebuild b/www-apache/passenger/passenger-2.2.8.ebuild index 6fb5feb8e30d..0a441b28ff83 100644 --- a/www-apache/passenger/passenger-2.2.8.ebuild +++ b/www-apache/passenger/passenger-2.2.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# 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.8.ebuild,v 1.1 2009/12/27 17:46:16 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/passenger-2.2.8.ebuild,v 1.2 2010/01/23 13:58:54 graaff Exp $ inherit apache-module flag-o-matic ruby @@ -38,6 +38,8 @@ src_unpack() { } src_compile() { + append-flags -fno-strict-aliasing + APXS2="${APXS}" \ HTTPD="${APACHE_BIN}" \ rake apache2 native_support || die "rake failed" diff --git a/www-apache/passenger/passenger-2.2.9.ebuild b/www-apache/passenger/passenger-2.2.9.ebuild new file mode 100644 index 000000000000..0dc27284893f --- /dev/null +++ b/www-apache/passenger/passenger-2.2.9.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.9.ebuild,v 1.1 2010/01/23 13:58:54 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 +} |