summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2004-09-22 11:00:51 +0000
committerRenat Lumpau <rl03@gentoo.org>2004-09-22 11:00:51 +0000
commitb546bafb01d9c5308636a079273fddbdc941854e (patch)
tree7b4d27c4019f1b32c3a15ed27cc4e1a64e17eea5 /www-apps
parentAdded missing wrapper (Manifest recommit) (diff)
downloadgentoo-2-b546bafb01d9c5308636a079273fddbdc941854e.tar.gz
gentoo-2-b546bafb01d9c5308636a079273fddbdc941854e.tar.bz2
gentoo-2-b546bafb01d9c5308636a079273fddbdc941854e.zip
Initial ebuild
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/asgard/ChangeLog10
-rw-r--r--www-apps/asgard/Manifest3
-rw-r--r--www-apps/asgard/asgard-1.4.4.ebuild47
-rw-r--r--www-apps/asgard/files/digest-asgard-1.4.41
-rw-r--r--www-apps/asgard/metadata.xml5
5 files changed, 66 insertions, 0 deletions
diff --git a/www-apps/asgard/ChangeLog b/www-apps/asgard/ChangeLog
new file mode 100644
index 000000000000..229cfce7754a
--- /dev/null
+++ b/www-apps/asgard/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/asgard
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/asgard/ChangeLog,v 1.1 2004/09/22 11:00:51 rl03 Exp $
+
+*asgard-1.4.4 (22 Sep 2004)
+
+ 22 Sep 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
+ +asgard-1.4.4.ebuild:
+ Initial ebuild.
+
diff --git a/www-apps/asgard/Manifest b/www-apps/asgard/Manifest
new file mode 100644
index 000000000000..34d80a739386
--- /dev/null
+++ b/www-apps/asgard/Manifest
@@ -0,0 +1,3 @@
+MD5 c22776ba3c751e1b6d2efbfed64950e5 asgard-1.4.4.ebuild 1670
+MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
+MD5 8c6e8a1186f68c01126cbf45e163433b files/digest-asgard-1.4.4 64
diff --git a/www-apps/asgard/asgard-1.4.4.ebuild b/www-apps/asgard/asgard-1.4.4.ebuild
new file mode 100644
index 000000000000..fe80ed8a88f2
--- /dev/null
+++ b/www-apps/asgard/asgard-1.4.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/asgard/asgard-1.4.4.ebuild,v 1.1 2004/09/22 11:00:51 rl03 Exp $
+
+DESCRIPTION="Asgard is an admin interface for the open source content mangement framework Midgard"
+HOMEPAGE="http://asgard.midgard-project.org/"
+SRC_URI="http://asgard.midgard-project.org/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=www-apps/midgard-lib-${PV}
+ >=www-apache/mod_midgard-preparse-${PV}
+ >=www-apps/midgard-php4-${PV}
+ >=www-apps/midgard-data
+"
+
+pkg_setup() {
+ if [ `/etc/init.d/mysql status | cut -d: -f2 | cut -d' ' -f3` != 'started' ]; then
+ die "Please /etc/init.d/mysql start and try again"
+ fi
+}
+
+
+src_install() {
+ dodoc INSTALL README
+ # fool repligard into installing into ${D}
+ cp /etc/repligard.conf ${T}
+ local BLOB=`grep 'blobdir=' ${T}/repligard.conf | cut -d\" -f2`
+ sed -e "s|blobdir=.*$|blobdir=\"${D}/${BLOB}\"|" -i ${T}/repligard.conf
+
+ # create the blobdir structure
+ dodir ${BLOB}
+ cd ${D}/${BLOB} || die
+ mkdir -p `perl -e '$dirs="0123456789ABCDEF"; @dirs = split(//, $dirs); foreach $l1 (@dirs) { foreach $l2 (@dirs) { print " $l1/$l2"; } }; '`
+
+ cd ${S}
+ repligard -a -c ${T}/repligard.conf -i Asgard.xml.gz || die "repligard installation failed"
+}
+
+pkg_postinst() {
+ einfo "1. Configure repligard to log in on SG0 by editing /etc/repligard.conf file"
+ einfo "(you might need to set login username/password to asgard/password)"
+ einfo "2. Then, edit the host table, if Asgard wasn't installed before"
+ einfo "mysql -uroot -p<password> -e \"UPDATE host SET name='www.myhost.com' WHERE name='localhost';\" midgard"
+ einfo "where www.myhost.com has to be replaced by your host name."
+}
diff --git a/www-apps/asgard/files/digest-asgard-1.4.4 b/www-apps/asgard/files/digest-asgard-1.4.4
new file mode 100644
index 000000000000..0a294c7a97a8
--- /dev/null
+++ b/www-apps/asgard/files/digest-asgard-1.4.4
@@ -0,0 +1 @@
+MD5 597975e0b62d411377bd26cb002bd354 asgard-1.4.4.tar.gz 169856
diff --git a/www-apps/asgard/metadata.xml b/www-apps/asgard/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/asgard/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>