summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2024-06-29 17:50:26 +0200
committerCédric Krier <cedk@gentoo.org>2024-06-29 17:50:26 +0200
commit04cef4238e73c0b9a2548967060060ae21cc2765 (patch)
tree2dbe6d8b14df986d665b1f1c07582a37820551f8 /mail-filter
parentmail-filter/libopensmtpd: new package, add 0.7 (diff)
downloadgentoo-04cef4238e73c0b9a2548967060060ae21cc2765.tar.gz
gentoo-04cef4238e73c0b9a2548967060060ae21cc2765.tar.bz2
gentoo-04cef4238e73c0b9a2548967060060ae21cc2765.zip
mail-filter/opensmtpd-filter-dkimsign: new package, add 0.6
Signed-off-by: Cédric Krier <cedk@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/opensmtpd-filter-dkimsign/Manifest1
-rw-r--r--mail-filter/opensmtpd-filter-dkimsign/metadata.xml8
-rw-r--r--mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6.ebuild34
3 files changed, 43 insertions, 0 deletions
diff --git a/mail-filter/opensmtpd-filter-dkimsign/Manifest b/mail-filter/opensmtpd-filter-dkimsign/Manifest
new file mode 100644
index 000000000000..48878c12c4ce
--- /dev/null
+++ b/mail-filter/opensmtpd-filter-dkimsign/Manifest
@@ -0,0 +1 @@
+DIST opensmtpd-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 000000000000..9b163b333228
--- /dev/null
+++ b/mail-filter/opensmtpd-filter-dkimsign/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cedk@gentoo.org</email>
+ <name>Cédric Krier</name>
+ </maintainer>
+</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 000000000000..21146401a432
--- /dev/null
+++ b/mail-filter/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign-0.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="OpenSMTPD filter for signing mail with DKIM"
+HOMEPAGE="https://imperialat.at/dev/filter-dkimsign/"
+SRC_URI="https://imperialat.at/releases/filter-dkimsign-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ mail-filter/libopensmtpd
+ dev-libs/openssl
+ "
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S=${WORKDIR}/${P#opensmtpd-}
+
+src_prepare() {
+ mv -f Makefile.gnu Makefile
+ eapply_user
+}
+
+src_compile() {
+ emake LIBCRYPTOPC="libcrypto"
+}
+
+src_install() {
+ emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" MANFORMAT="man" install
+}