contrib/dma/Pkgfile

31 lines
752 B
Plaintext
Raw Normal View History

2020-12-30 22:27:06 +01:00
# Description: DragonFly Mail Agent, a local MTA (not listening, but sending)
# URL: https://github.com/corecode/dma
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
# Depends on: openssl
name=dma
2021-01-02 22:52:32 +01:00
version=20201022
gitver=a9f892c0b161531548223cd1159d2adbf7e02e0a
release=2
source=(
https://github.com/corecode/${name}/archive/\
${gitver}/${name}-${version}.tar.gz
pre-install post-install README
)
2020-12-30 22:27:06 +01:00
build() {
cd ${name}-${gitver}
2020-12-30 22:27:06 +01:00
make PREFIX=/usr LIBEXEC=/usr/lib/dma CONFDIR=/usr/etc/ \
DESTDIR="${PKG}" \
2020-12-30 22:27:06 +01:00
all install install-etc
ln -s -f dma "${PKG}"/usr/sbin/sendmail
2020-12-30 22:27:06 +01:00
mkdir -p "${PKG}"/var/spool/dma
chown root:mail "${PKG}"/var/spool/dma
chmod 2770 "${PKG}"/var/spool/dma
2020-12-30 22:27:06 +01:00
}
# s-sh-mode