Gentoo Archives: gentoo-commits

From: "Amadeusz Zolnowski (aidecoe)" <aidecoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-backup/burp/files: 1.3.48-bedup-conf-path.patch 1.4.26-bedup-conf-path.patch burp.initd 1.4.26-tinfo.patch 1.3.8-bedup-conf-path.patch 1.3.48-tinfo.patch
Date: Mon, 01 Dec 2014 16:28:51
Message-Id: 20141201162847.3C5E2B4C2@oystercatcher.gentoo.org
1 aidecoe 14/12/01 16:28:47
2
3 Added: 1.3.48-bedup-conf-path.patch
4 1.4.26-bedup-conf-path.patch burp.initd
5 1.4.26-tinfo.patch 1.3.8-bedup-conf-path.patch
6 1.3.48-tinfo.patch
7 Log:
8 Add initial version of the burp package. Import ebuilds from the aidecoe's
9 overlay [1]. Add various versions at once: 1.3.48 is the latest stable
10 version, 1.4.26 is the latest stable candidate and 1.3.8 is an old version
11 for people who use burp on Debian and want to have the same version.
12
13 Thanks for contribution to (in order by first name):
14 - Aurelien Reynaud <aurelien@××××××××××.net>
15 - Jared B. <nitro@×××××××.net>
16 - Jeroen Roovers <jer@g.o>
17
18 Thanks to perfinion for review.
19
20 [1] https://github.com/aidecoe/aidecoe-overlay
21
22 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key F0134531E1DBFAB5)
23
24 Revision Changes Path
25 1.1 app-backup/burp/files/1.3.48-bedup-conf-path.patch
26
27 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.3.48-bedup-conf-path.patch?rev=1.1&view=markup
28 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.3.48-bedup-conf-path.patch?rev=1.1&content-type=text/plain
29
30 Index: 1.3.48-bedup-conf-path.patch
31 ===================================================================
32 diff -Naur burp-1.3.48/manpages/bedup.8 burp-1.3.48.new/manpages/bedup.8
33 --- burp-1.3.48/manpages/bedup.8 2014-01-27 11:55:47.000000000 +0100
34 +++ burp-1.3.48.new/manpages/bedup.8 2014-11-22 12:57:20.241299376 +0100
35 @@ -16,7 +16,7 @@
36 .SH OPTIONS
37 .TP
38 \fB\-c\fR \fBpath\fR
39 -Path to config file (default: /etc/burp/burp.conf).
40 +Path to config file (default: /etc/burp/burp-server.conf).
41 .TP
42 \fB\-g\fR \fB<list of group names>\fR
43 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.
44 @@ -42,7 +42,7 @@
45 \fB\-V\fR \fB\fR
46 Print version and exit.\fR
47 .TP
48 -By default, bedup will read /etc/burp/burp.conf and deduplicate client storage directories using special knowledge of the structure.\fR
49 +By default, bedup will read /etc/burp/burp-server.conf and deduplicate client storage directories using special knowledge of the structure.\fR
50 .TP
51 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.
52
53 diff -Naur burp-1.3.48/src/bedup.c burp-1.3.48.new/src/bedup.c
54 --- burp-1.3.48/src/bedup.c 2014-01-27 11:55:47.000000000 +0100
55 +++ burp-1.3.48.new/src/bedup.c 2014-11-22 12:57:20.241299376 +0100
56 @@ -734,7 +734,7 @@
57 static char *get_config_path(void)
58 {
59 static char path[256]="";
60 - snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf");
61 + snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf");
62 return path;
63 }
64
65
66
67
68 1.1 app-backup/burp/files/1.4.26-bedup-conf-path.patch
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.4.26-bedup-conf-path.patch?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.4.26-bedup-conf-path.patch?rev=1.1&content-type=text/plain
72
73 Index: 1.4.26-bedup-conf-path.patch
74 ===================================================================
75 diff -Naur burp/manpages/bedup.8 burp.new/manpages/bedup.8
76 --- burp/manpages/bedup.8 2014-10-28 12:45:26.000000000 +0100
77 +++ burp.new/manpages/bedup.8 2014-11-21 09:49:57.705796144 +0100
78 @@ -16,7 +16,7 @@
79 .SH OPTIONS
80 .TP
81 \fB\-c\fR \fBpath\fR
82 -Path to config file (default: /etc/burp/burp.conf).
83 +Path to config file (default: /etc/burp/burp-server.conf).
84 .TP
85 \fB\-g\fR \fB<list of group names>\fR
86 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.
87 @@ -42,7 +42,7 @@
88 \fB\-V\fR \fB\fR
89 Print version and exit.\fR
90 .TP
91 -By default, bedup will read /etc/burp/burp.conf and deduplicate client storage directories using special knowledge of the structure.\fR
92 +By default, bedup will read /etc/burp/burp-server.conf and deduplicate client storage directories using special knowledge of the structure.\fR
93 .TP
94 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.
95
96 diff -Naur burp/src/bedup.c burp.new/src/bedup.c
97 --- burp/src/bedup.c 2014-10-28 12:45:56.000000000 +0100
98 +++ burp.new/src/bedup.c 2014-11-20 21:39:28.728206536 +0100
99 @@ -740,7 +740,7 @@
100 static char *get_config_path(void)
101 {
102 static char path[256]="";
103 - snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf");
104 + snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf");
105 return path;
106 }
107
108
109
110
111 1.1 app-backup/burp/files/burp.initd
112
113 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/burp.initd?rev=1.1&view=markup
114 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/burp.initd?rev=1.1&content-type=text/plain
115
116 Index: burp.initd
117 ===================================================================
118 #!/sbin/runscript
119 # Copyright 1999-2014 Gentoo Foundation
120 # Distributed under the terms of the GNU General Public License v2
121 # $Header: /var/cvsroot/gentoo-x86/app-backup/burp/files/burp.initd,v 1.1 2014/12/01 16:28:47 aidecoe Exp $
122
123 PIDFILE=/run/burp-server.pid
124
125 depend() {
126 need localmount
127 after bootmisc
128 use net
129 }
130
131 start() {
132 ebegin "Starting burp server"
133 checkpath -o burp:burp -m 0775 -d /run/lock/burp
134 checkpath -o root:burp -m 0775 -d /etc/burp
135 checkpath -o root:burp -m 0775 -d /etc/burp/CA
136 checkpath -o root:burp -m 0750 -d /etc/burp/clientconfdir
137 checkpath -o root:burp -m 0640 -f /etc/burp/burp-server.conf
138 start-stop-daemon --start \
139 --pidfile "$PIDFILE" \
140 --make-pidfile \
141 --background \
142 --wait 500 \
143 --exec /usr/sbin/burp -- -c /etc/burp/burp-server.conf -F
144 eend $? "Failed to start burp server"
145 }
146
147 stop() {
148 ebegin "Stopping burp server"
149 start-stop-daemon --stop \
150 --pidfile "$PIDFILE"
151 eend $? "Failed to stop burp server"
152 }
153
154
155
156 1.1 app-backup/burp/files/1.4.26-tinfo.patch
157
158 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.4.26-tinfo.patch?rev=1.1&view=markup
159 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.4.26-tinfo.patch?rev=1.1&content-type=text/plain
160
161 Index: 1.4.26-tinfo.patch
162 ===================================================================
163 diff -Naur burp/configure.ac burp-new/configure.ac
164 --- burp/configure.ac 2014-10-28 12:45:56.000000000 +0100
165 +++ burp-new/configure.ac 2014-11-10 17:40:50.996955441 +0100
166 @@ -1203,13 +1203,12 @@
167 fi
168
169 AC_CHECK_HEADERS(ncurses.h)
170 -AC_CHECK_LIB(ncurses, curs_set, [NCURSES_LIBS="-lncurses"])
171 have_ncurses=no
172 -if test x$NCURSES_LIBS = x-lncurses; then
173 - AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found])
174 - have_ncurses=yes
175 -fi
176 -AC_SUBST(NCURSES_LIBS)
177 +AC_CHECK_LIB(ncurses, endwin,
178 + [NCURSES_LIBS="-lncurses"; have_ncurses=yes]
179 + AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]),
180 + AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found])
181 + AC_SUBST(NCURSES_LIBS))
182
183 dnl
184 dnl Check if we have AFS on this system
185
186
187
188 1.1 app-backup/burp/files/1.3.8-bedup-conf-path.patch
189
190 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.3.8-bedup-conf-path.patch?rev=1.1&view=markup
191 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.3.8-bedup-conf-path.patch?rev=1.1&content-type=text/plain
192
193 Index: 1.3.8-bedup-conf-path.patch
194 ===================================================================
195 diff -Naur burp-1.3.48/manpages/bedup.8 burp-1.3.48.new/manpages/bedup.8
196 --- burp-1.3.48/manpages/bedup.8 2014-01-27 11:55:47.000000000 +0100
197 +++ burp-1.3.48.new/manpages/bedup.8 2014-11-22 12:57:20.241299376 +0100
198 @@ -16,7 +16,7 @@
199 .SH OPTIONS
200 .TP
201 \fB\-c\fR \fBpath\fR
202 -Path to config file (default: /etc/burp/burp.conf).
203 +Path to config file (default: /etc/burp/burp-server.conf).
204 .TP
205 \fB\-g\fR \fB<list of group names>\fR
206 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.
207 @@ -42,7 +42,7 @@
208 \fB\-V\fR \fB\fR
209 Print version and exit.\fR
210 .TP
211 -By default, bedup will read /etc/burp/burp.conf and deduplicate client storage directories using special knowledge of the structure.\fR
212 +By default, bedup will read /etc/burp/burp-server.conf and deduplicate client storage directories using special knowledge of the structure.\fR
213 .TP
214 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.
215
216 diff -Naur burp-1.3.48/src/bedup.c burp-1.3.48.new/src/bedup.c
217 --- burp-1.3.48/src/bedup.c 2014-01-27 11:55:47.000000000 +0100
218 +++ burp-1.3.48.new/src/bedup.c 2014-11-22 12:57:20.241299376 +0100
219 @@ -734,7 +734,7 @@
220 static char *get_config_path(void)
221 {
222 static char path[256]="";
223 - snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf");
224 + snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf");
225 return path;
226 }
227
228
229
230
231 1.1 app-backup/burp/files/1.3.48-tinfo.patch
232
233 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.3.48-tinfo.patch?rev=1.1&view=markup
234 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/files/1.3.48-tinfo.patch?rev=1.1&content-type=text/plain
235
236 Index: 1.3.48-tinfo.patch
237 ===================================================================
238 diff -Naur burp-1.3.48/configure.in burp-1.3.48.new/configure.in
239 --- burp-1.3.48/configure.in 2014-01-27 11:55:47.000000000 +0100
240 +++ burp-1.3.48.new/configure.in 2014-11-22 13:01:01.192403673 +0100
241 @@ -1203,13 +1203,12 @@
242 fi
243
244 AC_CHECK_HEADERS(ncurses.h)
245 -AC_CHECK_LIB(ncurses, curs_set, [NCURSES_LIBS="-lncurses"])
246 have_ncurses=no
247 -if test x$NCURSES_LIBS = x-lncurses; then
248 - AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found])
249 - have_ncurses=yes
250 -fi
251 -AC_SUBST(NCURSES_LIBS)
252 +AC_CHECK_LIB(ncurses, endwin,
253 + [NCURSES_LIBS="-lncurses"; have_ncurses=yes]
254 + AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]),
255 + AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found])
256 + AC_SUBST(NCURSES_LIBS))
257
258 dnl
259 dnl Check if we have AFS on this system