aboutsummaryrefslogtreecommitdiff
path: root/mail/drac/files
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2001-05-09 11:15:57 +0000
committerAlexander Langer <alex@FreeBSD.org>2001-05-09 11:15:57 +0000
commit1b3ebaa7b26508fbe93a91b75471dcbdfc4c404b (patch)
tree8250d6a0c604a7c0813939a47472e207bbab9b43 /mail/drac/files
parenta78211b02c924cabdf68b1e76f920df404065c9f (diff)
downloadports-1b3ebaa7b26508fbe93a91b75471dcbdfc4c404b.tar.gz
ports-1b3ebaa7b26508fbe93a91b75471dcbdfc4c404b.zip
Use the latest patch from maintainer to make this work on -CURRENT.
Submitted by: Anders Nordby <anders@fix.no> (maintainer)
Notes
Notes: svn path=/head/; revision=42454
Diffstat (limited to 'mail/drac/files')
-rw-r--r--mail/drac/files/patch-aa18
-rw-r--r--mail/drac/files/patch-ac20
2 files changed, 26 insertions, 12 deletions
diff --git a/mail/drac/files/patch-aa b/mail/drac/files/patch-aa
index fcef405752d7..3887bad3723d 100644
--- a/mail/drac/files/patch-aa
+++ b/mail/drac/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.old Mon Nov 20 16:35:16 2000
-+++ Makefile Sun Jan 14 20:06:47 2001
+--- Makefile.orig Mon Nov 20 16:35:16 2000
++++ Makefile Sun Apr 29 20:38:47 2001
@@ -5,9 +5,10 @@
# Paths
@@ -14,17 +14,23 @@
# OS-Dependant settings
-@@ -33,20 +34,26 @@
+@@ -33,20 +34,32 @@
# -DCIDR_KEY # keys in CIDR format
# -DTERM_KD # keys and data nul-terminated
-DEFS = -DTI_RPC -DFCNTL_LOCK -DSYSINFO
++.if defined(WITH_TI_RPC)
++RPCFLAGS= -DTI_RPC
++.else
++RPCFLAGS= -DSOCK_RPC
++.endif
++
+.if defined(WITH_POSTFIX)
-+DEFS= -DSOCK_RPC -DFLOCK_LOCK -DGETHOST -DDASH_C -DTERM_KD
++DEFS= $(RPCFLAGS) -DFLOCK_LOCK -DGETHOST -DDASH_C -DTERM_KD
+.elif defined(WITH_EXIM)
-+DEFS= -DSOCK_RPC -DFLOCK_LOCK -DGETHOST -DDASH_C -DTERM_KD -DREQ_HASH -DCIDR_KEY
++DEFS= $(RPCFLAGS) -DFLOCK_LOCK -DGETHOST -DDASH_C -DTERM_KD -DREQ_HASH -DCIDR_KEY
+.else
-+DEFS= -DSOCK_RPC -DFLOCK_LOCK -DGETHOST -DDASH_C
++DEFS= $(RPCFLAGS) -DFLOCK_LOCK -DGETHOST -DDASH_C
+.endif
# Compiler flags
diff --git a/mail/drac/files/patch-ac b/mail/drac/files/patch-ac
index 43e1990df242..0550d5159b65 100644
--- a/mail/drac/files/patch-ac
+++ b/mail/drac/files/patch-ac
@@ -1,12 +1,20 @@
---- rpc.dracd.c.old Sun Jan 14 20:53:02 2001
-+++ rpc.dracd.c Sun Jan 14 20:53:10 2001
-@@ -36,9 +36,6 @@
+--- rpc.dracd.c.orig Tue Nov 21 05:22:05 2000
++++ rpc.dracd.c Sun Apr 29 20:41:31 2001
+@@ -8,7 +8,6 @@
+ #include <errno.h>
+ #include <syslog.h>
+ #ifdef TI_RPC
+-#include <netdir.h>
+ #include <netconfig.h>
+ #endif
+ #include <stdlib.h>
+@@ -35,9 +34,6 @@
+ #define DB_VERSION_MAJOR 1
#endif
#include "drac.h"
-
+-
-#define DBFILE "/etc/mail/dracd.db"
-#define ALFILE "/etc/mail/dracd.allow"
--
+
struct net_def {
struct net_def *nd_next;
- struct in_addr nd_mask;