diff options
author | Renat Lumpau <rl03@gentoo.org> | 2004-09-22 11:28:42 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2004-09-22 11:28:42 +0000 |
commit | 67496eb8cf2de869f1c7a06f08778f136b74626b (patch) | |
tree | 2f4494d80daf39bbd833a7c98d67517fb648dae0 /www-apps | |
parent | ~ia64 (Manifest recommit) (diff) | |
download | gentoo-2-67496eb8cf2de869f1c7a06f08778f136b74626b.tar.gz gentoo-2-67496eb8cf2de869f1c7a06f08778f136b74626b.tar.bz2 gentoo-2-67496eb8cf2de869f1c7a06f08778f136b74626b.zip |
Initial ebuild
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/openpsa/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/openpsa/Manifest | 2 | ||||
-rw-r--r-- | www-apps/openpsa/files/digest-openpsa-1.9.0 | 1 | ||||
-rw-r--r-- | www-apps/openpsa/metadata.xml | 5 | ||||
-rw-r--r-- | www-apps/openpsa/openpsa-1.9.0.ebuild | 42 | ||||
-rw-r--r-- | www-apps/townportal/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/townportal/Manifest | 3 | ||||
-rw-r--r-- | www-apps/townportal/files/digest-townportal-0.5 | 1 | ||||
-rw-r--r-- | www-apps/townportal/metadata.xml | 5 | ||||
-rw-r--r-- | www-apps/townportal/townportal-0.5.ebuild | 51 |
10 files changed, 130 insertions, 0 deletions
diff --git a/www-apps/openpsa/ChangeLog b/www-apps/openpsa/ChangeLog new file mode 100644 index 000000000000..c27418223f84 --- /dev/null +++ b/www-apps/openpsa/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-apps/openpsa +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/openpsa/ChangeLog,v 1.1 2004/09/22 11:25:23 rl03 Exp $ + +*openpsa-1.9.0 (22 Sep 2004) + + 22 Sep 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml, + +openpsa-1.9.0.ebuild: + Initial ebuild. + diff --git a/www-apps/openpsa/Manifest b/www-apps/openpsa/Manifest new file mode 100644 index 000000000000..a57b3a10936f --- /dev/null +++ b/www-apps/openpsa/Manifest @@ -0,0 +1,2 @@ +MD5 9836119dd29c6896ebbf1cfa4cf02652 openpsa-1.9.0.ebuild 1480 +MD5 fed698c83d0189e1ae4b78bb543e5327 files/digest-openpsa-1.9.0 67 diff --git a/www-apps/openpsa/files/digest-openpsa-1.9.0 b/www-apps/openpsa/files/digest-openpsa-1.9.0 new file mode 100644 index 000000000000..09cc8b8e0b10 --- /dev/null +++ b/www-apps/openpsa/files/digest-openpsa-1.9.0 @@ -0,0 +1 @@ +MD5 46f0e00691bcc2b69a0b76db52fd3ce9 openpsa-1.9.0.tar.bz2 1896203 diff --git a/www-apps/openpsa/metadata.xml b/www-apps/openpsa/metadata.xml new file mode 100644 index 000000000000..95c06f0095bb --- /dev/null +++ b/www-apps/openpsa/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/openpsa/openpsa-1.9.0.ebuild b/www-apps/openpsa/openpsa-1.9.0.ebuild new file mode 100644 index 000000000000..cd922826560f --- /dev/null +++ b/www-apps/openpsa/openpsa-1.9.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/openpsa/openpsa-1.9.0.ebuild,v 1.1 2004/09/22 11:25:23 rl03 Exp $ + +DESCRIPTION="OpenPSA is a Free, Web-based Management Software Package for Consultancies and Service organizations" +HOMEPAGE="http://www.openpsa.org/" +SRC_URI="http://www.openpsa.org/midcom-serveattachmentguid-e3aca527399cef0148c0829ef6111efa/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="www-apps/midgard" + +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 AUTHORS README supportmda.pl + + # 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 openpsa.xml.gz || die "repligard failed" +} + +pkg_postinst() { + einfo "1. Then, edit the host table" + 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." + einfo "2. Then go to http://YOURHOST/openpsa_manager/" +} diff --git a/www-apps/townportal/ChangeLog b/www-apps/townportal/ChangeLog new file mode 100644 index 000000000000..6b6ef4037ecd --- /dev/null +++ b/www-apps/townportal/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-apps/townportal +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/townportal/ChangeLog,v 1.1 2004/09/22 11:28:42 rl03 Exp $ + +*townportal-0.5 (22 Sep 2004) + + 22 Sep 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml, + +townportal-0.5.ebuild: + Initial ebuild. + diff --git a/www-apps/townportal/Manifest b/www-apps/townportal/Manifest new file mode 100644 index 000000000000..7094ee0cc9ca --- /dev/null +++ b/www-apps/townportal/Manifest @@ -0,0 +1,3 @@ +MD5 1e2de1c2c249ddc52e1e133f3231a521 townportal-0.5.ebuild 1759 +MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161 +MD5 d142972fffd965d387fec3a8d232f211 files/digest-townportal-0.5 68 diff --git a/www-apps/townportal/files/digest-townportal-0.5 b/www-apps/townportal/files/digest-townportal-0.5 new file mode 100644 index 000000000000..2bef39bdea31 --- /dev/null +++ b/www-apps/townportal/files/digest-townportal-0.5 @@ -0,0 +1 @@ +MD5 8bd27c640b58167fcf21950815c0507a TownPortal-0.5.tar.bz2 1214147 diff --git a/www-apps/townportal/metadata.xml b/www-apps/townportal/metadata.xml new file mode 100644 index 000000000000..95c06f0095bb --- /dev/null +++ b/www-apps/townportal/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/townportal/townportal-0.5.ebuild b/www-apps/townportal/townportal-0.5.ebuild new file mode 100644 index 000000000000..674365d613d6 --- /dev/null +++ b/www-apps/townportal/townportal-0.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/townportal/townportal-0.5.ebuild,v 1.1 2004/09/22 11:28:42 rl03 Exp $ + +IUSE="" +SLOT="0" +MY_PN="TownPortal" + +DESCRIPTION="TownPortal is a free portal system for villages and other local communities." +HOMEPAGE="http://www.midgard-project.org/projects/townportal/" +SRC_URI="http://www.midgard-project.org/midcom-serveattachmentguid-3b188b6b934daf3d1057d8cc08176b74/${MY_PN}-0.5.tar.bz2" +S=${WORKDIR}/${MY_PN}-${PV} + +KEYWORDS="~x86" + +DEPEND="www-apps/midgard" + +LICENSE="GPL-2" + +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 TownPortal-Dependencies.xml.gz || die "repligard failed" + repligard -a -c ${T}/repligard.conf -i TownPortal.xml.gz || die "repligard failed" +} + +pkg_postinst() { + einfo "1. Make sure php_value register_globals is on (do it per vhost)." + einfo "2. Change the host in MySQL host table" + einfo "mysql midgard -umidgard -p -e \"UPDATE host SET name='my.host.name',port=80 WHERE name='localhost';\"" + einfo "3. Ensure that you have the correct VirtualHost entry in your midgard-data.conf" + einfo "4. Read http://www.midgard-project.org/projects/townportal/installation.html" +} |