summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-11-28 20:49:57 +0000
committerDonny Davies <woodchip@gentoo.org>2002-11-28 20:49:57 +0000
commit3cef0828fcccd89d46205c3ac15cec797e920803 (patch)
treec7179375f1a55ae76a5061e30afaa417e4a904e9 /net-www
parentfixo (diff)
downloadhistorical-3cef0828fcccd89d46205c3ac15cec797e920803.tar.gz
historical-3cef0828fcccd89d46205c3ac15cec797e920803.tar.bz2
historical-3cef0828fcccd89d46205c3ac15cec797e920803.zip
new Apache2 mod
Diffstat (limited to 'net-www')
-rw-r--r--net-www/mod_injection/ChangeLog8
-rw-r--r--net-www/mod_injection/files/23_mod_injection.conf21
-rw-r--r--net-www/mod_injection/files/digest-mod_injection-0.3.01
-rw-r--r--net-www/mod_injection/files/mod_injection-0.3.0-register.patch18
-rw-r--r--net-www/mod_injection/mod_injection-0.3.0.ebuild36
-rw-r--r--net-www/mod_layout/ChangeLog8
-rw-r--r--net-www/mod_layout/files/15_mod_layout.conf150
-rw-r--r--net-www/mod_layout/files/digest-mod_layout-4.0.1a1
-rw-r--r--net-www/mod_layout/files/mod_layout-4.0.1a-register.patch19
-rw-r--r--net-www/mod_layout/mod_layout-4.0.1a.ebuild34
-rw-r--r--net-www/mod_loopback/ChangeLog8
-rw-r--r--net-www/mod_loopback/files/28_mod_loopback.conf24
-rw-r--r--net-www/mod_loopback/files/digest-mod_loopback-2.01
-rw-r--r--net-www/mod_loopback/mod_loopback-2.0.ebuild26
-rw-r--r--net-www/mod_protection/ChangeLog8
-rw-r--r--net-www/mod_protection/files/26_mod_protection.conf12
-rw-r--r--net-www/mod_protection/files/digest-mod_protection-0.0.21
-rw-r--r--net-www/mod_protection/files/mod_protection-0.0.2-register.patch19
-rw-r--r--net-www/mod_protection/files/mod_protection.rules13
-rw-r--r--net-www/mod_protection/mod_protection-0.0.2.ebuild42
-rw-r--r--net-www/mod_random/ChangeLog8
-rw-r--r--net-www/mod_random/files/17_mod_random.conf38
-rw-r--r--net-www/mod_random/files/digest-mod_random-2.01
-rw-r--r--net-www/mod_random/files/mod_random-register.patch18
-rw-r--r--net-www/mod_random/mod_random-2.0.ebuild35
-rw-r--r--net-www/mod_roaming/ChangeLog8
-rw-r--r--net-www/mod_roaming/files/18_mod_roaming.conf26
-rw-r--r--net-www/mod_roaming/files/digest-mod_roaming-2.0.01
-rw-r--r--net-www/mod_roaming/files/mod_roaming-register.patch22
-rw-r--r--net-www/mod_roaming/mod_roaming-2.0.0.ebuild39
-rw-r--r--net-www/mod_tcl/ChangeLog8
-rw-r--r--net-www/mod_tcl/files/27_mod_tcl.conf12
-rw-r--r--net-www/mod_tcl/files/digest-mod_tcl-1.01
-rw-r--r--net-www/mod_tcl/mod_tcl-1.0.ebuild30
34 files changed, 697 insertions, 0 deletions
diff --git a/net-www/mod_injection/ChangeLog b/net-www/mod_injection/ChangeLog
new file mode 100644
index 000000000000..4350b281c711
--- /dev/null
+++ b/net-www/mod_injection/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-www/mod_injection
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_injection/ChangeLog,v 1.1 2002/11/28 20:37:34 woodchip Exp $
+
+*mod_injection-0.3.0 (28 Nov 2002)
+
+ 28 Nov 2002; Donny Davies <woodchip@gentoo.org> :
+ Initial import; created by me.
diff --git a/net-www/mod_injection/files/23_mod_injection.conf b/net-www/mod_injection/files/23_mod_injection.conf
new file mode 100644
index 000000000000..b1d0dedb0ed5
--- /dev/null
+++ b/net-www/mod_injection/files/23_mod_injection.conf
@@ -0,0 +1,21 @@
+<IfDefine INJECTION>
+ <IfModule !mod_injection.c>
+ LoadModule injection_module extramodules/mod_injection.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_injection.c>
+
+ AddOutputFilter INJECTION .html
+
+<Location _REPLACE_ME_>
+
+ SetOutputFilter INJECTION
+ InjectString "<h1>Injected text from the config file...</h1>"
+# InjectTag InjectTagTitle
+# InjectAfter "<!-- replace_me -->"
+
+</Location>
+
+</IfModule>
+
diff --git a/net-www/mod_injection/files/digest-mod_injection-0.3.0 b/net-www/mod_injection/files/digest-mod_injection-0.3.0
new file mode 100644
index 000000000000..d0ea4bb44194
--- /dev/null
+++ b/net-www/mod_injection/files/digest-mod_injection-0.3.0
@@ -0,0 +1 @@
+MD5 cda7680792d3d9d61bfb1b2c0b826cd0 mod_injection-0.3.0.tar.gz 10386
diff --git a/net-www/mod_injection/files/mod_injection-0.3.0-register.patch b/net-www/mod_injection/files/mod_injection-0.3.0-register.patch
new file mode 100644
index 000000000000..2002bc18cd39
--- /dev/null
+++ b/net-www/mod_injection/files/mod_injection-0.3.0-register.patch
@@ -0,0 +1,18 @@
+--- mod_injection-0.3.0/src/mod_injection.c 2002-10-19 01:20:11.000000000 +0200
++++ mod_injection-0.3.0/src/mod_injection.c.oden 2002-10-28 14:33:57.000000000 +0100
+@@ -362,7 +362,15 @@
+ return ap_pass_brigade(f->next, bb);
+ }
+ /* ######################################################################## */
++static int injection_init_handler(apr_pool_t *p, apr_pool_t *plog,
++ apr_pool_t *ptemp, server_rec *s)
++{
++ ap_add_version_component(p, "mod_injection/0.3.0");
++ return OK;
++}
++/* ######################################################################## */
+ static void injection_register_hooks(apr_pool_t *p) {
++ ap_hook_post_config(injection_init_handler, NULL, NULL, APR_HOOK_MIDDLE);
+ ap_register_output_filter(const_filter_name, injection_filter, NULL, AP_FTYPE_CONTENT_SET);
+ }
+ /* ######################################################################## */
diff --git a/net-www/mod_injection/mod_injection-0.3.0.ebuild b/net-www/mod_injection/mod_injection-0.3.0.ebuild
new file mode 100644
index 000000000000..1155d9ad4427
--- /dev/null
+++ b/net-www/mod_injection/mod_injection-0.3.0.ebuild
@@ -0,0 +1,36 @@
+# 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_injection/mod_injection-0.3.0.ebuild,v 1.1 2002/11/28 20:37:34 woodchip Exp $
+
+inherit eutils
+
+DESCRIPTION="An Apache2 filtering module"
+HOMEPAGE="http://pmade.org/pjones/software/mod_injection/"
+
+S=${WORKDIR}/${P}
+SRC_URI="http://pmade.org/pjones/software/${PN}/download/${P}.tar.gz"
+DEPEND="=net-www/apache-2*"
+LICENSE="Apache-1.1"
+KEYWORDS="~x86"
+IUSE=""
+SLOT="0"
+
+src_unpack() {
+ unpack ${A} || die; cd ${S} || die
+ epatch ${FILESDIR}/mod_injection-0.3.0-register.patch
+}
+
+src_compile() {
+ cp src/${PN}.c .
+ apxs2 -c ${PN}.c || die
+}
+
+src_install() {
+ exeinto /usr/lib/apache2-extramodules
+ doexe .libs/${PN}.so
+ insinto /etc/apache2/conf/modules.d
+ doins ${FILESDIR}/23_mod_injection.conf
+ dodoc ${FILESDIR}/23_mod_injection.conf
+ dodoc README INSTALL docs/CREDITS docs/manual.txt
+ cp -a docs/manual ${D}/usr/share/doc/${PF}
+}
diff --git a/net-www/mod_layout/ChangeLog b/net-www/mod_layout/ChangeLog
new file mode 100644
index 000000000000..7c871d086da9
--- /dev/null
+++ b/net-www/mod_layout/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-www/mod_layout
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_layout/ChangeLog,v 1.1 2002/11/28 20:40:27 woodchip Exp $
+
+*mod_layout-4.0.1a (28 Nov 2002)
+
+ 28 Nov 2002; Donny Davies <woodchip@gentoo.org> :
+ Initial import; created by me.
diff --git a/net-www/mod_layout/files/15_mod_layout.conf b/net-www/mod_layout/files/15_mod_layout.conf
new file mode 100644
index 000000000000..68691e5c7213
--- /dev/null
+++ b/net-www/mod_layout/files/15_mod_layout.conf
@@ -0,0 +1,150 @@
+<IfDefine LAYOUT>
+ <IfModule !mod_layout.c>
+ LoadModule layout_module extramodules/mod_layout.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_layout.c>
+
+<Location _REPLACE_ME_>
+AddOutputFilter LAYOUT html
+
+# This directives makes sure that all Layout headers and footers
+# get Cache-Control: no-cache methods in all situations. This
+# directive either takes On or Off."
+# LayoutCacheNeeded
+
+# A URI which prints the header contents.
+LayoutHeader "<p><b>This is the LayoutHeader</b> (included from the config file)</p>"
+
+# A URI which prints the footer contents.
+LayoutFooter "<p><b>This is the LayoutFooter</b> (included from the config file)</p>"
+
+# Add a layout to be inserted when a tag is found, this takes two
+# options, with a third optional parameter. The first is a pattern,
+# the second is the layout and the third is how the layout should be
+# inserts (either prepend, append, or replace). The default is to
+# replace.
+Layout "<-- replace_me -->" "<p>Visit: <a href=http://www.gentoo.org/>Gentoo Linux</a></p>" replace
+
+# Enter either a mime type or a handler type. This type will then be
+# handled by mod_layout.
+# LayoutHandler
+
+# Enter a URI that should be ignored, regular expressions are allowed.
+# LayoutIgnoreURI
+
+# Enter a URI that should be ignored by the header, regular expressions
+# are allowed.
+# LayoutIgnoreHeaderURI
+
+# Enter a URI that should be ignored by the HTTPHeader, regular
+# expressions are allowed.
+# LayoutIgnoreHTTPHeaderURI
+
+# Enter a URI that should be ignored by the footer, regular expressions
+# are allowed.
+# LayoutIgnoreFooterURI
+
+# This can either be On or Off (default it Off). It places HTML comments
+# in the outbound text describing when and where mod_layout has been
+# inserting text.
+LayoutComment On
+
+# This can either be On or Off (default it Off). This is both
+# experimental and probably quite broke.
+# LayoutProxy
+
+# This can either be On or Off (default it On). When off the original
+# document is not displayed.
+# LayoutDisplayOriginal
+
+# Turns On (default) or Off a list of standard types to handle.
+# LayoutDefaultHandlers
+
+# This takes a SSI style timme format that can be used to change the
+# output by mod_layout's internal TIME environmental variables that
+# it introduces.
+# LayoutTimeFormat
+
+# Takes a URI to call for the HTTP Header.
+# LayoutHTTPHeader
+
+# Specify handlers that mod_layout should produce HTTP headers for.
+# LayoutHTTPOverrideHandler
+
+# Specify URI's that mod_layout should produce HTTP headers for.
+# LayoutHTTPOverrideURI
+
+# This takes no arguments. If found it will turn off the footer.
+# LayoutFooterOff
+
+# This takes no arguments. If found it will turn off the header.
+# LayoutHeaderOff
+
+# This takes no arguments. If found it will turn off the http header.
+# LayoutHTTPHeaderOff
+
+# Turns on and off asynchronous POSTs (AKA everything can see the post
+# data).
+# LayoutPostAsync
+
+# This moves the default cache from /tmp to another directory(or a
+# RAM disk).
+# LayoutCache
+
+# Turning this On or Off afffects whether or not headers and footers
+# are appended when creating subsections.
+# LayoutAppend
+
+# Turning this on and off will tell mod_layout to attempt to resolve
+# content (do a merger of the footer, body and header text
+# LayoutMerge
+
+# Use this to change the default begin tag to use during merges (the
+# default string is \<HTML>\
+# LayoutMergeBeginTag
+
+# Use this to change the default end tag to use during merges (the
+# default string is \<\\HTML>\
+# LayoutMergeEndTag
+
+# Use this to change the default end tag to use during merges (the
+# default string is \<\\HTML>\
+# LayoutHeaderAppend
+
+# Use this to change the default end tag to use during merges (the
+# default string is \<\\HTML>\
+# LayoutFooterAppend
+
+# When enabled (it takes on and off flags) mod_layout will not try
+# to wrap any errors. Merge must be enabled for this to work. The
+# default for this is off.
+# LayoutMergeErrorIgnore
+
+# If this tag is found during a merge, no footer or header will be
+# inserted into the document
+# LayoutIgnoreTag
+
+# If this tag is found during a merge, no footer will be inserted
+# into the document
+# LayoutIgnoreTagFooter
+
+# If this tag is found during a merge, no header will be inserted
+# into the document
+# LayoutIgnoreTagHeader
+
+# This turns on mod_layout's own text/html and text/plain handler
+# LayoutHTMLHandler
+
+# If this is enabled and you are doing a merge, the tags used for the
+# merge will be replaced.
+# LayoutReplaceTags
+
+# If you want applications to do notes (a set of directives to control
+# actions inside apache).
+# LayoutNotes
+
+</Location>
+
+</IfModule>
diff --git a/net-www/mod_layout/files/digest-mod_layout-4.0.1a b/net-www/mod_layout/files/digest-mod_layout-4.0.1a
new file mode 100644
index 000000000000..63f3fb3dcbe8
--- /dev/null
+++ b/net-www/mod_layout/files/digest-mod_layout-4.0.1a
@@ -0,0 +1 @@
+MD5 253c4a2c0f44b788648fc7564f246e87 mod_layout-4.0.1a.tar.gz 12674
diff --git a/net-www/mod_layout/files/mod_layout-4.0.1a-register.patch b/net-www/mod_layout/files/mod_layout-4.0.1a-register.patch
new file mode 100644
index 000000000000..989d007ea54a
--- /dev/null
+++ b/net-www/mod_layout/files/mod_layout-4.0.1a-register.patch
@@ -0,0 +1,19 @@
+--- mod_layout.c 2002-10-01 06:23:56.000000000 +0000
++++ mod_layout.c.oden 2002-10-22 20:09:45.000000000 +0000
+@@ -536,7 +536,16 @@
+ return NULL;
+ }
+
++
++static int layout_init_handler(apr_pool_t *p, apr_pool_t *plog,
++ apr_pool_t *ptemp, server_rec *s)
++{
++ ap_add_version_component(p, "mod_layout/4.0.1a");
++ return OK;
++}
++
+ static void layout_register_hooks(apr_pool_t *p) {
++ ap_hook_post_config(layout_init_handler, NULL, NULL, APR_HOOK_MIDDLE);
+ ap_register_output_filter("LAYOUT", layout_filter, NULL, AP_FTYPE_CONTENT_SET);
+ }
+
diff --git a/net-www/mod_layout/mod_layout-4.0.1a.ebuild b/net-www/mod_layout/mod_layout-4.0.1a.ebuild
new file mode 100644
index 000000000000..d59c128c0542
--- /dev/null
+++ b/net-www/mod_layout/mod_layout-4.0.1a.ebuild
@@ -0,0 +1,34 @@
+# 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_layout/mod_layout-4.0.1a.ebuild,v 1.1 2002/11/28 20:40:27 woodchip Exp $
+
+inherit eutils
+
+DESCRIPTION="An Apache2 DSO module for adding custom headers and/or footers"
+HOMEPAGE="http://software.tangent.org/"
+
+S=${WORKDIR}/${P}
+SRC_URI="http://software.tangent.org/download/${P}.tar.gz"
+DEPEND="=net-www/apache-2*"
+LICENSE="Apache-1.1"
+KEYWORDS="~x86"
+IUSE=""
+SLOT="0"
+
+src_unpack() {
+ unpack ${A} || die; cd ${S} || die
+ epatch ${FILESDIR}/mod_layout-4.0.1a-register.patch
+}
+
+src_compile() {
+ apxs2 -c mod_layout.c utility.c layout.c || die
+}
+
+src_install() {
+ exeinto /usr/lib/apache2-extramodules
+ doexe .libs/${PN}.so
+ insinto /etc/apache2/conf/modules.d
+ doins ${FILESDIR}/15_mod_layout.conf
+ dodoc ${FILESDIR}/15_mod_layout.conf
+ #thats all the docs there is right now!
+}
diff --git a/net-www/mod_loopback/ChangeLog b/net-www/mod_loopback/ChangeLog
new file mode 100644
index 000000000000..c218e74b33f7
--- /dev/null
+++ b/net-www/mod_loopback/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-www/mod_loopback
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_loopback/ChangeLog,v 1.1 2002/11/28 20:42:25 woodchip Exp $
+
+*mod_loopback-2.0 (28 Nov 2002)
+
+ 28 Nov 2002; Donny Davies <woodchip@gentoo.org> :
+ Initial import; created by me.
diff --git a/net-www/mod_loopback/files/28_mod_loopback.conf b/net-www/mod_loopback/files/28_mod_loopback.conf
new file mode 100644
index 000000000000..19bea90a776f
--- /dev/null
+++ b/net-www/mod_loopback/files/28_mod_loopback.conf
@@ -0,0 +1,24 @@
+<IfDefine LOOPBACK>
+ <IfModule !mod_loopback.c>
+ LoadModule loopback_module extramodules/mod_loopback.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_loopback.c>
+
+ LoopbackLog False
+ LoopbackLogFile "logs/loopback.log"
+
+ # Allows URLs used to perform a request loop-back:
+ #
+ # http://www.snert.com/loop-back
+ # http://www.snert.com/Software/loop-back
+ # http://www.snert.com/Software/mod_loopback/loop-back
+ #
+
+ <LocationMatch ".*/loop-back">
+ SetHandler loop-back
+ </LocationMatch>
+
+</IfModule>
+
diff --git a/net-www/mod_loopback/files/digest-mod_loopback-2.0 b/net-www/mod_loopback/files/digest-mod_loopback-2.0
new file mode 100644
index 000000000000..087aeaf7d330
--- /dev/null
+++ b/net-www/mod_loopback/files/digest-mod_loopback-2.0
@@ -0,0 +1 @@
+MD5 e2295806a79632ea5074a6bc113b1994 mod_loopback200.tgz 10274
diff --git a/net-www/mod_loopback/mod_loopback-2.0.ebuild b/net-www/mod_loopback/mod_loopback-2.0.ebuild
new file mode 100644
index 000000000000..3ff1feaae327
--- /dev/null
+++ b/net-www/mod_loopback/mod_loopback-2.0.ebuild
@@ -0,0 +1,26 @@
+# 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_loopback/mod_loopback-2.0.ebuild,v 1.1 2002/11/28 20:42:25 woodchip Exp $
+
+DESCRIPTION="A web client debugging tool (DSO) for Apache2"
+HOMEPAGE="http://www.snert.com/Software/mod_loopback/index.shtml"
+
+S=${WORKDIR}/${P}
+SRC_URI="http://www.snert.com/Software/download/${PN}200.tgz"
+DEPEND="=net-www/apache-2*"
+LICENSE="BSD"
+KEYWORDS="~x86"
+IUSE=""
+SLOT="0"
+
+src_compile() {
+ apxs2 -c mod_loopback.c || die
+}
+
+src_install() {
+ exeinto /usr/lib/apache2-extramodules
+ doexe .libs/${PN}.so
+ insinto /etc/apache2/conf/modules.d
+ doins ${FILESDIR}/28_mod_loopback.conf
+ dodoc ${FILESDIR}/28_mod_loopback.conf CHANGES.txt LICENSE.txt
+}
diff --git a/net-www/mod_protection/ChangeLog b/net-www/mod_protection/ChangeLog
new file mode 100644
index 000000000000..a13ea682871d
--- /dev/null
+++ b/net-www/mod_protection/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-www/mod_protection
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_protection/ChangeLog,v 1.1 2002/11/28 20:43:41 woodchip Exp $
+
+*mod_protection-0.0.2 (28 Nov 2002)
+
+ 28 Nov 2002; Donny Davies <woodchip@gentoo.org> :
+ Initial import; created by me.
diff --git a/net-www/mod_protection/files/26_mod_protection.conf b/net-www/mod_protection/files/26_mod_protection.conf
new file mode 100644
index 000000000000..5a495ac19b44
--- /dev/null
+++ b/net-www/mod_protection/files/26_mod_protection.conf
@@ -0,0 +1,12 @@
+<IfDefine PROTECTION>
+ <IfModule !mod_protection.c>
+ LoadModule protection_module extramodules/mod_protection.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_protection.c>
+ BlockTime 0
+# Menace "/home/httpd/htdocs/index.html.ru.iso-ru"
+ WarnHost 192.168.2.23 60080
+ Include "conf/modules.d/mod_protection.rules"
+</IfModule>
diff --git a/net-www/mod_protection/files/digest-mod_protection-0.0.2 b/net-www/mod_protection/files/digest-mod_protection-0.0.2
new file mode 100644
index 000000000000..e97ec2ed7f60
--- /dev/null
+++ b/net-www/mod_protection/files/digest-mod_protection-0.0.2
@@ -0,0 +1 @@
+MD5 b141b73ae9697c79dc674f25ff6209a4 mod_protection2-0.0.2.tar.bz2 69323
diff --git a/net-www/mod_protection/files/mod_protection-0.0.2-register.patch b/net-www/mod_protection/files/mod_protection-0.0.2-register.patch
new file mode 100644
index 000000000000..351ffc135b8e
--- /dev/null
+++ b/net-www/mod_protection/files/mod_protection-0.0.2-register.patch
@@ -0,0 +1,19 @@
+--- mod_protection.c 2002-04-20 09:33:31.000000000 -0400
++++ mod_protection.c.oden 2002-11-05 09:35:46.000000000 -0500
+@@ -799,8 +799,16 @@
+ return DECLINED;
+ }
+
++static int protection_init_handler(apr_pool_t *p, apr_pool_t *plog,
++ apr_pool_t *ptemp, server_rec *s)
++{
++ ap_add_version_component(p, "mod_protection/0.0.2");
++ return OK;
++}
++
+ static void register_hooks(apr_pool_t *p)
+ {
++ ap_hook_post_config(protection_init_handler, NULL, NULL, APR_HOOK_MIDDLE);
+ ap_hook_translate_name(trans_protection,NULL,NULL,APR_HOOK_MIDDLE);
+ }
+
diff --git a/net-www/mod_protection/files/mod_protection.rules b/net-www/mod_protection/files/mod_protection.rules
new file mode 100644
index 000000000000..7b58f8678234
--- /dev/null
+++ b/net-www/mod_protection/files/mod_protection.rules
@@ -0,0 +1,13 @@
+###
+### mod_protection 0.0.2
+### rules of 20020313
+###
+
+UriAlert /hsx.cgi
+UriAlert /cfdocs
+UriAlert /s.cgi
+ArgAlertMatch /wsisa.dll/WService
+ArgAlertMatch ala
+PairAlertMatch /h.cgi astro
+PairAlertMatch /al.html ass
+UriAlertMatch passwd
diff --git a/net-www/mod_protection/mod_protection-0.0.2.ebuild b/net-www/mod_protection/mod_protection-0.0.2.ebuild
new file mode 100644
index 000000000000..199fbb954384
--- /dev/null
+++ b/net-www/mod_protection/mod_protection-0.0.2.ebuild
@@ -0,0 +1,42 @@
+# 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_protection/mod_protection-0.0.2.ebuild,v 1.1 2002/11/28 20:43:41 woodchip Exp $
+
+inherit eutils
+
+DESCRIPTION="Apache2 DSO providing basic IDS functions"
+HOMEPAGE="http://www.twlc.net/"
+
+NEWP="${PN}2-${PV}"
+S=${WORKDIR}/${NEWP}
+SRC_URI="mirror://gentoo/${NEWP}.tar.bz2"
+DEPEND="=net-www/apache-2*"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+SLOT="0"
+
+src_unpack() {
+ unpack ${A} || die; cd ${S} || die
+ epatch ${FILESDIR}/mod_protection-0.0.2-register.patch
+}
+
+src_compile() {
+ apxs2 -c ${PN}.c || die
+}
+
+src_install() {
+ local i=26_mod_protection.conf
+ local j=mod_protection.rules
+
+ exeinto /usr/lib/apache2-extramodules
+ doexe ${PN}.so
+ insinto /etc/apache2/conf/modules.d
+ doins ${FILESDIR}/$i
+ insopts -m 0644 -o root -g root
+ doins $j
+
+ dodoc ${FILESDIR}/$i $j COPYING Changes INSTALL README \
+ THANX TODO USAGE
+ docinto example-client; dodoc example-client/*
+}
diff --git a/net-www/mod_random/ChangeLog b/net-www/mod_random/ChangeLog
new file mode 100644
index 000000000000..e1e5cf4f426b
--- /dev/null
+++ b/net-www/mod_random/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-www/mod_random
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_random/ChangeLog,v 1.1 2002/11/28 20:47:14 woodchip Exp $
+
+*mod_random-2.0 (28 Nov 2002)
+
+ 28 Nov 2002; Donny Davies <woodchip@gentoo.org> :
+ Initial import; created by me.
diff --git a/net-www/mod_random/files/17_mod_random.conf b/net-www/mod_random/files/17_mod_random.conf
new file mode 100644
index 000000000000..4cca3f867fb1
--- /dev/null
+++ b/net-www/mod_random/files/17_mod_random.conf
@@ -0,0 +1,38 @@
+<IfDefine HAVE_RANDOM>
+ <IfModule !mod_random.c>
+ LoadModule random_module extramodules/mod_random.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_random.c>
+
+<Location /random>
+
+ SetHandler random
+ RandomURL http://www.gentoo.org/
+ RandomURL http://www.freshmeat.net/
+ RandomURL http://www.slashdot.org/
+ RandomURL /random-quote
+ RandomURL /random-ad
+
+</Location>
+
+<Location /random-quote>
+
+ RandomEngine On
+ SetHandler random-quote-page
+ RandomQuote "<P>I guess it was all a DREAM ... or an episode of HAWAII FIVE-O ...</P>"
+ RandomQuote "<P>Life is cheap, but the accessories can kill you.</P>"
+
+</Location>
+
+<Location /random-ad>
+
+ RandomEngine On
+ SetHandler random-ad-page
+ RandomAd "<P>Visit <a href=http://www.gentoo.org/>Gentoo Linux</a> today!</P>"
+
+</Location>
+
+</IfModule>
+
diff --git a/net-www/mod_random/files/digest-mod_random-2.0 b/net-www/mod_random/files/digest-mod_random-2.0
new file mode 100644
index 000000000000..aa614e25914a
--- /dev/null
+++ b/net-www/mod_random/files/digest-mod_random-2.0
@@ -0,0 +1 @@
+MD5 eb0690baab27f94cfbd116730fb94614 mod_random-2.0.tar.gz 7845
diff --git a/net-www/mod_random/files/mod_random-register.patch b/net-www/mod_random/files/mod_random-register.patch
new file mode 100644
index 000000000000..67012c43fb70
--- /dev/null
+++ b/net-www/mod_random/files/mod_random-register.patch
@@ -0,0 +1,18 @@
+--- mod_random.c.orig 2002-09-05 11:32:44.000000000 -0400
++++ mod_random.c 2002-09-05 11:35:08.000000000 -0400
+@@ -223,7 +223,15 @@
+ return OK;
+ }
+
++static int random2_init_handler(apr_pool_t *p, apr_pool_t *plog,
++ apr_pool_t *ptemp, server_rec *s)
++{
++ ap_add_version_component(p, "mod_random/2.0");
++ return OK;
++}
++
+ static void random2_register_hooks(apr_pool_t *p) {
++ ap_hook_post_config(random2_init_handler, NULL, NULL, APR_HOOK_MIDDLE);
+ ap_hook_handler(random_handler, NULL, NULL, APR_HOOK_MIDDLE);
+ ap_hook_handler(random_page_handler, NULL, NULL, APR_HOOK_MIDDLE);
+ ap_hook_fixups(random_fixup, NULL, NULL, APR_HOOK_FIRST);
diff --git a/net-www/mod_random/mod_random-2.0.ebuild b/net-www/mod_random/mod_random-2.0.ebuild
new file mode 100644
index 000000000000..cc2440337e02
--- /dev/null
+++ b/net-www/mod_random/mod_random-2.0.ebuild
@@ -0,0 +1,35 @@
+# 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_random/mod_random-2.0.ebuild,v 1.1 2002/11/28 20:47:14 woodchip Exp $
+
+inherit eutils
+
+DESCRIPTION="An Apache2 DSO providing custom randomized responses"
+HOMEPAGE="http://software.tangent.org/"
+
+S=${WORKDIR}/${P}
+SRC_URI="http://software.tangent.org/download/${P}.tar.gz"
+DEPEND="=net-www/apache-2*"
+LICENSE="Apache-1.1"
+KEYWORDS="~x86"
+IUSE=""
+SLOT="0"
+
+src_unpack() {
+ unpack ${A} || die; cd ${S} || die
+ epatch ${FILESDIR}/mod_random-register.patch
+}
+
+src_compile() {
+ apxs2 -c ${PN}.c || die
+}
+
+src_install() {
+ exeinto /usr/lib/apache2-extramodules
+ doexe .libs/${PN}.so
+ insinto /etc/apache2/conf/modules.d
+ doins ${FILESDIR}/17_mod_random.conf
+ dodoc ${FILESDIR}/17_mod_random.conf
+ dodoc ChangeLog INSTALL LICENSE README VERSION
+ dohtml *.html
+}
diff --git a/net-www/mod_roaming/ChangeLog b/net-www/mod_roaming/ChangeLog
new file mode 100644
index 000000000000..4252887ffd56
--- /dev/null
+++ b/net-www/mod_roaming/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-www/mod_roaming
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_roaming/ChangeLog,v 1.1 2002/11/28 20:48:27 woodchip Exp $
+
+*mod_roaming-2.0.0 (28 Nov 2002)
+
+ 28 Nov 2002; Donny Davies <woodchip@gentoo.org> :
+ Initial import; created by me.
diff --git a/net-www/mod_roaming/files/18_mod_roaming.conf b/net-www/mod_roaming/files/18_mod_roaming.conf
new file mode 100644
index 000000000000..e494e00775e0
--- /dev/null
+++ b/net-www/mod_roaming/files/18_mod_roaming.conf
@@ -0,0 +1,26 @@
+<IfDefine ROAMING>
+ <IfModule !mod_roaming.c>
+ LoadModule roaming_module extramodules/mod_roaming.so
+ </IfModule>
+</IfDefine>
+
+<IfModule roaming_module.c>
+
+RoamingAlias /roaming /var/lib/mod_roaming
+
+<Location /roaming>
+
+ AuthUserFile /var/lib/mod_roaming/roaming-htpasswd
+ AuthType Basic
+ AuthName "Roaming Access"
+
+ <Limit GET PUT MOVE DELETE>
+
+ require valid-user
+
+ </Limit>
+
+</Location>
+
+</IfModule>
+
diff --git a/net-www/mod_roaming/files/digest-mod_roaming-2.0.0 b/net-www/mod_roaming/files/digest-mod_roaming-2.0.0
new file mode 100644
index 000000000000..571c47ecad4c
--- /dev/null
+++ b/net-www/mod_roaming/files/digest-mod_roaming-2.0.0
@@ -0,0 +1 @@
+MD5 ad2d720d7ffd08c4e7f2e6979795237e mod_roaming-2.0.0.tar.gz 9227
diff --git a/net-www/mod_roaming/files/mod_roaming-register.patch b/net-www/mod_roaming/files/mod_roaming-register.patch
new file mode 100644
index 000000000000..ef384c903e28
--- /dev/null
+++ b/net-www/mod_roaming/files/mod_roaming-register.patch
@@ -0,0 +1,22 @@
+--- mod_roaming.c.orig 2002-09-05 11:49:43.000000000 -0400
++++ mod_roaming.c 2002-09-05 11:51:00.000000000 -0400
+@@ -514,10 +514,19 @@
+ return OK;
+ }
+
++static int roaming_init_handler(apr_pool_t *p, apr_pool_t *plog,
++ apr_pool_t *ptemp, server_rec *s)
++{
++ ap_add_version_component(p, "mod_roaming/2.0.0");
++ return OK;
++}
++
++
+ /*
+ * Registers hooks at interesting points in the request handling process.
+ */
+ static void roaming_register_hooks(apr_pool_t *p) {
++ ap_hook_post_config(roaming_init_handler, NULL, NULL, APR_HOOK_MIDDLE);
+ ap_hook_translate_name(roaming_translate_name, NULL, NULL, APR_HOOK_MIDDLE);
+ ap_hook_handler(roaming_handler, NULL, NULL, APR_HOOK_MIDDLE);
+ }
diff --git a/net-www/mod_roaming/mod_roaming-2.0.0.ebuild b/net-www/mod_roaming/mod_roaming-2.0.0.ebuild
new file mode 100644
index 000000000000..ae42a665dd72
--- /dev/null
+++ b/net-www/mod_roaming/mod_roaming-2.0.0.ebuild
@@ -0,0 +1,39 @@
+# 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_roaming/mod_roaming-2.0.0.ebuild,v 1.1 2002/11/28 20:48:27 woodchip Exp $
+
+inherit eutils
+
+DESCRIPTION="Apache2 DSO enabling Netscape Communicator roaming profiles"
+HOMEPAGE="http://www.klomp.org/mod_roaming/"
+
+S=${WORKDIR}/${P}
+SRC_URI="http://www.klomp.org/${PN}/${P}.tar.gz"
+DEPEND="=net-www/apache-2*"
+LICENSE="BSD"
+KEYWORDS="~x86"
+IUSE=""
+SLOT="0"
+
+src_unpack() {
+ unpack ${A} || die; cd ${S} || die
+ epatch ${FILESDIR}/mod_roaming-register.patch
+}
+
+src_compile() {
+ apxs2 -c ${PN}.c || die
+}
+
+src_install() {
+ exeinto /usr/lib/apache2-extramodules
+ doexe .libs/${PN}.so
+ insinto /etc/apache2/conf/modules.d
+ doins ${FILESDIR}/18_mod_roaming.conf
+ dodoc ${FILESDIR}/18_mod_roaming.conf
+ dodoc CHANGES INSTALL LICENSE README
+}
+
+pkg_postinst() {
+ #empty
+ install -d -m 0755 -o apache -g apache ${ROOT}/var/lib/mod_roaming
+}
diff --git a/net-www/mod_tcl/ChangeLog b/net-www/mod_tcl/ChangeLog
new file mode 100644
index 000000000000..bf825f45e86c
--- /dev/null
+++ b/net-www/mod_tcl/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-www/mod_tcl
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_tcl/ChangeLog,v 1.1 2002/11/28 20:49:57 woodchip Exp $
+
+*mod_tcl-1.0 (28 Nov 2002)
+
+ 28 Nov 2002; Donny Davies <woodchip@gentoo.org> :
+ Initial import; created by me.
diff --git a/net-www/mod_tcl/files/27_mod_tcl.conf b/net-www/mod_tcl/files/27_mod_tcl.conf
new file mode 100644
index 000000000000..fe25a22f0f09
--- /dev/null
+++ b/net-www/mod_tcl/files/27_mod_tcl.conf
@@ -0,0 +1,12 @@
+<IfDefine TCL>
+ <IfModule !mod_tcl.c>
+ LoadModule tcl_module extramodules/mod_tcl.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_tcl.c>
+
+# See http://tcl.apache.org/mod_tcl/ for now :/
+
+</IfModule>
+
diff --git a/net-www/mod_tcl/files/digest-mod_tcl-1.0 b/net-www/mod_tcl/files/digest-mod_tcl-1.0
new file mode 100644
index 000000000000..84e97909dea1
--- /dev/null
+++ b/net-www/mod_tcl/files/digest-mod_tcl-1.0
@@ -0,0 +1 @@
+MD5 7ccd4ae97417baec0e0b7ec8c981ac32 mod_tcl-1.0.tar.bz2 18741
diff --git a/net-www/mod_tcl/mod_tcl-1.0.ebuild b/net-www/mod_tcl/mod_tcl-1.0.ebuild
new file mode 100644
index 000000000000..6f763fb748bf
--- /dev/null
+++ b/net-www/mod_tcl/mod_tcl-1.0.ebuild
@@ -0,0 +1,30 @@
+# 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_tcl/mod_tcl-1.0.ebuild,v 1.1 2002/11/28 20:49:57 woodchip Exp $
+
+inherit eutils
+
+DESCRIPTION="An Apache2 DSO providing an embedded Tcl interpreter"
+HOMEPAGE="http://tcl.apache.org/mod_tcl/"
+
+S=${WORKDIR}/${P}
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+DEPEND="dev-lang/tcl =net-www/apache-2*"
+LICENSE="Apache-1.1"
+KEYWORDS="~x86"
+IUSE=""
+SLOT="0"
+
+src_compile() {
+ mv tcl_core.c ${PN}.c
+ apxs2 -c -Wl,-ltcl -DHAVE_TCL_H ${PN}.c tcl_cmds.c tcl_misc.c || die
+}
+
+src_install() {
+ exeinto /usr/lib/apache2-extramodules
+ doexe .libs/${PN}.so
+ insinto /etc/apache2/conf/modules.d
+ doins ${FILESDIR}/27_mod_tcl.conf
+ dodoc ${FILESDIR}/27_mod_tcl.conf
+ dodoc AUTHORS INSTALL NEWS README test_script.tm
+}