aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-11-04 23:43:01 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-11-04 23:43:08 +0500
commiteb571c173e246fac5be3bbb5d279be936d3a276a (patch)
tree3cf897e0f0165dc4731e4cbe8fc1cb2dd017dd06 /mail-filter
parentdev-libs/libopensmtpd: new package, add 0.7 (diff)
downloadguru-eb571c173e246fac5be3bbb5d279be936d3a276a.tar.gz
guru-eb571c173e246fac5be3bbb5d279be936d3a276a.tar.bz2
guru-eb571c173e246fac5be3bbb5d279be936d3a276a.zip
mail-filter/opensmtpd-filter-dkimsign: new package, add 0.6
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/opensmtpd-filter-dkimsign/Manifest1
-rw-r--r--mail-filter/opensmtpd-filter-dkimsign/metadata.xml16
-rw-r--r--mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6.ebuild46
3 files changed, 63 insertions, 0 deletions
diff --git a/mail-filter/opensmtpd-filter-dkimsign/Manifest b/mail-filter/opensmtpd-filter-dkimsign/Manifest
new file mode 100644
index 000000000..241c1abe3
--- /dev/null
+++ b/mail-filter/opensmtpd-filter-dkimsign/Manifest
@@ -0,0 +1 @@
+DIST filter-dkimsign-0.6.tar.gz 24163 BLAKE2B f82175c6140a1691f5647562619420c57923cc2deadeabc4ac4b78eeaaa9ddaf6b73635034239e148a8532f77b0422ac52d1961a4f3549b6b686698592b71ae0 SHA512 1efab386a020c6a3cbf6059ce0feea539fa62be0990fd8538c4b152fa0c302d7bfffa7c7bb74643c25e47c20250f600f1371d2725dc3178ad103ce585530c0ce
diff --git a/mail-filter/opensmtpd-filter-dkimsign/metadata.xml b/mail-filter/opensmtpd-filter-dkimsign/metadata.xml
new file mode 100644
index 000000000..e2fe48b18
--- /dev/null
+++ b/mail-filter/opensmtpd-filter-dkimsign/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>martijn@openbsd.org</email>
+ <name>Martijn van Duren</name>
+ </maintainer>
+ <use>
+ <flag name="ed25519">Enable ED25519 support</flag>
+ </use>
+</pkgmetadata>
diff --git a/mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6.ebuild b/mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6.ebuild
new file mode 100644
index 000000000..f86e8f27d
--- /dev/null
+++ b/mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P="${P#opensmtpd-}"
+DESCRIPTION="OpenSMTPD filter for DKIM signing"
+HOMEPAGE="http://imperialat.at/dev/filter-dkimsign/"
+SRC_URI="http://imperialat.at/releases/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+ed25519"
+
+DEPEND="
+ dev-libs/libopensmtpd:=
+ dev-libs/openssl:=
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ tc-export CC
+}
+
+src_compile() {
+ local myargs=(
+ MANFORMAT=mdoc
+ LIBCRYPTOPC=libcrypto
+ $(usex ed25519 HAVE_ED25519=1 '')
+ )
+ emake -f Makefile.gnu "${myargs[@]}"
+}
+
+src_install() {
+ local myargs=(
+ MANFORMAT=mdoc
+ DESTDIR="${D}"
+ LOCALBASE="${EPREFIX}"/usr
+ )
+ emake -f Makefile.gnu "${myargs[@]}" install
+}