summarylogtreecommitdiffstats
path: root/fix-paths.patch
blob: 0c5c5a4f882476c75b8e0170b72f134565fbbfff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- main.c.orig	2014-05-08 18:34:30.502301834 +0300
+++ main.c	2014-05-08 18:34:38.992301468 +0300
@@ -167,8 +167,8 @@
 	printf("SigmaVPN.\nCopyright (c) 2011 Neil Alexander T. All rights reserved.\n");
 	
 	conf = malloc(sizeof(sigma_conf));
-	strncpy(conf->modulepath, "/usr/local/lib/sigmavpn/", 128);
-	strncpy(conf->configfile, "/usr/local/etc/sigmavpn.conf", 128);
+	strncpy(conf->modulepath, "/usr/lib/sigmavpn/", 128);
+	strncpy(conf->configfile, "/etc/sigmavpn.conf", 128);
 
 	int arg;
 	
--- sigmavpn.1.orig	2014-05-08 18:35:23.948966193 +0300
+++ sigmavpn.1	2014-05-08 18:35:34.902299052 +0300
@@ -19,11 +19,11 @@
 .Bl -tag -width -indent
 .It Fl c
 Path to the configuration file. If not specified, the default
-.Ar /usr/local/etc/sigmavpn.conf
+.Ar /etc/sigmavpn.conf
 is assumed.
 .It Fl m
 Path to the module directory. If not specified, the default
-.Ar /usr/local/lib/sigmavpn/
+.Ar /usr/lib/sigmavpn/
 is assumed. 
 .El
 .Pp