Subject: fix for mail/sendmail
To: None <tech-pkg@NetBSD.org>
From: Chris Pinnock <cjep@NetBSD.org>
List: tech-pkg
Date: 06/22/2004 18:57:39
--54ZiyWcDhi/7bWb8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'd like to commit this to fix PR#23735. Any better ideas or objections?


Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile,v
retrieving revision 1.70
diff -u -u -r1.70 Makefile
--- Makefile	9 May 2004 21:14:43 -0000	1.70
+++ Makefile	22 Jun 2004 18:53:45 -0000
@@ -90,8 +90,9 @@
=20
 post-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sendmail
+	${INSTALL_DATA_DIR} ${PREFIX}/share/sendmail
 	${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/share/examples/s=
endmail/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} =3D=3D YES
 	${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE}
Index: PLIST
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/mail/sendmail/PLIST,v
retrieving revision 1.6
diff -u -u -r1.6 PLIST
--- PLIST	15 Sep 2003 11:59:12 -0000	1.6
+++ PLIST	22 Jun 2004 18:53:45 -0000
@@ -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
     =20
--
Chris (E3AE C99C 0E4B 89CF DDCC FFF9 9683 2D39 D426 A42C)


--54ZiyWcDhi/7bWb8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA2IEiloMtOdQmpCwRAmrWAJ9eH7Er+IS9D83mwDAm/Qb2XneKdACfYHIN
Xdg+2RicZTvL2MCQIp7VBls=
=otWs
-----END PGP SIGNATURE-----

--54ZiyWcDhi/7bWb8--