void-packages/srcpkgs/dkimproxy/template

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