www-apps/metadot: Remove last-rited pkg

Closes: https://bugs.gentoo.org/693942
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-10-10 14:30:22 +02:00
parent 09e8e5e584
commit a8c8dd1abf
10 changed files with 0 additions and 271 deletions

View File

@@ -796,12 +796,6 @@ dev-util/pkgconfig-openbsd
# Removal in 30 days. Bug #693944.
www-client/ck4up
# Michał Górny <mgorny@gentoo.org> (2019-09-09)
# Last bumped in 2006. Homepage gone (domain taken over). EAPI 0.
# No amd64 keyword.
# Removal in 30 days. Bug #693942.
www-apps/metadot
# Lars Wendler <polynomial-c@gentoo.org> (2019-09-04)
# Unofficial build. Superseded by official 2.49.5 release.
# Masked for removal.

View File

@@ -1,2 +0,0 @@
DIST Metadot6.4.5.4.tar.gz 4055040 BLAKE2B eb5b8361e9b20951ec68c73f68fcf8126fe550f67090b0451460db6874f367ed20e1e18f5988bcd617dfae079a93f5c696298fec3eb8b59ed240a6df88f80106 SHA512 a7982e604b1f0f8db393bb16c6ecb7ca0562b8b1a620bc9db268e4be4c73de827b8a0cf0c5156822c3c63d4f8ef19a37a37d2c39037bf9d6d00df0a310e04cc1
DIST metadot6.1.6.tar.gz 3754969 BLAKE2B 7012afd6f639568bdd96d9f6ea16f84755bbfd518aef8921fd7b28a97e3d835a84d50963c2edad049011959be0347ecee1f8d36fa11d0a5abe484eacb35f29d5 SHA512 0b7f4bd99fcc909b3f3428591193fecadfe6542b5a541c351e69323efe06e38fdb4a507d83ceec61105ddeae6b95433f67d3d12778c4acf4b9189b169f03fd7e

View File

@@ -1,20 +0,0 @@
<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>

View File

@@ -1,48 +0,0 @@
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.

View File

@@ -1,34 +0,0 @@
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!!!

View File

@@ -1,5 +0,0 @@
#!/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

View File

@@ -1,18 +0,0 @@
#!/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

View File

@@ -1,8 +0,0 @@
<?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>

View File

@@ -1,58 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=0
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="ppc ~x86"
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
}

View File

@@ -1,72 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=0
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-Formatter
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
}