From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- www-apache/mod_proxy_html/Manifest | 1 + .../mod_proxy_html/files/27_mod_proxy_html.conf | 49 ++++++++++++++++++++++ www-apache/mod_proxy_html/metadata.xml | 5 +++ .../mod_proxy_html/mod_proxy_html-3.1.2.ebuild | 31 ++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 www-apache/mod_proxy_html/Manifest create mode 100644 www-apache/mod_proxy_html/files/27_mod_proxy_html.conf create mode 100644 www-apache/mod_proxy_html/metadata.xml create mode 100644 www-apache/mod_proxy_html/mod_proxy_html-3.1.2.ebuild (limited to 'www-apache/mod_proxy_html') diff --git a/www-apache/mod_proxy_html/Manifest b/www-apache/mod_proxy_html/Manifest new file mode 100644 index 000000000000..e447b9639d9d --- /dev/null +++ b/www-apache/mod_proxy_html/Manifest @@ -0,0 +1 @@ +DIST mod_proxy_html-3.1.2.tar.bz2 23019 SHA256 a1aee758bda605e153868b91188ebf2c527b8eeb0f115d11af152078e65895bf SHA512 dc56c9abcaa3760b4ac5157ddb83d5ec29f1f60fa6c16dbadf55c81e27dadd6d25bcc0bbcd874bce8bce43d91650186201b37cd36fe50d625a051a1bd9c4a9a7 WHIRLPOOL 111fa49739002770f08446c4e7f49621b03c5ecb909559ac00165f10c720896e54dce7e97d6fa124a54d1226e08e8d4f1086c623b789b7bd60f5eb082c2934f2 diff --git a/www-apache/mod_proxy_html/files/27_mod_proxy_html.conf b/www-apache/mod_proxy_html/files/27_mod_proxy_html.conf new file mode 100644 index 000000000000..94cb19c203fc --- /dev/null +++ b/www-apache/mod_proxy_html/files/27_mod_proxy_html.conf @@ -0,0 +1,49 @@ + +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 . +# +# 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 + + +# vim: ts=4 filetype=apache diff --git a/www-apache/mod_proxy_html/metadata.xml b/www-apache/mod_proxy_html/metadata.xml new file mode 100644 index 000000000000..4538a68724a6 --- /dev/null +++ b/www-apache/mod_proxy_html/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-needed@gentoo.org + diff --git a/www-apache/mod_proxy_html/mod_proxy_html-3.1.2.ebuild b/www-apache/mod_proxy_html/mod_proxy_html-3.1.2.ebuild new file mode 100644 index 000000000000..42e67af65fc3 --- /dev/null +++ b/www-apache/mod_proxy_html/mod_proxy_html-3.1.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit apache-module + +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 + >=www-apache/mod_xml2enc-1.0.3" +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 +} -- cgit v1.2.3-65-gdbad