diff options
author | Renat Lumpau <rl03@gentoo.org> | 2004-09-22 10:57:23 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2004-09-22 10:57:23 +0000 |
commit | 2bb42bd2ee7293da2de47af452c3f6bf26c9cc8d (patch) | |
tree | 15a5a2d06da021a6bfd1ba10c2a724c9ab003901 /www-apache | |
parent | Added missing wrapper (diff) | |
download | historical-2bb42bd2ee7293da2de47af452c3f6bf26c9cc8d.tar.gz historical-2bb42bd2ee7293da2de47af452c3f6bf26c9cc8d.tar.bz2 historical-2bb42bd2ee7293da2de47af452c3f6bf26c9cc8d.zip |
Initial ebuild
Diffstat (limited to 'www-apache')
5 files changed, 76 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..63462f551243 --- /dev/null +++ b/www-apache/mod_midgard-preparse/Manifest @@ -0,0 +1,4 @@ +MD5 fe85fe0f5772004422b8108aa2abc855 mod_midgard-preparse-1.5.0.ebuild 1579 +MD5 ad609191d7e00c6db6c039a21b55c964 ChangeLog 394 +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 +} |