a9bed192d96c53bd653198a4fd6dd94eb7fea9bc
[gentoo.git] / app-backup / burp / files / 1.3.48-bedup-conf-path.patch
1 diff -Naur burp-1.3.48/manpages/bedup.8 burp-1.3.48.new/manpages/bedup.8
2 --- burp-1.3.48/manpages/bedup.8        2014-01-27 11:55:47.000000000 +0100
3 +++ burp-1.3.48.new/manpages/bedup.8    2014-11-22 12:57:20.241299376 +0100
4 @@ -16,7 +16,7 @@
5  .SH OPTIONS
6  .TP
7  \fB\-c\fR \fBpath\fR
8 -Path to config file (default: /etc/burp/burp.conf).
9 +Path to config file (default: /etc/burp/burp-server.conf).
10  .TP
11  \fB\-g\fR \fB<list of group names>\fR
12  Only run on the directories of clients that are in one of the groups specified. The list is comma-separated. To put a client in a group, use the 'dedup_group' option in the client configuration file on the server.
13 @@ -42,7 +42,7 @@
14  \fB\-V\fR \fB\fR
15  Print version and exit.\fR
16  .TP
17 -By default, bedup will read /etc/burp/burp.conf and deduplicate client storage directories using special knowledge of the structure.\fR
18 +By default, bedup will read /etc/burp/burp-server.conf and deduplicate client storage directories using special knowledge of the structure.\fR
19  .TP
20  With '\-n', this knowledge is turned off and you have to specify the directories to deduplicate on the command line. Running with '\-n' is therefore dangerous if you are deduplicating burp storage directories.
21  
22 diff -Naur burp-1.3.48/src/bedup.c burp-1.3.48.new/src/bedup.c
23 --- burp-1.3.48/src/bedup.c     2014-01-27 11:55:47.000000000 +0100
24 +++ burp-1.3.48.new/src/bedup.c 2014-11-22 12:57:20.241299376 +0100
25 @@ -734,7 +734,7 @@
26  static char *get_config_path(void)
27  {
28          static char path[256]="";
29 -        snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf");
30 +        snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf");
31          return path;
32  }
33