diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-10-20 08:04:38 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-10-20 08:04:38 +0000 |
commit | 26d5ba4988447b214d8f5da29d28caa5feacab32 (patch) | |
tree | 8c3f66693f2d8c15067a09f8383d484d40300ef6 /www-servers/gorg | |
parent | Enable jabber and irc by default, bug #488512. Drop old. (diff) | |
download | gentoo-2-26d5ba4988447b214d8f5da29d28caa5feacab32.tar.gz gentoo-2-26d5ba4988447b214d8f5da29d28caa5feacab32.tar.bz2 gentoo-2-26d5ba4988447b214d8f5da29d28caa5feacab32.zip |
Version bump. Drop mysql USE flag: not used by Gentoo itself, ruby18-only and probably broken/insecure. Add ruby19 and ruby20.
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'www-servers/gorg')
-rw-r--r-- | www-servers/gorg/ChangeLog | 10 | ||||
-rw-r--r-- | www-servers/gorg/gorg-0.7.0.ebuild | 57 |
2 files changed, 65 insertions, 2 deletions
diff --git a/www-servers/gorg/ChangeLog b/www-servers/gorg/ChangeLog index 8aace25983fc..54bf0d1dfb88 100644 --- a/www-servers/gorg/ChangeLog +++ b/www-servers/gorg/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-servers/gorg -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v 1.37 2012/10/26 11:51:59 graaff Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/ChangeLog,v 1.38 2013/10/20 08:04:38 graaff Exp $ + +*gorg-0.7.0 (20 Oct 2013) + + 20 Oct 2013; Hans de Graaff <graaff@gentoo.org> +gorg-0.7.0.ebuild: + Version bump. Drop mysql USE flag: not used by Gentoo itself, ruby18-only and + probably broken/insecure. Add ruby19 and ruby20. *gorg-0.6.5 (26 Oct 2012) diff --git a/www-servers/gorg/gorg-0.7.0.ebuild b/www-servers/gorg/gorg-0.7.0.ebuild new file mode 100644 index 000000000000..5fb8eeede47f --- /dev/null +++ b/www-servers/gorg/gorg-0.7.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/gorg/gorg-0.7.0.ebuild,v 1.1 2013/10/20 08:04:38 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby18 ruby19 ruby20" + +inherit ruby-ng eutils + +DESCRIPTION="Back-end XSLT processor for an XML-based web site" +HOMEPAGE="http://www.gentoo.org/proj/en/gdp/doc/gorg.xml" +SRC_URI="https://github.com/gentoo/gorg/archive/v${PV}.tar.gz -> ${P}.tar.gz" +IUSE="fastcgi" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" + +CDEPEND=" + >=dev-libs/libxml2-2.6.16 + >=dev-libs/libxslt-1.1.12" +DEPEND="${DEPEND} ${CDEPEND}" +RDEPEND="${RDEPEND} ${CDEPEND} + fastcgi? ( virtual/httpd-fastcgi )" + +ruby_add_rdepend " + fastcgi? ( >=dev-ruby/fcgi-0.8.5-r1 )" + +pkg_setup() { + enewgroup gorg + enewuser gorg -1 -1 -1 gorg +} + +each_ruby_configure() { + ${RUBY} setup.rb config --prefix=/usr || die +} + +each_ruby_compile() { + ${RUBY} setup.rb setup || die +} + +each_ruby_install() { + ${RUBY} setup.rb config --prefix="${D}"/usr || die + ${RUBY} setup.rb install || die + + # install doesn't seem to chmod these correctly, forcing it here + SITE_LIB_DIR=$(ruby_rbconfig_value 'sitelibdir') + chmod +x "${D}"/${SITE_LIB_DIR}/gorg/cgi-bin/*.cgi + chmod +x "${D}"/${SITE_LIB_DIR}/gorg/fcgi-bin/*.fcgi +} + +all_ruby_install() { + keepdir /etc/gorg; insinto /etc/gorg ; doins etc/gorg/* + diropts -m0770 -o gorg -g gorg; keepdir /var/cache/gorg + + dodoc Changelog README +} |