From afba981ada0c86a8b66662eec855b5787ede7795 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 3 Aug 2014 17:31:58 +0200 Subject: [PATCH] opensmtpd: Add legacy symlink /usr/sbin/sendmail --- srcpkgs/opensmtpd/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/opensmtpd/template b/srcpkgs/opensmtpd/template index 6f674f6b0b8..453e052132b 100644 --- a/srcpkgs/opensmtpd/template +++ b/srcpkgs/opensmtpd/template @@ -1,7 +1,7 @@ # Template file for 'opensmtpd' pkgname=opensmtpd version=5.4.2p1 -revision=3 +revision=4 build_style=gnu-configure configure_args="--sysconfdir=/etc/smtpd --sbindir=/usr/bin --with-maildir=/var/spool/mail --with-privsep-path=/var/db @@ -37,4 +37,7 @@ post_install() { vinstall ${FILESDIR}/smtpd.service 644 usr/lib/systemd/system vinstall ${FILESDIR}/smtpd.socket 644 usr/lib/systemd/system vinstall /dev/null 644 etc/smtpd aliases + + vmkdir usr/sbin + ln -s /usr/bin/sendmail ${DESTDIR}/usr/sbin/sendmail }