ports/security/softether-devel/files/patch-src__Cedar__Client.h
Koichiro Iwao 2119784436 security/softether-devel: update to v4.27-9668-beta
As security/softether and -devel are created and maintained by different
people for a long time, there was a lot of difference between and no
consistency between both ports.

I grab both ports and renew this port based on security/softether. Now
there're least differences such as VERSION, COMMENT, CONFLICTS between
both. To make both ports consistent, I quit fetching from GitHub. Using
upstream site[1] instead. Upstream distributes -rtm and -beta suffixed
tarballs. -rtm corresponds to security/softether, -beta does to
security/softether-devel now.

[1] https://www.softether-download.com/

Approved by:	mentors (implicit)
2018-11-05 02:57:19 +00:00

21 lines
743 B
C

--- src/Cedar/Client.h.orig 2016-05-03 06:16:53 UTC
+++ src/Cedar/Client.h
@@ -125,7 +125,7 @@
// Constants
-#define CLIENT_CONFIG_FILE_NAME "@vpn_client.config"
+#define CLIENT_CONFIG_FILE_NAME "/var/db/softether/vpn_client.config"
#define CLIENT_DEFAULT_KEEPALIVE_HOST "keepalive.softether.org"
#define CLIENT_DEFAULT_KEEPALIVE_PORT 80
#define CLIENT_DEFAULT_KEEPALIVE_INTERVAL KEEP_INTERVAL_DEFAULT
@@ -145,7 +145,7 @@
#define CLIENT_WIN32_EXE_FILENAME_X64 "vpnclient_x64.exe"
#define CLIENT_WIN32_EXE_FILENAME_IA64 "vpnclient_ia64.exe"
-#define CLIENT_CUSTOM_INI_FILENAME "@custom.ini"
+#define CLIENT_CUSTOM_INI_FILENAME "/var/db/softether/custom.ini"
#define CLIENT_GLOBAL_PULSE_NAME "clientglobalpulse"