summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2007-08-20 23:23:06 +0000
committerBenedikt Boehm <hollow@gentoo.org>2007-08-20 23:23:06 +0000
commit3739b0c12592ff09a036617d54f14a4b15490630 (patch)
treef9b97b027e53730cfa2677fb3a534c8c33108901 /www-apache
parentAdded a patch to correct the desktop file. Fixes bug 187371. (diff)
downloadgentoo-2-3739b0c12592ff09a036617d54f14a4b15490630.tar.gz
gentoo-2-3739b0c12592ff09a036617d54f14a4b15490630.tar.bz2
gentoo-2-3739b0c12592ff09a036617d54f14a4b15490630.zip
pre-release with various fixes + plugin support (thanks to Christian Parpart)
(Portage version: 2.1.3.6)
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_transform/ChangeLog8
-rw-r--r--www-apache/mod_transform/files/0.7/10_mod_transform.conf9
-rw-r--r--www-apache/mod_transform/files/digest-mod_transform-0.7.0_pre200702043
-rw-r--r--www-apache/mod_transform/mod_transform-0.7.0_pre20070204.ebuild46
4 files changed, 65 insertions, 1 deletions
diff --git a/www-apache/mod_transform/ChangeLog b/www-apache/mod_transform/ChangeLog
index 6e6f4254ee76..80dfd1ce9fd8 100644
--- a/www-apache/mod_transform/ChangeLog
+++ b/www-apache/mod_transform/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apache/mod_transform
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_transform/ChangeLog,v 1.2 2007/08/04 17:26:37 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_transform/ChangeLog,v 1.3 2007/08/20 23:23:06 hollow Exp $
+
+*mod_transform-0.7.0_pre20070204 (20 Aug 2007)
+
+ 20 Aug 2007; Benedikt Böhm <hollow@gentoo.org>
+ +files/0.7/10_mod_transform.conf, +mod_transform-0.7.0_pre20070204.ebuild:
+ pre-release with various fixes + plugin support (thanks to Christian Parpart)
29 Jul 2007; Christian Heim <phreak@gentoo.org>
+files/10_mod_transform.conf, +metadata.xml, +mod_transform-0.6.0.ebuild:
diff --git a/www-apache/mod_transform/files/0.7/10_mod_transform.conf b/www-apache/mod_transform/files/0.7/10_mod_transform.conf
new file mode 100644
index 000000000000..e4e9a81483c8
--- /dev/null
+++ b/www-apache/mod_transform/files/0.7/10_mod_transform.conf
@@ -0,0 +1,9 @@
+<IfDefine TRANSFORM>
+ LoadModule transform_module modules/mod_transform.so
+ AddOutputFilter XSLT xml
+
+ # In order to load the http plugin, uncomment the following:
+# TransformLoadPlugin http
+</IfDefine>
+
+# vim:syntax=apache
diff --git a/www-apache/mod_transform/files/digest-mod_transform-0.7.0_pre20070204 b/www-apache/mod_transform/files/digest-mod_transform-0.7.0_pre20070204
new file mode 100644
index 000000000000..487aa973c8c2
--- /dev/null
+++ b/www-apache/mod_transform/files/digest-mod_transform-0.7.0_pre20070204
@@ -0,0 +1,3 @@
+MD5 45c64bea182d0b7b051647dc50601819 mod_transform-0.7.0_pre20070204.tar.bz2 250585
+RMD160 20ee39face70010e7e6a38019fc5f4b17af5036a mod_transform-0.7.0_pre20070204.tar.bz2 250585
+SHA256 65e7727ed4052609519d9722ca0c9c78812bac6ef3774854c4d35ce0859bbfc6 mod_transform-0.7.0_pre20070204.tar.bz2 250585
diff --git a/www-apache/mod_transform/mod_transform-0.7.0_pre20070204.ebuild b/www-apache/mod_transform/mod_transform-0.7.0_pre20070204.ebuild
new file mode 100644
index 000000000000..4e1a60c91617
--- /dev/null
+++ b/www-apache/mod_transform/mod_transform-0.7.0_pre20070204.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_transform/mod_transform-0.7.0_pre20070204.ebuild,v 1.1 2007/08/20 23:23:06 hollow Exp $
+
+inherit apache-module
+
+DESCRIPTION="Filter module that allows Apache2 to do dynamic XSL transformations."
+HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_transform/"
+SRC_URI="http://upstream.rm-rf.in/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=dev-libs/libxslt-1.1.5
+ >=dev-libs/libxml2-2.6.11
+ >=www-apache/libapreq2-2.07
+ >=www-apache/mod_depends-0.7.0_p200702041"
+
+RDEPEND="${DEPEND}"
+
+APACHE2_MOD_CONF="0.7/10_${PN}"
+APACHE2_MOD_DEFINE="TRANSFORM"
+
+need_apache2
+
+src_compile() {
+ econf --with-apxs=${APXS2} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ # install header(s)
+ local AP_INCLUDEDIR=$(${APXS2} -q INCLUDEDIR)
+ insinto ${AP_INCLUDEDIR}
+ doins include/mod_transform.h || die
+
+ # install plugin(s)
+ local PLUGIN_DIR=/usr/$(get_libdir)/apache2/modules/mod_transform
+ dodir ${PLUGIN_DIR}
+ insinto ${PLUGIN_DIR}
+ doins src/.libs/http.so
+
+ apache2_src_install
+}