remove old
This commit is contained in:
@@ -2,4 +2,4 @@ AUX postinstall-en.txt 700 RMD160 2c5a5b0c952afcd69524ab0080d2cc0c0d60454f SHA1
|
||||
DIST mailzu-ng-0.8_rc3.tar.gz 5083 RMD160 bb1631833957962ef1e70ad114077c7850aa3924 SHA1 e2d6c6912f6c6d33f42e1a79b51fc2e56fa035bf SHA256 0d72da87ec7ceffa5ebc1a0429fe842f098cdd41fa4abc690431cae8c36909c0
|
||||
EBUILD mailzu-ng-0.8_rc3.ebuild 1642 RMD160 8f58d203ee5649f1f38229f11905298f165a617a SHA1 1cb93023ffbd6bc36cd9edc5787059c18bd1863f SHA256 289afb76affd640ab67e7098a0b2ae21b4b45064da77f6fa319e3139944d12be
|
||||
MISC ChangeLog 510 RMD160 8fd67298eb36d331c2566b3c4bfd5f5b78574ff7 SHA1 b7b7272f0b99c0dc0d5a5e1b2e047f3047b7944c SHA256 0a96e517a6348e71fe56bb00feac3e18b5d5902fff23bbd0c24b63001ea1ec08
|
||||
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
|
||||
MISC metadata.xml 205 RMD160 f85e91d792c694cb3e45fac26295dba0e6e43786 SHA1 3f13c3b49579342e2308323aa3dda2f43dd94c23 SHA256 9fdfc9c91107d94feb8416adc2cec7734fa27084bff83ea859938b3216e028bc
|
||||
|
||||
@@ -1,34 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!--
|
||||
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
|
||||
|
||||
This is the example metadata file.
|
||||
The root element of this file is <pkgmetadata>. Within this element a
|
||||
number of subelements are allowed: herd, maintainer, and
|
||||
longdescription. herd is a required subelement.
|
||||
|
||||
For a full description look at:
|
||||
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
|
||||
|
||||
|
||||
Before committing, please remove the comments from this file. They are
|
||||
not relevant for general metadata.xml files.
|
||||
-->
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>@gentoo.org</email>
|
||||
<!-- <description>Description of the maintainership</description> -->
|
||||
<email>mario.fetka@gmail.com</email>
|
||||
</maintainer>
|
||||
<!-- <longdescription>Long description of the package</longdescription> -->
|
||||
<!--
|
||||
<use>
|
||||
<flag name='flag'>Description of how USE='flag' affects this package</flag>
|
||||
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
|
||||
package</flag>
|
||||
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
|
||||
Requires an installed dictionary from <cat>app-dicts</cat></flag>
|
||||
</use>
|
||||
-->
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -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>
|
||||
@@ -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!!!
|
||||
@@ -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
|
||||
@@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/metadot/metadot-6.4.5.4.ebuild,v 1.9 2008/08/19 21:19:26 dertobi123 Exp $
|
||||
|
||||
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/ImageSize-2.991
|
||||
>=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/DateManip
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user