From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF45C139578 for ; Sat, 19 Nov 2016 20:59:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 206EBE0B27; Sat, 19 Nov 2016 20:59:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 04581E0B27 for ; Sat, 19 Nov 2016 20:59:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2892F340F1A for ; Sat, 19 Nov 2016 20:59:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9BE8332 for ; Sat, 19 Nov 2016 20:59:12 +0000 (UTC) From: "Dirkjan Ochtman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dirkjan Ochtman" Message-ID: <1479589146.b8a570265af8785484ca400de7aff0f49575ffe2.djc@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/rmilter/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/rmilter/rmilter-9999.ebuild X-VCS-Directories: mail-filter/rmilter/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: b8a570265af8785484ca400de7aff0f49575ffe2 X-VCS-Branch: master Date: Sat, 19 Nov 2016 20:59:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c3691098-9d47-4deb-af66-6774079ccdfc X-Archives-Hash: 4e5f96e00e807d846e9060f05a673cdc commit: b8a570265af8785484ca400de7aff0f49575ffe2 Author: Dirkjan Ochtman gentoo org> AuthorDate: Sat Nov 19 20:59:06 2016 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Sat Nov 19 20:59:06 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a57026 mail-filter/rmilter: add live ebuild (fixes bug 600242) Thanks to Christian Roessner for contributing the ebuild. Package-Manager: portage-2.3.0 mail-filter/rmilter/rmilter-9999.ebuild | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/mail-filter/rmilter/rmilter-9999.ebuild b/mail-filter/rmilter/rmilter-9999.ebuild new file mode 100644 index 00000000..43deb82 --- /dev/null +++ b/mail-filter/rmilter/rmilter-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils user git-r3 + +DESCRIPTION="Another sendmail milter for different mail checks" +HOMEPAGE="https://github.com/vstakhov/rmilter" +EGIT_REPO_URI="https://github.com/vstakhov/rmilter.git" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="dkim libressl +memcached" + +RDEPEND="dev-libs/libpcre + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + mail-filter/libmilter + >=dev-libs/glib-2.28 + dkim? ( mail-filter/opendkim ) + memcached? ( dev-libs/libmemcached )" +DEPEND="${RDEPEND}" + +pkg_setup() { + enewgroup rmilter + enewuser rmilter -1 -1 /var/run/rmilter rmilter +} + +src_configure() { + local mycmakeargs=( + -DENABLE_DKIM=$(usex dkim ON OFF) + -DENABLE_MEMCACHED=$(usex memcached ON OFF) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newinitd "${FILESDIR}/rmilter.initd" rmilter + insinto /etc/rmilter + newins rmilter.conf.sample rmilter.conf.sample + newins rmilter-grey.conf rmilter-grey.conf +}