summaryrefslogtreecommitdiff
path: root/net/poptop/files/patch-aa
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2002-09-08 17:39:44 +0000
committerNick Sayer <nsayer@FreeBSD.org>2002-09-08 17:39:44 +0000
commit62d793b81b02730f789ebf5ca49794eed5f3d500 (patch)
tree0ee3280a620e53edf19c9672dc6beda084eafc9b /net/poptop/files/patch-aa
parentIssue a warning if procfs is not mounted. This is a linuxism (diff)
Update to 1.1.3.
Submitted by: Mike Harding
Notes
Notes: svn path=/head/; revision=65843
Diffstat (limited to 'net/poptop/files/patch-aa')
-rw-r--r--net/poptop/files/patch-aa18
1 files changed, 12 insertions, 6 deletions
diff --git a/net/poptop/files/patch-aa b/net/poptop/files/patch-aa
index 6ff97a4bedbd..adf68bc67653 100644
--- a/net/poptop/files/patch-aa
+++ b/net/poptop/files/patch-aa
@@ -1,11 +1,17 @@
---- defaults.h.orig Wed Sep 22 17:01:28 1999
-+++ defaults.h Tue Oct 5 19:24:12 1999
-@@ -40,7 +40,7 @@
+--- defaults.h.orig Thu Mar 7 19:09:42 2002
++++ defaults.h Sun Sep 8 10:19:58 2002
+@@ -40,10 +40,14 @@
#endif
#define PPP_SPEED_DEFAULT "115200"
--#define PPTPD_CONFIG_FILE_DEFAULT "/etc/pptpd.conf"
-+#define PPTPD_CONFIG_FILE_DEFAULT ETCDIR "/pptpd.conf"
++#ifdef __FreeBSD__
++#define PPTPD_CONFIG_FILE_DEFAULT ETCDIR "pptpd.conf"
++#else
+ #if EMBED
+ #define PPTPD_CONFIG_FILE_DEFAULT "/etc/config/pptpd.conf"
+ #else
+ #define PPTPD_CONFIG_FILE_DEFAULT "/etc/pptpd.conf"
++#endif
+ #endif
#define PIDFILE_DEFAULT "/var/run/pptpd.pid"
- /* Location of binaries */