summaryrefslogtreecommitdiff
path: root/mail-filter/sigh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /mail-filter/sigh
reinit the tree, so we can have metadata
Diffstat (limited to 'mail-filter/sigh')
-rw-r--r--mail-filter/sigh/Manifest5
-rwxr-xr-xmail-filter/sigh/files/sigh.initd22
-rw-r--r--mail-filter/sigh/metadata.xml21
-rw-r--r--mail-filter/sigh/sigh-1607.1.2.ebuild47
4 files changed, 95 insertions, 0 deletions
diff --git a/mail-filter/sigh/Manifest b/mail-filter/sigh/Manifest
new file mode 100644
index 000000000000..34cbe923d340
--- /dev/null
+++ b/mail-filter/sigh/Manifest
@@ -0,0 +1,5 @@
+AUX sigh.initd 485 SHA256 f74c9e821b15eef4a980a2fd5a793862ee9c340be0527ccebe386598b6b05bd4 SHA512 34e1cc17fdc09ad0377604c951cc85682f56ed4a2a2f6f396d2e4d30777fa1bb8ddf693487eb100ff45fe15612bb68ba641eca3c28008431649b7f980cb3fec0 WHIRLPOOL 45968248a2cbf7ade2d6d44cb668b1e8070a8ab299a3025e3ccca85362cb19ac90bb184891ebabc1267b981bb0d5604b3efacb178d26996acaabb99afda44a1d
+DIST sigh-1607.1.2.tar.gz 57662 SHA256 7f25e8a8d9b586e97251d443700d5001ccd78a9bafda98ed19ef8cc3cc58ac2c SHA512 410883b55072b6476fc454440cf5f0e048587853a5095fddd7870b0efb5eca82e257f34ddef821f1a1968e1859207e7972e645922675fddaa2bf05b314bf5f60 WHIRLPOOL 0ec77f65660fde0c9ff57679bd21e35490cbdf0780e65db5f0422b534f6ffa319a5946ae99cd91b45d1c8010b5fa1ec88935e7a1556df8542dd4f2050d667686
+EBUILD sigh-1607.1.2.ebuild 824 SHA256 1eebf5fab45e1697b7d263174093fa7635b1a2754d2ac9e5637ce7f2afa561ab SHA512 c53474a0a48bd3e3fc26874da3896bd2282de2b4a2365b69b6a1ec8eda87b6fb0592767899859dacb84d367cf06557c30c08c6f61f65fffb666b600cf9150203 WHIRLPOOL c8e379b74ec3c7f58f244e4624b1964962ea478e045cb2654e468baa4c850b2ba8e3356d8d673e29462215c1b2f0d3f53ddc3759a93246147c91b396a52ccc1c
+MISC ChangeLog 328 SHA256 a5c525133dfcbb79c41798c005650ccfefaae190aa8b6ece71aef6629cb22abf SHA512 5cd736549c704446f191046c96abcd7780ff19c458fd4958ba5a1982caa3f6ed159f95f6ad1b7084f2a18e907369b3e11a4ba40a8f75269c2f0e5313a09cde54 WHIRLPOOL 1ce6256e53c1e08a3c23693bf400aa134af55e6928c95944b06a7691b9395fda2ba4194c4a63171af85bf6c45d4a9b4cfac7ef781edc1927ec1b04d7981252dc
+MISC metadata.xml 693 SHA256 3c2629f6f35081fe66023f3c4ff26b32650823b35056d1e0bb103daa98c1c632 SHA512 de75131c56bee1d6a6f59256e11b464092598e13b02032573970302c14cc7233aff1431e12893d451914d5a71d27fa27c4f3591794d84f4b15ab08d6189d66d3 WHIRLPOOL 35c2bd79d3ee023155aa617f0345871ff6c3d3858fbd65e72cba4bae0f4d5d8ccfc7085ac4d38dac602be446daa69715cbab53e4f07f71089d0bbe7769db4d58
diff --git a/mail-filter/sigh/files/sigh.initd b/mail-filter/sigh/files/sigh.initd
new file mode 100755
index 000000000000..8fe64679bab1
--- /dev/null
+++ b/mail-filter/sigh/files/sigh.initd
@@ -0,0 +1,22 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 000000000000..f01f34351493
--- /dev/null
+++ b/mail-filter/sigh/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>c@roessner.co</email>
+ <name>Christian Roessner</name>
+ <description>Proxied maintainer; set to assignee in all bugs</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>mschiff@gentoo.org</email>
+ <name>Marc Schiffbauer</name>
+ <description>Proxy maintainer; CC him on bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">croessner/sigh</remote-id>
+ </upstream>
+</pkgmetadata>
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 000000000000..04b2490222d7
--- /dev/null
+++ b/mail-filter/sigh/sigh-1607.1.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 -> ${P}.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}
+}