summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-04-18 17:59:51 +0000
committerHans de Graaff <graaff@gentoo.org>2011-04-18 17:59:51 +0000
commitb76e87e6582c079bcd22845c996483a1f0c356e1 (patch)
treef49dd850a4c6b66e9084477af89d6dbfb3d17096
parentx86 stable per bug 358717 (diff)
downloadhistorical-b76e87e6582c079bcd22845c996483a1f0c356e1.tar.gz
historical-b76e87e6582c079bcd22845c996483a1f0c356e1.tar.bz2
historical-b76e87e6582c079bcd22845c996483a1f0c356e1.zip
Version bump.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
-rw-r--r--www-apache/passenger/ChangeLog7
-rw-r--r--www-apache/passenger/Manifest10
-rw-r--r--www-apache/passenger/passenger-3.0.7.ebuild81
3 files changed, 93 insertions, 5 deletions
diff --git a/www-apache/passenger/ChangeLog b/www-apache/passenger/ChangeLog
index 331f9beed54a..67962c98d3cd 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.33 2011/02/23 20:15:49 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/ChangeLog,v 1.34 2011/04/18 17:59:51 graaff Exp $
+
+*passenger-3.0.7 (18 Apr 2011)
+
+ 18 Apr 2011; Hans de Graaff <graaff@gentoo.org> +passenger-3.0.7.ebuild:
+ Version bump.
23 Feb 2011; Hans de Graaff <graaff@gentoo.org> passenger-3.0.2.ebuild:
Request support for source highlighting in documentation building, fixing
diff --git a/www-apache/passenger/Manifest b/www-apache/passenger/Manifest
index e5babaaeafdc..2ecc7997ef8b 100644
--- a/www-apache/passenger/Manifest
+++ b/www-apache/passenger/Manifest
@@ -8,15 +8,17 @@ AUX passenger-3.0.0-gentoo.patch 1689 RMD160 3a510af572f07a947748c4024251a957fab
AUX passenger-3.0.0-ldflags.patch 572 RMD160 dbbe8839ad0318ad2730350aa47a622577288ae6 SHA1 6ff3da382026b6fe0c7ff9b179fc21d6c4c5552b SHA256 22b7c85b2c3e0fb2c0275e0a63308cf65aa0ab2a1398c64b95ab149b8cb58392
DIST passenger-2.2.15.tar.gz 2128473 RMD160 52d0eb505d6c19e45ccc0dac8d1e675aed505c14 SHA1 dbb2f3346061872a43efc554990d8993172c8ff9 SHA256 95a9f61070d268ecaa311539d8e28b348765ca0e1528665ef928fc4b4bcc1436
DIST passenger-3.0.2.tar.gz 2969570 RMD160 a1ba4b78df9a653dd63bf7c4750f5fa1dd364444 SHA1 784e43eaff861b63e9a4fc09f65f0450142d537e SHA256 a1a665280a6559fe0fa6c92b74ae7e145ee23c30606967919faddb292cf00da8
+DIST passenger-3.0.7.tar.gz 2830376 RMD160 3a22895d72b3f6c9f953e00cb90fe0193494d058 SHA1 f6fd2ff499af9b5ed637505bb3bbe3cc7675b989 SHA256 021972c7f4fecd80042e7fc1d8f19ee3008a5491a3b1d34958b2b7ed42bddc85
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.2.ebuild 2513 RMD160 9bee7a4e6668af3a2ffc062fd87b6063b0e61e97 SHA1 0abc15c37fb798d313c1262663622d7542a382bb SHA256 c6d5f2bcb77153494f600793dcc1d6a9051deaaa56e2448f1242fb065a0a9fe9
-MISC ChangeLog 6213 RMD160 cae5243bd860ebfc432563b06b65d30eff296962 SHA1 fc10e4d326685add34dc255a55a93abc882fc445 SHA256 d6e9ed84b4a5d9b1a93046a0a51bbbe5915859e729aaea6338dc4aa440b54b47
+EBUILD passenger-3.0.7.ebuild 2475 RMD160 3bd5f42eb7abeca9be0405e064c09210293adf1f SHA1 7800048729ab7631d737f68a86d0648ec860c6d9 SHA256 f7a8e02d9493b515d7f39a768e0a1c27998730562ff768472ce8d57cca805baf
+MISC ChangeLog 6337 RMD160 124f6764ecce59d41f855276a4f9057b21b1ff26 SHA1 47d84c64b231034f5e9670dea16999f66e83c4a4 SHA256 0bdb1477b15df7500bb9480086a3b84a044a320b9a350af2da94e45495cf4b99
MISC metadata.xml 179 RMD160 046a67d39c9a5784800b120b3da44d67caa1f0af SHA1 31e15b20d55994a9989fff90a20847c1e76db2cb SHA256 d07e5a69f0aaee3b23884e0e414fad4aba70b9f4a115d2649714b8f1bd99d9fe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk1lavsACgkQrnu0mw69JkpN8AD+NOYrbVRN4ffyGQeqh7dR6cmK
-qdzYd8mrCPBIiYIbHLYA/32y0//v/oPPRDkmJ8yhSIn2Ah95l0stgIhn5zybMFyd
-=qfOU
+iF4EAREIAAYFAk2sfB0ACgkQrnu0mw69JkoEDAEAjVSIByhV69jvUQ0vTeoKiHz7
+G/bVm2nwtdy/cHL2GwwA/30MOeJT3ix7zmUkWgubVD3sHV2tydKB8ZQK4qiX8O15
+=6nQF
-----END PGP SIGNATURE-----
diff --git a/www-apache/passenger/passenger-3.0.7.ebuild b/www-apache/passenger/passenger-3.0.7.ebuild
new file mode 100644
index 000000000000..aedcbcbd0711
--- /dev/null
+++ b/www-apache/passenger/passenger-3.0.7.ebuild
@@ -0,0 +1,81 @@
+# 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.7.ebuild,v 1.1 2011/04/18 17:59:51 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"
+
+RDEPEND="${RDEPEND} >=dev-libs/libev-3.90"
+DEPEND="${DEPEND}
+ >=dev-libs/libev-3.90
+ doc? ( app-text/asciidoc[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.0-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
+}