aidecoe     15/04/09 16:12:40

  Added:                1.4.34-tinfo.patch 1.4.34-bedup-conf-path.patch
  Log:
  Add missing files.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
F0134531E1DBFAB5)

Revision  Changes    Path
1.1                  app-backup/burp/files/1.4.34-tinfo.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.4.34-tinfo.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.4.34-tinfo.patch?rev=1.1&content-type=text/plain

Index: 1.4.34-tinfo.patch
===================================================================
diff -Naur burp/configure.ac burp-new/configure.ac
--- burp/configure.ac   2014-10-28 12:45:56.000000000 +0100
+++ burp-new/configure.ac       2014-11-10 17:40:50.996955441 +0100
@@ -1203,13 +1203,12 @@
 fi
 
 AC_CHECK_HEADERS(ncurses.h)
-AC_CHECK_LIB(ncurses, curs_set, [NCURSES_LIBS="-lncurses"])
 have_ncurses=no
-if test x$NCURSES_LIBS = x-lncurses; then
-   AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found])
-   have_ncurses=yes
-fi
-AC_SUBST(NCURSES_LIBS)
+AC_CHECK_LIB(ncurses, endwin,
+       [NCURSES_LIBS="-lncurses"; have_ncurses=yes]
+       AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]),
+       AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found])
+       AC_SUBST(NCURSES_LIBS))
 
 dnl
 dnl Check if we have AFS on this system



1.1                  app-backup/burp/files/1.4.34-bedup-conf-path.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.4.34-bedup-conf-path.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.4.34-bedup-conf-path.patch?rev=1.1&content-type=text/plain

Index: 1.4.34-bedup-conf-path.patch
===================================================================
diff -Naur burp/manpages/bedup.8 burp.new/manpages/bedup.8
--- burp/manpages/bedup.8       2014-10-28 12:45:26.000000000 +0100
+++ burp.new/manpages/bedup.8   2014-11-21 09:49:57.705796144 +0100
@@ -16,7 +16,7 @@
 .SH OPTIONS
 .TP
 \fB\-c\fR \fBpath\fR
-Path to config file (default: /etc/burp/burp.conf).
+Path to config file (default: /etc/burp/burp-server.conf).
 .TP
 \fB\-g\fR \fB<list of group names>\fR
 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.
@@ -42,7 +42,7 @@
 \fB\-V\fR \fB\fR
 Print version and exit.\fR
 .TP
-By default, bedup will read /etc/burp/burp.conf and deduplicate client storage 
directories using special knowledge of the structure.\fR
+By default, bedup will read /etc/burp/burp-server.conf and deduplicate client 
storage directories using special knowledge of the structure.\fR
 .TP
 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.
 
diff -Naur burp/src/bedup.c burp.new/src/bedup.c
--- burp/src/bedup.c    2014-10-28 12:45:56.000000000 +0100
+++ burp.new/src/bedup.c        2014-11-20 21:39:28.728206536 +0100
@@ -740,7 +740,7 @@
 static char *get_config_path(void)
 {
         static char path[256]="";
-        snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf");
+        snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf");
         return path;
 }
 




Reply via email to