From 688c39853edadc1fd4ade9ab836ac3536273f998 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sun, 19 Jun 2011 14:54:57 +0000 Subject: [PATCH] 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 --- net-mail/mailbridge/ChangeLog | 10 +++++ net-mail/mailbridge/Manifest | 5 +++ net-mail/mailbridge/files/setup.py | 39 +++++++++++++++++ net-mail/mailbridge/mailbridge-1.0.0.ebuild | 47 +++++++++++++++++++++ net-mail/mailbridge/metadata.xml | 34 +++++++++++++++ 5 files changed, 135 insertions(+) create mode 100644 net-mail/mailbridge/ChangeLog create mode 100644 net-mail/mailbridge/Manifest create mode 100644 net-mail/mailbridge/files/setup.py create mode 100644 net-mail/mailbridge/mailbridge-1.0.0.ebuild create mode 100644 net-mail/mailbridge/metadata.xml diff --git a/net-mail/mailbridge/ChangeLog b/net-mail/mailbridge/ChangeLog new file mode 100644 index 0000000..9ad33fa --- /dev/null +++ b/net-mail/mailbridge/ChangeLog @@ -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 +mailbridge-1.0.0.ebuild, + +files/setup.py, +metadata.xml: + initial commit + diff --git a/net-mail/mailbridge/Manifest b/net-mail/mailbridge/Manifest new file mode 100644 index 0000000..958ad6d --- /dev/null +++ b/net-mail/mailbridge/Manifest @@ -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 diff --git a/net-mail/mailbridge/files/setup.py b/net-mail/mailbridge/files/setup.py new file mode 100644 index 0000000..bc6dbd6 --- /dev/null +++ b/net-mail/mailbridge/files/setup.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8; -*- +# +# MailBridge - a mail storage spanning bridge. +# Copyright (C) 2011 Ryan Hughes +# +# 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 . + +""" +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", ], +) diff --git a/net-mail/mailbridge/mailbridge-1.0.0.ebuild b/net-mail/mailbridge/mailbridge-1.0.0.ebuild new file mode 100644 index 0000000..13837f0 --- /dev/null +++ b/net-mail/mailbridge/mailbridge-1.0.0.ebuild @@ -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 +} + diff --git a/net-mail/mailbridge/metadata.xml b/net-mail/mailbridge/metadata.xml new file mode 100644 index 0000000..d43e2bf --- /dev/null +++ b/net-mail/mailbridge/metadata.xml @@ -0,0 +1,34 @@ + + + + +no-herd + + mario.fetka@gmail.com + + + + +