1 |
tomjbe 10/08/21 07:09:25 |
2 |
|
3 |
Added: bacula-fd.confd bacula-5.0.3-lib-search-path.patch |
4 |
bacula-fd.initd bacula-dir.initd bacula-dir.confd |
5 |
bacula-sd.initd bacula-5.0.3-Makefile.patch |
6 |
bacula-sd.confd bacula-5.0.3-ldflags.patch |
7 |
bacula-5.0.3-openssl-1.patch |
8 |
Log: |
9 |
Version bump to 5.0.3. Cleanup of old versions. |
10 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.1 app-backup/bacula/files/5.0.3/bacula-fd.confd |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-fd.confd?rev=1.1&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-fd.confd?rev=1.1&content-type=text/plain |
17 |
|
18 |
Index: bacula-fd.confd |
19 |
=================================================================== |
20 |
# Copyright 1999-2010 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-fd.confd,v 1.1 2010/08/21 07:09:25 tomjbe Exp $ |
23 |
|
24 |
# Config file for /etc/init.d/bacula-fd |
25 |
|
26 |
# Options for the file daemon. |
27 |
FD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-fd.conf" |
28 |
|
29 |
|
30 |
|
31 |
1.1 app-backup/bacula/files/5.0.3/bacula-5.0.3-lib-search-path.patch |
32 |
|
33 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-5.0.3-lib-search-path.patch?rev=1.1&view=markup |
34 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-5.0.3-lib-search-path.patch?rev=1.1&content-type=text/plain |
35 |
|
36 |
Index: bacula-5.0.3-lib-search-path.patch |
37 |
=================================================================== |
38 |
# If upgrading the old libraries gets linked first. So fix order of lib search path. |
39 |
--- src/console/Makefile.in.orig 2010-03-29 11:35:00.000000000 +0000 |
40 |
+++ src/console/Makefile.in 2010-03-29 11:45:14.000000000 +0000 |
41 |
@@ -47,7 +47,7 @@ |
42 |
|
43 |
|
44 |
bconsole: Makefile $(CONSOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) |
45 |
- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) $(CONS_LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \ |
46 |
+ $(LIBTOOL_LINK) $(CXX) -L../lib -L../cats $(LDFLAGS) $(CONS_LDFLAGS) -o $@ $(CONSOBJS) \ |
47 |
$(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \ |
48 |
$(OPENSSL_LIBS) |
49 |
|
50 |
|
51 |
|
52 |
|
53 |
1.1 app-backup/bacula/files/5.0.3/bacula-fd.initd |
54 |
|
55 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-fd.initd?rev=1.1&view=markup |
56 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-fd.initd?rev=1.1&content-type=text/plain |
57 |
|
58 |
Index: bacula-fd.initd |
59 |
=================================================================== |
60 |
#!/sbin/runscript |
61 |
# Copyright 1999-2010 Gentoo Foundation |
62 |
# Distributed under the terms of the GNU General Public License v2 |
63 |
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-fd.initd,v 1.1 2010/08/21 07:09:25 tomjbe Exp $ |
64 |
|
65 |
depend() { |
66 |
need net |
67 |
use dns |
68 |
} |
69 |
|
70 |
start() { |
71 |
ebegin "Starting bacula file daemon" |
72 |
start-stop-daemon --start --quiet --exec /usr/sbin/bacula-fd \ |
73 |
-- ${FD_OPTIONS} |
74 |
eend $? |
75 |
} |
76 |
|
77 |
stop() { |
78 |
ebegin "Stopping bacula file daemon" |
79 |
start-stop-daemon --stop --quiet --pidfile /var/run/bacula-fd.*.pid |
80 |
eend $? |
81 |
} |
82 |
|
83 |
|
84 |
|
85 |
1.1 app-backup/bacula/files/5.0.3/bacula-dir.initd |
86 |
|
87 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-dir.initd?rev=1.1&view=markup |
88 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-dir.initd?rev=1.1&content-type=text/plain |
89 |
|
90 |
Index: bacula-dir.initd |
91 |
=================================================================== |
92 |
#!/sbin/runscript |
93 |
# Copyright 1999-2010 Gentoo Foundation |
94 |
# Distributed under the terms of the GNU General Public License v2 |
95 |
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-dir.initd,v 1.1 2010/08/21 07:09:25 tomjbe Exp $ |
96 |
|
97 |
depend() { |
98 |
need net |
99 |
if [ "${LOCAL_DB}" -eq 1 ]; then |
100 |
need "%database%" |
101 |
fi |
102 |
use dns bacula-fd bacula-sd |
103 |
} |
104 |
|
105 |
start() { |
106 |
ebegin "Starting bacula director" |
107 |
start-stop-daemon --start --quiet --exec /usr/sbin/bacula-dir \ |
108 |
-- ${DIR_OPTIONS} |
109 |
eend $? |
110 |
} |
111 |
|
112 |
stop() { |
113 |
ebegin "Stopping bacula director" |
114 |
start-stop-daemon --stop --quiet --pidfile /var/run/bacula-dir.*.pid |
115 |
eend $? |
116 |
} |
117 |
|
118 |
|
119 |
|
120 |
1.1 app-backup/bacula/files/5.0.3/bacula-dir.confd |
121 |
|
122 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-dir.confd?rev=1.1&view=markup |
123 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-dir.confd?rev=1.1&content-type=text/plain |
124 |
|
125 |
Index: bacula-dir.confd |
126 |
=================================================================== |
127 |
# Copyright 1999-2010 Gentoo Foundation |
128 |
# Distributed under the terms of the GNU General Public License v2 |
129 |
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-dir.confd,v 1.1 2010/08/21 07:09:25 tomjbe Exp $ |
130 |
|
131 |
# Config file for /etc/init.d/bacula-dir |
132 |
|
133 |
# If the database server where you store your bacula catalog |
134 |
# is on a different machine, please set this to 0. |
135 |
# Setting it to 1 makes bacula-dir depend on the corresponding |
136 |
# database service selected at package compile time. |
137 |
LOCAL_DB=1 |
138 |
|
139 |
# Options for the director daemon. |
140 |
# The director can be run as a non-root user, however |
141 |
# please ensure that this user has proper permissions to |
142 |
# access your backup devices. |
143 |
DIR_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-dir.conf" |
144 |
|
145 |
|
146 |
|
147 |
1.1 app-backup/bacula/files/5.0.3/bacula-sd.initd |
148 |
|
149 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-sd.initd?rev=1.1&view=markup |
150 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-sd.initd?rev=1.1&content-type=text/plain |
151 |
|
152 |
Index: bacula-sd.initd |
153 |
=================================================================== |
154 |
#!/sbin/runscript |
155 |
# Copyright 1999-2010 Gentoo Foundation |
156 |
# Distributed under the terms of the GNU General Public License v2 |
157 |
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-sd.initd,v 1.1 2010/08/21 07:09:25 tomjbe Exp $ |
158 |
|
159 |
depend() { |
160 |
need net |
161 |
use dns |
162 |
} |
163 |
|
164 |
start() { |
165 |
ebegin "Starting bacula storage daemon" |
166 |
start-stop-daemon --start --quiet --exec /usr/sbin/bacula-sd \ |
167 |
-- ${SD_OPTIONS} |
168 |
eend $? |
169 |
} |
170 |
|
171 |
stop() { |
172 |
ebegin "Stopping bacula storage daemon" |
173 |
start-stop-daemon --stop --quiet --pidfile /var/run/bacula-sd.*.pid |
174 |
eend $? |
175 |
} |
176 |
|
177 |
|
178 |
|
179 |
1.1 app-backup/bacula/files/5.0.3/bacula-5.0.3-Makefile.patch |
180 |
|
181 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-5.0.3-Makefile.patch?rev=1.1&view=markup |
182 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-5.0.3-Makefile.patch?rev=1.1&content-type=text/plain |
183 |
|
184 |
Index: bacula-5.0.3-Makefile.patch |
185 |
=================================================================== |
186 |
--- Makefile.in.orig 2010-07-20 16:53:44.000000000 +0000 |
187 |
+++ Makefile.in 2010-07-20 16:55:50.000000000 +0000 |
188 |
@@ -44,9 +44,8 @@ |
189 |
|
190 |
all: Makefile |
191 |
@for I in ${all_subdirs}; \ |
192 |
- do (cd $$I; echo "==>Entering directory `pwd`"; \ |
193 |
- $(MAKE) DESTDIR=$(DESTDIR) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \ |
194 |
- echo ""; echo ""; exit 1;)); \ |
195 |
+ do \ |
196 |
+ $(MAKE) DESTDIR=$(DESTDIR) -C $$I $@ || exit 1; \ |
197 |
done |
198 |
|
199 |
depend: |
200 |
@@ -55,9 +54,8 @@ |
201 |
|
202 |
bacula-fd: Makefile |
203 |
@for I in ${fd_subdirs}; \ |
204 |
- do (cd $$I; echo "==>Entering directory `pwd`"; \ |
205 |
- $(MAKE) DESTDIR=$(DESTDIR) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \ |
206 |
- echo ""; echo ""; exit 1;)); \ |
207 |
+ do \ |
208 |
+ $(MAKE) DESTDIR=$(DESTDIR) -C $$I all || exit 1; \ |
209 |
done |
210 |
|
211 |
#------------------------------------------------------------------------- |
212 |
|
213 |
|
214 |
|
215 |
1.1 app-backup/bacula/files/5.0.3/bacula-sd.confd |
216 |
|
217 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-sd.confd?rev=1.1&view=markup |
218 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-sd.confd?rev=1.1&content-type=text/plain |
219 |
|
220 |
Index: bacula-sd.confd |
221 |
=================================================================== |
222 |
# Copyright 1999-2010 Gentoo Foundation |
223 |
# Distributed under the terms of the GNU General Public License v2 |
224 |
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-sd.confd,v 1.1 2010/08/21 07:09:25 tomjbe Exp $ |
225 |
|
226 |
# Config file for /etc/init.d/bacula-sd |
227 |
|
228 |
# Options for the storage daemon. |
229 |
# The storage daemon can be run as a non-root user, however |
230 |
# please ensure that this user has proper permissions to |
231 |
# access your backup devices. |
232 |
SD_OPTIONS="-u root -g bacula -c /etc/bacula/bacula-sd.conf" |
233 |
|
234 |
|
235 |
|
236 |
1.1 app-backup/bacula/files/5.0.3/bacula-5.0.3-ldflags.patch |
237 |
|
238 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-5.0.3-ldflags.patch?rev=1.1&view=markup |
239 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-5.0.3-ldflags.patch?rev=1.1&content-type=text/plain |
240 |
|
241 |
Index: bacula-5.0.3-ldflags.patch |
242 |
=================================================================== |
243 |
--- src/qt-console/bat.pro.in.orig 2010-07-20 18:28:50.000000000 +0000 |
244 |
+++ src/qt-console/bat.pro.in 2010-07-20 18:29:25.000000000 +0000 |
245 |
@@ -26,6 +26,7 @@ |
246 |
QMAKE_LINK = $${LIBTOOL_LINK} $(CXX) |
247 |
QMAKE_INSTALL_PROGRAM = $${LIBTOOL_INSTALL} install -m @SBINPERM@ -p |
248 |
QMAKE_CLEAN += .libs/* bat |
249 |
+QMAKE_LFLAGS += @LDFLAGS@ |
250 |
|
251 |
qwt { |
252 |
INCLUDEPATH += @QWT_INC@ |
253 |
|
254 |
|
255 |
|
256 |
1.1 app-backup/bacula/files/5.0.3/bacula-5.0.3-openssl-1.patch |
257 |
|
258 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-5.0.3-openssl-1.patch?rev=1.1&view=markup |
259 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/bacula/files/5.0.3/bacula-5.0.3-openssl-1.patch?rev=1.1&content-type=text/plain |
260 |
|
261 |
Index: bacula-5.0.3-openssl-1.patch |
262 |
=================================================================== |
263 |
http://bugs.gentoo.org/328701 |
264 |
http://cvs.fedoraproject.org/viewvc/rpms/bacula/devel/bacula-5.0.2-openssl.patch?revision=1.3&view=markup |
265 |
|
266 |
--- src/lib/crypto.c |
267 |
+++ src/lib/crypto.c |
268 |
@@ -51,7 +51,7 @@ |
269 |
* For OpenSSL version 1.x, EVP_PKEY_encrypt no longer |
270 |
* exists. It was not an official API. |
271 |
*/ |
272 |
-#ifdef HAVE_OPENSSLv1 |
273 |
+#if (OPENSSL_VERSION_NUMBER >= 0x10000000L) |
274 |
#define EVP_PKEY_encrypt EVP_PKEY_encrypt_old |
275 |
#define EVP_PKEY_decrypt EVP_PKEY_decrypt_old |
276 |
#endif |
277 |
--- src/lib/tls.c |
278 |
+++ src/lib/tls.c |
279 |
@@ -315,7 +315,7 @@ bool tls_postconnect_verify_host(JCR *jc |
280 |
extname = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ext))); |
281 |
|
282 |
if (strcmp(extname, "subjectAltName") == 0) { |
283 |
-#ifdef HAVE_OPENSSLv1 |
284 |
+#if (OPENSSL_VERSION_NUMBER >= 0x10000000L) |
285 |
const X509V3_EXT_METHOD *method; |
286 |
#else |
287 |
X509V3_EXT_METHOD *method; |