From: Hans de Graaff Date: Fri, 14 Oct 2011 09:23:35 +0000 (+0000) Subject: Version bump. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9e09b916f7bcba3544624ba1e6ee1c498c82e3bd;p=gentoo.git Version bump. Package-Manager: portage-2.1.10.11/cvs/Linux x86_64 --- diff --git a/www-apache/passenger/ChangeLog b/www-apache/passenger/ChangeLog index 449957dc80de..117f8848a1da 100644 --- a/www-apache/passenger/ChangeLog +++ b/www-apache/passenger/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apache/passenger # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.37 2011/08/21 08:41:24 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.38 2011/10/14 09:23:35 graaff Exp $ + +*passenger-3.0.9 (14 Oct 2011) + + 14 Oct 2011; Hans de Graaff +passenger-3.0.9.ebuild: + Version bump. *passenger-3.0.8 (21 Aug 2011) diff --git a/www-apache/passenger/Manifest b/www-apache/passenger/Manifest index 5f6dd194dd39..3ad56b2dd7a0 100644 --- a/www-apache/passenger/Manifest +++ b/www-apache/passenger/Manifest @@ -10,16 +10,18 @@ AUX passenger-3.0.8-gentoo.patch 1746 RMD160 17f2e03fd29d5c7933f88241734c307f733 DIST passenger-2.2.15.tar.gz 2128473 RMD160 52d0eb505d6c19e45ccc0dac8d1e675aed505c14 SHA1 dbb2f3346061872a43efc554990d8993172c8ff9 SHA256 95a9f61070d268ecaa311539d8e28b348765ca0e1528665ef928fc4b4bcc1436 DIST passenger-3.0.7.tar.gz 2830376 RMD160 3a22895d72b3f6c9f953e00cb90fe0193494d058 SHA1 f6fd2ff499af9b5ed637505bb3bbe3cc7675b989 SHA256 021972c7f4fecd80042e7fc1d8f19ee3008a5491a3b1d34958b2b7ed42bddc85 DIST passenger-3.0.8.tar.gz 2362561 RMD160 1264b76a3440492b3d435050007611735a627c72 SHA1 265d1dcb66a29b944fa475f7d6831ce16ac37e2e SHA256 ccef21dc97b54de17c1d44644b2bc67b7732a860ff67206a4c557727311a8349 +DIST passenger-3.0.9.tar.gz 2365647 RMD160 51b3ec35d56bb93b7b2fd24f3fe5d64a5c60306a SHA1 dd158388786c606f71dc14014f07a43b6e13a34a SHA256 40a15c46bd0be13a8d55931cc526c5dae740f7c02d2bfc40a82075967131d7f6 EBUILD passenger-2.2.15-r1.ebuild 1372 RMD160 7b31bf101d0914063e790a710f4945f3ae7794eb SHA1 7b755ee72a6a46fe38ed33c5b3262e64030d1fc7 SHA256 5de33fbcfc3ab8c09f885fa7a15669cc37b942f4df58b55fc831818ad6206a22 EBUILD passenger-2.2.15.ebuild 1310 RMD160 de65bb9d8c9de2565db681ec0366d6e36189142d SHA1 f3271497fd03e28efbf56640fc7127004fa9e937 SHA256 adfb99efd637dd1f9f6b7d87c751f86de68048349cb602b6a137aecb7794f016 EBUILD passenger-3.0.7.ebuild 2504 RMD160 c2c94c8a7fbc7cec7aede8460839f2cf49b5c6cc SHA1 197a7b644c8f88b8cf277a274d3584ea6e8037cb SHA256 7c2a9783f6272216032c0c48420b2fb337677765ea5deae87b3b282b6e0c1703 EBUILD passenger-3.0.8.ebuild 2512 RMD160 3047f366f107566aab6acd9d2b935e2d38cda178 SHA1 b5530a1b56424f5baf8f7065db8d7d2fa22b31fb SHA256 2945e07d685848169eb03dbbf68391abd1731e981a917d190cec3e6f743bb980 -MISC ChangeLog 6734 RMD160 5682464672ad68daa1023f5e1dfd166652e62276 SHA1 f528b354cdebdee838adcca5b0ee1b90dc35a896 SHA256 b9b69765c085bc566996886e1cf3c9a3c738630f4818575e369e341516b73537 +EBUILD passenger-3.0.9.ebuild 2512 RMD160 5cdaa6675751c7f5957aa0ca73a475077138da4a SHA1 be64df13b281b455398c6c1cf1dee16337e55338 SHA256 c8a03929566079216e61f4eb50eee925d31861a68220db3966ef379e2a5255d5 +MISC ChangeLog 6858 RMD160 457810bda0ed41f4d4d7731bbabe5408ce4a8e75 SHA1 da341c795b6d603c533911c09e2b2a99dbbf00bb SHA256 29606f0ce624d4cf061168d0f89c8ed6e27c3ae47c6c4e8ac92bb3679f5b1fe6 MISC metadata.xml 179 RMD160 046a67d39c9a5784800b120b3da44d67caa1f0af SHA1 31e15b20d55994a9989fff90a20847c1e76db2cb SHA256 d07e5a69f0aaee3b23884e0e414fad4aba70b9f4a115d2649714b8f1bd99d9fe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk5QxMAACgkQiIP6VqMIqNcaqQD+Ilu05rCSb9cQwROj7YTOPZca -GzIO43HGw/uIIhX8kHQA/AoMnTuBISTfLe8gQ4ILlso26O5+4j1HwBVSuka72flP -=HdnE +iF4EAREIAAYFAk6X/6QACgkQiIP6VqMIqNdjYAD9E4Ek1UpLGJGx5RyWsTEwMr0/ +nLh3Jqt9vwqlrL8EoUoBAImFf0gSF+6wKPoihNGua8D2TiXUbul6ryKnAePpkMpq +=5yrH -----END PGP SIGNATURE----- diff --git a/www-apache/passenger/passenger-3.0.9.ebuild b/www-apache/passenger/passenger-3.0.9.ebuild new file mode 100644 index 000000000000..c0ca089121d7 --- /dev/null +++ b/www-apache/passenger/passenger-3.0.9.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/passenger-3.0.9.ebuild,v 1.1 2011/10/14 09:23:35 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18" + +inherit apache-module flag-o-matic ruby-ng + +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_rdepend " + >=dev-ruby/daemon_controller-0.2.5 + >=dev-ruby/fastthread-1.0.1 + >=dev-ruby/rack-1.0.0" + +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" + +need_apache2_2 + +pkg_setup() { + use debug && append-flags -DPASSENGER_DEBUG +} + +all_ruby_prepare() { + epatch "${FILESDIR}"/${PN}-3.0.8-gentoo.patch + epatch "${FILESDIR}"/${PN}-3.0.0-ldflags.patch + + # 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." +} + +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 +}