diff options
author | Renat Lumpau <rl03@gentoo.org> | 2004-09-22 11:11:17 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2004-09-22 11:11:17 +0000 |
commit | ae210c6e253ad4fe98d3e41d60cec4e9d0612378 (patch) | |
tree | bedca96cbb1fba828476b326c997f19b1c60745d /www-apps | |
parent | clean trailing spaces (diff) | |
download | historical-ae210c6e253ad4fe98d3e41d60cec4e9d0612378.tar.gz historical-ae210c6e253ad4fe98d3e41d60cec4e9d0612378.tar.bz2 historical-ae210c6e253ad4fe98d3e41d60cec4e9d0612378.zip |
Initial ebuild
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/aegir/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/aegir/Manifest | 3 | ||||
-rw-r--r-- | www-apps/aegir/aegir-1.0.3.ebuild | 65 | ||||
-rw-r--r-- | www-apps/aegir/files/digest-aegir-1.0.3 | 1 | ||||
-rw-r--r-- | www-apps/aegir/metadata.xml | 5 | ||||
-rw-r--r-- | www-apps/midcom/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/midcom/Manifest | 3 | ||||
-rw-r--r-- | www-apps/midcom/files/digest-midcom-1.3.2 | 1 | ||||
-rw-r--r-- | www-apps/midcom/metadata.xml | 5 | ||||
-rw-r--r-- | www-apps/midcom/midcom-1.3.2.ebuild | 55 |
10 files changed, 158 insertions, 0 deletions
diff --git a/www-apps/aegir/ChangeLog b/www-apps/aegir/ChangeLog new file mode 100644 index 000000000000..368ac6d9e7f2 --- /dev/null +++ b/www-apps/aegir/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-apps/aegir +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/aegir/ChangeLog,v 1.1 2004/09/22 11:07:04 rl03 Exp $ + +*aegir-1.0.3 (22 Sep 2004) + + 22 Sep 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml, + +aegir-1.0.3.ebuild: + Initial ebuild. + diff --git a/www-apps/aegir/Manifest b/www-apps/aegir/Manifest new file mode 100644 index 000000000000..584ad7022a75 --- /dev/null +++ b/www-apps/aegir/Manifest @@ -0,0 +1,3 @@ +MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161 +MD5 6f81714ba026377d228e6977fe3d7b97 aegir-1.0.3.ebuild 2355 +MD5 073d6c2cbefc08eb06e62c8f84711fc5 files/digest-aegir-1.0.3 65 diff --git a/www-apps/aegir/aegir-1.0.3.ebuild b/www-apps/aegir/aegir-1.0.3.ebuild new file mode 100644 index 000000000000..8d329b3ae62e --- /dev/null +++ b/www-apps/aegir/aegir-1.0.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/aegir/aegir-1.0.3.ebuild,v 1.1 2004/09/22 11:07:04 rl03 Exp $ + +MY_P=${P/a/A} +S=${WORKDIR}/${MY_P} + +IUSE="" + +DESCRIPTION="Aegir is a versatile and user-friendly Web Content Management System that uses the Midgard framework" +HOMEPAGE="http://www.midgard-project.org/projects/aegir/" +SRC_URI="http://www.midgard-project.org/midcom-serveattachmentguid-7be8cd5cb3ecfa6b1f11f3b03d40dd13/${MY_P}.tar.bz2" + +KEYWORDS="~x86" + +DEPEND="www-apps/midgard-data + www-apache/mod_midgard-preparse" +RDEPEND="${DEPEND} + app-admin/webalizer" + +LICENSE="LGPL-2" +SLOT="0" + +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() { + # 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} + for file in Aegir* PHP*; do + repligard -a -c ${T}/repligard.conf -i ${file} || die "repligard failed" + done + + dodoc README +} + +pkg_postinst() { + einfo "1. Make sure php_value register_globals is on (do it per vhost)." + einfo "2. Change the Aegir CMS 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. Open your browser and go to http://hostname.mydomain.com/aegir" + einfo "Company: System Administrator, Username: admin, Password: password" + einfo "CHANGE THE DEFAULT PASSWORD!" + einfo "5. Edit /etc/repligard.conf and set the password to whatever you" + einfo "changed it to" + einfo "6. The Website stats package requires a webalizer installation" + einfo "that will generate its log analysis files to" + einfo "/var/www/webalizer/www.sitename.com/ where www.sitename.com is that" + einfo "site's hostname." + einfo "ATTENTION: If images are broken, you need to create an attachment host" + einfo "Login to /admin, and modify the existing /attachment/0/ host!" +} diff --git a/www-apps/aegir/files/digest-aegir-1.0.3 b/www-apps/aegir/files/digest-aegir-1.0.3 new file mode 100644 index 000000000000..f734e2255311 --- /dev/null +++ b/www-apps/aegir/files/digest-aegir-1.0.3 @@ -0,0 +1 @@ +MD5 8c038ccf5c733129b1ccb2a7ee94458c Aegir-1.0.3.tar.bz2 2659848 diff --git a/www-apps/aegir/metadata.xml b/www-apps/aegir/metadata.xml new file mode 100644 index 000000000000..95c06f0095bb --- /dev/null +++ b/www-apps/aegir/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/midcom/ChangeLog b/www-apps/midcom/ChangeLog new file mode 100644 index 000000000000..d93e2f6634df --- /dev/null +++ b/www-apps/midcom/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-apps/midcom +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/midcom/ChangeLog,v 1.1 2004/09/22 11:11:17 rl03 Exp $ + +*midcom-1.3.2 (22 Sep 2004) + + 22 Sep 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml, + +midcom-1.3.2.ebuild: + Initial ebuild. + diff --git a/www-apps/midcom/Manifest b/www-apps/midcom/Manifest new file mode 100644 index 000000000000..4f11789f0360 --- /dev/null +++ b/www-apps/midcom/Manifest @@ -0,0 +1,3 @@ +MD5 98d34f0c608e0917a8628ed7df61d152 midcom-1.3.2.ebuild 2140 +MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161 +MD5 1c45c5b3df4ed9243634b845237a600c files/digest-midcom-1.3.2 65 diff --git a/www-apps/midcom/files/digest-midcom-1.3.2 b/www-apps/midcom/files/digest-midcom-1.3.2 new file mode 100644 index 000000000000..a1d865be0ee4 --- /dev/null +++ b/www-apps/midcom/files/digest-midcom-1.3.2 @@ -0,0 +1 @@ +MD5 ce11c60caff925b1346a75ce5f1c7381 midcom-1.3.2.tar.bz2 487803 diff --git a/www-apps/midcom/metadata.xml b/www-apps/midcom/metadata.xml new file mode 100644 index 000000000000..95c06f0095bb --- /dev/null +++ b/www-apps/midcom/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/midcom/midcom-1.3.2.ebuild b/www-apps/midcom/midcom-1.3.2.ebuild new file mode 100644 index 000000000000..476d063f2bcb --- /dev/null +++ b/www-apps/midcom/midcom-1.3.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/midcom/midcom-1.3.2.ebuild,v 1.1 2004/09/22 11:11:17 rl03 Exp $ + +IUSE="" + +DESCRIPTION="MidCOM provides a powerful framework for building Midgard websites from reusable and customizable building blocks, components" +HOMEPAGE="http://www.midgard-project.org/projects/midcom/" +SRC_URI="http://www.midgard-project.org/midcom-serveattachmentguid-b6937feb525bc041641cd4ed3784f3b6/${P}.tar.bz2" + +KEYWORDS="~x86" + +DEPEND="www-apps/aegir" + +LICENSE="LGPL-2" +SLOT="0" + +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 README CHANGES INSTALL applications/midcom-template.CHANGES components/*.CHANGES + dodir /usr/share/${P} /usr/share/${P}/applications /usr/share/${P}/components + + # 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 midcom.xml || die "repligard failed" + repligard -a -c ${T}/repligard.conf -i applications/midcom-template.xml || die "repligard failed" + for file in components/*.xml; do + repligard -a -c ${T}/repligard.conf -i ${file} || die "repligard failed" + done +} + +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. To get started, create a new website in Aegir CMS (from template: MidCOM site template)," + einfo "log into that new site, use the provided initialization tool and" + einfo "start building the site structure." +} |