summaryrefslogtreecommitdiff
path: root/mail/postfix/patches
diff options
context:
space:
mode:
authorbad <bad>2000-04-10 00:19:15 +0000
committerbad <bad>2000-04-10 00:19:15 +0000
commite2a90fd2fafedd69e87d5735811c00f103c24b4c (patch)
tree378942586e0d48fe8fe5b924e5df1a0e5b87981e /mail/postfix/patches
parent004dfda15ac7918733a093c0c05c43de08f913a9 (diff)
downloadpkgsrc-e2a90fd2fafedd69e87d5735811c00f103c24b4c.tar.gz
Some more changes besides the update to which Simon beat me:
Create the /var/spool/postfix on install so that "postfix check" can create the directories below it. Create /etc/postfix/postfix-scrip on "make install". Make the library Makefiles DTRT on systems that don't understand MKXXX=no. Remover owner write permission from "maildrop" binary. Adjust offsets in a couple of patches.
Diffstat (limited to 'mail/postfix/patches')
-rw-r--r--mail/postfix/patches/patch-ag13
-rw-r--r--mail/postfix/patches/patch-ai9
-rw-r--r--mail/postfix/patches/patch-ap13
-rw-r--r--mail/postfix/patches/patch-av6
-rw-r--r--mail/postfix/patches/patch-bj10
-rw-r--r--mail/postfix/patches/patch-bn12
-rw-r--r--mail/postfix/patches/patch-bo12
-rw-r--r--mail/postfix/patches/patch-bp12
8 files changed, 50 insertions, 37 deletions
diff --git a/mail/postfix/patches/patch-ag b/mail/postfix/patches/patch-ag
index b4cd5990634..5fa70633c17 100644
--- a/mail/postfix/patches/patch-ag
+++ b/mail/postfix/patches/patch-ag
@@ -1,9 +1,9 @@
-$NetBSD: patch-ag,v 1.1 1999/05/30 18:18:31 tron Exp $
+$NetBSD: patch-ag,v 1.2 2000/04/10 00:19:17 bad Exp $
---- dns/Makefile.orig Sun May 30 18:49:12 1999
-+++ dns/Makefile Sun May 30 18:49:12 1999
-@@ -0,0 +1,13 @@
-+# $NetBSD: patch-ag,v 1.1 1999/05/30 18:18:31 tron Exp $
+--- dns/Makefile.orig Sat Apr 8 22:14:35 2000
++++ dns/Makefile Sat Apr 8 23:18:53 2000
+@@ -0,0 +1,16 @@
++# $NetBSD: patch-ag,v 1.2 2000/04/10 00:19:17 bad Exp $
+
+LIB = dns
+SRCS = dns_lookup.c dns_rr.c dns_strerror.c dns_strtype.c
@@ -11,6 +11,9 @@ $NetBSD: patch-ag,v 1.1 1999/05/30 18:18:31 tron Exp $
+MKLINT= no
+MKPIC= no
+MKPROFILE= no
++NOLINT= yes
++NOPIC= yes
++NOPROFILE= yes
+
+# only needed during build
+libinstall::
diff --git a/mail/postfix/patches/patch-ai b/mail/postfix/patches/patch-ai
index f55ff4c72d7..7ab4bf0d473 100644
--- a/mail/postfix/patches/patch-ai
+++ b/mail/postfix/patches/patch-ai
@@ -1,9 +1,9 @@
-$NetBSD: patch-ai,v 1.4 2000/04/09 08:10:20 simonb Exp $
+$NetBSD: patch-ai,v 1.5 2000/04/10 00:19:17 bad Exp $
--- global/Makefile.orig Sun May 30 18:49:13 1999
+++ global/Makefile Sun May 30 18:49:13 1999
-@@ -0,0 +1,32 @@
-+# $NetBSD: patch-ai,v 1.4 2000/04/09 08:10:20 simonb Exp $
+@@ -0,0 +1,35 @@
++# $NetBSD: patch-ai,v 1.5 2000/04/10 00:19:17 bad Exp $
+
+LIB = global
+
@@ -30,6 +30,9 @@ $NetBSD: patch-ai,v 1.4 2000/04/09 08:10:20 simonb Exp $
+MKLINT= no
+MKPIC= no
+MKPROFILE= no
++NOLINT= yes
++NOPIC= yes
++NOPROFILE= yes
+
+# only needed during build
+libinstall::
diff --git a/mail/postfix/patches/patch-ap b/mail/postfix/patches/patch-ap
index 5d5233245a6..96b96c008bd 100644
--- a/mail/postfix/patches/patch-ap
+++ b/mail/postfix/patches/patch-ap
@@ -1,9 +1,9 @@
-$NetBSD: patch-ap,v 1.1 1999/05/30 18:18:32 tron Exp $
+$NetBSD: patch-ap,v 1.2 2000/04/10 00:19:17 bad Exp $
---- masterlib/Makefile.orig Sun May 30 18:49:13 1999
-+++ masterlib/Makefile Sun May 30 18:49:13 1999
-@@ -0,0 +1,14 @@
-+# $NetBSD: patch-ap,v 1.1 1999/05/30 18:18:32 tron Exp $
+--- masterlib/Makefile.orig Sat Apr 8 22:14:35 2000
++++ masterlib/Makefile Sat Apr 8 23:32:22 2000
+@@ -0,0 +1,17 @@
++# $NetBSD: patch-ap,v 1.2 2000/04/10 00:19:17 bad Exp $
+
+.PATH: ${.CURDIR}/../master
+LIB= master
@@ -12,6 +12,9 @@ $NetBSD: patch-ap,v 1.1 1999/05/30 18:18:32 tron Exp $
+MKLINT= no
+MKPIC= no
+MKPROFILE= no
++NOLINT= yes
++NOPIC= yes
++NOPROFILE= yes
+
+# only needed during build
+libinstall::
diff --git a/mail/postfix/patches/patch-av b/mail/postfix/patches/patch-av
index 9d2bd22ab5d..b68473923e6 100644
--- a/mail/postfix/patches/patch-av
+++ b/mail/postfix/patches/patch-av
@@ -1,9 +1,9 @@
-$NetBSD: patch-av,v 1.2 1999/08/26 13:05:08 mrg Exp $
+$NetBSD: patch-av,v 1.3 2000/04/10 00:19:17 bad Exp $
--- postdrop/Makefile.orig Sun May 30 18:49:13 1999
+++ postdrop/Makefile Sun May 30 18:49:13 1999
@@ -0,0 +1,20 @@
-+# $NetBSD: patch-av,v 1.2 1999/08/26 13:05:08 mrg Exp $
++# $NetBSD: patch-av,v 1.3 2000/04/10 00:19:17 bad Exp $
+.include "../conf/main.cf"
+
+PROG= postdrop
@@ -19,7 +19,7 @@ $NetBSD: patch-av,v 1.2 1999/08/26 13:05:08 mrg Exp $
+
+.if !POSTFIX_NOSETGID
+BINGRP= maildrop
-+BINMODE=2755
++BINMODE=2555
+.endif
+
+.include <bsd.prog.mk>
diff --git a/mail/postfix/patches/patch-bj b/mail/postfix/patches/patch-bj
index 75d56f01e3b..f6666a2e720 100644
--- a/mail/postfix/patches/patch-bj
+++ b/mail/postfix/patches/patch-bj
@@ -1,9 +1,9 @@
-$NetBSD: patch-bj,v 1.3 2000/04/09 08:10:21 simonb Exp $
+$NetBSD: patch-bj,v 1.4 2000/04/10 00:19:17 bad Exp $
--- util/Makefile.orig Sun May 30 18:49:14 1999
+++ util/Makefile Sun May 30 18:49:14 1999
-@@ -0,0 +1,34 @@
-+# $NetBSD: patch-bj,v 1.3 2000/04/09 08:10:21 simonb Exp $
+@@ -0,0 +1,38 @@
++# $NetBSD: patch-bj,v 1.4 2000/04/10 00:19:17 bad Exp $
+
+LIB= util
+SRCS = argv.c argv_split.c attr.c basename.c binhash.c chroot_uid.c \
@@ -29,9 +29,13 @@ $NetBSD: patch-bj,v 1.3 2000/04/09 08:10:21 simonb Exp $
+ stream_connect.c stream_trigger.c dict_regexp.c mac_expand.c \
+ clean_env.c watchdog.c spawn_command.c sane_rename.c sane_link.c
+
++
+MKLINT= no
+MKPIC= no
+MKPROFILE= no
++NOLINT= yes
++NOPIC= yes
++NOPROFILE= yes
+
+# only needed during build
+libinstall::
diff --git a/mail/postfix/patches/patch-bn b/mail/postfix/patches/patch-bn
index 41a9f54a4a7..488bbb9af4d 100644
--- a/mail/postfix/patches/patch-bn
+++ b/mail/postfix/patches/patch-bn
@@ -1,8 +1,8 @@
-$NetBSD: patch-bn,v 1.1 1999/08/18 23:30:26 thorpej Exp $
+$NetBSD: patch-bn,v 1.2 2000/04/10 00:19:17 bad Exp $
---- master/multi_server.c.orig Tue Aug 17 17:32:22 1999
-+++ master/multi_server.c Tue Aug 17 17:34:32 1999
-@@ -270,7 +270,7 @@
+--- master/multi_server.c.orig Tue Nov 9 16:38:32 1999
++++ master/multi_server.c Sat Apr 8 20:46:49 2000
+@@ -258,7 +258,7 @@
static void multi_server_accept_local(int unused_event, char *context)
{
@@ -11,7 +11,7 @@ $NetBSD: patch-bn,v 1.1 1999/08/18 23:30:26 thorpej Exp $
int time_left = -1;
int fd;
-@@ -310,7 +310,7 @@
+@@ -292,7 +292,7 @@
static void multi_server_accept_inet(int unused_event, char *context)
{
@@ -20,7 +20,7 @@ $NetBSD: patch-bn,v 1.1 1999/08/18 23:30:26 thorpej Exp $
int time_left = -1;
int fd;
-@@ -580,7 +580,7 @@
+@@ -557,7 +557,7 @@
if (var_idle_limit > 0)
event_request_timer(multi_server_timeout, (char *) 0, var_idle_limit);
for (fd = MASTER_LISTEN_FD; fd < MASTER_LISTEN_FD + socket_count; fd++) {
diff --git a/mail/postfix/patches/patch-bo b/mail/postfix/patches/patch-bo
index 2bd1414806b..f1e76d0e380 100644
--- a/mail/postfix/patches/patch-bo
+++ b/mail/postfix/patches/patch-bo
@@ -1,8 +1,8 @@
-$NetBSD: patch-bo,v 1.1 1999/08/18 23:30:26 thorpej Exp $
+$NetBSD: patch-bo,v 1.2 2000/04/10 00:19:17 bad Exp $
---- master/single_server.c.orig Tue Aug 17 17:36:40 1999
-+++ master/single_server.c Tue Aug 17 17:37:06 1999
-@@ -241,7 +241,7 @@
+--- master/single_server.c.orig Tue Nov 9 16:38:32 1999
++++ master/single_server.c Sat Apr 8 20:46:49 2000
+@@ -229,7 +229,7 @@
static void single_server_accept_local(int unused_event, char *context)
{
@@ -11,7 +11,7 @@ $NetBSD: patch-bo,v 1.1 1999/08/18 23:30:26 thorpej Exp $
int time_left = -1;
int fd;
-@@ -280,7 +280,7 @@
+@@ -262,7 +262,7 @@
static void single_server_accept_inet(int unused_event, char *context)
{
@@ -20,7 +20,7 @@ $NetBSD: patch-bo,v 1.1 1999/08/18 23:30:26 thorpej Exp $
int time_left = -1;
int fd;
-@@ -549,7 +549,7 @@
+@@ -526,7 +526,7 @@
if (var_idle_limit > 0)
event_request_timer(single_server_timeout, (char *) 0, var_idle_limit);
for (fd = MASTER_LISTEN_FD; fd < MASTER_LISTEN_FD + socket_count; fd++) {
diff --git a/mail/postfix/patches/patch-bp b/mail/postfix/patches/patch-bp
index 1b5d050cb29..cae467578f9 100644
--- a/mail/postfix/patches/patch-bp
+++ b/mail/postfix/patches/patch-bp
@@ -1,8 +1,8 @@
-$NetBSD: patch-bp,v 1.1 1999/08/18 23:30:26 thorpej Exp $
+$NetBSD: patch-bp,v 1.2 2000/04/10 00:19:17 bad Exp $
---- master/trigger_server.c.orig Tue Aug 17 17:38:48 1999
-+++ master/trigger_server.c Tue Aug 17 17:39:14 1999
-@@ -240,7 +240,7 @@
+--- master/trigger_server.c.orig Tue Nov 9 16:38:32 1999
++++ master/trigger_server.c Sat Apr 8 20:46:49 2000
+@@ -228,7 +228,7 @@
static void trigger_server_accept_fifo(int unused_event, char *context)
{
char *myname = "trigger_server_accept_fifo";
@@ -11,7 +11,7 @@ $NetBSD: patch-bp,v 1.1 1999/08/18 23:30:26 thorpej Exp $
if (trigger_server_lock != 0
&& myflock(vstream_fileno(trigger_server_lock), MYFLOCK_NONE) < 0)
-@@ -269,7 +269,7 @@
+@@ -251,7 +251,7 @@
static void trigger_server_accept_local(int unused_event, char *context)
{
char *myname = "trigger_server_accept_local";
@@ -20,7 +20,7 @@ $NetBSD: patch-bp,v 1.1 1999/08/18 23:30:26 thorpej Exp $
int time_left = 0;
int fd;
-@@ -561,7 +561,7 @@
+@@ -538,7 +538,7 @@
if (var_idle_limit > 0)
event_request_timer(trigger_server_timeout, (char *) 0, var_idle_limit);
for (fd = MASTER_LISTEN_FD; fd < MASTER_LISTEN_FD + socket_count; fd++) {