aboutsummaryrefslogtreecommitdiffstats
path: root/mail/drac/files
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-05-09 19:15:57 +0800
committeralex <alex@FreeBSD.org>2001-05-09 19:15:57 +0800
commit8ddf6d465f4fcb2029037eb273b6366e432d03f5 (patch)
treef3afa9bbc22d9ba111aeb205e212da7ae6bb49e1 /mail/drac/files
parent21f48b7baa71c1cb7155f6b5ae9be2edebaf6700 (diff)
downloadfreebsd-ports-gnome-8ddf6d465f4fcb2029037eb273b6366e432d03f5.tar.gz
freebsd-ports-gnome-8ddf6d465f4fcb2029037eb273b6366e432d03f5.tar.zst
freebsd-ports-gnome-8ddf6d465f4fcb2029037eb273b6366e432d03f5.zip
Use the latest patch from maintainer to make this work on -CURRENT.
Submitted by: Anders Nordby <anders@fix.no> (maintainer)
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;