From 39efc8cfc1efc57cec017ec3f7cccdfdfb067986 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Thu, 17 May 2001 19:50:39 +0000 Subject: fix path PR: 27018 Submitted by: MAINTAINER --- net/proxy-suite/files/patch-etcdir | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 net/proxy-suite/files/patch-etcdir (limited to 'net/proxy-suite/files') diff --git a/net/proxy-suite/files/patch-etcdir b/net/proxy-suite/files/patch-etcdir new file mode 100644 index 000000000000..39f75b6a3b54 --- /dev/null +++ b/net/proxy-suite/files/patch-etcdir @@ -0,0 +1,26 @@ +diff -ur work/proxy-suite-1.7/ftp-proxy/Makefile.in new/proxy-suite-1.7/ftp-proxy/Makefile.in +--- work/proxy-suite-1.7/ftp-proxy/Makefile.in Fri Oct 22 11:29:01 1999 ++++ ftp-proxy/Makefile.in Wed May 2 01:07:28 2001 +@@ -44,7 +44,7 @@ + INSTALL= @INSTALL@ + + CC= @CC@ +-CFLAGS= @CFLAGS@ ++CFLAGS= @CFLAGS@ -DETC_PATH=\"$(ETC_DIR)/\" + LDFLAGS= @LDFLAGS@ + + LIBS= @LIB_WRAP@ @LIB_LDAP@ @LIB_REGEX@ @LIBS@ +diff -ur work/proxy-suite-1.7/ftp-proxy/ftp-main.c new/proxy-suite-1.7/ftp-proxy/ftp-main.c +--- work/proxy-suite-1.7/ftp-proxy/ftp-main.c Fri Oct 22 11:29:01 1999 ++++ ftp-proxy/ftp-main.c Wed May 2 01:03:58 2001 +@@ -75,7 +75,9 @@ + + #define SELECT_TIMEOUT 60 /* Wake up regularly */ + +-#define ETC_PATH "/etc/proxy-suite/" ++#if !defined (ETC_PATH) ++# define ETC_PATH "/etc/proxy-suite/" ++#endif + #define DEFAULT_CONFIG ETC_PATH "ftp-proxy.conf" + + #if defined(COMPILE_DEBUG) -- cgit v1.2.3