pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/ssmtp Fix DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/039f129734b6
branches:  trunk
changeset: 554076:039f129734b6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Feb 07 23:21:05 2009 +0000

description:
Fix DESTDIR support.

diffstat:

 mail/ssmtp/Makefile         |   4 +++-
 mail/ssmtp/distinfo         |   4 ++--
 mail/ssmtp/patches/patch-ac |  12 +++++++-----
 3 files changed, 12 insertions(+), 8 deletions(-)

diffs (64 lines):

diff -r 4d3f4d3f6420 -r 039f129734b6 mail/ssmtp/Makefile
--- a/mail/ssmtp/Makefile       Sat Feb 07 23:06:51 2009 +0000
+++ b/mail/ssmtp/Makefile       Sat Feb 07 23:21:05 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2008/11/16 13:54:12 tron Exp $
+# $NetBSD: Makefile,v 1.22 2009/02/07 23:21:05 joerg Exp $
 #
 # TLS functionality needs testing. Please let me know the result,
 # and preferably info about your system.
@@ -30,6 +30,8 @@
 CONF_FILES=    ${EGDIR}/ssmtp.conf ${PKG_SYSCONFDIR}/ssmtp.conf
 CONF_FILES+=   ${EGDIR}/revaliases ${PKG_SYSCONFDIR}/revaliases
 
+MAKE_DIRS+=            ${PKG_SYSCONFDIR}
+
 SUBST_CLASSES+=                paths
 SUBST_FILES.paths=     ${WRKDIR}/mailer.conf ssmtp.c ssmtp.conf ssmtp.8
 SUBST_SED.paths+=      -e 's,@PREFIX@,${PREFIX},g'
diff -r 4d3f4d3f6420 -r 039f129734b6 mail/ssmtp/distinfo
--- a/mail/ssmtp/distinfo       Sat Feb 07 23:06:51 2009 +0000
+++ b/mail/ssmtp/distinfo       Sat Feb 07 23:21:05 2009 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 09:59:29 agc Exp $
+$NetBSD: distinfo,v 1.5 2009/02/07 23:21:05 joerg Exp $
 
 SHA1 (ssmtp_2.61.orig.tar.gz) = bc4b6c20bf8c2c9e66b359e3c24545a2615a1988
 RMD160 (ssmtp_2.61.orig.tar.gz) = da76ee6dd86fc663e6fd69fcb2fb5f550f716de7
 Size (ssmtp_2.61.orig.tar.gz) = 53341 bytes
 SHA1 (patch-aa) = 73681fd5585fe520fb9620e2f8358c41ad42cfd8
 SHA1 (patch-ab) = fd4fb2e5baeacd9f1e60c04cd6c4229c39fa2641
-SHA1 (patch-ac) = c42d3fbfc3054cd1cc730c9fdde57f2d9498bcb4
+SHA1 (patch-ac) = 4deb9edcd201d0d5e6144dc9fa6a1b13c77c6cde
 SHA1 (patch-ad) = 92c666b84e8fa20103103f6d24f887a587d57a4c
 SHA1 (patch-ae) = ef626358229731e6afff2e194928780e5fc908a3
diff -r 4d3f4d3f6420 -r 039f129734b6 mail/ssmtp/patches/patch-ac
--- a/mail/ssmtp/patches/patch-ac       Sat Feb 07 23:06:51 2009 +0000
+++ b/mail/ssmtp/patches/patch-ac       Sat Feb 07 23:21:05 2009 +0000
@@ -1,19 +1,21 @@
-$NetBSD: patch-ac,v 1.2 2004/06/17 11:35:28 grant Exp $
+$NetBSD: patch-ac,v 1.3 2009/02/07 23:21:05 joerg Exp $
 
---- Makefile.in.orig   2002-09-27 22:32:53.000000000 +1000
+--- Makefile.in.orig   2004-07-26 07:32:18.000000000 +0200
 +++ Makefile.in
-@@ -50,8 +50,8 @@ install: ssmtp $(GEN_CONFIG)
+@@ -50,9 +50,9 @@ install: ssmtp $(GEN_CONFIG)
+       $(INSTALL) -s -m 755 ssmtp $(bindir)/ssmtp
        $(INSTALL) -d -m 755 $(mandir)
        $(INSTALL) -m 644 $(srcdir)/ssmtp.8 $(mandir)/ssmtp.8
-       $(INSTALL) -d -m 755 $(SSMTPCONFDIR)
+-      $(INSTALL) -d -m 755 $(SSMTPCONFDIR)
 -      $(INSTALL) -m 644 $(srcdir)/revaliases $(INSTALLED_REVALIASES_FILE)
 -      $(GEN_CONFIG) $(INSTALLED_CONFIGURATION_FILE)
++#     $(INSTALL) -d -m 755 $(SSMTPCONFDIR)
 +#     $(INSTALL) -m 644 $(srcdir)/revaliases $(INSTALLED_REVALIASES_FILE)
 +#     $(GEN_CONFIG) $(INSTALLED_CONFIGURATION_FILE)
  
  
  .PHONY: install-sendmail
-@@ -78,7 +78,7 @@ uninstall-sendmail: uninstall
+@@ -79,7 +79,7 @@ uninstall-sendmail: uninstall
  
  # Binaries:
  ssmtp: $(OBJS)



Home | Main Index | Thread Index | Old Index