opensmtpd: Add legacy symlink /usr/sbin/sendmail

This commit is contained in:
Christian Neukirchen 2014-08-03 17:31:58 +02:00
parent ab013632e4
commit afba981ada
1 changed files with 4 additions and 1 deletions

View File

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