summaryrefslogtreecommitdiff
path: root/www-apps/metadot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/metadot
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/metadot')
-rw-r--r--www-apps/metadot/Manifest12
-rw-r--r--www-apps/metadot/files/metadot.conf20
-rw-r--r--www-apps/metadot/files/postinstall-en-6.1.6.txt48
-rw-r--r--www-apps/metadot/files/postinstall-en-6.4_p3.txt34
-rw-r--r--www-apps/metadot/files/reconfig-6.1.65
-rw-r--r--www-apps/metadot/files/reconfig-6.4_p318
-rw-r--r--www-apps/metadot/metadata.xml8
-rw-r--r--www-apps/metadot/metadot-6.1.6-r1.ebuild56
-rw-r--r--www-apps/metadot/metadot-6.4.5.4-r1.ebuild70
9 files changed, 271 insertions, 0 deletions
diff --git a/www-apps/metadot/Manifest b/www-apps/metadot/Manifest
new file mode 100644
index 000000000000..f5188d4b3a60
--- /dev/null
+++ b/www-apps/metadot/Manifest
@@ -0,0 +1,12 @@
+AUX metadot.conf 445 SHA256 e992b4f22f84b449da1be0a93c790a43a0a106b575c62e2727c1e069b4d73ae0 SHA512 90f9b1db9614cd6053b16c3adcc37071f1c4309078601c5154d79e3ed1ac65268cfe05b0e7d9f32f9c66a1b2779bb71d4b3b1d6d9cf2da0ddbc82cd42c93ef32 WHIRLPOOL 7f6e6a14652a8a553c3fb645c808206e1ff26f589328b35bcc4221fec1841379892577632f36fcf1e41b438ca2ab2c24dcf9f98ac7e0cbd8466e5fc5b81635a6
+AUX postinstall-en-6.1.6.txt 1567 SHA256 0120a85fcc503e8a7063cf27cc89876b6b190adef1d4859b0a6710059f5eecb5 SHA512 155f2743cf4e4f4bb2ec8b01f434240dd968a1c6868e4def846b0cbd84946ac0ecd5f961c8c0099ee0769094f2b6b2336f36316139ff98d1d34cd506053cb393 WHIRLPOOL 836b2b88923470e5cbf3ebea15292d4ce58ec3eaa5b448388fdfd259bbf99035d7fce333bec73c6ff10d990cc860579574a2249b87a0713771bea162179bd03a
+AUX postinstall-en-6.4_p3.txt 1174 SHA256 2e034e959190db851c8865b0dd7ecb2a9c64b24b3ab2b2e30f6d8f75d046affc SHA512 7b18a538f41323cdb548ed5d813b0dd209b82d24e27582c2c66bda987557be470f72d18958d043d3417bafa5d665dd573f6a3d0f014c634347ec417cacf6b880 WHIRLPOOL f531898dc3a40df285e2b36decabbca8b9dacf3ecbf7e865fd252cf2fbdc227545c803e14b4c26c23837c75ad3d1e105700c86e780d7c01abea08d8286a15af6
+AUX reconfig-6.1.6 337 SHA256 d43f96c32b99cc52b5f00a642fde9f3539b114510ae5fd3b59a7df9bb8c3827a SHA512 dc12afbef749e2306cb5fac0d40892399c05ab2416b6451cd84ea44192506130f5d73987eb8922a934c6072ea20e0e4098c776fdfb2216b0c4c8628feffe88ba WHIRLPOOL b600b4a8c27c7aae9b70d4641d1085f6fe5a10811f832388cc314ea9c9effc189b602dccf1b8524f21fbad9938a11277e3572d8c74bb92b81aa20ac78ff56ee8
+AUX reconfig-6.4_p3 361 SHA256 76291fa277b4b32486bb550b533851b2da10afca0eb79203305742b8acc78f28 SHA512 c3fd94bd96de791da23799054b474b392e761c056acd664947d2e66551ddf85e14436b4390b92d3c6ebe80d2f590b84e0b74031d4cf0de943d72d214c4dc8c59 WHIRLPOOL 8b7fcf59c00fe54878d0f49d848d0157d729678edee3f482a3a0aeb021b49c07332c10f183151290b409ce5dec7bae831e6a5a0db3b0e0c97b35613ea1c9bd99
+DIST Metadot6.4.5.4.tar.gz 4055040 SHA256 d125b61d59563d25b2feac8ae692225478130e88f5f9165cf1de34c7985cc785 SHA512 a7982e604b1f0f8db393bb16c6ecb7ca0562b8b1a620bc9db268e4be4c73de827b8a0cf0c5156822c3c63d4f8ef19a37a37d2c39037bf9d6d00df0a310e04cc1 WHIRLPOOL e96ce975c4bf19827fbd3d9e18ecf11d52cd0a2e138a91ce3dcc3dffa40cc16e04f9c687e717efccf19bb68aeba64a85fff4375ed91d1caa3295c2b583f3e332
+DIST metadot6.1.6.tar.gz 3754969 SHA256 d7033b8ad561914714ea3d4d32d745566b291494fd3cfc46f66c496e37c48339 SHA512 0b7f4bd99fcc909b3f3428591193fecadfe6542b5a541c351e69323efe06e38fdb4a507d83ceec61105ddeae6b95433f67d3d12778c4acf4b9189b169f03fd7e WHIRLPOOL 1ebe465989931256dcb5bf784e6c0d1cbfae6fffe1feff32326cf6ec71f04b01d35ceb69a359f8b5e50152ccaf7f2c93492d3f0f9fd8955d78e0c7074f001ad5
+EBUILD metadot-6.1.6-r1.ebuild 1266 SHA256 7a888bb5f0090ac925abc8aac02865ba4f309bcb24da1cbc8083ff640a082cf1 SHA512 f3a10d000b44343373a63e50388f0119dc43fe675395c58fcdd3d987b56f88ad4b105c757d28747a7a64836c7a3a31d842b7e426bb497999197b0dbab0027848 WHIRLPOOL 1db7fdf980698c5e020eb90442b755ca7b57d499b59852f4de8d3bf3592931d7a86bad8c689be7893a516615f943cbc1e7dd3743bea57fa27b14aa9f2ac2fa4f
+EBUILD metadot-6.4.5.4-r1.ebuild 1748 SHA256 bc2fa5dc904893f18f940617f3800b42a47e1206ac9b6961c3051b4bce63b23e SHA512 74396c35982f891135fe5dcf948d6a690cdee3e9819acf3c36b6c9d313291e82fd43c419f99977452e681e7cfc1a002703cb167c785fb823c1a61896236ae7be WHIRLPOOL a037bfd05eb1ceea99c11ff76ebdf45aeee4ae159346aa1c9493a0b0e815b7258cf1285be45045a0c152ec10a477fdd8b1e0a6c021cc5138be0721729de29176
+MISC ChangeLog 3271 SHA256 6fd4d61cf127b527585978da532cbdefb248822c16c13b8deb80e15adb92c75f SHA512 b2380ed27ce6032b386462916dc8fa65ef9238b5465daa0419a925e716c0482acc076578169e20947bc962a2c1cec88f67af46df2832ebbefd8ab3923574ab86 WHIRLPOOL 2ac7feb83528faba1caa59c82c10169f1b61f6da9ada566f6a8207aa0b80aa40d03167b87e1321ec6bcf9e9a9713477beea42701ec9a721014a6e9eee1844e0b
+MISC ChangeLog-2015 4740 SHA256 27047d3e4f9f03c30481c672c53c08e9fba616f61673d2b0b93930cac6793a48 SHA512 d9b6a516051373d7e27a690c0a908df1c865f43e80ea0c4ac6bfe7b4f59f4b7b4c9084dc66f98fe77d2a284bfb231733509be1fb6896fcb8003d8f4ab3a6e47b WHIRLPOOL 75a872e12f87b1f50f0e72d7212e2c9a4be2d89eec2546f05f6418647b04e9552aa187c70b7ba86f3b6c0f6d32ceccf05af0cd3e734c1091579dcb72f8d9d2c0
+MISC metadata.xml 246 SHA256 f696b469729aeeb7810f246774e90471415680a9ebd6b55c56c13a5213057508 SHA512 1181711d3b020b2ca7beae0a539a9b7f1abe70962cd8561900e5f06e14c9c871c61ca6088fb674de19ef3b844a1b3c29cf0f84f638b2d0cb7c030f60cd1d42ed WHIRLPOOL fef696fa5b101de1ba4bdc0188a4757648d9eb40d4b01408cf17416d1f39909026a80e4b082d8497801aae1caea588b6d28616cd3853e1b03b94a8fd672f9c85
diff --git a/www-apps/metadot/files/metadot.conf b/www-apps/metadot/files/metadot.conf
new file mode 100644
index 000000000000..8dc1e5036944
--- /dev/null
+++ b/www-apps/metadot/files/metadot.conf
@@ -0,0 +1,20 @@
+<VirtualHost VHOST:80>
+ DocumentRoot "ROOTDIR/html"
+
+ <Directory "ROOTDIR/html">
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+ Alias /images/ ROOTDIR/html/images/
+ Alias /js/ ROOTDIR/html/js/
+ Alias /metadot/ ROOTDIR/metadot/
+ Alias /public/ ROOTDIR/sitedata/public/
+ Alias /skins/ ROOTDIR/sitedata/skins/
+
+ <Location "/metadot">
+ SetHandler perl-script
+ PerlHandler Apache::Registry
+ Options +ExecCGI
+ </Location>
+</VirtualHost>
diff --git a/www-apps/metadot/files/postinstall-en-6.1.6.txt b/www-apps/metadot/files/postinstall-en-6.1.6.txt
new file mode 100644
index 000000000000..5a25713e1b02
--- /dev/null
+++ b/www-apps/metadot/files/postinstall-en-6.1.6.txt
@@ -0,0 +1,48 @@
+
+1. Set up your database:
+cd ${MY_INSTALLDIR}/default_data
+If using MySQL-3*: mysql -uroot -p mysql < createdbanduser.sql
+If using MySQL-4*: mysql -uroot -p mysql < createdbanduser4x.sql
+
+Then change the default password:
+mysql -uroot -p mysql
+mysql> update user set password = password('<newpassword>') where user = 'metadot';
+mysql> flush privileges;
+mysql> quit
+
+Now,
+mysql -umetadot -p<newpassword> metadotdb < sampledata.sql
+
+2. Edit the Metadot configuration file:
+edit ${MY_INSTALLDIR}/etc/metadot.conf
+Set your database password from step 1.
+Read the online docs! Especially if you want to use virtual servers.
+
+3. Configure Apache:
+Add the follwing to you apache.conf or .htaccess:
+
+Alias /images/ ${MY_INSTALLDIR}/html/images/
+Alias /js/ ${MY_INSTALLDIR}/html/js/
+Alias /metadot/ ${MY_INSTALLDIR}/metadot/
+Alias /public/ ${MY_INSTALLDIR}/sitedata/public/
+Alias /skins/ ${MY_INSTALLDIR}/sitedata/skins/
+Alias /htmlarea3/ ${MY_INSTALLDIR}/html/htmlarea3/
+
+<Location "/metadot/">
+ SetHandler perl-script
+ PerlHandler Apache::Registry
+ Options +ExecCGI
+</Location>
+
+To quote the docs:
+"Make sure that this directory is owned by apache:apache"
+Read the section about configuring your MIME types.
+Now restart Apache.
+
+4. Configure cronjobs.
+Read the relevant section in the docs, and be sure to specify the right paths.
+HINT: /home/metadot is not used, everything is in ${MY_INSTALLDIR}/${PN}
+
+5. Now go to http://${VHOST_HOSTNAME}/metadot/index.pl
+Hopefully everything worked. Now go read the docs and set up your Metadot, and
+change the default Admin password.
diff --git a/www-apps/metadot/files/postinstall-en-6.4_p3.txt b/www-apps/metadot/files/postinstall-en-6.4_p3.txt
new file mode 100644
index 000000000000..9888bd3509e1
--- /dev/null
+++ b/www-apps/metadot/files/postinstall-en-6.4_p3.txt
@@ -0,0 +1,34 @@
+
+1. Set up your database:
+cd ${MY_INSTALLDIR}/default_data
+If using MySQL-3*: mysql -uroot -p mysql < createdbanduser.sql
+If using MySQL-4*: mysql -uroot -p mysql < createdbanduser4x.sql
+
+Then change the default password:
+mysql -uroot -p mysql
+mysql> update user set password = password('<newpassword>') where user = 'metadot';
+mysql> flush privileges;
+mysql> quit
+
+Now,
+mysql -umetadot -p<newpassword> metadotdb < sampledata.sql
+
+2. Edit the Metadot configuration file:
+edit ${MY_INSTALLDIR}/etc/metadot.conf
+Set your database password from step 1.
+Read the online docs! Especially if you want to use virtual servers.
+
+3. Configure Apache:
+The ebuild installed an Apache configfile: ${VHOST_ROOT}/${PN}.conf
+Copy it into /etc/{apache,apache2}/vhosts.d and edit it to
+suit your needs.
+
+4. Configure cronjobs.
+Read the relevant section in the docs, and be sure to specify the right paths.
+HINT: /home/metadot is not used, everything is in ${MY_INSTALLDIR}
+
+5. Now go to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/index.pl
+Hopefully everything worked. Now go read the docs and set up your Metadot, and
+change the default Admin password.
+
+Don't forget to read the online docs!!!
diff --git a/www-apps/metadot/files/reconfig-6.1.6 b/www-apps/metadot/files/reconfig-6.1.6
new file mode 100644
index 000000000000..c70721fcbe27
--- /dev/null
+++ b/www-apps/metadot/files/reconfig-6.1.6
@@ -0,0 +1,5 @@
+#!/bin/bash
+if [ $1 = "start" -o $1 = "install" ]; then
+ sed -e "s|skin_template_dir = /home/metadot/metadot/sitedata/skins|skin_template_dir = ${MY_INSTALLDIR}/sitedata/skins|
+ s|public_uploads_dir = /home/metadot/metadot/sitedata/public|public_uploads_dir = ${MY_INSTALLDIR}/sitedata/public|" -i ${MY_INSTALLDIR}/etc/metadot.conf
+fi
diff --git a/www-apps/metadot/files/reconfig-6.4_p3 b/www-apps/metadot/files/reconfig-6.4_p3
new file mode 100644
index 000000000000..f37752ba4a94
--- /dev/null
+++ b/www-apps/metadot/files/reconfig-6.4_p3
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+die() {
+ echo "#####"
+ echo $1
+ echo "#####"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
+ sed -e "s|/home/metadot/metadot|${MY_INSTALLDIR}|g" -i ${MY_INSTALLDIR}/etc/metadot.conf || die
+ # fix Apache configs
+ sed -e "s|ROOTDIR|${MY_INSTALLDIR}|g
+ s|VHOST|${VHOST_HOSTNAME}|" -i ${VHOST_ROOT}/metadot.conf || die
+
+elif [ $1 = "clean" ]; then
+ echo $1
+fi
diff --git a/www-apps/metadot/metadata.xml b/www-apps/metadot/metadata.xml
new file mode 100644
index 000000000000..f2f2ba9e2823
--- /dev/null
+++ b/www-apps/metadot/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>web-apps@gentoo.org</email>
+ <name>Gentoo Webapps</name>
+</maintainer>
+</pkgmetadata>
diff --git a/www-apps/metadot/metadot-6.1.6-r1.ebuild b/www-apps/metadot/metadot-6.1.6-r1.ebuild
new file mode 100644
index 000000000000..fbef34d5c613
--- /dev/null
+++ b/www-apps/metadot/metadot-6.1.6-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit webapp
+MY_P=${P/-/}
+S=${WORKDIR}/${PN}
+
+IUSE=""
+
+DESCRIPTION="Metadot is a CMS with file, page and link management, and collaboration features"
+HOMEPAGE="http://www.metadot.com"
+SRC_URI="http://download.metadot.com/${MY_P}.tar.gz"
+
+KEYWORDS="~x86 ppc"
+
+RDEPEND="
+ >=dev-lang/perl-5.005
+ >=www-apache/mod_perl-2.0
+ dev-perl/DBI
+ dev-perl/DBD-mysql
+ dev-perl/Apache-DBI
+ dev-perl/XML-RSS
+ virtual/perl-Storable
+ dev-perl/perl-ldap
+ dev-perl/Log-Agent
+ dev-perl/Mail-POP3Client
+ dev-perl/IO-stringy
+ dev-perl/MailTools
+ dev-perl/MIME-tools
+ dev-perl/Unicode-String
+ dev-perl/Spreadsheet-WriteExcel
+ dev-perl/Date-Calc
+ dev-perl/AppConfig
+ dev-perl/Image-Size
+ dev-perl/Template-Toolkit
+ virtual/perl-Time-HiRes
+ dev-perl/Lingua-EN-NameParse
+ dev-perl/Number-Format
+ dev-perl/XML-Simple
+ dev-perl/Text-CSV_XS
+ dev-perl/Archive-Zip
+ dev-perl/Date-Manip
+"
+
+LICENSE="GPL-2"
+
+src_install() {
+ webapp_src_preinst
+ dodir ${MY_HOSTROOTDIR}/${PN}
+
+ dodoc CHANGELOG README
+ cp -R [[:lower:]][[:lower:]]* "${D}"/${MY_HTDOCSDIR}
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-${PVR}.txt
+ webapp_hook_script "${FILESDIR}"/reconfig-${PVR}
+ webapp_src_install
+}
diff --git a/www-apps/metadot/metadot-6.4.5.4-r1.ebuild b/www-apps/metadot/metadot-6.4.5.4-r1.ebuild
new file mode 100644
index 000000000000..90501a51226e
--- /dev/null
+++ b/www-apps/metadot/metadot-6.4.5.4-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit webapp
+MY_P="Metadot${PV}"
+S=${WORKDIR}/${PN}
+
+IUSE=""
+
+DESCRIPTION="Metadot is a CMS with file, page and link management, and collaboration features"
+HOMEPAGE="http://www.metadot.com"
+SRC_URI="http://download.metadot.com/${MY_P}.tar.gz"
+
+KEYWORDS="ppc ~x86"
+
+DEPEND=""
+RDEPEND="
+ >=dev-lang/perl-5.6
+ =www-apache/mod_perl-2*
+ dev-perl/DBI
+ >=dev-perl/DBD-mysql-2.1027
+ dev-perl/Apache-DBI
+ >=dev-perl/AppConfig-1.55
+ >=dev-perl/XML-RSS-1.02
+ dev-perl/perl-ldap
+ >=dev-perl/Log-Agent-0.304
+ dev-perl/Mail-POP3Client
+ >=dev-perl/IO-stringy-2.108
+ dev-perl/MailTools
+ dev-perl/MIME-tools
+ >=dev-perl/Unicode-String-2.07
+ >=dev-perl/Spreadsheet-WriteExcel-0.41
+ >=dev-perl/Date-Calc-5.3
+ >=dev-perl/Image-Size-2.991.0
+ >=dev-perl/Template-Toolkit-2.09
+ >=virtual/perl-Time-HiRes-1.48
+ >=virtual/perl-Test-Harness-2.28
+ >=dev-perl/Test-Manifest-0.91
+ >=virtual/perl-Test-Simple-0.47
+ >=dev-perl/Lingua-EN-NameParse-1.18
+ >=dev-perl/Number-Format-1.45
+ >=dev-perl/XML-Simple-2.08
+ dev-perl/XML-Dumper
+ dev-perl/Archive-Zip
+ dev-perl/Date-Manip
+ dev-perl/Text-CSV_XS
+ dev-perl/HTML-Tree
+ dev-perl/HTML-Format
+ dev-perl/Data-ShowTable
+"
+
+LICENSE="GPL-2"
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGELOG README
+ cp -R [[:lower:]][[:lower:]]* "${D}"/${MY_HTDOCSDIR}
+
+ cp "${FILESDIR}"/${PN}.conf "${D}"/${MY_HOSTROOTDIR}
+ sed -i "s|Apache::Registry|Modperl::Registry|" \
+ "${D}"/${MY_HOSTROOTDIR}/${PN}.conf
+
+ webapp_serverowned ${MY_HTDOCSDIR}
+ webapp_serverowned ${MY_HTDOCSDIR}/sitedata/public
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-6.4_p3.txt
+ webapp_hook_script "${FILESDIR}"/reconfig-6.4_p3
+ webapp_src_install
+}