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
+18
View File
@@ -0,0 +1,18 @@
distribute - reforward incoming messages to a mailing list
Distribute takes as its standard input a mail message, modifies
the header (and optionally the body) of that message, then invokes
sendmail to send the message to the specified recipients. It is
primarily useful for those who run large mailing lists.
Distribute does not include membership management. It only does the
rewrite and dispatch of the mailng list emails.
Use majordomo (ports/mail/majordomo) for membership management.
Facilities include:
Article numbering
Subject rewrite to Subject: (mailing-list 1234)
Proper handling of error related headers
Reply-to rewrite/insertion if necessery
Archiving
membership file from Majordomo's configuration directory
+60
View File
@@ -0,0 +1,60 @@
# $NetBSD: Makefile,v 1.27 2013/05/31 12:41:13 wiz Exp $
DISTNAME= distribute-2.1-pl19
PKGNAME= distribute-2.1.26
PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.foretune.co.jp/pub/network/mail/distribute/
# AWOL
PATCH_SITES= ftp://ftp.foretune.co.jp/pub/network/mail/distribute/BETA/
PATCHFILES= patch.20.gz patch.21e.gz patch.22e.gz patch.23e.gz \
patch.24e.gz patch.25e.gz patch.26e.gz
MAINTAINER= pkgsrc-users@NetBSD.org
# in japanese
# HOMEPAGE= http://www.foretune.co.jp/people/shigeya/distribute/
# AWOL
COMMENT= Mail dispatcher for mailing list. Fits nicely with majordomo
INSTALLATION_DIRS= libexec ${PKGMANDIR}/man1
WRKSRC= ${WRKDIR}/distribute-pl19
USE_TOOLS+= perl:run
MAN1= distribute.1
DIST_SUBDIR= distribute
PATCH_DIST_STRIP= -p1
# customize below if you would like to
# this needs to be the same as majordomo uses
MAJORDOMO_HOMEDIR?= ${VARBASE}/majordomo
MAJORDOMO_LIST_DIR= ${MAJORDOMO_HOMEDIR}/lists
# just as example, you may disagree with these
MAILINGLIST_DIR= /var/mail-list
ARCHIVE_DIR= /var/spool/mail-list
DEF_DOMAINNAME?= your.domain.here
MAKE_ENV+= DEFAULTCONFIG='-DDEF_SEQ_PATH="\"${MAILINGLIST_DIR}\"" \
-DDEF_RECIPIENT_PATH="\"${MAILINGLIST_DIR}\"" \
-DDEF_MAJORDOMO_RECIPIENT_PATH="\"${MAJORDOMO_LIST_DIR}\"" \
-DDEF_DOMAINNAME="\"${DEF_DOMAINNAME}\"" \
-DDEF_ARCHIVE_PATH="\"${ARCHIVE_DIR}\""' \
INSTALL=${INSTALL:Q} \
INSTALL_MAN=${INSTALL_MAN:Q}
pre-build:
${TOUCH} ${WRKSRC}/logging.h ${WRKSRC}/strsep.c
post-build: mmessage
post-install: mmessage
mmessage::
@${ECHO} "===> distribute was compiled with the following configuration:"
@${ECHO} " membership file directory: ${MAILINGLIST_DIR}"
@${ECHO} " membership file directory: ${MAJORDOMO_LIST_DIR} (for majordomo)"
@${ECHO} " archiving directory: ${ARCHIVE_DIR}"
@${ECHO} " if necessary, override them and perform compilation again."
@${ECHO} " there's no way to override them at runtime."
.include "../../devel/sysexits/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+4
View File
@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:59:48 zuntum Exp $
libexec/distribute
libexec/archive
man/man1/distribute.1
+29
View File
@@ -0,0 +1,29 @@
$NetBSD: distinfo,v 1.5 2010/02/14 17:56:14 joerg Exp $
SHA1 (distribute/distribute-2.1-pl19.tar.gz) = f33f63d42d0233eceec759dc0378a914087c0344
RMD160 (distribute/distribute-2.1-pl19.tar.gz) = 5ffb23682176a86291eb5374ea98c9c5d002947d
Size (distribute/distribute-2.1-pl19.tar.gz) = 45002 bytes
SHA1 (distribute/patch.20.gz) = 0eb8add5f34f6e7cf88c140bbcfb61a0620d20de
RMD160 (distribute/patch.20.gz) = c4b488a9070d27ffa83738400e9c48d53eb8a9a3
Size (distribute/patch.20.gz) = 5664 bytes
SHA1 (distribute/patch.21e.gz) = ac5c073c09ba157a84b23fd729b0e34ec2988f05
RMD160 (distribute/patch.21e.gz) = bf5637551ce688e6d054e5e13e036b9377165d51
Size (distribute/patch.21e.gz) = 8356 bytes
SHA1 (distribute/patch.22e.gz) = d6b3f58ec7998374f4c022d2bfe53a655c2853c9
RMD160 (distribute/patch.22e.gz) = 1e40e3e111671d2d4d74f2a08f972f012a865396
Size (distribute/patch.22e.gz) = 9842 bytes
SHA1 (distribute/patch.23e.gz) = 323733c0c83c452fcf940ee1b862edbed49887b7
RMD160 (distribute/patch.23e.gz) = 21de37c8c34d40607cc2e9d9f27cb03985accdff
Size (distribute/patch.23e.gz) = 2570 bytes
SHA1 (distribute/patch.24e.gz) = 54a098e9806e7bc1351722760d443a6b97877ef5
RMD160 (distribute/patch.24e.gz) = 378445e45a521cdb3bcc73ced1120714326723c1
Size (distribute/patch.24e.gz) = 1564 bytes
SHA1 (distribute/patch.25e.gz) = 942cab4cf4f69de2a84eb7f3f73da758ddb84cc0
RMD160 (distribute/patch.25e.gz) = cfbfb48d827dec7a8e79ce0eb142e64c4b50fa41
Size (distribute/patch.25e.gz) = 7374 bytes
SHA1 (distribute/patch.26e.gz) = e52ac9428e438610b9dd8182212fe78ded909f0a
RMD160 (distribute/patch.26e.gz) = 2d4c7d0f4bed7c420a32ae7d2ffe999906d3f5cc
Size (distribute/patch.26e.gz) = 12560 bytes
SHA1 (patch-aa) = 6c23421d76b166acffc782271f37e405b45617ed
SHA1 (patch-ab) = 4c07a6ae9bb1e9dacd33db96624d2c2fefbb9240
SHA1 (patch-ac) = 75a3956d6e7b53473eb0a3ad62b4ce261ccc8bf6
+47
View File
@@ -0,0 +1,47 @@
$NetBSD: patch-aa,v 1.3 2010/02/14 17:56:14 joerg Exp $
--- Makefile.orig 2010-02-14 17:50:30.000000000 +0000
+++ Makefile
@@ -28,7 +28,8 @@ RCONFIG=-DRELEASESTATE=\"Alpha1\"
# -DLOGDEBUG LOGGING DEBUG
#
OPTIONS= -DSYSLOG -DISSUE -DSUBJALIAS -DADDVERSION \
- -DSYSLOG_FACILITY=LOG_LOCAL4 -DCCMAIL -DUSEMIMEKIT
+ -DSYSLOG_FACILITY=LOG_LOCAL4 -DCCMAIL
+#OPTIONS+= -DMIMEKIT
#
# DEFAULT parameters -- YOU SHOULD EDIT THESE
@@ -71,7 +72,7 @@ OPTIONS= -DSYSLOG -DISSUE -DSUBJALIAS -D
#
# External Library -- you should change this if mimekit is in different loc.
#
-MIMELIB = -L/usr/local/lib -lmimekit
+#MIMELIB = -L/usr/local/lib -lmimekit
#
DESTDIR=
@@ -84,7 +85,7 @@ MAKE= make
CC= ${PURIFY} ${PURIFYOPTS} gcc
#-D__USE_FIXED_PROTOTYPES__
-PREFIX= /usr/local
+PREFIX?= /usr/pkg
WHERE= ${PREFIX}/libexec
MANDIR= ${PREFIX}/man
MANSEC= 1
@@ -140,11 +141,11 @@ xarchive: ${AOBJS}
@size xarchive
install: xdistribute distribute.1 xarchive
- ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 511 xdistribute \
+ ${BSD_INSTALL_PROGRAM} xdistribute \
${DESTDIR}${WHERE}/distribute
- ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 511 xarchive \
+ ${BSD_INSTALL_PROGRAM} xarchive \
${DESTDIR}${WHERE}/archive
- ${INSTALL} -m 444 distribute.1 \
+ ${BSD_INSTALL_MAN} distribute.1 \
${DESTDIR}${MANDIR}/man${MANSEC}/distribute.${MANSEC}
testinst: xdistribute xarchive
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.3 2000/02/13 19:39:51 fredb Exp $
--- config.h.orig Sun Sep 14 09:25:53 1997
+++ config.h Sun Sep 14 09:26:01 1997
@@ -97,8 +97,10 @@
* this default should be set to 'goold-old-time' default value.
*/
+#if 0
#ifndef _PATH_SENDMAIL
# define _PATH_SENDMAIL "/usr/lib/sendmail" /* default */
+#endif
#endif
#endif
+14
View File
@@ -0,0 +1,14 @@
$NetBSD: patch-ac,v 1.4 2006/01/08 15:44:06 joerg Exp $
--- distribute.c.orig 2006-01-08 15:39:24.000000000 +0000
+++ distribute.c
@@ -49,7 +49,8 @@
#define index strchr
#endif
-#if defined(__bsdi__) /* may be wrong -- we need to use NET/2 def.*/
+/* may be wrong -- we need to use NET/2 def.*/
+#if defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
# include <paths.h> /* for sendmail path */
#endif