public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tiziano Müller" <dev-zero@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/dev-zero:master commit in: www-apache/mod_vhs/, www-apache/mod_vhs/files/
Date: Tue, 24 Jul 2012 05:18:54 +0000 (UTC)	[thread overview]
Message-ID: <1343107127.f10dfb92af63e264af67de829059db2648ccd907.dev-zero@gentoo> (raw)

commit:     f10dfb92af63e264af67de829059db2648ccd907
Author:     Tiziano Müller <tm <AT> dev-zero <DOT> ch>
AuthorDate: Tue Jul 24 05:18:47 2012 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Tue Jul 24 05:18:47 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=f10dfb92

add live ebuild

---
 www-apache/mod_vhs/ChangeLog                       |   26 ++++++++++
 www-apache/mod_vhs/Manifest                        |    5 ++
 .../mod_vhs/files/9999-fix-compilation.patch       |   13 +++++
 www-apache/mod_vhs/files/99_mod_vhs.conf           |    5 ++
 www-apache/mod_vhs/metadata.xml                    |    8 +++
 www-apache/mod_vhs/mod_vhs-9999.ebuild             |   51 ++++++++++++++++++++
 6 files changed, 108 insertions(+), 0 deletions(-)

diff --git a/www-apache/mod_vhs/ChangeLog b/www-apache/mod_vhs/ChangeLog
new file mode 100644
index 0000000..5bec971
--- /dev/null
+++ b/www-apache/mod_vhs/ChangeLog
@@ -0,0 +1,26 @@
+# ChangeLog for www-apache/mod_vhs
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhs/ChangeLog,v 1.6 2008/08/23 04:40:10 cardoe Exp $
+
+  23 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
+  add GLEP 56 USE flag desc from use.local.desc
+
+  06 Feb 2008; Benedikt Böhm <hollow@gentoo.org> mod_vhs-1.0.32.ebuild:
+  fix #205752
+
+  31 Jan 2008; Benedikt Böhm <hollow@gentoo.org> files/99_mod_vhs.conf,
+  metadata.xml:
+  update metadata; cleanup
+
+  11 Sep 2007; Benedikt Böhm <hollow@gentoo.org> mod_vhs-1.0.32.ebuild:
+  fix php detection
+
+  10 Sep 2007; Benedikt Böhm <hollow@gentoo.org> metadata.xml:
+  fix metadata
+
+*mod_vhs-1.0.32 (09 Sep 2007)
+
+  09 Sep 2007; Benedikt Böhm <hollow@gentoo.org> +files/99_mod_vhs.conf,
+  +metadata.xml, +mod_vhs-1.0.32.ebuild:
+  initial version; #126760
+

diff --git a/www-apache/mod_vhs/Manifest b/www-apache/mod_vhs/Manifest
new file mode 100644
index 0000000..0749b40
--- /dev/null
+++ b/www-apache/mod_vhs/Manifest
@@ -0,0 +1,5 @@
+AUX 9999-fix-compilation.patch 687 RMD160 7bd616d782e86e3f1ad38674685ff32433c054f8 SHA1 cfaeb89f2c05382efff5110b4eff470c3d01c188 SHA256 0c1da0eee05fe5737f28f3f671114debba06a0207314146acad9b3fe43c2839e
+AUX 99_mod_vhs.conf 97 RMD160 d6dd5cd6116417961c9bf4d06c02ed53b668f36b SHA1 7014043327ccd20c7dcbf89a30c25b27d75eb7d1 SHA256 dc578499d8c511dd325f05a545d084bf8449ea51ae80b390f2d46b06046e4ac2
+EBUILD mod_vhs-9999.ebuild 1278 RMD160 9a648a18549e43be4c7c868f7ddb6d26abb9543e SHA1 ab15282d9b060c699b5d2f299eed46bacc164ba9 SHA256 bb71dbf829171a1d3ba473faf49dceb84a817fc5e35ecbf08a263a2b580063c7
+MISC ChangeLog 875 RMD160 794f51b8b9a9922c5f5d235dc16de1612f51daf8 SHA1 00183010926252eb2b76c15c5adb5c25c5ed0ada SHA256 12e4964decf7300c4181c6472e049f3dda28dee1805a65e5c674553a313ed80c
+MISC metadata.xml 250 RMD160 66f55a30f67201829915ab5f1bbffa38d53af1cc SHA1 938f57fcfc1f5f03ab779e6fe3fe6d505ceb6c67 SHA256 ab332ec615ae1951463f6685466057d70b6a0b843777797d57dba028a2108ca2

diff --git a/www-apache/mod_vhs/files/9999-fix-compilation.patch b/www-apache/mod_vhs/files/9999-fix-compilation.patch
new file mode 100644
index 0000000..248897b
--- /dev/null
+++ b/www-apache/mod_vhs/files/9999-fix-compilation.patch
@@ -0,0 +1,13 @@
+Index: mod_vhs.c
+===================================================================
+--- mod_vhs.c	(revision 599)
++++ mod_vhs.c	(working copy)
+@@ -1328,7 +1328,7 @@
+ 
+ 	AP_INIT_TAKE1("vhs_dbmode",set_field, (void *)10, RSRC_CONF,
+ 						"Use mod_ldap or mod_dbd as database source. Values are "
+-			            		"\"ldap\" or \"dbd\". You MUST specify a dbmode or mod_vhs be disabled.");
++			            		"\"ldap\" or \"dbd\". You MUST specify a dbmode or mod_vhs be disabled."),
+ 
+ 	AP_INIT_TAKE1("vhs_Path_Prefix", set_field, (void *)1, RSRC_CONF, "Set path prefix."),
+ 	AP_INIT_TAKE1("vhs_Default_Host", set_field, (void *)2, RSRC_CONF, "Set default host if HTTP/1.1 is not used."),

diff --git a/www-apache/mod_vhs/files/99_mod_vhs.conf b/www-apache/mod_vhs/files/99_mod_vhs.conf
new file mode 100644
index 0000000..f387e41
--- /dev/null
+++ b/www-apache/mod_vhs/files/99_mod_vhs.conf
@@ -0,0 +1,5 @@
+<IfDefine VHS>
+LoadModule vhs_module modules/mod_vhs.so
+</IfDefine>
+
+# vim: ts=4 filetype=apache

diff --git a/www-apache/mod_vhs/metadata.xml b/www-apache/mod_vhs/metadata.xml
new file mode 100644
index 0000000..bb3a8aa
--- /dev/null
+++ b/www-apache/mod_vhs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>apache</herd>
+	<use>
+		<flag name='suphp'>Enable <pkg>www-apache/mod_suphp</pkg> support</flag>
+	</use>
+</pkgmetadata>

diff --git a/www-apache/mod_vhs/mod_vhs-9999.ebuild b/www-apache/mod_vhs/mod_vhs-9999.ebuild
new file mode 100644
index 0000000..2c6f52f
--- /dev/null
+++ b/www-apache/mod_vhs/mod_vhs-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit apache-module depend.php eutils subversion
+
+DESCRIPTION="Mass Virtual Hosting System for Apache 2"
+HOMEPAGE="http://openvisp.fr/doku/doku.php?id=mod_vhs:intro"
+ESVN_REPO_URI="https://svn.oav.net/openvisp/mod_vhs/trunk/mod_vhs-apache/"
+
+KEYWORDS=""
+LICENSE="Apache-1.1"
+SLOT="0"
+IUSE="dbd debug itk ldap php suphp"
+
+DEPEND="itk? ( www-servers/apache[ldap?,apache2_mpms_itk] )
+	!itk? ( www-servers/apache[ldap?,apache2_mpms_prefork] )
+	dbd? ( www-servers/apache[apache2_modules_authn_dbd] )
+	php? ( dev-lang/php )
+	suphp? ( www-apache/mod_suphp )"
+RDEPEND="${DEPEND}"
+
+APACHE2_MOD_CONF="99_${PN}"
+APACHE2_MOD_DEFINE="VHS"
+
+ESVN_PATCHES="${FILESDIR}/${PV}-fix-compilation.patch"
+
+need_apache2
+
+src_compile() {
+	local myconf
+
+	use debug && myconf+=" -DVH_DEBUG"
+
+	if use php; then
+		has_php
+		require_php_sapi_from apache2
+		myconf+=" $(${PHPCONFIG} --includes) -DHAVE_MOD_PHP_SUPPORT"
+	fi
+
+	use dbd && myconf+=" -DHAVE_MOD_PHP_SUPPORT"
+	use itk && myconf+=" -DHAVE_MPM_ITK_SUPPORT"
+	use ldap && myconf+=" -DHAVE_LDAP_SUPPORT"
+	use suphp && myconf+=" -DHAVE_MOD_SUPHP_SUPPORT"
+
+
+	APXS2_ARGS="-c ${myconf} ${PN}.c"
+	apache-module_src_compile
+}


             reply	other threads:[~2012-07-24  5:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-24  5:18 Tiziano Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-14 10:05 [gentoo-commits] dev/dev-zero:master commit in: www-apache/mod_vhs/, www-apache/mod_vhs/files/ Tiziano Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1343107127.f10dfb92af63e264af67de829059db2648ccd907.dev-zero@gentoo \
    --to=dev-zero@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox