diff options
author | Renat Lumpau <rl03@gentoo.org> | 2004-09-22 11:00:51 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2004-09-22 11:00:51 +0000 |
commit | b546bafb01d9c5308636a079273fddbdc941854e (patch) | |
tree | 7b4d27c4019f1b32c3a15ed27cc4e1a64e17eea5 /www-apache | |
parent | Added missing wrapper (Manifest recommit) (diff) | |
download | gentoo-2-b546bafb01d9c5308636a079273fddbdc941854e.tar.gz gentoo-2-b546bafb01d9c5308636a079273fddbdc941854e.tar.bz2 gentoo-2-b546bafb01d9c5308636a079273fddbdc941854e.zip |
Initial ebuild
Diffstat (limited to 'www-apache')
5 files changed, 75 insertions, 0 deletions
diff --git a/www-apache/mod_midgard-preparse/ChangeLog b/www-apache/mod_midgard-preparse/ChangeLog new file mode 100644 index 000000000000..477a5d70b0c3 --- /dev/null +++ b/www-apache/mod_midgard-preparse/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-apache/mod_midgard-preparse +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_midgard-preparse/ChangeLog,v 1.1 2004/09/22 10:57:23 rl03 Exp $ + +*mod_midgard-preparse-1.5.0 (22 Sep 2004) + + 22 Sep 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml, + +mod_midgard-preparse-1.5.0.ebuild: + Initial ebuild. + diff --git a/www-apache/mod_midgard-preparse/Manifest b/www-apache/mod_midgard-preparse/Manifest new file mode 100644 index 000000000000..f7dcdcc326b9 --- /dev/null +++ b/www-apache/mod_midgard-preparse/Manifest @@ -0,0 +1,3 @@ +MD5 814b09487d16ebbeecb3e22f1a79f610 mod_midgard-preparse-1.5.0.ebuild 1454 +MD5 701b2b1df0a5dd9b0d847b25699a0336 metadata.xml 219 +MD5 8919023879c902d91c94b20a71fe90e1 files/digest-mod_midgard-preparse-1.5.0 78 diff --git a/www-apache/mod_midgard-preparse/files/digest-mod_midgard-preparse-1.5.0 b/www-apache/mod_midgard-preparse/files/digest-mod_midgard-preparse-1.5.0 new file mode 100644 index 000000000000..57a7ce201102 --- /dev/null +++ b/www-apache/mod_midgard-preparse/files/digest-mod_midgard-preparse-1.5.0 @@ -0,0 +1 @@ +MD5 145d8321e6daf9558955bd863f93f83a mod_midgard-preparse-1.5.0.tar.bz2 58666 diff --git a/www-apache/mod_midgard-preparse/metadata.xml b/www-apache/mod_midgard-preparse/metadata.xml new file mode 100644 index 000000000000..a2cd936a1a78 --- /dev/null +++ b/www-apache/mod_midgard-preparse/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> +<maintainer> + <email>rl03@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/www-apache/mod_midgard-preparse/mod_midgard-preparse-1.5.0.ebuild b/www-apache/mod_midgard-preparse/mod_midgard-preparse-1.5.0.ebuild new file mode 100644 index 000000000000..9e7cdfec32eb --- /dev/null +++ b/www-apache/mod_midgard-preparse/mod_midgard-preparse-1.5.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_midgard-preparse/mod_midgard-preparse-1.5.0.ebuild,v 1.1 2004/09/22 10:57:23 rl03 Exp $ + +inherit webapp + +DESCRIPTION="Apache preparser module for Midgard" +HOMEPAGE="http://www.midgard-project.org/" +SRC_URI="http://www.midgard-project.org/midcom-serveattachmentguid-543303d5b45265b6206a908e3bf6dae1/${P}.tar.bz2" +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=www-apps/midgard-lib-${PV} + =net-www/apache-1* +" +RDEPEND=" + ${DEPEND} + >=www-apps/midgard-php4-${PV} + >=www-apps/midgard-data-${PV} +" + +pkg_setup() { + webapp_pkg_setup + einfo "Make a backup of your database!" +} + +src_compile() { + econf --with-apxs=/usr/sbin/apxs || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + webapp_src_preinst + dodoc AUTHORS ChangeLog INSTALL* NEWS README* + insinto /usr/lib/apache + doins mod_midgard.so + cp midgard-root.php ${D}/${MY_HOSTROOTDIR} + webapp_src_install +} + +pkg_postinst() { + einfo "Add the following to your /etc/apache/conf/apache.conf" + einfo "LoadModule midgard_module modules/mod_midgard.so" + einfo "AddModule mod_midgard.c" + einfo "Include /etc/apache/conf/addon-modules/midgard-data.conf" + einfo + einfo "run database-upgrade included in midgard-data to create cache tables" + einfo "Add the MidgardPageCacheDir directive to your apache configuration" + einfo "see /usr/share/doc/${P}/INSTALL.gz for more info" + einfo "note that midgard-data will provide a config file for you" + webapp_pkg_postinst +} |