New package: dkimproxy-1.4.1.

Closes: #12358 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
johannes 2018-03-10 02:33:49 +01:00 committed by Jürgen Buchmüller
parent 2dfde256bc
commit e40d9306f2
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
5 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec logger -t dkimproxy_in -p mail.info

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec chpst -u _dkim:_dkim dkimproxy.in --conf_file=/etc/dkimproxy_in.conf 2>&1

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec logger -t dkimproxy_out -p mail.info

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec chpst -u _dkim:_dkim dkimproxy.out --conf_file=/etc/dkimproxy_out.conf 2>&1

View File

@ -0,0 +1,27 @@
# Template file for 'dkimproxy'
pkgname=dkimproxy
version=1.4.1
revision=1
build_style=gnu-configure
# dkimproxy is written in perl, so noarch
noarch=yes
hostmakedepends="perl perl-Net-Server perl-Mail-DKIM"
makedepends="${hostmakedepends}"
depends="${makedepends}"
system_accounts="_dkim"
conf_files="/etc/dkimproxy_in.conf /etc/dkimproxy_out.conf"
short_desc="SMTP-proxy that signs and/or verifies emails, using DKIM"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="GPL-3"
homepage="http://dkimproxy.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/dkimproxy/dkimproxy-${version}.tar.gz"
checksum=e5345a1d3cefd32d1fb0face9fa73490118132767253b0ce643463f1e86185bd
post_install() {
vsconf ${DESTDIR}/etc/dkimproxy_in.conf.example
vsconf ${DESTDIR}/etc/dkimproxy_out.conf.example
mv ${DESTDIR}/etc/dkimproxy_in.conf.example ${DESTDIR}/etc/dkimproxy_in.conf
mv ${DESTDIR}/etc/dkimproxy_out.conf.example ${DESTDIR}/etc/dkimproxy_out.conf
vsv dkimproxy_in
vsv dkimproxy_out
}