void-packages/srcpkgs/dkimproxy/template

26 lines
951 B
Bash

# Template file for 'dkimproxy'
pkgname=dkimproxy
version=1.4.1
revision=2
build_style=gnu-configure
hostmakedepends="perl perl-Net-Server perl-Mail-DKIM"
makedepends="${hostmakedepends}"
depends="${makedepends}"
short_desc="SMTP-proxy that signs and/or verifies emails, using DKIM"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://dkimproxy.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/dkimproxy/dkimproxy-${version}.tar.gz"
checksum=e5345a1d3cefd32d1fb0face9fa73490118132767253b0ce643463f1e86185bd
system_accounts="_dkim"
conf_files="/etc/dkimproxy_in.conf /etc/dkimproxy_out.conf"
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
}