summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2004-06-08 10:57:42 +0000
committercjep <cjep@pkgsrc.org>2004-06-08 10:57:42 +0000
commit033d0f34caa9e26fcf65bcbd100e00724250b0f1 (patch)
treeb55adacfc6a8a2742040034ec3a3701630013217 /mail
parenta70b31e19542f7261da169faceaabcacf8b51a2b (diff)
downloadpkgsrc-033d0f34caa9e26fcf65bcbd100e00724250b0f1.tar.gz
Use /usr/sbin/sendmail as default sendmail. For Solaris, use
/usr/lib/sendmail. Looked at by abs@ (maintainer). Fixes PR#24152.
Diffstat (limited to 'mail')
-rw-r--r--mail/bulk_mailer/Makefile4
-rw-r--r--mail/bulk_mailer/distinfo3
-rw-r--r--mail/bulk_mailer/patches/patch-aa13
3 files changed, 18 insertions, 2 deletions
diff --git a/mail/bulk_mailer/Makefile b/mail/bulk_mailer/Makefile
index 92d24f559b8..dc4c1f3023a 100644
--- a/mail/bulk_mailer/Makefile
+++ b/mail/bulk_mailer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/07/17 21:45:45 grant Exp $
+# $NetBSD: Makefile,v 1.4 2004/06/08 10:57:42 cjep Exp $
#
DISTNAME= bulk_mailer-1.13
@@ -11,6 +11,8 @@ COMMENT= Assist in delivery of mail to large numbers of recipients
HAS_CONFIGURE= YES
ALL_TARGET= bulk_mailer
+CPPFLAGS.SunOS+= -DPIPECOMMAND=\"/usr/sbin/sendmail -bs %s\"
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bulk_mailer ${PREFIX}/bin/bulk_mailer
${INSTALL_MAN} ${WRKSRC}/bulk_mailer.1 ${PREFIX}/man/man1/bulk_mailer.1
diff --git a/mail/bulk_mailer/distinfo b/mail/bulk_mailer/distinfo
index 6aa8b3ddade..dadc8bc3720 100644
--- a/mail/bulk_mailer/distinfo
+++ b/mail/bulk_mailer/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 13:09:55 agc Exp $
+$NetBSD: distinfo,v 1.3 2004/06/08 10:57:42 cjep Exp $
SHA1 (bulk_mailer-1.13.tar.gz) = 2886641461b6702affc4624456829b5944581a35
Size (bulk_mailer-1.13.tar.gz) = 34854 bytes
+SHA1 (patch-aa) = d4f8142c33df51ea0ede408defa039697a4ec10d
diff --git a/mail/bulk_mailer/patches/patch-aa b/mail/bulk_mailer/patches/patch-aa
new file mode 100644
index 00000000000..b58f9e6e90e
--- /dev/null
+++ b/mail/bulk_mailer/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2004/06/08 10:57:42 cjep Exp $
+
+--- bulk_mailer.c.orig 2000-05-24 20:34:33.000000000 +0100
++++ bulk_mailer.c
+@@ -101,7 +101,7 @@
+ #include "patchlevel.h"
+
+ #ifndef PIPECOMMAND
+-#define PIPECOMMAND "/usr/lib/sendmail -bs %s"
++#define PIPECOMMAND "/usr/sbin/sendmail -bs %s"
+ #endif
+
+ #ifndef HAVE_STRERROR