pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sendmail Handle installation of PREFIX/share/send...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a414639d2b2
branches:  trunk
changeset: 476931:8a414639d2b2
user:      cjep <cjep%pkgsrc.org@localhost>
date:      Wed Jun 23 11:02:02 2004 +0000

description:
Handle installation of PREFIX/share/sendmail better. Fixes PR#23735

diffstat:

 mail/sendmail/Makefile |  5 +++--
 mail/sendmail/PLIST    |  4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r fc5d116daf1b -r 8a414639d2b2 mail/sendmail/Makefile
--- a/mail/sendmail/Makefile    Wed Jun 23 08:46:46 2004 +0000
+++ b/mail/sendmail/Makefile    Wed Jun 23 11:02:02 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2004/05/09 21:14:43 snj Exp $
+# $NetBSD: Makefile,v 1.71 2004/06/23 11:02:02 cjep Exp $
 
 .include "../../mail/sendmail/Makefile.common"
 
@@ -90,8 +90,9 @@
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sendmail
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/sendmail
        ${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/share/examples/sendmail/mailer.conf
-       ${CP} -pr ${WRKSRC}/cf ${PREFIX}/share/sendmail
+       cd ${WRKSRC}/cf && ${PAX} -rw -pp -pm . ${PREFIX}/share/sendmail
        ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/sendmail
 .if ${USE_DB2} == YES
        ${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE}
diff -r fc5d116daf1b -r 8a414639d2b2 mail/sendmail/PLIST
--- a/mail/sendmail/PLIST       Wed Jun 23 08:46:46 2004 +0000
+++ b/mail/sendmail/PLIST       Wed Jun 23 11:02:02 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2003/09/15 11:59:12 markd Exp $
+@comment $NetBSD: PLIST,v 1.7 2004/06/23 11:02:02 cjep Exp $
 bin/hoststat
 bin/mailq
 bin/newaliases
@@ -210,6 +210,6 @@
 @dirrm share/sendmail/hack
 @dirrm share/sendmail/feature
 @dirrm share/sendmail/domain
-@unexec ${RM} -rf %D/share/sendmail/cf
+@dirrm share/sendmail/cf
 @dirrm share/sendmail
 @dirrm share/examples/sendmail



Home | Main Index | Thread Index | Old Index