summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2009-08-24 16:43:06 +0000
committerLance Albertson <ramereth@gentoo.org>2009-08-24 16:43:06 +0000
commita0f530aab360b0ff06756d6254db0a5ac737c228 (patch)
tree85f965e7c234195f2459ffbc058cc1c91142f983 /www-servers/gorg
parentamd64 stable, bug 277294 (diff)
downloadgentoo-2-a0f530aab360b0ff06756d6254db0a5ac737c228.tar.gz
gentoo-2-a0f530aab360b0ff06756d6254db0a5ac737c228.tar.bz2
gentoo-2-a0f530aab360b0ff06756d6254db0a5ac737c228.zip
Add www-server/mod_fcgid dep if both apache2 & fastcgi use flags are enabled.
Fixes bug #251177 (Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'www-servers/gorg')
-rw-r--r--www-servers/gorg/ChangeLog9
-rw-r--r--www-servers/gorg/gorg-0.6.3-r3.ebuild52
2 files changed, 60 insertions, 1 deletions
diff --git a/www-servers/gorg/ChangeLog b/www-servers/gorg/ChangeLog
index 0729ca16adf4..4ff613ec01df 100644
--- a/www-servers/gorg/ChangeLog
+++ b/www-servers/gorg/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-servers/gorg
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v 1.20 2009/06/13 07:40:06 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v 1.21 2009/08/24 16:43:06 ramereth Exp $
+
+*gorg-0.6.3-r3 (24 Aug 2009)
+
+ 24 Aug 2009; Lance Albertson <ramereth@gentoo.org> +gorg-0.6.3-r3.ebuild:
+ Add www-server/mod_fcgid dep if both apache2 & fastcgi use flags are
+ enabled.
+ Fixes bug #251177
13 Jun 2009; Hans de Graaff <graaff@gentoo.org> -gorg-0.5.ebuild,
-gorg-0.6.3.ebuild, -gorg-0.6.3-r1.ebuild:
diff --git a/www-servers/gorg/gorg-0.6.3-r3.ebuild b/www-servers/gorg/gorg-0.6.3-r3.ebuild
new file mode 100644
index 000000000000..9013d370e854
--- /dev/null
+++ b/www-servers/gorg/gorg-0.6.3-r3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/gorg-0.6.3-r3.ebuild,v 1.1 2009/08/24 16:43:06 ramereth Exp $
+
+EAPI=2
+
+inherit ruby eutils
+
+DESCRIPTION="Back-end XSLT processor for an XML-based web site"
+HOMEPAGE="http://gentoo.neysx.org/mystuff/gorg/gorg.xml"
+SRC_URI="http://gentoo.neysx.org/mystuff/gorg/${P}.tgz"
+IUSE="apache2 fastcgi mysql"
+
+SLOT="0"
+USE_RUBY="ruby18"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="virtual/ruby
+ >=dev-libs/libxml2-2.6.16
+ >=dev-libs/libxslt-1.1.12"
+RDEPEND="${DEPEND}
+ mysql? ( >=dev-ruby/ruby-dbi-0.0.21[mysql] )
+ apache2? ( www-servers/apache
+ fastcgi? ( www-apache/mod_fcgid ) )
+ fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.5-r1 )"
+
+pkg_setup() {
+ enewgroup gorg
+ enewuser gorg -1 -1 -1 gorg
+}
+
+src_compile() {
+ # Fix listen issue w/ webrick
+ sed -i -e 's/WEBrick::HTTPServer.new(/WEBrick::HTTPServer.new( :BindAddress=>"127.0.0.1",/' lib/gorg/www.rb
+
+ ruby_src_compile
+}
+
+src_install() {
+ ruby_einstall
+
+ # install doesn't seem to chmod these correctly, forcing it here
+ SITE_LIB_DIR=`$RUBY -r rbconfig -e 'puts Config::CONFIG["sitelibdir"]'`
+ chmod +x "${D}"/${SITE_LIB_DIR}/gorg/cgi-bin/*.cgi
+ chmod +x "${D}"/${SITE_LIB_DIR}/gorg/fcgi-bin/*.fcgi
+
+ keepdir /etc/gorg; insinto /etc/gorg ; doins etc/gorg/*
+ diropts -m0770 -o gorg -g gorg; keepdir /var/cache/gorg
+
+ dodoc Changelog README
+}