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 6A2A113832E for ; Fri, 29 Jul 2016 22:20:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B5C8E0944; Fri, 29 Jul 2016 22:20:42 +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 2F18FE0944 for ; Fri, 29 Jul 2016 22:20:42 +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 A3525340D19 for ; Fri, 29 Jul 2016 22:20:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDC627D4 for ; Fri, 29 Jul 2016 22:20:33 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1469830738.cd7450622215c52af714d55247eb68769cf7f94e.mschiff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/sigh/files/, mail-filter/sigh/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/sigh/Manifest mail-filter/sigh/files/sigh.initd mail-filter/sigh/metadata.xml mail-filter/sigh/sigh-1607.1.2.ebuild X-VCS-Directories: mail-filter/sigh/ mail-filter/sigh/files/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: cd7450622215c52af714d55247eb68769cf7f94e X-VCS-Branch: master Date: Fri, 29 Jul 2016 22:20:33 +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: a792994e-8113-468a-9d97-dbd5cb63a2f9 X-Archives-Hash: aca425c2100c1454d1d619249e73fe69 commit: cd7450622215c52af714d55247eb68769cf7f94e Author: Marc Schiffbauer gentoo org> AuthorDate: Fri Jul 29 22:18:58 2016 +0000 Commit: Marc Schiffbauer gentoo org> CommitDate: Fri Jul 29 22:18:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd745062 mail-filter/sigh: Added ebuild Package-Manager: portage-2.3.0 mail-filter/sigh/Manifest | 1 + mail-filter/sigh/files/sigh.initd | 23 +++++++++++++++++ mail-filter/sigh/metadata.xml | 21 +++++++++++++++ mail-filter/sigh/sigh-1607.1.2.ebuild | 48 +++++++++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+) diff --git a/mail-filter/sigh/Manifest b/mail-filter/sigh/Manifest new file mode 100644 index 0000000..87b2f24 --- /dev/null +++ b/mail-filter/sigh/Manifest @@ -0,0 +1 @@ +DIST v1607.1.2.tar.gz 57662 SHA256 7f25e8a8d9b586e97251d443700d5001ccd78a9bafda98ed19ef8cc3cc58ac2c SHA512 410883b55072b6476fc454440cf5f0e048587853a5095fddd7870b0efb5eca82e257f34ddef821f1a1968e1859207e7972e645922675fddaa2bf05b314bf5f60 WHIRLPOOL 0ec77f65660fde0c9ff57679bd21e35490cbdf0780e65db5f0422b534f6ffa319a5946ae99cd91b45d1c8010b5fa1ec88935e7a1556df8542dd4f2050d667686 diff --git a/mail-filter/sigh/files/sigh.initd b/mail-filter/sigh/files/sigh.initd new file mode 100755 index 0000000..bf8a44a --- /dev/null +++ b/mail-filter/sigh/files/sigh.initd @@ -0,0 +1,23 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +PIDDIR="/run/${SVCNAME}" + +description="Sigh is a milter that signs emails with S/MIME" +name="S/MIME signing milter" +pidfile="${PIDDIR}/${SVCNAME}.pid" +command="/usr/sbin/sigh" +command_args="-p ${pidfile} ${OPTIONS}" +retry="30" + +depend() { + need localmount net + use mta logger +} + +start_pre() { + checkpath -q -d -o sigh:sigh -m 0755 "${PIDDIR}" || return 1 +} + diff --git a/mail-filter/sigh/metadata.xml b/mail-filter/sigh/metadata.xml new file mode 100644 index 0000000..f01f343 --- /dev/null +++ b/mail-filter/sigh/metadata.xml @@ -0,0 +1,21 @@ + + + + + c@roessner.co + Christian Roessner + Proxied maintainer; set to assignee in all bugs + + + mschiff@gentoo.org + Marc Schiffbauer + Proxy maintainer; CC him on bugs + + + proxy-maint@gentoo.org + Proxy Maintainers + + + croessner/sigh + + diff --git a/mail-filter/sigh/sigh-1607.1.2.ebuild b/mail-filter/sigh/sigh-1607.1.2.ebuild new file mode 100644 index 0000000..7e90816 --- /dev/null +++ b/mail-filter/sigh/sigh-1607.1.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils user + +DESCRIPTION="S/MIME signing milter" +HOMEPAGE="https://signing-milter.org/" +SRC_URI="https://github.com/croessner/${PN}/archive/v${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="mail-filter/libmilter + dev-libs/boost + dev-libs/openssl:0" +DEPEND="${RDEPEND}" + +DOCS=( README README.build AUTHORS LICENSE ) +CMAKE_IN_SOURCE_BUILD=1 + +pkg_setup() { + enewgroup sigh + enewuser sigh -1 -1 /var/lib/sigh sigh +} + +src_prepare() { + cmake-utils_src_prepare +} + +src_configure() { + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + + dodoc "${DOCS[@]}" + + newinitd "${FILESDIR}"/${PN}.initd ${PN} +}