aboutsummaryrefslogtreecommitdiff
path: root/net/proxy-suite
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-17 19:50:39 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-17 19:50:39 +0000
commit39efc8cfc1efc57cec017ec3f7cccdfdfb067986 (patch)
tree72d9b5886898190e75abd1b4f1f3e52496ae1921 /net/proxy-suite
parent5c13f9369ed86881d8f8b69cd71c09738a57159b (diff)
downloadports-39efc8cfc1efc57cec017ec3f7cccdfdfb067986.tar.gz
ports-39efc8cfc1efc57cec017ec3f7cccdfdfb067986.zip
Notes
Diffstat (limited to 'net/proxy-suite')
-rw-r--r--net/proxy-suite/files/patch-etcdir26
1 files changed, 26 insertions, 0 deletions
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)