diff options
author | Hans de Graaff <graaff@gentoo.org> | 2009-11-26 12:34:40 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2009-11-26 12:34:40 +0000 |
commit | 3b3a68eba3f14eb9bfbdba210c0f2757b9e44712 (patch) | |
tree | 8469d3e9801557c322eaeca20461f77ae2e86503 /www-apache/passenger | |
parent | Version bump <http://my.opera.com/desktopteam/blog/opera-10-20-goes-alpha>. (diff) | |
download | gentoo-2-3b3a68eba3f14eb9bfbdba210c0f2757b9e44712.tar.gz gentoo-2-3b3a68eba3f14eb9bfbdba210c0f2757b9e44712.tar.bz2 gentoo-2-3b3a68eba3f14eb9bfbdba210c0f2757b9e44712.zip |
Version bump.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'www-apache/passenger')
-rw-r--r-- | www-apache/passenger/ChangeLog | 9 | ||||
-rw-r--r-- | www-apache/passenger/passenger-2.2.7.ebuild | 55 |
2 files changed, 63 insertions, 1 deletions
diff --git a/www-apache/passenger/ChangeLog b/www-apache/passenger/ChangeLog index eb100bbe43f5..1a9bebd8d71d 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.16 2009/09/17 07:15:53 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.17 2009/11/26 12:34:40 graaff Exp $ + +*passenger-2.2.7 (26 Nov 2009) + + 26 Nov 2009; Hans de Graaff <graaff@gentoo.org> +passenger-2.2.7.ebuild: + Version bump. See + http://blog.phusion.nl/2009/11/18/phusion-passenger-2-2-6-released/ for + the list of changes. *passenger-2.2.5 (17 Sep 2009) diff --git a/www-apache/passenger/passenger-2.2.7.ebuild b/www-apache/passenger/passenger-2.2.7.ebuild new file mode 100644 index 000000000000..7908b6aa9830 --- /dev/null +++ b/www-apache/passenger/passenger-2.2.7.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/passenger-2.2.7.ebuild,v 1.1 2009/11/26 12:34:40 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() { + 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 +} |