summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2004-05-07 12:41:09 +0000
committerChuck Short <zul@gentoo.org>2004-05-07 12:41:09 +0000
commit011bfe45374ef78de3cfd341e4c99777fba44861 (patch)
treef326561328de927863349f89d2760abc815b08e6 /net-www/mod_layout
parentadded patch to ignore linker warning when searching for 64bit libraries in /l... (diff)
downloadgentoo-2-011bfe45374ef78de3cfd341e4c99777fba44861.tar.gz
gentoo-2-011bfe45374ef78de3cfd341e4c99777fba44861.tar.bz2
gentoo-2-011bfe45374ef78de3cfd341e4c99777fba44861.zip
Added apache1 version, helps closes #48559.
Diffstat (limited to 'net-www/mod_layout')
-rw-r--r--net-www/mod_layout/ChangeLog8
-rw-r--r--net-www/mod_layout/Manifest3
-rw-r--r--net-www/mod_layout/files/15_mod_layout321.conf31
-rw-r--r--net-www/mod_layout/files/digest-mod_layout-3.2.11
-rw-r--r--net-www/mod_layout/mod_layout-3.2.1.ebuild47
5 files changed, 89 insertions, 1 deletions
diff --git a/net-www/mod_layout/ChangeLog b/net-www/mod_layout/ChangeLog
index b7460415f1e5..3a212e933fc9 100644
--- a/net-www/mod_layout/ChangeLog
+++ b/net-www/mod_layout/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-www/mod_layout
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_layout/ChangeLog,v 1.4 2004/04/04 22:53:31 zul Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_layout/ChangeLog,v 1.5 2004/05/07 12:41:09 zul Exp $
+
+*mod_layout-3.2.1 (08 May 2004)
+
+ 08 May 2004; Chuck Short <zul@gentoo.org> mod_layout-3.2.1.ebuild,
+ files/15_mod_layout321.conf:
+ Added apache1 version for mod_layout. Helps close #48559.
04 Apr 2004; Chuck Short <zul@gentoo.org> metadata.xml,
mod_layout-4.0.1a.ebuild:
diff --git a/net-www/mod_layout/Manifest b/net-www/mod_layout/Manifest
index ac2957687690..63fe70f153f7 100644
--- a/net-www/mod_layout/Manifest
+++ b/net-www/mod_layout/Manifest
@@ -1,6 +1,9 @@
+MD5 0ffb998a3a879fafea6a5514a316b139 mod_layout-3.2.1.ebuild 1294
MD5 34de3483c1e69c95221ae27a17b8044b mod_layout-4.0.1a.ebuild 933
MD5 b18caf8ad738780e308e3e48f97793cd ChangeLog 557
MD5 d2da0e45d7e39184d1cb7abbe3879086 metadata.xml 159
MD5 ed08f74402be537f28435ce409adb86d files/15_mod_layout.conf 4590
MD5 31f7af245df33de3e73bfcf60898240b files/digest-mod_layout-4.0.1a 68
+MD5 e63bd20acd48f4065be8f0fc542a393b files/digest-mod_layout-3.2.1 67
+MD5 77707c5cb33c82abcb18389a7499495b files/15_mod_layout321.conf 846
MD5 9ce33c60579d3b6a35ac6d2722b0888c files/mod_layout-4.0.1a-register.patch 585
diff --git a/net-www/mod_layout/files/15_mod_layout321.conf b/net-www/mod_layout/files/15_mod_layout321.conf
new file mode 100644
index 000000000000..60c874a0d702
--- /dev/null
+++ b/net-www/mod_layout/files/15_mod_layout321.conf
@@ -0,0 +1,31 @@
+#Setup exemples for mod_layout 3.2.1 .
+#taken from the README file.
+
+
+#<Virtualhost www.geek.com>
+# LayoutFooter /footer.html
+# LayoutHeader /header.html
+#</virtualhost>
+#
+#The LayoutFooter directive can also be a cgi
+#(aka putting in "LayoutFooter /cgi-bin/printenv" would
+#happily append the environmental variables to
+#the end of all of the output for your site.
+#
+#If you want to cut down on processing the
+#following will also work:
+#<Virtualhost www.geek.com>
+# LayoutFooter "<P> This is the tail end of things<P>"
+# LayoutHeader "<P> This is the beginning of things<P>"
+#</virtualhost>
+#
+#The following is an example which will wrap PHP along
+#with html documents.
+#<Virtualhost www.geek.com>
+# LayoutFooter /footer.html
+# LayoutHeader "<P> This is the beginning of things<P>"
+#</virtualhost>
+
+
+
+
diff --git a/net-www/mod_layout/files/digest-mod_layout-3.2.1 b/net-www/mod_layout/files/digest-mod_layout-3.2.1
new file mode 100644
index 000000000000..639a29958c28
--- /dev/null
+++ b/net-www/mod_layout/files/digest-mod_layout-3.2.1
@@ -0,0 +1 @@
+MD5 fdad44ac360f65b2ca75f08fe53af4ad mod_layout-3.2.1.tar.gz 33459
diff --git a/net-www/mod_layout/mod_layout-3.2.1.ebuild b/net-www/mod_layout/mod_layout-3.2.1.ebuild
new file mode 100644
index 000000000000..33f0a34eee34
--- /dev/null
+++ b/net-www/mod_layout/mod_layout-3.2.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 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-3.2.1.ebuild,v 1.1 2004/05/07 12:41:09 zul Exp $
+
+
+DESCRIPTION="An Apache DSO module for adding custom headers and/or footers"
+HOMEPAGE="http://software.tangent.org/"
+SRC_URI="http://software.tangent.org/download/${P}.tar.gz"
+DEPEND="=net-www/apache-1*
+ >=sys-apps/sed-4"
+RDEPEND=""
+
+LICENSE="Apache-1.1"
+KEYWORDS="~x86"
+IUSE=""
+SLOT="0"
+
+
+src_compile() {
+ sed -i -e 's/-DDEBUG//g' Makefile || die "Makefile fixing Failed"
+ emake || die "Module building failed."
+}
+
+src_install() {
+ exeinto /usr/lib/apache-extramodules
+ doexe ${PN}.so || die "Module installation failed."
+ insinto /etc/apache/conf/addon-modules
+ doins ${FILESDIR}/15_mod_layout321.conf
+ dodoc ChangeLog INSTALL LICENSE README THANKS TODO VERSION
+ dohtml faq.html directives/*
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Execute \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\""
+ einfo "to have your apache.conf auto-updated for use with this module."
+ einfo "You should then edit your /etc/conf.d/apache file to suit."
+ einfo
+}
+
+pkg_config() {
+ ${ROOT}/usr/sbin/apacheaddmod \
+ ${ROOT}/etc/apache/conf/apache.conf \
+ extramodules/mod_layout.so mod_layout.c layout_module \
+ define=LAYOUT addconf=conf/addon-modules/15_mod_layout321.conf
+}
+