pkgsrc/net/spread/patches/patch-ba
mjl 5abb965f34 Import of spread 3.17.0. Patches and tweaks taken from FreeBSD port.
Spread is a group communication system that provides a number of
messaging services to applications. These services can then be used
by applications to make it easy to write full-featured reliable
groupware, distributed servers, client-server applications, chat
and news services, and many other networked enabled tools.
2003-02-18 22:11:55 +00:00

13 lines
585 B
Text

$NetBSD: patch-ba,v 1.1.1.1 2003/02/18 22:11:55 mjl Exp $
--- auth-ip.c.orig 2003-02-18 20:54:23.000000000 +0100
+++ auth-ip.c 2003-02-18 20:54:50.000000000 +0100
@@ -94,7 +94,7 @@
if (NULL != (fp = fopen("./spread.access_ip", "r")) )
Alarm( PRINT, "ip_init: using file: ./spread.access_ip\n");
if (fp == NULL)
- if (NULL != (fp = fopen("/etc/spread.access_ip", "r")) )
+ if (NULL != (fp = fopen(SPREAD_ETCDIR "/spread.access_ip", "r")) )
Alarm( PRINT, "ip_init: using file: /etc/spread.access_ip\n");
if (fp == NULL)
{