summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2004-09-22 10:54:25 +0000
committerRenat Lumpau <rl03@gentoo.org>2004-09-22 10:54:25 +0000
commit9bb2f25f5cecc0295ddd4586f4170bb7909d4d4a (patch)
tree700ce102f7c1597ca832ffd2ca2ac56291fe1c89 /www-apps
parentInitial ebuild (diff)
downloadhistorical-9bb2f25f5cecc0295ddd4586f4170bb7909d4d4a.tar.gz
historical-9bb2f25f5cecc0295ddd4586f4170bb7909d4d4a.tar.bz2
historical-9bb2f25f5cecc0295ddd4586f4170bb7909d4d4a.zip
Initial ebuild
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/midgard-data/ChangeLog10
-rw-r--r--www-apps/midgard-data/Manifest3
-rw-r--r--www-apps/midgard-data/files/digest-midgard-data-1.5.01
-rw-r--r--www-apps/midgard-data/metadata.xml5
-rw-r--r--www-apps/midgard-data/midgard-data-1.5.0.ebuild50
-rw-r--r--www-apps/midgard-php4/ChangeLog10
-rw-r--r--www-apps/midgard-php4/Manifest3
-rw-r--r--www-apps/midgard-php4/files/digest-midgard-php4-1.5.01
-rw-r--r--www-apps/midgard-php4/metadata.xml5
-rw-r--r--www-apps/midgard-php4/midgard-php4-1.5.0.ebuild40
10 files changed, 128 insertions, 0 deletions
diff --git a/www-apps/midgard-data/ChangeLog b/www-apps/midgard-data/ChangeLog
new file mode 100644
index 000000000000..ebd5fe83239a
--- /dev/null
+++ b/www-apps/midgard-data/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/midgard-data
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/midgard-data/ChangeLog,v 1.1 2004/09/22 10:54:25 rl03 Exp $
+
+*midgard-data-1.5.0 (22 Sep 2004)
+
+ 22 Sep 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
+ +midgard-data-1.5.0.ebuild:
+ Initial ebuild.
+
diff --git a/www-apps/midgard-data/Manifest b/www-apps/midgard-data/Manifest
new file mode 100644
index 000000000000..94b00b74823c
--- /dev/null
+++ b/www-apps/midgard-data/Manifest
@@ -0,0 +1,3 @@
+MD5 9e54e9a1ae25f7f2fa44f302a0b8bd74 midgard-data-1.5.0.ebuild 1335
+MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
+MD5 4399be37bfb99344369cecef88faf270 files/digest-midgard-data-1.5.0 71
diff --git a/www-apps/midgard-data/files/digest-midgard-data-1.5.0 b/www-apps/midgard-data/files/digest-midgard-data-1.5.0
new file mode 100644
index 000000000000..36fe0aa5662c
--- /dev/null
+++ b/www-apps/midgard-data/files/digest-midgard-data-1.5.0
@@ -0,0 +1 @@
+MD5 a3971be9ee09fb79cb8b2d0d867a535c midgard-data-1.5.0.tar.bz2 749799
diff --git a/www-apps/midgard-data/metadata.xml b/www-apps/midgard-data/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/midgard-data/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/midgard-data/midgard-data-1.5.0.ebuild b/www-apps/midgard-data/midgard-data-1.5.0.ebuild
new file mode 100644
index 000000000000..0599e2f71f50
--- /dev/null
+++ b/www-apps/midgard-data/midgard-data-1.5.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/midgard-data/midgard-data-1.5.0.ebuild,v 1.1 2004/09/22 10:54:25 rl03 Exp $
+
+inherit webapp
+
+DESCRIPTION="MySQL data for the Midgard framework"
+HOMEPAGE="http://www.midgard-project.org/"
+SRC_URI="http://www.midgard-project.org/midcom-serveattachmentguid-5a9fab1f64a6025fd40ad215ddf1bb1f/${P}.tar.bz2"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=www-apps/midgard-lib-${PV}
+ dev-db/mysql
+"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ #blobdir will be created by the wrapper
+ sed -e "s|mkdir -pi @BLOBDIR@|#mkdir -p @BLOBDIR@|" -i dbinstall.in
+}
+src_compile() {
+ :;
+}
+
+src_install() {
+ webapp_src_preinst
+ dodoc INSTALL README* GUIDSforOLDSITE.sql
+ dodir /usr/share/${P}
+ cp -R A* [[:lower:]]* ${D}/usr/share/${P}
+ cp ${FILESDIR}/wrapper-${PV}.sh ${D}/usr/share/${P}
+ mv ${D}/usr/share/${P}/images/* ${D}/${MY_HTDOCSDIR}
+ rm -rf ${D}/usr/share/${P}/images/
+ webapp_src_install
+}
+
+pkg_postinst() {
+ einfo "You now need to run"
+ einfo "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
+ einfo "to configure the database"
+ einfo "Note that the bundled asgard is currently broken"
+ einfo "consider emerging www-apps/asgard"
+ einfo
+ einfo "Edit /etc/repligard.conf and set DB settings and your blobdir"
+ webapp_pkg_postinst
+}
+
+pkg_config() {
+ bash ${ROOT}/usr/share/${P}/wrapper-${PV}.sh
+}
diff --git a/www-apps/midgard-php4/ChangeLog b/www-apps/midgard-php4/ChangeLog
new file mode 100644
index 000000000000..0ca95f3b39a1
--- /dev/null
+++ b/www-apps/midgard-php4/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/midgard-php4
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/midgard-php4/ChangeLog,v 1.1 2004/09/22 10:50:57 rl03 Exp $
+
+*midgard-php4-1.5.0 (22 Sep 2004)
+
+ 22 Sep 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
+ +midgard-php4-1.5.0.ebuild:
+ Initial ebuild.
+
diff --git a/www-apps/midgard-php4/Manifest b/www-apps/midgard-php4/Manifest
new file mode 100644
index 000000000000..6325cde33d7c
--- /dev/null
+++ b/www-apps/midgard-php4/Manifest
@@ -0,0 +1,3 @@
+MD5 837b480c03611daa212d65ffc723aed0 midgard-php4-1.5.0.ebuild 1064
+MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
+MD5 c7d42249aefad15514e5e90ef086e23e files/digest-midgard-php4-1.5.0 70
diff --git a/www-apps/midgard-php4/files/digest-midgard-php4-1.5.0 b/www-apps/midgard-php4/files/digest-midgard-php4-1.5.0
new file mode 100644
index 000000000000..11232a151e80
--- /dev/null
+++ b/www-apps/midgard-php4/files/digest-midgard-php4-1.5.0
@@ -0,0 +1 @@
+MD5 4c284ea29ae6f1d65a215c4dbf22b446 midgard-php4-1.5.0.tar.bz2 76536
diff --git a/www-apps/midgard-php4/metadata.xml b/www-apps/midgard-php4/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/midgard-php4/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/midgard-php4/midgard-php4-1.5.0.ebuild b/www-apps/midgard-php4/midgard-php4-1.5.0.ebuild
new file mode 100644
index 000000000000..1c7cbd83d731
--- /dev/null
+++ b/www-apps/midgard-php4/midgard-php4-1.5.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/midgard-php4/midgard-php4-1.5.0.ebuild,v 1.1 2004/09/22 10:50:57 rl03 Exp $
+
+DESCRIPTION="PHP module for the Midgard framework"
+HOMEPAGE="http://www.midgard-project.org/"
+SRC_URI="http://www.midgard-project.org/midcom-serveattachmentguid-d3c7034481033f46e330054b812bad28/${P}.tar.bz2"
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=www-apps/midgard-lib-${PV}
+ >=virtual/php-4.0.6 <virtual/php-5
+"
+
+pkg_setup() {
+ ewarn "PHP needs to be compiled with MySQL and XML support"
+}
+
+src_compile() {
+ phpize || die "phpize failed"
+ econf
+ # set INSTALL_ROOT to respect sandbox
+ sed "1iINSTALL_ROOT=${D}" -i Makefile
+ emake
+}
+
+src_install() {
+ dodoc ChangeLog INSTALL README.session
+ einstall || die "install failed"
+}
+
+pkg_postinst() {
+ einfo "Edit your php.ini to add:"
+ einfo "extension=midgard.so"
+ einfo "and make sure that extension_dir at least contains the output of"
+ einfo "php-config --extension-dir"
+ einfo "Ensure that you have file_uploads and short_open_tags turned on"
+ einfo "Then restart Apache"
+}