void-packages/srcpkgs/dkimproxy/template
johannes e40d9306f2
New package: dkimproxy-1.4.1.
Closes: #12358 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-07 02:01:11 +02:00

27 lines
993 B
Bash

# 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
}