net-mail/mailbridge: initial commit

(Portage version: 2.1.10.3/svn/Linux x86_64, RepoMan options: --force)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/zarafa@2952 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2011-06-19 14:54:57 +00:00
parent e6315e8146
commit 688c39853e
5 changed files with 135 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# ChangeLog for net-mail/mailbridge
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*mailbridge-1.0.0 (19 Jun 2011)
19 Jun 2011; Mario Fetka <mario.fetka@gmail.com> +mailbridge-1.0.0.ebuild,
+files/setup.py, +metadata.xml:
initial commit

View File

@ -0,0 +1,5 @@
AUX setup.py 1508 RMD160 6dadda2cf613093bbf7eb6851141a1e493ffe4a4 SHA1 00a0bf4abdbd838f9d33b6bbe06d84983e5387f5 SHA256 7404a7f8fd485ec86a1af5989cf9b318b565a56deb112e7f43167449acf19a2a
DIST mailbridge-1.0.0.tar.gz 39219 RMD160 87e4c0bdf67ecd9cfd9994927e8062dfa4e579ec SHA1 1a2807dd4ad7b621e19613a2da098ff6b5f900dc SHA256 7bad856f435265b24bda09edf4fa57a1190d0af6f06e659c198c87e8e62fe487
EBUILD mailbridge-1.0.0.ebuild 954 RMD160 d330776d94ac15e10ab45c534f4967642c4ab289 SHA1 87c133fb27d78be0bb41e3211769aeece6a3481f SHA256 31a0095151cea76f7f22b53fa4b82893ea71bfb218f36944ab24955ebad743d4
MISC ChangeLog 282 RMD160 e654c6a50af9c23bd597ca8e805e1ec182394e4f SHA1 9ce16f7876cc0a705035bb51283028704c1fffd2 SHA256 95612bd056e80f3b0470690d173a8d563adf6fac438ae184bee554591c4a99cb
MISC metadata.xml 1248 RMD160 fc487a392c08e46440e1ab046538712b21dafec3 SHA1 356c51cafdf29a7d86527da756ad777de86be7de SHA256 68784ab5b74d3fa3ac3ad4cd3f970dc78de937dfedcf10f194a56f4fba03b31b

View File

@ -0,0 +1,39 @@
# -*- coding: utf-8; -*-
#
# MailBridge - a mail storage spanning bridge.
# Copyright (C) 2011 Ryan Hughes <ryan@n-h.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
Python setup file to install Mailbridge
"""
from distutils.core import setup
setup(
name = 'mailbridge',
version = '1.0.0',
description = 'MailBridge - a mail storage spanning bridge.',
license = 'AGPL-3',
url = "http://community.zarafa.com/pg/plugins/project/243/developer/ryan/mailbridge",
author = "Ryan Hughes",
author_email = "ryan@n-h.com",
maintainer = "Ryan Hughes",
maintainer_email = "ryan@n-h.com",
packages = ["mailbridge", "mailbridge.bridge",
"mailbridge.protocol", "mailbridge.state",
"mailbridge.store", "mailbridge.store.dsync",
"mailbridge.store.zarafa", "mailbridge.util", ],
)

View File

@ -0,0 +1,47 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils eutils
S=${WORKDIR}/${PN}
DESCRIPTION="MailBridge - a mail storage spanning bridge"
HOMEPAGE="http://community.zarafa.com/pg/plugins/project/243/developer/ryan/mailbridge"
LICENSE="BSD"
SRC_URI="http://community.zarafa.com/mod/community_plugins/download.php?release_guid=244 -> ${P}.tar.gz"
IUSE=""
KEYWORDS="amd64 x86"
SLOT="0"
RDEPEND="
dev-python/setuptools
dev-python/redis-py
dev-python/threadpool
"
DEPEND="${RDEPEND}"
src_prepare() {
edos2unix INSTALL README
sed -i -e '1i#!/usr/bin/python' mailbridge_span.py
cp "${FILESDIR}"/setup.py .
distutils_src_prepare
}
src_install() {
distutils_src_install
insinto /etc/${PN}
newins mailbridge.conf.example mailbridge.conf
newsbin mailbridge_span.py mailbridge
}

View 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>mario.fetka@gmail.com</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>