Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

16
mail/bulk_mailer/DESCR Normal file
View File

@@ -0,0 +1,16 @@
bulk_mailer assists with "bulk" mailing, such as large majordomo
lists under sendmail. For input, it takes a file of recipient
addresses (one address per line) and a message (with headers already
attached) to be sent to the recipients. It sorts the recipient
list by reversed domain (so similar ones sort together), splits up
the recipients into several groups containing no more than N domains
each, creates an SMTP envelope for each group of recipients, and
feeds that envelope to "/usr/lib/sendmail -bs".
Splitting the envelopes up allows sendmail to perform delivery in
parallel, so instead of having one large queue entry (for which
sendmail might take awhile to get around to attempting delivery
for some recipients), it has several smaller queue entries.
Depending on your point-of-view, this can still be considered
"cluttering up your mail queue", but it does seem to deliver messages
more quickly to most recipients.

26
mail/bulk_mailer/Makefile Normal file
View File

@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.11 2012/10/08 12:19:03 asau Exp $
#
DISTNAME= bulk_mailer-1.13
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://cs.utk.edu/pub/moore/bulk_mailer/
MAINTAINER= abs@NetBSD.org
COMMENT= Assist in delivery of mail to large numbers of recipients
HAS_CONFIGURE= YES
BUILD_TARGET= bulk_mailer
CPPFLAGS.SunOS+= -DPIPECOMMAND=\"/usr/sbin/sendmail -bs %s\"
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bulk_mailer \
${DESTDIR}${PREFIX}/bin/bulk_mailer
${INSTALL_MAN} ${WRKSRC}/bulk_mailer.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/bulk_mailer.1
.include "../../devel/sysexits/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

3
mail/bulk_mailer/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:59:40 zuntum Exp $
bin/bulk_mailer
man/man1/bulk_mailer.1

View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.5 2007/04/24 22:31:19 abs Exp $
SHA1 (bulk_mailer-1.13.tar.gz) = 2886641461b6702affc4624456829b5944581a35
RMD160 (bulk_mailer-1.13.tar.gz) = fc4cc57d9d13429311e2d17ca4c51c95003246c4
Size (bulk_mailer-1.13.tar.gz) = 34854 bytes
SHA1 (patch-aa) = 8cd168ec716b27b2f608076e50dab3587c618667
SHA1 (patch-ab) = d23db609f5e11df6352a4e958ae409f7ec8c0143
SHA1 (patch-ac) = 71328168aa35a3228b6eeaedfe9dfd9c3ae7dc04

View File

@@ -0,0 +1,29 @@
$NetBSD: patch-aa,v 1.2 2007/04/24 22:31:19 abs Exp $
--- bulk_mailer.c.orig 2000-05-24 19:34:33.000000000 +0000
+++ bulk_mailer.c 2007-04-12 13:08:43.000000000 +0000
@@ -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
@@ -291,6 +291,7 @@
#endif
+#ifndef HAVE_STRNDUP
/*
* copy the first 'len' characters of a string into malloc'ed
* memory, appending a NUL to the copy.
@@ -307,6 +308,7 @@
result[len] = '\0';
return result;
}
+#endif
/*
* sort by case-folded reversed domain

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ab,v 1.1 2007/04/24 22:31:19 abs Exp $
--- configure.in.orig 1998-01-21 15:41:47.000000000 +0000
+++ configure.in 2007-04-12 13:04:55.000000000 +0000
@@ -15,6 +15,6 @@
AC_STRUCT_TM
dnl Checks for library functions.
-AC_CHECK_FUNCS(gethostname strdup strerror)
+AC_CHECK_FUNCS(gethostname strdup strndup strerror)
AC_OUTPUT(Makefile)

File diff suppressed because it is too large Load Diff