diff options
Diffstat (limited to 'mail/drac/files')
-rw-r--r-- | mail/drac/files/patch-aa | 49 | ||||
-rw-r--r-- | mail/drac/files/patch-ab | 31 | ||||
-rw-r--r-- | mail/drac/files/patch-ac | 12 |
3 files changed, 92 insertions, 0 deletions
diff --git a/mail/drac/files/patch-aa b/mail/drac/files/patch-aa new file mode 100644 index 000000000000..fcef405752d7 --- /dev/null +++ b/mail/drac/files/patch-aa @@ -0,0 +1,49 @@ +--- Makefile.old Mon Nov 20 16:35:16 2000 ++++ Makefile Sun Jan 14 20:06:47 2001 +@@ -5,9 +5,10 @@ + + # Paths + +-INSTALL = /usr/ucb/install +-EBIN = /usr/local/sbin +-MAN = /usr/local/man/man ++INSTALL = install ++EBIN = ${PREFIX}/sbin ++MAN = ${PREFIX}/man/man ++ETC_DIR = ${PREFIX}/etc + + # OS-Dependant settings + +@@ -33,20 +34,26 @@ + # -DCIDR_KEY # keys in CIDR format + # -DTERM_KD # keys and data nul-terminated + +-DEFS = -DTI_RPC -DFCNTL_LOCK -DSYSINFO ++.if defined(WITH_POSTFIX) ++DEFS= -DSOCK_RPC -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 ++.else ++DEFS= -DSOCK_RPC -DFLOCK_LOCK -DGETHOST -DDASH_C ++.endif + + # Compiler flags + CC = cc + RANLIB = : +-CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-3.1.17/build_unix ++CFLAGS = $(DEFS) -g -I${PREFIX}/include -DDBFILE=\"$(ETC_DIR)/dracd.db\" -DALFILE=\"$(ETC_DIR)/dracd.allow\" + #CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-2.4.14/Unix + #CFLAGS = $(DEFS) -g -I/usr/local/src/db/db.1.85/PORT/sunos.5.2/include +-LDLIBS = -L/usr/local/src/db/db-3.1.17/build_unix -lnsl -ldb ++LDLIBS = + #LDLIBS = -L/usr/local/src/db/db-2.4.14/Unix -lnsl -ldb + #LDLIBS = -L/usr/local/src/db/db.1.85/PORT/sunos.5.2 -lnsl -ldb +-TSTLIBS = -L. -ldrac -lnsl +-RPCGENFLAGS = +-#RPCGENFLAGS = -C ++TSTLIBS = -L. -ldrac ++#RPCGENFLAGS = ++RPCGENFLAGS = -C + + # Man sections + MANLIB = 3 diff --git a/mail/drac/files/patch-ab b/mail/drac/files/patch-ab new file mode 100644 index 000000000000..8868dd82e8ba --- /dev/null +++ b/mail/drac/files/patch-ab @@ -0,0 +1,31 @@ +--- rpc.dracd.1m.old Sun Jan 14 19:18:52 2001 ++++ rpc.dracd.1m Sun Jan 14 19:19:28 2001 +@@ -16,13 +16,13 @@ + \f4rpc.dracd\f1 + is the Dynamic Relay Authorization Control server. + It uses the Berkeley db package to maintain a relay authorization +-map for sendmail, by default \f4/etc/mail/dracd.db\f1. ++map for sendmail, by default \f4%%PREFIX%%/etc/dracd.db\f1. + POP and IMAP mail servers make an RPC call to add an entry to the + authorization cache after they have authenticated each user. + The daemon, rpc.dracd, adds or updates entries in the cache, and + periodically expires old entries. + Only trusted mail servers are permitted to communicate with rpc.dracd, +-as controlled by \f4/etc/mail/dracd.allow\f1. ++as controlled by \f4%%PREFIX%%/etc/dracd.allow\f1. + If this file does not exist, all local IP addresses are permitted. + .SS Allow File Format + The Allow File file consists of entries of the form: +@@ -58,10 +58,10 @@ + .SH FILES + .PD 0 + .TP 30 +-.B /etc/mail/dracd.db ++.B %%PREFIX%%/etc/dracd.db + default database file + .TP +-.B /etc/mail/dracd.allow ++.B %%PREFIX%%/etc/dracd.allow + default allow file. + .PD + .SH SEE ALSO diff --git a/mail/drac/files/patch-ac b/mail/drac/files/patch-ac new file mode 100644 index 000000000000..43e1990df242 --- /dev/null +++ b/mail/drac/files/patch-ac @@ -0,0 +1,12 @@ +--- 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 @@ + #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; |