Gentoo Archives: gentoo-commits

From: "Lance Albertson (ramereth)" <ramereth@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/gorg: ChangeLog gorg-0.6.3-r3.ebuild
Date: Mon, 24 Aug 2009 16:43:08
Message-Id: E1MfcdO-0001Pq-Ju@stork.gentoo.org
1 ramereth 09/08/24 16:43:06
2
3 Modified: ChangeLog
4 Added: gorg-0.6.3-r3.ebuild
5 Log:
6 Add www-server/mod_fcgid dep if both apache2 & fastcgi use flags are enabled.
7 Fixes bug #251177
8 (Portage version: 2.1.6.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.21 www-servers/gorg/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/gorg/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/gorg/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/gorg/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 13 Jun 2009 07:40:06 -0000 1.20
24 +++ ChangeLog 24 Aug 2009 16:43:06 -0000 1.21
25 @@ -1,6 +1,13 @@
26 # ChangeLog for www-servers/gorg
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v 1.20 2009/06/13 07:40:06 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v 1.21 2009/08/24 16:43:06 ramereth Exp $
30 +
31 +*gorg-0.6.3-r3 (24 Aug 2009)
32 +
33 + 24 Aug 2009; Lance Albertson <ramereth@g.o> +gorg-0.6.3-r3.ebuild:
34 + Add www-server/mod_fcgid dep if both apache2 & fastcgi use flags are
35 + enabled.
36 + Fixes bug #251177
37
38 13 Jun 2009; Hans de Graaff <graaff@g.o> -gorg-0.5.ebuild,
39 -gorg-0.6.3.ebuild, -gorg-0.6.3-r1.ebuild:
40
41
42
43 1.1 www-servers/gorg/gorg-0.6.3-r3.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/gorg/gorg-0.6.3-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/gorg/gorg-0.6.3-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gorg-0.6.3-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $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 $
53
54 EAPI=2
55
56 inherit ruby eutils
57
58 DESCRIPTION="Back-end XSLT processor for an XML-based web site"
59 HOMEPAGE="http://gentoo.neysx.org/mystuff/gorg/gorg.xml"
60 SRC_URI="http://gentoo.neysx.org/mystuff/gorg/${P}.tgz"
61 IUSE="apache2 fastcgi mysql"
62
63 SLOT="0"
64 USE_RUBY="ruby18"
65 LICENSE="GPL-2"
66 KEYWORDS="~amd64 ~ppc ~x86"
67
68 DEPEND="virtual/ruby
69 >=dev-libs/libxml2-2.6.16
70 >=dev-libs/libxslt-1.1.12"
71 RDEPEND="${DEPEND}
72 mysql? ( >=dev-ruby/ruby-dbi-0.0.21[mysql] )
73 apache2? ( www-servers/apache
74 fastcgi? ( www-apache/mod_fcgid ) )
75 fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.5-r1 )"
76
77 pkg_setup() {
78 enewgroup gorg
79 enewuser gorg -1 -1 -1 gorg
80 }
81
82 src_compile() {
83 # Fix listen issue w/ webrick
84 sed -i -e 's/WEBrick::HTTPServer.new(/WEBrick::HTTPServer.new( :BindAddress=>"127.0.0.1",/' lib/gorg/www.rb
85
86 ruby_src_compile
87 }
88
89 src_install() {
90 ruby_einstall
91
92 # install doesn't seem to chmod these correctly, forcing it here
93 SITE_LIB_DIR=`$RUBY -r rbconfig -e 'puts Config::CONFIG["sitelibdir"]'`
94 chmod +x "${D}"/${SITE_LIB_DIR}/gorg/cgi-bin/*.cgi
95 chmod +x "${D}"/${SITE_LIB_DIR}/gorg/fcgi-bin/*.fcgi
96
97 keepdir /etc/gorg; insinto /etc/gorg ; doins etc/gorg/*
98 diropts -m0770 -o gorg -g gorg; keepdir /var/cache/gorg
99
100 dodoc Changelog README
101 }