add mailzu-ng based on rions overlay ebuild on mailzu
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@1942 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
ffc8c4473d
commit
cf6aa6d038
8
www-apps/mailzu-ng/ChangeLog
Normal file
8
www-apps/mailzu-ng/ChangeLog
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# ChangeLog for www-apps/mailzu-ng
|
||||||
|
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
09 Jan 2010; A. Vinogradov <spamslepnoga@inbox.ru> +mailzu-0.8_rc3.ebuild,
|
||||||
|
+metadata.xml:
|
||||||
|
initial commit
|
||||||
|
|
7
www-apps/mailzu-ng/Manifest
Normal file
7
www-apps/mailzu-ng/Manifest
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
AUX postinstall-en.txt 700 RMD160 2c5a5b0c952afcd69524ab0080d2cc0c0d60454f SHA1 5958d94ed653cc0509c785ab1b0b8901bc094f6c SHA256 98e263b06fa2c41866a29caec883c05ca08f935bc4dd354a91c1dc24cd1ed00e
|
||||||
|
DIST glpi-0.72.1.tar.gz 2771080 RMD160 341862cac1418086d9a6481ce1ec08a37246d518 SHA1 3d5c4b40cc0c1431b811043de0c54f091b75874a SHA256 68251c62b879258c9a6c483365af5179738a7010d604d4bfcc589906e589d984
|
||||||
|
DIST glpi-0.72.3.tar.gz 2798927 RMD160 e8023aae9aa575de42b8be46f55b611f2d59b22f SHA1 fdcbceba5729d1ec668e3f72ca9f6b62d3fa7d7b SHA256 b34016d16b53f09123b96cf0f798373b342d6efc50720953ff79b7f07689ea01
|
||||||
|
EBUILD glpi-0.72.1.ebuild 1056 RMD160 d074ae15394078fb70e7a5bd1bead8aad55ed7b4 SHA1 c70ecdf02ce34dc2054cb493c6430def80c2dbf5 SHA256 e33c4da46e92e0702d33afce28fd71a1b737f3976b9aa4c73e6f2c7b46dc5334
|
||||||
|
EBUILD glpi-0.72.3.ebuild 1056 RMD160 d074ae15394078fb70e7a5bd1bead8aad55ed7b4 SHA1 c70ecdf02ce34dc2054cb493c6430def80c2dbf5 SHA256 e33c4da46e92e0702d33afce28fd71a1b737f3976b9aa4c73e6f2c7b46dc5334
|
||||||
|
MISC ChangeLog 471 RMD160 f901070180e87f13ccbeee36d798ea712023a269 SHA1 d1cd0a5c4150edf5bb8e3e853531cbd874d66340 SHA256 4fb59e0cd0c131bdaa093cd9bb61ef066e38ba43d3838c5d5e517c9366c287fc
|
||||||
|
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
|
24
www-apps/mailzu-ng/files/postinstall-en.txt
Normal file
24
www-apps/mailzu-ng/files/postinstall-en.txt
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
You will need to provide a database for your ${PN} installation.
|
||||||
|
|
||||||
|
This assumes you have some knowledge of MySQL, and already have it
|
||||||
|
installed and configured. If not, please refer to the Gentoo MySQL
|
||||||
|
guide at the following URL:
|
||||||
|
|
||||||
|
http://www.gentoo.org/doc/en/mysql-howto.xml
|
||||||
|
|
||||||
|
Once you have a database ready all you need to do is to go to this
|
||||||
|
location
|
||||||
|
|
||||||
|
http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install.php
|
||||||
|
|
||||||
|
and provide the credentials required for the database access.
|
||||||
|
|
||||||
|
Note the credentials of the administration user you will generate
|
||||||
|
during the installation procedure.
|
||||||
|
|
||||||
|
For your own security you will need to remove the installation tools
|
||||||
|
by running
|
||||||
|
|
||||||
|
rm -rf ${MY_INSTALLDIR}/install*
|
||||||
|
|
||||||
|
Enjoy ${PN}!
|
62
www-apps/mailzu-ng/mailzu-ng-0.8_rc3.ebuild
Normal file
62
www-apps/mailzu-ng/mailzu-ng-0.8_rc3.ebuild
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
PHPCHECKNODIE="yes"
|
||||||
|
inherit webapp eutils depend.apache depend.php confutils
|
||||||
|
|
||||||
|
DESCRIPTION="MailZu is a simple and intuitive web interface to manage Amavisd-new quarantine"
|
||||||
|
HOMEPAGE="http://trac.husku.net/mailzu-ng/"
|
||||||
|
SRC_URI="http://trac.husku.net/mailzu-ng/attachment/wiki/WikiStart/mailzu-ng-0.8_rc3.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="amd64"
|
||||||
|
IUSE="ldap mysql postgres db_clean"
|
||||||
|
|
||||||
|
DEPEND="mail-filter/amavisd-new[ldap?,mysql?,postgres?]"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
dev-php/PEAR-PEAR
|
||||||
|
dev-php/PEAR-DB
|
||||||
|
dev-php/PEAR-Mail_Mime
|
||||||
|
dev-php/PEAR-Net_Socket
|
||||||
|
db_clean? ( dev-perl/DBI )
|
||||||
|
dev-lang/php[sockets,ldap?,mysql?,postgres?]"
|
||||||
|
|
||||||
|
need_apache2_2
|
||||||
|
need_php5_httpd
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
confutils_require_any mysql postgres ldap
|
||||||
|
|
||||||
|
local flags="sockets"
|
||||||
|
|
||||||
|
use postgres && flags+=" postgres"
|
||||||
|
use ldap && flags+=" ldap"
|
||||||
|
|
||||||
|
require_php_with_any_use ${flags} || die "Re-install ${PHP_PKG} with ${flags}"
|
||||||
|
|
||||||
|
if use mysql;then
|
||||||
|
( ( require_php_with_use mysql ) || ( require_php_with_use mysqli ) ) || die \
|
||||||
|
"Re-install ${PHP_PKG} with mysql or mysli USE"
|
||||||
|
fi
|
||||||
|
webapp_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -e "1s/usr\/local\/bin\/perl/usr\/bin\/perl/" scripts/mz_db_clean.pl || die "sed failed"
|
||||||
|
cp config/config.php.sample config/config.php
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodoc CHANGELOG README docs/*
|
||||||
|
rm "${S}"/{CHANGELOG,README,LICENSE}
|
||||||
|
rm -rf "${S}"/docs
|
||||||
|
|
||||||
|
webapp_src_preinst
|
||||||
|
|
||||||
|
insinto "${MY_HTDOCSDIR}"
|
||||||
|
doins -r .
|
||||||
|
webapp_configfile "${MY_HTDOCSDIR}"/config/config.php
|
||||||
|
webapp_src_install
|
||||||
|
}
|
34
www-apps/mailzu-ng/metadata.xml
Normal file
34
www-apps/mailzu-ng/metadata.xml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?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> -->
|
||||||
|
</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>
|
Loading…
Reference in New Issue
Block a user