Add apache mod_proxy_html module and dependencies
This commit is contained in:
3
www-apache/mod_proxy_html/Manifest
Normal file
3
www-apache/mod_proxy_html/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
AUX 27_mod_proxy_html.conf 1778 RMD160 3f211f775fd1946dad64a5c92a3ce10536da5ba8 SHA1 0cb6844ffcfa23935a06aad93784ae2c0f086808 SHA256 43e88f594b41fae5e2fcf929042f31a3417a553280b5e411228763379cf8c744
|
||||
DIST mod_proxy_html-3.1.2.tar.bz2 23019 RMD160 68a704720d9a726970fd283b0b8f0016da770227 SHA1 cd31a2af413e9e3315db617880659d5e93aaf09f SHA256 a1aee758bda605e153868b91188ebf2c527b8eeb0f115d11af152078e65895bf
|
||||
EBUILD mod_proxy_html-3.1.2.ebuild 819 RMD160 4e8ee80e24ea22fc0d7fa125bf27b68309faaf7d SHA1 debf78ecc6f26e4e9a067a95e11e216d7cf26c26 SHA256 6f29c8bbc9087aa59f65a83f618b54182a477351ba3cea37e179bdca0fd50add
|
||||
49
www-apache/mod_proxy_html/files/27_mod_proxy_html.conf
Normal file
49
www-apache/mod_proxy_html/files/27_mod_proxy_html.conf
Normal file
@@ -0,0 +1,49 @@
|
||||
<IfDefine PROXY_HTML>
|
||||
LoadFile /usr/lib/libxml2.so
|
||||
LoadModule proxy_html_module modules/mod_proxy_html.so
|
||||
|
||||
# All knowledge of HTML links has been removed from the mod_proxy_html
|
||||
# code itself, and is instead read from httpd.conf (or included file)
|
||||
# at server startup. So you MUST declare it. This will normally be
|
||||
# at top level, but can also be used in a <Location>.
|
||||
#
|
||||
# Here's the declaration for W3C HTML 4.01 and XHTML 1.0
|
||||
|
||||
ProxyHTMLLinks a href
|
||||
ProxyHTMLLinks area href
|
||||
ProxyHTMLLinks link href
|
||||
ProxyHTMLLinks img src longdesc usemap
|
||||
ProxyHTMLLinks object classid codebase data usemap
|
||||
ProxyHTMLLinks q cite
|
||||
ProxyHTMLLinks blockquote cite
|
||||
ProxyHTMLLinks ins cite
|
||||
ProxyHTMLLinks del cite
|
||||
ProxyHTMLLinks form action
|
||||
ProxyHTMLLinks input src usemap
|
||||
ProxyHTMLLinks head profile
|
||||
ProxyHTMLLinks base href
|
||||
ProxyHTMLLinks script src for
|
||||
|
||||
# To support scripting events (with ProxyHTMLExtended On),
|
||||
# you'll need to declare them too.
|
||||
|
||||
ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \
|
||||
onmouseover onmousemove onmouseout onkeypress \
|
||||
onkeydown onkeyup onfocus onblur onload \
|
||||
onunload onsubmit onreset onselect onchange
|
||||
|
||||
# If you need to support legacy (pre-1998, aka "transitional") HTML or XHTML,
|
||||
# you'll need to uncomment the following deprecated link attributes.
|
||||
#
|
||||
# ProxyHTMLLinks frame src longdesc
|
||||
# ProxyHTMLLinks iframe src longdesc
|
||||
# ProxyHTMLLinks body background
|
||||
# ProxyHTMLLinks applet codebase
|
||||
#
|
||||
# If you're dealing with proprietary HTML variants,
|
||||
# declare your own URL attributes here as required.
|
||||
#
|
||||
# ProxyHTMLLinks myelement myattr otherattr
|
||||
</IfDefine>
|
||||
|
||||
# vim: ts=4 filetype=apache
|
||||
31
www-apache/mod_proxy_html/mod_proxy_html-3.1.2.ebuild
Normal file
31
www-apache/mod_proxy_html/mod_proxy_html-3.1.2.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_proxy_html/mod_proxy_html-3.0.1.ebuild,v 1.1 2009/09/17 08:52:29 hollow Exp $
|
||||
|
||||
inherit apache-module
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="An Apache2 module to rewrite links in html pages behind a reverse proxy."
|
||||
HOMEPAGE="http://apache.webthing.com/mod_proxy_html/"
|
||||
SRC_URI="http://apache.webthing.com/mod_proxy_html/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/bzip2
|
||||
dev-libs/libxml2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
APACHE2_MOD_CONF="27_${PN}"
|
||||
APACHE2_MOD_DEFINE="PROXY_HTML"
|
||||
|
||||
need_apache2
|
||||
|
||||
S="${WORKDIR}"/${PN}
|
||||
|
||||
src_compile() {
|
||||
APXS2_ARGS="$(xml2-config --cflags) -I"${WORKDIR}/${PN}" -c ${PN}.c"
|
||||
apache-module_src_compile
|
||||
}
|
||||
Reference in New Issue
Block a user