summaryrefslogtreecommitdiff
path: root/zdkimfilter
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-03-13 11:34:50 +0100
committerErich Eckner <git@eckner.net>2019-03-13 11:34:50 +0100
commite4d6f2b791857fe4417608b56937062ee1831818 (patch)
tree527955a5d3c22d79600dbb49454cbc5244fb7f0e /zdkimfilter
parentc8de92c528db1d44bfc73c19f9745eeced667c4c (diff)
downloadarchlinuxewe-e4d6f2b791857fe4417608b56937062ee1831818.tar.xz
zdkimfilter neu
Diffstat (limited to 'zdkimfilter')
-rw-r--r--zdkimfilter/.gitignore18
-rwxr-xr-xzdkimfilter/PKGBUILD39
2 files changed, 57 insertions, 0 deletions
diff --git a/zdkimfilter/.gitignore b/zdkimfilter/.gitignore
new file mode 100644
index 000000000..1acb4e441
--- /dev/null
+++ b/zdkimfilter/.gitignore
@@ -0,0 +1,18 @@
+*.db
+*.tar
+*.tar.sig
+*.tar.bz2
+*.tar.bz2.sig
+*.tar.xz
+*.tar.xz.sig
+*.tar.gz
+*.tar.gz.sig
+*.zip
+*.zip.sig
+*.tgz
+*.tgz.sig
+*.log
+*.asc
+src
+pkg
+trunk
diff --git a/zdkimfilter/PKGBUILD b/zdkimfilter/PKGBUILD
new file mode 100755
index 000000000..91269c749
--- /dev/null
+++ b/zdkimfilter/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+pkgname=zdkimfilter
+pkgver=1.6
+pkgrel=1
+pkgdesc="zDKIM filter for Courier-MTA using the OpenDKIM Project's library."
+arch=('i686' 'x86_64')
+url="https://git.eckner.net/Erich/${pkgname}"
+license=('GPL3')
+depends=(
+ 'courier-mta'
+ 'opendkim'
+ 'opendbx'
+ 'nettle'
+ 'libidn2'
+ 'zlib')
+backup=('etc/courier/filters/zdkimfilter.conf')
+source=(
+ "http://www.tana.it/sw/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
+)
+sha512sums=(
+ '9245efd1221fa7de7864ec04417df36a2ab1b12ba118f328dcb2f5c03abaae63354331e139eb68433e6bb7b9109f77c546177db2a8ade83a3041783203f381e6'
+ 'SKIP')
+validpgpkeys=('0A5B4BB141A53F7F55FC8CBCB6ACF44490D17C00')
+
+build() {
+
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --with-courier-version=60
+ make
+
+}
+
+package() {
+
+ cd ${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ mv "${pkgdir}/etc/courier/filters/zdkimfilter.conf"{.dist,}
+
+}