From c001fe58733312fc06fd6bb5056bc6a228629f2f Mon Sep 17 00:00:00 2001 From: Thomas Raschbacher Date: Mon, 2 Apr 2018 20:09:57 +0200 Subject: first commit - still not complete (no init script,..) --- net-mail/mailman/Manifest | 3 ++ net-mail/mailman/mailman-3.1.1.ebuild | 57 +++++++++++++++++++++++++++++++++++ net-mail/mailman/metadata.xml | 14 +++++++++ 3 files changed, 74 insertions(+) create mode 100644 net-mail/mailman/Manifest create mode 100644 net-mail/mailman/mailman-3.1.1.ebuild create mode 100644 net-mail/mailman/metadata.xml diff --git a/net-mail/mailman/Manifest b/net-mail/mailman/Manifest new file mode 100644 index 0000000..1f8b383 --- /dev/null +++ b/net-mail/mailman/Manifest @@ -0,0 +1,3 @@ +DIST mailman-3.1.1.tar.gz 749014 BLAKE2B 00cf756de1a6ce5a05f30b033ad7d1ebc5664bb1c6fadb5d602c4e34e373ee7a0df0801e6b68b0816ee819f77caef33bbc4b8490df1c8f01fd2fb35664fd3757 SHA512 b09962ec99ca1ce1eafd40409a00f976dc47d82adb707313f4516400db6439af8597a1c4e30262fb228c102508ede688912480dbb1dcca9721bb0333693f1d85 +EBUILD mailman-3.1.1.ebuild 1797 BLAKE2B 3ee9623bb28f65444d784dfab4c3e3c5591aa63b4eb2652641b37a0b8bede79ce5691de03a642626be99473e3034bdbd0630e8c8729feb2c078a51b7176e5a2f SHA512 28a3631e6d799921949beb044e69224a77cfaf142c87a634c4c59a316c992a8e56f0ddc7fab2c3b274cdaed97293d55a3527f27045c42fedf6e12d894658a079 +MISC metadata.xml 400 BLAKE2B e0df4bb35f2d63968de652eb841186ee15b3ece8b89af861e5be4958237dbec13a1c9010511bdec377ff9284edf52dd317ff547a76ff640b28bf0c89bdb8211c SHA512 f45dc93bf9988a71feed972d054de722a4d90ff0bb31c1ed626584335557806b2eef3e7b3a21e9c445997124aeb38b5c26505dac03b5e297443627929dbd629a diff --git a/net-mail/mailman/mailman-3.1.1.ebuild b/net-mail/mailman/mailman-3.1.1.ebuild new file mode 100644 index 0000000..ddccbdc --- /dev/null +++ b/net-mail/mailman/mailman-3.1.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Mailman -- the GNU mailing list manager" +HOMEPAGE="http://www.list.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +#KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="~amd64 ~x86" # nothing til this is finished +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND=" + ~dev-python/aiosmtpd-1.0[${PYTHON_USEDEP}] + dev-python/alembic[${PYTHON_USEDEP}] + dev-python/atpublic[${PYTHON_USEDEP}] + >=dev-python/dnspython-1.14.0[${PYTHON_USEDEP}] + >=dev-python/falcon-1.0.0[${PYTHON_USEDEP}] + dev-python/flufl-bounce[${PYTHON_USEDEP}] + >=dev-python/flufl-i18n-2.0.1[${PYTHON_USEDEP}] + >=dev-python/flufl-lock-3.1[${PYTHON_USEDEP}] + dev-python/lazr-config[${PYTHON_USEDEP}] + dev-python/passlib[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/zope-component[${PYTHON_USEDEP}] + dev-python/zope-configuration[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" + +pkg_postinst() { + VAR_PREFIX=${MAILMAN_VAR_PREFIX:-"/var/lib/mailman3"} + MAILUSR=${MAILMAN_MAILUSR:-mailman} + MAILUID=${MAILMAN_MAILUID:-280} + MAILGRP=${MAILMAN_MAILGRP:-mailman} + MAILGID=${MAILMAN_MAILGID:-280} + + keepdir ${VAR_PREFIX}/logs + keepdir ${VAR_PREFIX}/locks + keepdir ${VAR_PREFIX}/spam + keepdir ${VAR_PREFIX}/archives/public + keepdir ${VAR_PREFIX}/archives/private + keepdir ${VAR_PREFIX}/lists + keepdir ${VAR_PREFIX}/qfiles + chown -R ${MAILUSR}:${MAILGRP} "${D}/${VAR_PREFIX}" "${D}"/etc/mailman/* || die + + # default to /var/lib/mailman3 for VAR_PREFIX + } diff --git a/net-mail/mailman/metadata.xml b/net-mail/mailman/metadata.xml new file mode 100644 index 0000000..c31bc54 --- /dev/null +++ b/net-mail/mailman/metadata.xml @@ -0,0 +1,14 @@ + + + + + lordvan@gentoo.org + + + net-mail@gentoo.org + Net-Mail + + + mailman + + -- cgit v1.2.3-65-gdbad