summaryrefslogtreecommitdiff
path: root/mail/distribute/patches
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>1999-12-26 17:20:31 +0000
committeritojun <itojun@pkgsrc.org>1999-12-26 17:20:31 +0000
commitba37b004983753f4f96b33f63450ffb176840999 (patch)
tree6ccb811611e6ae56be9015d60cb4b7fc735b78da /mail/distribute/patches
parent3c54ad1e74806dfa28e1f09b1f178449572ae652 (diff)
downloadpkgsrc-ba37b004983753f4f96b33f63450ffb176840999.tar.gz
pkgsrc for "distribute" mailing list handler.
XXX need hardcoded pathname for mailing list membership files
Diffstat (limited to 'mail/distribute/patches')
-rw-r--r--mail/distribute/patches/patch-aa68
-rw-r--r--mail/distribute/patches/patch-ab2
-rw-r--r--mail/distribute/patches/patch-ac4
3 files changed, 32 insertions, 42 deletions
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