diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-08-29 12:47:44 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-08-29 12:47:44 +0000 |
commit | b0c29249afd5eaf6ed80f85efac84124df460c09 (patch) | |
tree | bba35dabfacba85b099efa21ea4c02335048a5f8 /www-apache | |
parent | defaulting to USE=urandom wrt #232951 (diff) | |
download | gentoo-2-b0c29249afd5eaf6ed80f85efac84124df460c09.tar.gz gentoo-2-b0c29249afd5eaf6ed80f85efac84124df460c09.tar.bz2 gentoo-2-b0c29249afd5eaf6ed80f85efac84124df460c09.zip |
version bump wrt #232242
(Portage version: 2.1.4.4)
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/passenger/ChangeLog | 7 | ||||
-rw-r--r-- | www-apache/passenger/passenger-2.0.3.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/www-apache/passenger/ChangeLog b/www-apache/passenger/ChangeLog index ecb8e6916e7a..3a92b6a2df95 100644 --- a/www-apache/passenger/ChangeLog +++ b/www-apache/passenger/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apache/passenger # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.4 2008/07/01 19:36:16 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.5 2008/08/29 12:47:44 hollow Exp $ + +*passenger-2.0.3 (29 Aug 2008) + + 29 Aug 2008; Benedikt Böhm <hollow@gentoo.org> +passenger-2.0.3.ebuild: + version bump wrt #232242 *passenger-2.0.1 (01 Jul 2008) diff --git a/www-apache/passenger/passenger-2.0.3.ebuild b/www-apache/passenger/passenger-2.0.3.ebuild new file mode 100644 index 000000000000..44c967d5775e --- /dev/null +++ b/www-apache/passenger/passenger-2.0.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/passenger-2.0.3.ebuild,v 1.1 2008/08/29 12:47:44 hollow 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" + +CDEPEND=">=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/rspec-1.1.2 + >=dev-ruby/rails-1.2.0" +DEPEND="${CDEPEND} + doc? ( app-doc/doxygen )" +RDEPEND="${CDEPEND}" + +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.0.1-gentoo.patch + rm -f bin/passenger-install-apache2-module + sed -i -e '473s/, :doc//' Rakefile +} + +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 +} |