diff options
author | itojun <itojun> | 1999-12-26 17:20:31 +0000 |
---|---|---|
committer | itojun <itojun> | 1999-12-26 17:20:31 +0000 |
commit | 8f8649e804368ad932943b50064c56fd69ba25bb (patch) | |
tree | 6ccb811611e6ae56be9015d60cb4b7fc735b78da /mail/distribute | |
parent | ebd3ef68f270dd1dfcabf5b62b7af56242304633 (diff) | |
download | pkgsrc-8f8649e804368ad932943b50064c56fd69ba25bb.tar.gz |
pkgsrc for "distribute" mailing list handler.
XXX need hardcoded pathname for mailing list membership files
Diffstat (limited to 'mail/distribute')
-rw-r--r-- | mail/distribute/Makefile | 32 | ||||
-rw-r--r-- | mail/distribute/files/md5 | 4 | ||||
-rw-r--r-- | mail/distribute/files/patch-sum | 5 | ||||
-rw-r--r-- | mail/distribute/patches/patch-aa | 68 | ||||
-rw-r--r-- | mail/distribute/patches/patch-ab | 2 | ||||
-rw-r--r-- | mail/distribute/patches/patch-ac | 4 | ||||
-rw-r--r-- | mail/distribute/pkg/PLIST | 6 |
7 files changed, 63 insertions, 58 deletions
diff --git a/mail/distribute/Makefile b/mail/distribute/Makefile index 527f77c8092..41fc129e292 100644 --- a/mail/distribute/Makefile +++ b/mail/distribute/Makefile @@ -1,20 +1,19 @@ -# New ports collection makefile for: distribute -# Version required: 2.1pl24 -# Date created: 1 Oct 1997 -# Whom: itojun@itojun.org -# -# $FreeBSD: ports/mail/distribute/Makefile,v 1.3 1999/08/31 06:47:17 mharo Exp $ +# $NetBSD: Makefile,v 1.2 1999/12/26 17:20:31 itojun Exp $ +# FreeBSD: ports/mail/distribute/Makefile,v 1.2 1999/08/25 06:50:06 obrien Exp # DISTNAME= distribute-2.1-pl19 -PKGNAME= distribute-2.1.24 +PKGNAME= distribute-2.1.26 CATEGORIES= mail MASTER_SITES= ftp://ftp.foretune.co.jp/pub/network/mail/distribute/ -PATCH_SITES= ${MASTER_SITES}BETA/ -PATCHFILES= patch.20.gz patch.21e.gz patch.22e.gz patch.23e.gz patch.24e.gz +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= kuriyama@FreeBSD.org +MAINTAINER= itojun@itojun.org +# in japanese +HOMEPAGE= http://www.foretune.co.jp/distribute/ WRKSRC= ${WRKDIR}/distribute-pl19 MAN1= distribute.1 @@ -23,11 +22,13 @@ DIST_SUBDIR= distribute IS_INTERACTIVE= YES # customize below if you would like to -MAILINGLIST_DIR= ${PREFIX}/majordomo/lists -MAJORDOMO_DIR= ${PREFIX}/majordomo # mail/majordomo likes this +# mail/majordomo likes this +MAJORDOMO_DIR= /home/majordom MAJORDOMO_LIST_DIR= ${MAJORDOMO_DIR}/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 +DEF_DOMAINNAME?= your.domain.here MAKE_ENV+= DEFAULTCONFIG="-DDEF_SEQ_PATH=\\\"$(MAILINGLIST_DIR)\\\" \ -DDEF_RECIPIENT_PATH=\\\"$(MAILINGLIST_DIR)\\\" \ @@ -37,6 +38,9 @@ MAKE_ENV+= DEFAULTCONFIG="-DDEF_SEQ_PATH=\\\"$(MAILINGLIST_DIR)\\\" \ INSTALL="${INSTALL}" \ INSTALL_MAN="${INSTALL_MAN}" +pre-build: + ${TOUCH} ${WRKSRC}/logging.h ${WRKSRC}/strsep.c + post-build: message post-install: message message:: @@ -47,4 +51,4 @@ message:: @${ECHO} " if necessery, override them and perform compilation again." @${ECHO} " there's no way to override them at runtime." -.include <bsd.port.mk> +.include "../../mk/bsd.pkg.mk" diff --git a/mail/distribute/files/md5 b/mail/distribute/files/md5 index 9c5912eec72..56225d0dde4 100644 --- a/mail/distribute/files/md5 +++ b/mail/distribute/files/md5 @@ -1,6 +1,10 @@ +$NetBSD: md5,v 1.2 1999/12/26 17:20:32 itojun Exp $ + MD5 (distribute/distribute-2.1-pl19.tar.gz) = 8f37899f0101423dba732718da64d97c MD5 (distribute/patch.20.gz) = c530466c690baf410ec50b014c3d3aa6 MD5 (distribute/patch.21e.gz) = e9465e3a1f34d9fd6a5d40704024e3a7 MD5 (distribute/patch.22e.gz) = 44e86eed0bb78522a2a5eab0dc8cb1dd MD5 (distribute/patch.23e.gz) = fb7043530b09b391568ee72f36cba2c0 MD5 (distribute/patch.24e.gz) = 078daebdd79c62374f6c20c76a7c0c97 +MD5 (distribute/patch.25e.gz) = 5ebd709e50301105d613a1fd36f32464 +MD5 (distribute/patch.26e.gz) = d9ab9c605893c35d3f39b8beae9a9520 diff --git a/mail/distribute/files/patch-sum b/mail/distribute/files/patch-sum new file mode 100644 index 00000000000..7405972a4de --- /dev/null +++ b/mail/distribute/files/patch-sum @@ -0,0 +1,5 @@ +$NetBSD: patch-sum,v 1.1 1999/12/26 17:20:32 itojun Exp $ + +MD5 (patch-aa) = cf2d5af6a46bc9cac42ffed94708102a +MD5 (patch-ab) = 29b23b0227d6f7f9d516674a0a82f541 +MD5 (patch-ac) = ced4a788af0ac7166fb1a6e68b648134 diff --git a/mail/distribute/patches/patch-aa b/mail/distribute/patches/patch-aa index 117a4d620a5..b6a44696cdb 100644 --- a/mail/distribute/patches/patch-aa +++ b/mail/distribute/patches/patch-aa @@ -1,46 +1,32 @@ ---- Makefile.orig Thu Oct 2 01:18:07 1997 -+++ Makefile Thu Oct 2 01:21:10 1997 -@@ -66,7 +66,7 @@ - ## -DDEF_ALIAS_CHAR_OPTION=\"b\" +$NetBSD: patch-aa,v 1.2 1999/12/26 17:20:33 itojun Exp $ + +--- Makefile.orig Mon Dec 27 00:23:29 1999 ++++ Makefile Mon Dec 27 00:24:57 1999 +@@ -28,7 +28,8 @@ + # -DLOGDEBUG LOGGING DEBUG + # + OPTIONS= -DSYSLOG -DISSUE -DSUBJALIAS -DADDVERSION \ +- -DSYSLOG_FACILITY=LOG_LOCAL4 -DCCMAIL -DUSEMIMEKIT ++ -DSYSLOG_FACILITY=LOG_LOCAL4 -DCCMAIL ++#OPTIONS+= -DMIMEKIT # --DESTDIR= -+DESTDIR= ${PREFIX} + # DEFAULT parameters -- YOU SHOULD EDIT THESE +@@ -71,7 +72,7 @@ # - CFLAGS= -g ${OPTIONS} ${DEFAULTCONFIG} ${RCONFIG} - # -Wall -@@ -75,8 +75,8 @@ - MAKE= make - CC= ${PURIFY} ${PURIFYOPTS} cc - --WHERE= /usr/local/libexec --MANDIR= /usr/local/man -+WHERE= /sbin -+MANDIR= /man - MANSEC= 1 - - # Install as -@@ -84,7 +84,7 @@ - GROUP= daemon - - # install --INSTALL= install -c -+#INSTALL= install -c - - # perl - PERL=perl -@@ -130,11 +130,11 @@ - @size xarchive + # External Library -- you should change this if mimekit is in different loc. + # +-MIMELIB = -L/usr/local/lib -lmimekit ++#MIMELIB = -L/usr/local/lib -lmimekit - install: xdistribute distribute.1 xarchive -- ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 511 xdistribute \ -+ ${INSTALL} -c -s -o ${OWNER} -g ${GROUP} -m 511 xdistribute \ - ${DESTDIR}${WHERE}/distribute -- ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 511 xarchive \ -+ ${INSTALL} -c -s -o ${OWNER} -g ${GROUP} -m 511 xarchive \ - ${DESTDIR}${WHERE}/archive -- ${INSTALL} -m 444 distribute.1 \ -+ ${INSTALL_MAN} distribute.1 \ - ${DESTDIR}${MANDIR}/man${MANSEC}/distribute.${MANSEC} + # + DESTDIR= +@@ -84,7 +85,7 @@ + CC= ${PURIFY} ${PURIFYOPTS} gcc + #-D__USE_FIXED_PROTOTYPES__ - testinst: xdistribute xarchive +-PREFIX= /usr/local ++PREFIX?= /usr/pkg + WHERE= ${PREFIX}/libexec + MANDIR= ${PREFIX}/man + MANSEC= 1 diff --git a/mail/distribute/patches/patch-ab b/mail/distribute/patches/patch-ab index b975cd33d42..eccdf1b9525 100644 --- a/mail/distribute/patches/patch-ab +++ b/mail/distribute/patches/patch-ab @@ -1,3 +1,5 @@ +$NetBSD: patch-ab,v 1.2 1999/12/26 17:20:33 itojun Exp $ + --- config.h.orig Sun Sep 14 09:25:53 1997 +++ config.h Sun Sep 14 09:26:01 1997 @@ -86,6 +86,8 @@ diff --git a/mail/distribute/patches/patch-ac b/mail/distribute/patches/patch-ac index 07c9d893eb6..1ea1f36e72b 100644 --- a/mail/distribute/patches/patch-ac +++ b/mail/distribute/patches/patch-ac @@ -1,3 +1,5 @@ +$NetBSD: patch-ac,v 1.2 1999/12/26 17:20:33 itojun Exp $ + --- distribute.c.orig Sun Sep 14 09:26:57 1997 +++ distribute.c Sun Sep 14 09:27:09 1997 @@ -37,7 +37,8 @@ @@ -6,7 +8,7 @@ -#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__) ++#if defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__) # include <paths.h> /* for sendmail path */ #endif diff --git a/mail/distribute/pkg/PLIST b/mail/distribute/pkg/PLIST index 60133173885..01cba2054df 100644 --- a/mail/distribute/pkg/PLIST +++ b/mail/distribute/pkg/PLIST @@ -1,2 +1,4 @@ -sbin/distribute -sbin/archive +@comment $NetBSD: PLIST,v 1.2 1999/12/26 17:20:33 itojun Exp $ +libexec/distribute +libexec/archive +man/man1/distribute.1 |