diff options
author | Donny Davies <woodchip@gentoo.org> | 2002-11-29 10:25:20 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2002-11-29 10:25:20 +0000 |
commit | e1420382c57d23cbb336f21346ce2756293e3272 (patch) | |
tree | ac03c3f2f26582ac3efe8ecb8ff5943e778c2bd3 /net-www | |
parent | fix DEPEND (diff) | |
download | historical-e1420382c57d23cbb336f21346ce2756293e3272.tar.gz historical-e1420382c57d23cbb336f21346ce2756293e3272.tar.bz2 historical-e1420382c57d23cbb336f21346ce2756293e3272.zip |
new Apache2 module
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/mod_vdbh/ChangeLog | 8 | ||||
-rw-r--r-- | net-www/mod_vdbh/files/21_mod_vdbh.conf | 23 | ||||
-rw-r--r-- | net-www/mod_vdbh/files/digest-mod_vdbh-1.0.2 | 1 | ||||
-rw-r--r-- | net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild | 27 | ||||
-rw-r--r-- | net-www/mod_xslt/ChangeLog | 8 | ||||
-rw-r--r-- | net-www/mod_xslt/files/25_mod_xslt.conf | 20 | ||||
-rw-r--r-- | net-www/mod_xslt/files/digest-mod_xslt-1.0.5a | 1 | ||||
-rw-r--r-- | net-www/mod_xslt/files/mod_xslt-1.0.5a-register.patch | 18 | ||||
-rw-r--r-- | net-www/mod_xslt/mod_xslt-1.0.5a.ebuild | 43 |
9 files changed, 149 insertions, 0 deletions
diff --git a/net-www/mod_vdbh/ChangeLog b/net-www/mod_vdbh/ChangeLog new file mode 100644 index 000000000000..337ef8e71a45 --- /dev/null +++ b/net-www/mod_vdbh/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-www/mod_vdbh +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_vdbh/ChangeLog,v 1.1 2002/11/29 10:23:03 woodchip Exp $ + +*mod_vdbh-1.0.2 (29 Nov 2002) + + 29 Nov 2002; Donny Davies <woodchip@gentoo.org> : + Initial import; created by me. diff --git a/net-www/mod_vdbh/files/21_mod_vdbh.conf b/net-www/mod_vdbh/files/21_mod_vdbh.conf new file mode 100644 index 000000000000..cd1ea73702c9 --- /dev/null +++ b/net-www/mod_vdbh/files/21_mod_vdbh.conf @@ -0,0 +1,23 @@ +<IfDefine VDBH> + <IfModule !mod_vdbh.c> + LoadModule vdbh_module extramodules/mod_vdbh.so + </IfModule> +</IfDefine> + +<IfModule mod_vdbh.c> + +#NameVirtualHost 206.9.161.29 +#<VirtualHost 206.9.161.29> +# vdbh On +# vdbh_CLIENT_COMPRESS On +# vdbh_MySQL_Database virtual_hosts +# vdbh_MySQL_Table virtual_hosts +# vdbh_MySQL_Host_Field server +# vdbh_MySQL_Path_Field path +# vdbh_MySQL_Environment_Field environment_variable +# vdbh_Default_Host julia.fractal.net +# vdbh_Declines .htpasswd *.txt +#</VirtualHost> + +</IfModule> + diff --git a/net-www/mod_vdbh/files/digest-mod_vdbh-1.0.2 b/net-www/mod_vdbh/files/digest-mod_vdbh-1.0.2 new file mode 100644 index 000000000000..3cda92bd5269 --- /dev/null +++ b/net-www/mod_vdbh/files/digest-mod_vdbh-1.0.2 @@ -0,0 +1 @@ +MD5 73ef617b1462d6a99484559ce200b99c mod_vdbh-1.0.2.tar.gz 13595 diff --git a/net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild b/net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild new file mode 100644 index 000000000000..bf762a130db6 --- /dev/null +++ b/net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_vdbh/mod_vdbh-1.0.2.ebuild,v 1.1 2002/11/29 10:23:03 woodchip Exp $ + +DESCRIPTION="An Apache2 DSO for mass virtual hosting using a MySQL database" +HOMEPAGE="http://www.synthemesc.com/mod_vdbh/" + +S=${WORKDIR}/${P} +SRC_URI="http://www.synthemesc.com/downloads/${PN}/${P}.tar.gz" +DEPEND="=net-www/apache-2* =dev-db/mysql-3.23* >=sys-libs/zlib-1.1.4" +LICENSE="Apache-1.1" +KEYWORDS="~x86" +IUSE="" +SLOT="0" + +src_compile() { + apxs2 -DHAVE_STDDEF_H -I/usr/include/mysql -Wl,-lmysqlclient \ + -c ${PN}.c || die +} + +src_install() { + exeinto /usr/lib/apache2-extramodules + doexe .libs/${PN}.so + insinto /etc/apache2/conf/modules.d + doins ${FILESDIR}/21_mod_vdbh.conf + dodoc ${FILESDIR}/21_mod_vdbh.conf AUTHORS COPYING README TODO +} diff --git a/net-www/mod_xslt/ChangeLog b/net-www/mod_xslt/ChangeLog new file mode 100644 index 000000000000..c619e45d3c2f --- /dev/null +++ b/net-www/mod_xslt/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-www/mod-xslt +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_xslt/ChangeLog,v 1.1 2002/11/29 10:25:20 woodchip Exp $ + +*mod-xslt-1.0.5a (29 Nov 2002) + + 29 Nov 2002; Donny Davies <woodchip@gentoo.org> : + Initial import; created by me. diff --git a/net-www/mod_xslt/files/25_mod_xslt.conf b/net-www/mod_xslt/files/25_mod_xslt.conf new file mode 100644 index 000000000000..863b50d39b89 --- /dev/null +++ b/net-www/mod_xslt/files/25_mod_xslt.conf @@ -0,0 +1,20 @@ +<IfDefine XSLT> + <IfModule !mod_xslt.c> + LoadModule mod_xslt extramodules/mod_xslt.so + </IfModule> +</IfDefine> + +<IfModule mod_xslt.c> + +AddOutputFilter mod-xslt .xml + +<Location _REPLACE_ME_> + SetOutputFilter mod-xslt +</Location> + +</IfModule> + +#<Directory "/home/httpd/htdocs"> +# AddOutputFilterByType mod-xslt text/xml +#</Directory> + diff --git a/net-www/mod_xslt/files/digest-mod_xslt-1.0.5a b/net-www/mod_xslt/files/digest-mod_xslt-1.0.5a new file mode 100644 index 000000000000..13880fd177ec --- /dev/null +++ b/net-www/mod_xslt/files/digest-mod_xslt-1.0.5a @@ -0,0 +1 @@ +MD5 0e355acd2ebf3cc17100c63afc5d4500 mod-xslt-1.0.5a.tar.gz 79870 diff --git a/net-www/mod_xslt/files/mod_xslt-1.0.5a-register.patch b/net-www/mod_xslt/files/mod_xslt-1.0.5a-register.patch new file mode 100644 index 000000000000..85d30fa00482 --- /dev/null +++ b/net-www/mod_xslt/files/mod_xslt-1.0.5a-register.patch @@ -0,0 +1,18 @@ +--- src/mod-xslt.c 2002-10-27 19:16:41.000000000 +0100 ++++ src/mod-xslt.c.oden 2002-11-04 00:49:43.000000000 +0100 +@@ -327,7 +327,15 @@ + xmlLoadExtDtdDefaultValue=1; + } + ++static int xslt_init_handler(apr_pool_t *p, apr_pool_t *plog, ++ apr_pool_t *ptemp, server_rec *s) ++{ ++ ap_add_version_component(p, "mod_xslt/1.0.5a"); ++ return OK; ++} ++ + static void xslt_register_hooks(apr_pool_t *p) { ++ ap_hook_post_config(xslt_init_handler, NULL, NULL, APR_HOOK_MIDDLE); + ap_hook_child_init(xslt_child_init, NULL, NULL, APR_HOOK_MIDDLE); + #ifdef OLD_APACHE_FILTER_API + ap_register_output_filter("mod-xslt", xslt_filter, AP_FTYPE_RESOURCE); diff --git a/net-www/mod_xslt/mod_xslt-1.0.5a.ebuild b/net-www/mod_xslt/mod_xslt-1.0.5a.ebuild new file mode 100644 index 000000000000..60562cdb0bb4 --- /dev/null +++ b/net-www/mod_xslt/mod_xslt-1.0.5a.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_xslt/mod_xslt-1.0.5a.ebuild,v 1.1 2002/11/29 10:25:20 woodchip Exp $ + +inherit eutils + +DESCRIPTION="An xslt filtering DSO module for Apache2" +HOMEPAGE="http://www.mod-xslt.com/" + +S=${WORKDIR}/mod-xslt-${PV} +SRC_URI="http://www.dunkel.org/mod-xslt/downloads/mod-xslt-${PV}.tar.gz" +DEPEND="sys-devel/perl dev-libs/libxslt dev-libs/libxml2 =net-www/apache-2*" +LICENSE="Apache-1.1" +KEYWORDS="~x86" +IUSE="" +SLOT="0" + +src_unpack() { + unpack ${A} || die; cd ${S} || die + epatch ${FILESDIR}/mod_xslt-1.0.5a-register.patch + #oh brother + cp configure.ac configure.ac.orig + sed -e 's|libxml/|libxml2/libxml/|' configure.ac.orig > configure.ac + rm -f configure configure.ac.orig + find src -type f | xargs perl -pi -e "s|libxml/|libxml2/libxml/|g;" + autoconf || die +} + +src_compile() { + touch config.h && cd src + mv mod-xslt.c mod_xslt.c + /usr/sbin/apxs2 `pkg-config --cflags --libs libxslt` \ + -c ${PN}.c iotools.c logging.c urltools.c xsltools.c || die +} + +src_install() { + exeinto /usr/lib/apache2-extramodules + doexe src/.libs/${PN}.so + insinto /etc/apache2/conf/modules.d + doins ${FILESDIR}/25_mod_xslt.conf + dodoc ${FILESDIR}/25_mod_xslt.conf + dodoc AUTHORS ChangeLog LICENSE NEWS README* +} |