summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortv <tv>1999-04-30 17:07:11 +0000
committertv <tv>1999-04-30 17:07:11 +0000
commit55e0c0cb00fde2dd81c4144b13b5560459c006e0 (patch)
tree2ed29d1a045b35c030c3722dfff87781e818abe7 /mail
parent5f5f29be7b0d09e5c05de452bff354a363b1395d (diff)
downloadpkgsrc-55e0c0cb00fde2dd81c4144b13b5560459c006e0.tar.gz
Move /usr/sbin/makemap to /usr/sbin/makemap.8.8 while the pkg is
installed, since the DB formats are radically different.
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail/Makefile3
-rw-r--r--mail/sendmail/pkg/PLIST4
2 files changed, 5 insertions, 2 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 8a67b542b85..dd20d0ed98c 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1999/04/10 17:22:43 tron Exp $
+# $NetBSD: Makefile,v 1.4 1999/04/30 17:07:11 tv Exp $
DISTNAME= sendmail.8.9.3
PKGNAME= sendmail-8.9.3
@@ -35,5 +35,6 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/etc
${CP} -pr ${WRKSRC}/cf ${PREFIX}/share/sendmail
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/sendmail
+ ${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE}
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/sendmail/pkg/PLIST b/mail/sendmail/pkg/PLIST
index 3e17e602f60..9f7763df524 100644
--- a/mail/sendmail/pkg/PLIST
+++ b/mail/sendmail/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 1999/04/10 16:41:22 tron Exp $
+@comment $NetBSD: PLIST,v 1.3 1999/04/30 17:07:11 tv Exp $
bin/newaliases
bin/mailq
bin/hoststat
@@ -172,3 +172,5 @@ share/sendmail/README
@dirrm share/sendmail/domain
@unexec rm -rf %D/share/sendmail/cf
@dirrm share/sendmail
+@exec mv -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || true
+@unexec mv -f /usr/sbin/makemap.8.8 /usr/sbin/makemap || true