]> git.pld-linux.org Git - packages/bacula.git/blob - bacula.spec
remove .pw.sed, never used in pld post scriptlets
[packages/bacula.git] / bacula.spec
1 # TODO:
2 #       - update desktop files, think about su-wrappers for console (with .desktop files)
3 #       - fix log file permissions
4 #       - check on upgrade (5.0 and 5.2 databases are NOT compatible)
5 #
6 # Conditional build:
7 %bcond_without  console_wx              # wx-console program
8 %if "%{pld_release}" == "ac"
9 %bcond_with             bat                     # bat Qt4 GUI
10 %else
11 %bcond_without  bat                     # bat Qt4 GUI
12 %endif
13 %bcond_without  mysql                   # use MySQL
14 %bcond_without  pgsql                   # use PostgreSQL
15 %bcond_without  sqlite3                 # use SQLite3
16 %bcond_without  python          # Python Scripting support, http://www.bacula.org/3.0.x-manuals/en/concepts/concepts/Python_Scripting.html
17 %bcond_without  nagios          # build nagios plugin
18 %bcond_with     rescue
19 %bcond_with     sqlite3_sync_off        # makes SQLite3 backend much faster, but less reliable
20
21 %if %{without sqlite3}
22 %undefine       with_sqlite3_sync_off
23 %endif
24
25 %define qtver   4.6.2
26 Summary:        Bacula - The Network Backup Solution
27 Summary(pl.UTF-8):      Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
28 Name:           bacula
29 Version:        5.2.12
30 Release:        1
31 License:        AGPL v3
32 Group:          Networking/Utilities
33 Source0:        http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
34 # Source0-md5:  b04c22b128b73359e4bbc9de06652c38
35 Source1:        http://downloads.sourceforge.net/bacula/%{name}-docs-%{version}.tar.bz2
36 # Source1-md5:  909b85db6da2dbe6b1099688ad4ec7c3
37 Source2:        http://downloads.sourceforge.net/bacula/%{name}-rescue-5.0.1.tar.gz
38 # Source2-md5:  bb194aed8e204f54bf2f61d7e721f257
39 Source10:       %{name}-dir.init
40 Source11:       %{name}-fd.init
41 Source12:       %{name}-sd.init
42 Source13:       %{name}.logrotate
43 Source14:       %{name}-dir.sysconfig
44 Source15:       %{name}-fd.sysconfig
45 Source16:       %{name}-sd.sysconfig
46 Source17:       %{name}-dir.service
47 Source18:       %{name}-fd.service
48 Source19:       %{name}-sd.service
49 Patch0:         %{name}-mtx-changer.patch
50 Patch1:         %{name}-branding.patch
51 Patch2:         %{name}-conf.patch
52 Patch3:         %{name}-desktop.patch
53 Patch4:         make_catalog_backup-setup-home.patch
54 Patch5:         %{name}-wx-console-build.patch
55 URL:            http://www.bacula.org/
56 BuildRequires:  acl-devel
57 BuildRequires:  autoconf
58 BuildRequires:  automake
59 BuildRequires:  gettext-devel
60 %{?with_console_wx:BuildRequires:       gtk+2-devel}
61 BuildRequires:  libcap-devel
62 BuildRequires:  libtool >= 2:2.2
63 %if %{with rescue}
64 BuildRequires:  fakeroot
65 %endif
66 BuildRequires:  libwrap-devel
67 BuildRequires:  ncurses-devel
68 BuildRequires:  openssl-devel
69 BuildRequires:  pkgconfig
70 %if %{with python}
71 BuildRequires:  python-devel
72 BuildRequires:  python-modules
73 %endif
74 %if %{with bat}
75 BuildRequires:  QtCore-devel
76 BuildRequires:  QtGui-devel
77 BuildRequires:  qt4-build >= %{qtver}
78 BuildRequires:  qt4-qmake >= %{qtver}
79 %endif
80 %{?with_mysql:BuildRequires:    mysql-devel}
81 %{?with_pgsql:BuildRequires:    postgresql-devel}
82 BuildRequires:  readline-devel
83 BuildRequires:  rpm >= 4.4.9-56
84 BuildRequires:  rpm-pythonprov
85 BuildRequires:  rpmbuild(macros) >= 1.644
86 BuildRequires:  sed >= 4.0
87 %{?with_sqlite3:BuildRequires:  sqlite3-devel}
88 Requires:       systemd-units >= 38
89 BuildRequires:  which
90 %if %{with console_wx}
91 BuildRequires:  wxGTK2-unicode-devel >= 2.4.0
92 %endif
93 BuildRequires:  zlib-devel
94 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
95
96 %define         _sysconfdir             /etc/%{name}
97 %define         _localstatedir  /var/lib/%{name}
98 %define         nagiosplugindir %{_libdir}/nagios/plugins
99
100 # from 'the worst' to 'the best'
101 %define databases %{?with_sqlite3:sqlite3} %{?with_mysql:mysql} %{?with_pgsql:postgresql}
102
103 # dependency section is broken. ccache usage is instead to makefiles
104 %undefine       with_ccache
105
106 %description
107 Bacula - It comes by night and sucks the vital essence from your
108 computers.
109
110 Bacula is a set of computer programs that permit you (or the system
111 administrator) to manage backup, recovery, and verification of
112 computer data across a network of computers of different kinds. In
113 technical terms, it is a network client/server based backup program.
114 Bacula is relatively easy to use and efficient, while offering many
115 advanced storage management features that make it easy to find and
116 recover lost or damaged files.
117
118 %description -l pl.UTF-8
119 Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
120
121 Bacula to zbiór programów umożliwiających administratorowi na
122 zarządzanie kopiami zapasowymi, odzyskiwaniem i weryfikacją danych w
123 sieci komputerów różnego rodzaju. W terminologii technicznej jest to
124 program do kopii zapasowych pracujący w architekturze klient-serwer.
125 Bacula jest stosunkowo łatwa w użyciu i wydajna, oferując przy tym
126 wiele zaawansowanych możliwości przy zarządzaniu nośnikami,
127 ułatwiających znalezienie i odzyskanie utraconych lub uszkodzonych
128 plików.
129
130 %package common
131 Summary:        Common files for bacula package
132 Summary(pl.UTF-8):      Pliki wspólne dla pakietu bacula
133 Group:          Networking/Utilities
134 Requires(post): openssl-tools
135 Requires(post): sed >= 4.0
136 Requires(post,preun):   /sbin/chkconfig
137 Requires(postun):       /usr/sbin/groupdel
138 Requires(postun):       /usr/sbin/userdel
139 Requires(pre):  /usr/sbin/groupadd
140 Requires(pre):  /usr/sbin/useradd
141 Conflicts:      bacula-console < 0:1.34.6
142 Conflicts:      bacula-dir < 0:1.34.6
143 Conflicts:      bacula-fd < 0:1.34.6
144 Conflicts:      bacula-sd < 0:1.34.6
145 Conflicts:      logrotate < 3.8.0
146
147 %description common
148 Bacula - It comes by night and sucks the vital essence from your
149 computers.
150
151 Bacula is a set of computer programs that permit you (or the system
152 administrator) to manage backup, recovery, and verification of
153 computer data across a network of computers of different kinds. In
154 technical terms, it is a network client/server based backup program.
155 Bacula is relatively easy to use and efficient, while offering many
156 advanced storage management features that make it easy to find and
157 recover lost or damaged files.
158
159 %description common -l pl.UTF-8
160 Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
161
162 Bacula to zbiór programów umożliwiających administratorowi na
163 zarządzanie kopiami zapasowymi, odzyskiwaniem i weryfikacją danych w
164 sieci komputerów różnego rodzaju. W terminologii technicznej jest to
165 program do kopii zapasowych pracujący w architekturze klient-serwer.
166 Bacula jest stosunkowo łatwa w użyciu i wydajna, oferując przy tym
167 wiele zaawansowanych możliwości przy zarządzaniu nośnikami,
168 ułatwiających znalezienie i odzyskanie utraconych lub uszkodzonych
169 plików.
170
171 %package dir
172 Summary:        Bacula Director and Catalog services
173 Summary(pl.UTF-8):      Usługi Bacula Director i Catalog
174 Group:          Networking/Utilities
175 Requires(post): sed >= 4.0
176 Requires:       %{name}-common = %{version}-%{release}
177 Requires:       bacula(db) = %{version}-%{release}
178 Obsoletes:      bacula-updatedb
179
180 %description dir
181 Bacula - It comes by night and sucks the vital essence from your
182 computers.
183
184 Bacula Director is the program that supervises all the backup,
185 restore, verify and archive operations. The system administrator uses
186 the Bacula Director to schedule backups and to recover files. Catalog
187 services are comprised of the software programs responsible for
188 maintaining the file indexes and volume databases for all files backed
189 up. The Catalog services permit the System Administrator or user to
190 quickly locate and restore any desired file, since it maintains a
191 record of all Volumes used, all Jobs run, and all Files saved.
192
193 %description dir -l pl.UTF-8
194 Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
195
196 Bacula Director to program nadzorujący wszystkie operacje wykonywania
197 kopii zapasowych, odzyskiwania, weryfikacji i archiwizowania.
198 Administrator używa Bacula Directora do szeregowania kopii zapasowych
199 oraz odzyskiwania plików. Usługi katalogowe (Catalog services) są
200 używane przez programy odpowiedzialne za zarządzanie indeksami plików
201 i bazą danych wolumenów dla wszystkich kopiowanych plików. Usługi
202 katalogowe umożliwiają administratorowi lub użytkownikowi szybko
203 zlokalizować i odtworzyć dowolny plik, ponieważ utrzymują rekord ze
204 wszystkimi używanymi wolumenami, uruchomionymi zadaniami i zapisanymi
205 plikami.
206
207 %package console
208 Summary:        Bacula Console
209 Summary(pl.UTF-8):      Konsola Baculi
210 Group:          Networking/Utilities
211 Requires(post): sed >= 4.0
212 Requires:       %{name}-common = %{version}-%{release}
213
214 %description console
215 Bacula - It comes by night and sucks the vital essence from your
216 computers.
217
218 Bacula Console is the program that allows the administrator or user to
219 communicate with the Bacula Director. This is the text only console
220 interface.
221
222 %description console -l pl.UTF-8
223 Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
224
225 Bacula Console to program umożliwiający administratorowi lub
226 użytkownikowi komunikowanie się z programem Bacula Director. To jest
227 interfejs czysto tekstowy.
228
229 %package console-wx
230 Summary:        Bacula wxWidgets Console
231 Summary(pl.UTF-8):      Konsola Baculi oparta na wxWidgets
232 Group:          Networking/Utilities
233 Requires(post): sed >= 4.0
234 Requires:       %{name}-common = %{version}-%{release}
235
236 %description console-wx
237 Bacula - It comes by night and sucks the vital essence from your
238 computers.
239
240 Bacula Console is the program that allows the administrator or user to
241 communicate with the Bacula Director. This is the wxWidgets GUI
242 interface.
243
244 %description console-wx -l pl.UTF-8
245 Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
246
247 Bacula Console to program umożliwiający administratorowi lub
248 użytkownikowi komunikowanie się z programem Bacula Director. To jest
249 interfejs graficzny oparty na wxWidgets.
250
251 %package console-qt4
252 Summary:        Bacula Qt4 Console
253 Summary(pl.UTF-8):      Konsola Baculi oparta na Qt4
254 Group:          Networking/Utilities
255 Requires(post): sed >= 4.0
256 Requires:       %{name}-common = %{version}-%{release}
257 Requires:       QtCore >= %{qtver}
258
259 %description console-qt4
260 Bacula - It comes by night and sucks the vital essence from your
261 computers.
262
263 Bacula Console is the program that allows the administrator or user to
264 communicate with the Bacula Director. This is the Qt4 GUI interface.
265
266 %description console-qt4 -l pl.UTF-8
267 Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
268
269 Bacula Console to program umożliwiający administratorowi lub
270 użytkownikowi komunikowanie się z programem Bacula Director. To jest
271 interfejs graficzny oparty na Qt4.
272
273 %package tray-monitor
274 Summary:        Bacula Tray Monitor
275 Group:          Networking/Utilities
276 Requires(post): sed >= 4.0
277 Requires:       %{name}-common = %{version}-%{release}
278
279 %description tray-monitor
280 Bacula - It comes by night and sucks the vital essence from your
281 computers.
282
283 The Monitor program is typically an icon in the system tray. However,
284 once the icon is expanded into a full window, the administrator or
285 user can obtain status information about the Director or the backup
286 status on the local workstation or any other Bacula daemon that is
287 configured.
288
289 %package fd
290 Summary:        Bacula File services (Client)
291 Summary(pl.UTF-8):      Usługi Bacula File (klient)
292 Group:          Networking/Utilities
293 Requires(post): sed >= 4.0
294 Requires:       %{name}-common = %{version}-%{release}
295
296 %description fd
297 Bacula - It comes by night and sucks the vital essence from your
298 computers.
299
300 Bacula File services (or Client program) is the software program that
301 is installed on the machine to be backed up. It is specific to the
302 operating system on which it runs and is responsible for providing the
303 file attributes and data when requested by the Director. The File
304 services are also responsible for the file system dependent part of
305 restoring the file attributes and data during a recovery operation.
306 This program runs as a daemon on the machine to be backed up, and in
307 some of the documentation, the File daemon is referred to as the
308 Client (for example in Bacula configuration file).
309
310 %description fd -l pl.UTF-8
311 Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
312
313 Usługi Bacula File (inaczej program kliencki) to oprogramowanie, które
314 instaluje się na maszynach, z których mają być wykonywane kopie
315 zapasowe. Są one specyficzne dla systemu operacyjnego, pod którym
316 działa dana maszyna i odpowiadają za dostarczanie atrybutów i danych
317 plików na żądanie Directora. Usługi plikowe są także odpowiedzialne za
318 zależną od systemu plików część odzyskiwania atrybutów i danych plików
319 podczas operacji odzyskiwania danych. Program działa jako demon na
320 maszynie, która ma być backupowana i w części dokumentacji demon ten
321 (File) jest nazywany klientem (na przykład w pliku konfiguracyjnym
322 Baculi).
323
324 %package sd
325 Summary:        Bacula Storage services
326 Summary(pl.UTF-8):      Usługi Bacula Storage
327 Group:          Networking/Utilities
328 Requires(post): sed >= 4.0
329 Requires:       %{name}-common = %{version}-%{release}
330 Conflicts:      dvd+rw-tools <= 5.21.4.10.8-1
331
332 %description sd
333 Bacula - It comes by night and sucks the vital essence from your
334 computers.
335
336 Bacula Storage services consist of the software programs that perform
337 the storage and recovery of the file attributes and data to the
338 physical backup media or volumes. In other words, the Storage daemon
339 is responsible for reading and writing your tapes (or other storage
340 media, e.g. files). The Storage services runs as a daemon on the
341 machine that has the backup device (usually a tape drive).
342
343 %description sd -l pl.UTF-8
344 Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
345
346 Usługi Bacula Storage składają się z programów obsługujących
347 przechowywanie danych oraz odzyskiwanie atrybutów i danych na
348 fizycznych nośnikach lub wolumenach. Innymi słowy, demon Storage jest
349 odpowiedzialny za odczyt i zapis taśm (lub innych nośników do
350 przechowywania danych, np. plików). Usługi Storage działają jako demon
351 na maszynie, która zawiera urządzenie backupowe (zwykle napęd
352 taśmowy).
353
354 %package db-postgresql
355 Summary:        PostgreSQL database driver for Bacula
356 Summary(pl.UTF-8):      Sterownik bazy PostgreSQL dla Baculi
357 Group:          Networking/Utilities
358 Requires(post): /sbin/ldconfig
359 Requires:       %{name}-common = %{version}-%{release}
360 Provides:       bacula(db) = %{version}-%{release}
361 Obsoletes:      bacula(db)
362
363 %description db-postgresql
364 PostgreSQL database driver for Bacula.
365
366 %description db-postgresql -l pl.UTF-8
367 Sterownik bazy PostgreSQL dla Baculi.
368
369 %package db-mysql
370 Summary:        MySQL database driver for Bacula
371 Summary(pl.UTF-8):      Sterownik bazy MySQL dla Baculi
372 Group:          Networking/Utilities
373 Requires(post): /sbin/ldconfig
374 Requires:       %{name}-common = %{version}-%{release}
375 Provides:       bacula(db) = %{version}-%{release}
376 Obsoletes:      bacula(db)
377
378 %description db-mysql
379 MySQL database driver for Bacula.
380
381 %description db-mysql -l pl.UTF-8
382 Sterownik bazy MySQL dla Baculi.
383
384 %package db-sqlite3
385 Summary:        SQLite database driver for Bacula
386 Summary(pl.UTF-8):      Sterownik bazy SQLite dla Baculi
387 Group:          Networking/Utilities
388 Requires(post): /sbin/ldconfig
389 Requires:       %{name}-common = %{version}-%{release}
390 Provides:       bacula(db) = %{version}-%{release}
391 Obsoletes:      bacula(db)
392
393 %description db-sqlite3
394 SQLite database driver for Bacula.
395
396 %description db-sqlite3 -l pl.UTF-8
397 Sterownik bazy SQLite dla Baculi.
398
399 %package rescue
400 Summary:        Bacula - The Network Backup Solution
401 Summary(pl.UTF-8):      Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
402 Group:          Networking/Utilities
403 Requires:       %{name}-fd = %{version}-%{release}
404 Requires:       coreutils
405 Requires:       util-linux
406
407 %description rescue
408 Bacula - It comes by night and sucks the vital essence from your
409 computers.
410
411 Bacula is a set of computer programs that permit you (or the system
412 administrator) to manage backup, recovery, and verification of
413 computer data across a network of computers of different kinds. In
414 technical terms, it is a network client/server based backup program.
415 Bacula is relatively easy to use and efficient, while offering many
416 advanced storage management features that make it easy to find and
417 recover lost or damaged files.
418
419 This package installs scripts for disaster recovery and builds rescue
420 floppy disk for bare metal recovery.
421
422 %description rescue -l pl.UTF-8
423 Bacula - przychodzi nocą i wysysa żywotny ekstrakt z komputerów.
424
425 Bacula to zbiór programów umożliwiających administratorowi na
426 zarządzanie kopiami zapasowymi, odzyskiwaniem i weryfikacją danych w
427 sieci komputerów różnego rodzaju. W terminologii technicznej jest to
428 program do kopii zapasowych pracujący w architekturze klient-serwer.
429 Bacula jest stosunkowo łatwa w użyciu i wydajna, oferując przy tym
430 wiele zaawansowanych możliwości przy zarządzaniu nośnikami,
431 ułatwiających znalezienie i odzyskanie utraconych lub uszkodzonych
432 plików.
433
434 Ten pakiet zawiera skrypty do odtwarzania po awarii i tworzy dyskietkę
435 ratunkowe do odtwarzania systemu od zera.
436
437 %package -n nagios-plugin-check_bacula
438 Summary:        Nagios plugin to check bacula
439 Group:          Networking
440 Requires:       nagios-common
441
442 %description -n nagios-plugin-check_bacula
443 Nagios plugin to check bacula.
444
445 # provided by various db libraries as a symlink
446 %define _noautoreq      libbaccats-%{version}.so
447
448 %prep
449 %setup -q -a 1
450 %patch0 -p1
451 %patch1 -p1
452 %patch2 -p1
453 %patch3 -p1
454 %patch4 -p1
455 %patch5 -p1
456
457 tar -xf %{SOURCE2} && ln -s bacula-rescue-* rescue
458
459 sed -i -e 's#bindir=.*#bindir=%{_bindir}#g' \
460         src/cats/create_* src/cats/delete_* src/cats/drop_* \
461         src/cats/grant_* src/cats/make_* src/cats/update_*
462 sed -i -e 's/@hostname@/--hostname--/' src/*/*.conf.in
463 sed -i -e 's/@basename@/--hostname--/' src/*/*.conf.in
464
465 %build
466 cd autoconf
467 %{__aclocal} -I bacula-macros -I gettext-macros
468 # $BUILD_DIR not seen by libtoolize, export it
469 BUILD_DIR=.. %{__libtoolize}
470 cd ..
471 %{__autoconf} --prepend-include=$(pwd)/autoconf autoconf/configure.in > configure
472
473 CPPFLAGS="-I/usr/include/ncurses -I%{_includedir}/readline"
474
475 WXCONFIG=%{_bindir}/wx-gtk2-unicode-config \
476 QMAKE=%{_bindir}/qmake-qt4 \
477 %configure \
478         --with-scriptdir=%{_libexecdir}/%{name} \
479         %{?with_bat:--enable-bat} \
480         --disable-conio \
481         --enable-smartalloc \
482         %{?with_console_wx:--enable-bwx-console} \
483         --enable-tray-monitor \
484         %{?with_python:--with-python} \
485         --with-readline \
486         --with-tcp-wrappers \
487         --with-working-dir=%{_var}/lib/%{name} \
488         --with-dump-email="root@localhost" \
489         --with-job-email="root@localhost" \
490         --with-smtp-host=localhost \
491         --with-pid-dir=/var/run \
492         --with-subsys-dir=/var/lock/subsys \
493         --with-systemd=/lib/systemd/system \
494         --enable-batch-insert \
495         %{?with_pgsql:--with-postgresql} \
496         %{?with_mysql:--with-mysql} \
497         %{?with_sqlite3:--with-sqlite3} \
498         %{?with_sqlite3_sync_off:--enable-extra-sqlite3-init="pragma synchronous=0;"} \
499         --with-dir-password="#FAKE-dir-password#" \
500         --with-fd-password="#FAKE-fd-password#" \
501         --with-sd-password="#FAKE-sd-password#" \
502         --with-mon-dir-password="#FAKE-mon-dir-password#" \
503         --with-mon-fd-password="#FAKE-mon-fd-password#" \
504         --with-mon-sd-password="#FAKE-mon-sd-password#" \
505         --with-openssl
506
507 %if %{with bat}
508 cd src/qt-console
509 qmake-qt4 bat.pro
510 cd ../..
511 %endif
512
513 %{__make} 2>&1 | tee log
514 # check for build errors
515 grep "Error in" log && exit 1
516
517 %if %{with nagios}
518 # nagios plugin
519 %{__make} -C examples/nagios/check_bacula
520 %endif
521
522 %if %{with rescue}
523 cd rescue
524 %configure \
525         --with-bacula=../
526 cd linux/cdrom
527 fakeroot %{__make}
528 %endif
529
530 %install
531 rm -rf $RPM_BUILD_ROOT
532 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d,pam.d,sysconfig} \
533                 $RPM_BUILD_ROOT%{_sysconfdir}/rescue \
534                 $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \
535                 $RPM_BUILD_ROOT{%{_mandir},%{_bindir},/var/log/bacula} \
536                 $RPM_BUILD_ROOT%{systemdunitdir}
537
538 %{__make} install \
539         DESTDIR=$RPM_BUILD_ROOT
540
541 # create copies of make_catalog_backup for specific databases; zeore default one (will be ghost)
542 for database in %{databases}; do
543         sed -e "s#default_db_type=.*#default_db_type=${database}#g" \
544                 $RPM_BUILD_ROOT%{_libdir}/%{name}/make_catalog_backup \
545                 > $RPM_BUILD_ROOT%{_libdir}/%{name}/make_${database}_catalog_backup
546                 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/make_${database}_catalog_backup
547 done
548 :> $RPM_BUILD_ROOT%{_libdir}/%{name}/make_catalog_backup
549
550 # we use db dependant (at compile time) shell script only
551 rm $RPM_BUILD_ROOT%{_libexecdir}/%{name}/make_catalog_backup.pl
552
553 ## replace with empty file, replaced by ldconfig from each db-* package on intsall
554 rm $RPM_BUILD_ROOT%{_libdir}/libbaccats-%{version}.so
555 touch $RPM_BUILD_ROOT%{_libdir}/libbaccats-%{version}.so
556
557 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/bacula-dir
558 install -p %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/bacula-fd
559 install -p %{SOURCE12} $RPM_BUILD_ROOT/etc/rc.d/init.d/bacula-sd
560 cp -a %{SOURCE13} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-dir
561 cp -a %{SOURCE14} $RPM_BUILD_ROOT/etc/sysconfig/bacula-dir
562 cp -a %{SOURCE15} $RPM_BUILD_ROOT/etc/sysconfig/bacula-fd
563 cp -a %{SOURCE16} $RPM_BUILD_ROOT/etc/sysconfig/bacula-sd
564 cp -a %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/bacula-dir.service
565 cp -a %{SOURCE18} $RPM_BUILD_ROOT%{systemdunitdir}/bacula-fd.service
566 cp -a %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/bacula-sd.service
567
568 %if %{with console_wx}
569 # tray-monitor is for regular users
570 #mv $RPM_BUILD_ROOT%{_sbindir}/bacula-tray-monitor $RPM_BUILD_ROOT%{_bindir}
571
572 cp -a scripts/bacula.png $RPM_BUILD_ROOT%{_pixmapsdir}/bacula.png
573 #install src/tray-monitor/generic.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/bacula-tray-monitor.xpm
574 sed -e 's/gnome-console/wx-console/g;s/Console/Wx Console/g' \
575         scripts/wxconsole.desktop.consolehelper > $RPM_BUILD_ROOT%{_desktopdir}/bacula-wx.desktop
576 #sed -e 's#%{_sbindir}#%{_bindir}#' \
577 #       scripts/bacula-tray-monitor.desktop > $RPM_BUILD_ROOT%{_desktopdir}/bacula-tray-monitor.desktop
578 %endif
579
580 %if %{with bat}
581 # qmake somewhy does not always create install_bins target. install our own the bin
582 rm -f $RPM_BUILD_ROOT%{_sbindir}/bat
583 libtool --silent --mode=install install src/qt-console/bat $RPM_BUILD_ROOT%{_bindir}
584 cp -a scripts/bacula.png $RPM_BUILD_ROOT%{_pixmapsdir}/bacula.png
585 cp -a scripts/bat.desktop $RPM_BUILD_ROOT%{_desktopdir}
586 %endif
587
588 %if %{with rescue}
589 # install the rescue stuff, these are the rescue scripts
590 cp -a rescue/linux/floppy/backup.etc.list $RPM_BUILD_ROOT%{_sysconfdir}/rescue
591 cp -a rescue/linux/floppy/sfdisk.bz2 $RPM_BUILD_ROOT%{_sysconfdir}/rescue
592 install -p rescue/linux/floppy/*_* $RPM_BUILD_ROOT%{_sysconfdir}/rescue
593 install -p rescue/linux/floppy/getdiskinfo $RPM_BUILD_ROOT%{_sysconfdir}/rescue
594 %endif
595
596 touch $RPM_BUILD_ROOT/var/log/bacula/log
597
598 # install the updatedb scripts for older versions that last full release
599 # 2.0 -> 3.0 : 10_to_11
600 # 5.0 -> 5.2 : 12_to_14
601 install -p updatedb/update_*_tables_10_to_11 $RPM_BUILD_ROOT%{_libexecdir}/%{name}
602 install -p updatedb/update_*_tables_11_to_12 $RPM_BUILD_ROOT%{_libexecdir}/%{name}
603 install -p updatedb/update_*_tables_12_to_14 $RPM_BUILD_ROOT%{_libexecdir}/%{name}
604
605 # place for site passwords
606 touch $RPM_BUILD_ROOT%{_sysconfdir}/{dir-password,fd-password,sd-password}
607 touch $RPM_BUILD_ROOT%{_sysconfdir}/{mon-dir-password,mon-fd-password,mon-sd-password}
608
609 mv $RPM_BUILD_ROOT%{_libexecdir}/%{name}/mtx-changer.conf $RPM_BUILD_ROOT%{_sysconfdir}/mtx-changer.conf
610
611 # some file changes
612 rm -f $RPM_BUILD_ROOT%{_libexecdir}/%{name}/{gconsole,startmysql,stopmysql,bacula,bconsole,fd}
613 %if %{without console_wx}
614 rm -f $RPM_BUILD_ROOT%{_desktopdir}/bacula-wx.desktop
615 %endif
616
617 rm $RPM_BUILD_ROOT%{_docdir}/bacula/ChangeLog
618 rm $RPM_BUILD_ROOT%{_docdir}/bacula/INSTALL
619 rm $RPM_BUILD_ROOT%{_docdir}/bacula/LICENSE
620 rm $RPM_BUILD_ROOT%{_docdir}/bacula/README
621 rm $RPM_BUILD_ROOT%{_docdir}/bacula/ReleaseNotes
622 rm $RPM_BUILD_ROOT%{_docdir}/bacula/VERIFYING
623 rm $RPM_BUILD_ROOT%{_docdir}/bacula/technotes
624
625 # startup scripts, those in /etc/rc.d/init.d are better
626 rm $RPM_BUILD_ROOT%{_sbindir}/bacula
627 rm $RPM_BUILD_ROOT%{_libexecdir}/%{name}/bacula-ctl-*
628
629 # unsupported
630 rm $RPM_BUILD_ROOT%{_libexecdir}/%{name}/btraceback.mdb
631
632 # rename to avoid possible conflicts
633 mv $RPM_BUILD_ROOT%{_sbindir}/{,bacula-}dbcheck
634 mv $RPM_BUILD_ROOT%{_mandir}/man8/{,bacula-}dbcheck.8.gz
635
636 # no -devel files packaged, so this is also useless
637 rm $RPM_BUILD_ROOT%{_libdir}/libbac{,cfg,find,py,sql}.{so,la}
638
639 %if %{with nagios}
640 install -d $RPM_BUILD_ROOT%{nagiosplugindir}
641 %{__make} -C examples/nagios/check_bacula install \
642         sbindir=%{nagiosplugindir} \
643         INSTALL_PROGRAM="libtool --mode=install install -p" \
644         DESTDIR=$RPM_BUILD_ROOT
645 %endif
646
647 %clean
648 rm -rf $RPM_BUILD_ROOT
649
650 %pre common
651 %groupadd -P %{name}-common -g 136 -r -f bacula
652 %useradd -P %{name}-common -u 136 -r -d /var/lib/bacula -s /bin/false -c "Bacula User" -g bacula bacula
653
654 %define update_configs \
655 echo "Updating bacula passwords and names..." | %banner -a %{name} \
656 cd %{_sysconfdir} \
657 for f in *-password; do \
658         if [ ! -s $f ]; then \
659                 openssl rand -base64 33 > $f \
660         fi \
661         p=$(cat $f) \
662         for cf in *.conf *.conf.rpmnew; do \
663                 [ -f $cf ] && sed -i -e"s:#FAKE-$f#:$p:" "$cf" || : \
664         done \
665 done \
666 for cf in *.conf *.conf.rpmnew; do \
667         [ -f $cf ] && sed -i -e"s:--hostname--:`hostname`:" "$cf" || : \
668 done
669
670 %post common
671 /sbin/ldconfig
672 %update_configs
673
674 %postun common
675 /sbin/ldconfig
676 if [ "$1" = "0" ]; then
677         %userremove bacula
678         %groupremove bacula
679 fi
680
681 %triggerpostun dir -- %{name}-dir < %{version}-0
682 %banner bacula-dir -t3 <<EOF
683 You have upgraded from an older version of Bacula director.
684
685 You will probably need to call %{_libexecdir}/%{name}/update_bacula_tables
686 script to upgrade the database.
687
688 Ensure you database partition has enough free space before you run the upgrade,
689 i.e check that there is enough room to rebuild 'File' table (it is the largest
690 in bacula db).
691
692 EOF
693
694 %post dir
695 %update_configs
696 /sbin/chkconfig --add bacula-dir
697 %service bacula-dir restart "Bacula Director daemon"
698 %systemd_post bacula-dir.service
699
700 %preun dir
701 if [ "$1" = "0" ]; then
702         %service bacula-dir stop
703         /sbin/chkconfig --del bacula-dir
704 fi
705 %systemd_preun bacula-dir.service
706
707 %postun dir
708 %systemd_reload
709
710 %post fd
711 %update_configs
712 /sbin/chkconfig --add bacula-fd
713 %service bacula-fd restart "Bacula File daemon"
714 %systemd_post bacula-fd.service
715
716 %preun fd
717 if [ "$1" = "0" ]; then
718         %service bacula-fd stop
719         /sbin/chkconfig --del bacula-fd
720 fi
721 %systemd_preun bacula-fd.service
722
723 %postun fd
724 %systemd_reload
725
726 %post sd
727 %update_configs
728 /sbin/chkconfig --add bacula-sd
729 %service bacula-sd restart "Bacula Storage daemon"
730 %systemd_post bacula-sd.service
731
732 %preun sd
733 if [ "$1" = "0" ]; then
734         %service bacula-sd stop
735         /sbin/chkconfig --del bacula-sd
736 fi
737 %systemd_preun bacula-sd.service
738
739 %postun sd
740 %systemd_reload
741
742 %pre console
743 if [ -e %{_sysconfdir}/console.conf -a ! -e %{_sysconfdir}/bconsole.conf ]; then
744         mv %{_sysconfdir}/console.conf %{_sysconfdir}/bconsole.conf
745 fi
746
747 %post console
748 %update_configs
749
750 %post console-wx
751 %update_configs
752
753 %triggerpostun common -- %{name}-common < 5.0.1-2
754 find %{_sysconfdir}/bat.conf* -perm /007 -print0 2>/dev/null | xargs -0 -r chmod 600 || :
755
756 %post console-qt4
757 %update_configs
758
759 %post tray-monitor
760 %update_configs
761
762 %post rescue
763 # link our current installed conf file to the rescue directory
764 ln -sf %{_sysconfdir}/bacula-fd.conf %{_sysconfdir}/rescue/bacula-fd.conf
765
766 # run getdiskinfo
767 echo "Creating rescue files for this system..."
768 cd %{_sysconfdir}/rescue
769 ./getdiskinfo
770
771 %preun rescue
772 # remove the files created after the initial rpm installation
773 if [ "$1" = "0" ]; then
774         rm -f %{_sysconfdir}/rescue/bacula-fd.conf
775         rm -f %{_sysconfdir}/rescue/partition.*
776         rm -f %{_sysconfdir}/rescue/format.*
777         rm -f %{_sysconfdir}/rescue/mount_drives
778         rm -f %{_sysconfdir}/rescue/start_network
779         rm -f %{_sysconfdir}/rescue/sfdisk
780         rm -rf %{_sysconfdir}/rescue/diskinfo/*
781 fi
782
783 %define db_post() \
784 /sbin/ldconfig \
785 for name in "create database" "drop tables" "drop database" "grant privileges" "make tables" "update tables"; do \
786         prefix="${name%% *}" \
787         suffix="${name#* }" \
788         ln -sf "${prefix}_%{1}_${suffix}" %{_libexecdir}/%{name}/"${prefix}_bacula_${suffix}" || : \
789 done \
790 ln -sf "make_%{1}_catalog_backup" %{_libexecdir}/%{name}/make_catalog_backup || : \
791 ln -sf libbaccats-%{1}-%{version}.so %{_libdir}/libbaccats-%{version}.so || : \
792 %service bacula-dir restart "Bacula Director daemon"
793
794 %post db-postgresql
795 %db_post postgresql
796
797 %postun db-postgresql -p /sbin/ldconfig
798
799 %post db-mysql
800 %db_post mysql
801
802 %postun db-mysql -p /sbin/ldconfig
803
804 %post db-sqlite3
805 %db_post sqlite3
806
807 %postun db-sqlite3 -p /sbin/ldconfig
808
809 %files common
810 %defattr(644,root,root,755)
811 %doc LICENSE
812 %{?with_python:%doc examples/python}
813 %dir %{_sysconfdir}
814 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*-password
815 # do not remove bsmtp from files. Fix build if it is not installed.
816 %attr(755,root,root) %{_sbindir}/bsmtp
817 %attr(755,root,root) %{_sbindir}/btraceback
818 %attr(755,root,root) %{_libdir}/libbac-5*.so
819 %attr(755,root,root) %{_libdir}/libbaccfg-5*.so
820 %attr(755,root,root) %{_libdir}/libbacfind-5*.so
821 %attr(755,root,root) %{_libdir}/libbacpy-5*.so
822 %attr(755,root,root) %{_libdir}/libbacsql-5*.so
823 %{_mandir}/man8/bacula.8*
824 %{_mandir}/man1/bsmtp.1*
825 %{_mandir}/man8/btraceback.8*
826 %dir %{_libexecdir}/%{name}
827 %{_libexecdir}/%{name}/btraceback.dbx
828 %{_libexecdir}/%{name}/btraceback.gdb
829 %{_libexecdir}/%{name}/bacula_config
830 %attr(770,root,bacula) %dir %{_localstatedir}
831 %attr(750,bacula,logs) %dir /var/log/bacula
832 %attr(640,bacula,logs) %ghost /var/log/bacula/log
833
834 %files dir
835 %defattr(644,root,root,755)
836 %doc ChangeLog CheckList ReleaseNotes kernstodo LICENSE
837 #%doc examples %{name}-docs-%{version}/manual/{*.pdf,bacula}
838 %attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-dir.conf
839 %attr(640,root,root) %config(noreplace) /etc/logrotate.d/bacula-dir
840 %attr(754,root,root) /etc/rc.d/init.d/bacula-dir
841 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bacula-dir
842 %{systemdunitdir}/bacula-dir.service
843 %attr(755,root,root) %{_sbindir}/bacula-dir
844 %attr(755,root,root) %{_sbindir}/bregex
845 %attr(755,root,root) %{_sbindir}/bwild
846 %attr(755,root,root) %{_sbindir}/bacula-dbcheck
847 %{_mandir}/man8/bacula-dir.8*
848 %{_mandir}/man8/bacula-dbcheck.8*
849 %{_mandir}/man8/bregex.8*
850 %{_mandir}/man8/bwild.8*
851 %{_libexecdir}/%{name}/query.sql
852 %attr(755,root,root) %{_libexecdir}/%{name}/delete_catalog_backup
853
854 %files db-postgresql
855 %defattr(644,root,root,755)
856 %attr(755,root,root) %{_libexecdir}/%{name}/create_postgresql_database
857 %attr(755,root,root) %{_libexecdir}/%{name}/drop_postgresql_database
858 %attr(755,root,root) %{_libexecdir}/%{name}/drop_postgresql_tables
859 %attr(755,root,root) %{_libexecdir}/%{name}/grant_postgresql_privileges
860 %attr(755,root,root) %{_libexecdir}/%{name}/make_postgresql_tables
861 %attr(755,root,root) %{_libexecdir}/%{name}/update_postgresql_*
862 %attr(755,root,root) %{_libexecdir}/%{name}/make_postgresql_catalog_backup
863 %attr(755,root,root) %{_libdir}/libbaccats-postgresql-5*.so
864
865 %ghost %attr(755,root,root) %{_libdir}/libbaccats-5*.so
866 %ghost %{_libexecdir}/%{name}/create_bacula_database
867 %ghost %{_libexecdir}/%{name}/drop_bacula_tables
868 %ghost %{_libexecdir}/%{name}/drop_bacula_database
869 %ghost %{_libexecdir}/%{name}/grant_bacula_privileges
870 %ghost %{_libexecdir}/%{name}/make_bacula_tables
871 %ghost %{_libexecdir}/%{name}/update_bacula_tables
872 %ghost %{_libexecdir}/%{name}/make_catalog_backup
873
874 %files db-mysql
875 %defattr(644,root,root,755)
876 %attr(755,root,root) %{_libexecdir}/%{name}/create_mysql_database
877 %attr(755,root,root) %{_libexecdir}/%{name}/drop_mysql_database
878 %attr(755,root,root) %{_libexecdir}/%{name}/drop_mysql_tables
879 %attr(755,root,root) %{_libexecdir}/%{name}/grant_mysql_privileges
880 %attr(755,root,root) %{_libexecdir}/%{name}/make_mysql_tables
881 %attr(755,root,root) %{_libexecdir}/%{name}/update_mysql_*
882 %attr(755,root,root) %{_libexecdir}/%{name}/make_mysql_catalog_backup
883 %attr(755,root,root) %{_libdir}/libbaccats-mysql-5*.so
884
885 %ghost %attr(755,root,root) %{_libdir}/libbaccats-5*.so
886 %ghost %{_libexecdir}/%{name}/create_bacula_database
887 %ghost %{_libexecdir}/%{name}/drop_bacula_tables
888 %ghost %{_libexecdir}/%{name}/drop_bacula_database
889 %ghost %{_libexecdir}/%{name}/grant_bacula_privileges
890 %ghost %{_libexecdir}/%{name}/make_bacula_tables
891 %ghost %{_libexecdir}/%{name}/update_bacula_tables
892 %ghost %{_libexecdir}/%{name}/make_catalog_backup
893
894 %files db-sqlite3
895 %defattr(644,root,root,755)
896 %attr(755,root,root) %{_libexecdir}/%{name}/create_sqlite3_database
897 %attr(755,root,root) %{_libexecdir}/%{name}/drop_sqlite3_database
898 %attr(755,root,root) %{_libexecdir}/%{name}/drop_sqlite3_tables
899 %attr(755,root,root) %{_libexecdir}/%{name}/grant_sqlite3_privileges
900 %attr(755,root,root) %{_libexecdir}/%{name}/make_sqlite3_tables
901 %attr(755,root,root) %{_libexecdir}/%{name}/update_sqlite3_*
902 %attr(755,root,root) %{_libexecdir}/%{name}/make_sqlite3_catalog_backup
903 %attr(755,root,root) %{_libdir}/libbaccats-sqlite3-5*.so
904
905 %ghost %attr(755,root,root) %{_libdir}/libbaccats-5*.so
906 %ghost %{_libexecdir}/%{name}/create_bacula_database
907 %ghost %{_libexecdir}/%{name}/drop_bacula_tables
908 %ghost %{_libexecdir}/%{name}/drop_bacula_database
909 %ghost %{_libexecdir}/%{name}/grant_bacula_privileges
910 %ghost %{_libexecdir}/%{name}/make_bacula_tables
911 %ghost %{_libexecdir}/%{name}/update_bacula_tables
912 %ghost %{_libexecdir}/%{name}/make_catalog_backup
913
914 %files fd
915 %defattr(644,root,root,755)
916 %doc LICENSE
917 %attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-fd.conf
918 %attr(754,root,root) /etc/rc.d/init.d/bacula-fd
919 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bacula-fd
920 %{systemdunitdir}/bacula-fd.service
921 %attr(755,root,root) %{_sbindir}/bacula-fd
922 %attr(755,root,root) %{_libdir}/bpipe-fd.so
923 %{_mandir}/man8/bacula-fd.8*
924
925 %files sd
926 %defattr(644,root,root,755)
927 %doc LICENSE
928 %attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-sd.conf
929 %attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mtx-changer.conf
930 %attr(754,root,root) /etc/rc.d/init.d/bacula-sd
931 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bacula-sd
932 %{systemdunitdir}/bacula-sd.service
933 %attr(755,root,root) %{_sbindir}/bacula-sd
934 %attr(755,root,root) %{_sbindir}/bcopy
935 %attr(755,root,root) %{_sbindir}/bextract
936 %attr(755,root,root) %{_sbindir}/bls
937 %attr(755,root,root) %{_sbindir}/bscan
938 %attr(755,root,root) %{_sbindir}/btape
939 %attr(755,root,root) %{_libexecdir}/%{name}/mtx-changer
940 %attr(755,root,root) %{_libexecdir}/%{name}/disk-changer
941 %attr(755,root,root) %{_libexecdir}/%{name}/dvd-handler
942 %{_mandir}/man8/bacula-sd.8*
943 %{_mandir}/man8/bcopy.8*
944 %{_mandir}/man8/bextract.8*
945 %{_mandir}/man8/bls.8*
946 %{_mandir}/man8/bscan.8*
947 %{_mandir}/man8/btape.8*
948
949 %files console
950 %defattr(644,root,root,755)
951 %doc LICENSE
952 %attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bconsole.conf
953 %attr(755,root,root) %{_sbindir}/bconsole
954 %{_mandir}/man8/bconsole.8*
955
956 %if %{with console_wx}
957 %files console-wx
958 %defattr(644,root,root,755)
959 %doc LICENSE
960 %{_pixmapsdir}/%{name}.png
961 %{_desktopdir}/bacula-wx.desktop
962 %attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bwx-console.conf
963 %attr(755,root,root) %{_sbindir}/bwx-console
964 %{_mandir}/man1/bacula-bwxconsole.1*
965 %endif
966
967 %if %{with bat}
968 %files console-qt4
969 %defattr(644,root,root,755)
970 %doc LICENSE
971 %{_pixmapsdir}/%{name}.png
972 %{_desktopdir}/bat.desktop
973 # Do not make this file world-readable or any user will get full access to the
974 # backup system
975 %attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bat.conf
976 %attr(755,root,root) %{_bindir}/bat
977 %{_mandir}/man1/bat.1*
978 %{_docdir}/%{name}
979 %endif
980
981 %if %{with console_wx}
982 %files tray-monitor
983 %defattr(644,root,root,755)
984 %doc LICENSE
985 %attr(755,root,root) %{_sbindir}/bacula-tray-monitor
986 #%{_pixmapsdir}/%{name}-tray-monitor.xpm
987 #%{_desktopdir}/%{name}-tray-monitor.desktop
988 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tray-monitor.conf
989 %{_mandir}/man1/bacula-tray-monitor.1*
990 %endif
991
992 %if %{with rescue}
993 %files rescue
994 %defattr(644,root,root,755)
995 %doc LICENSE
996 %dir %{_sysconfdir}/rescue
997 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/backup.etc.list
998 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/bacula-fd
999 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/format_floppy
1000 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/getdiskinfo
1001 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/make_rescue_disk
1002 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/restore_bacula
1003 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/restore_etc
1004 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/run_grub
1005 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/run_lilo
1006 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rescue/sfdisk.bz2
1007 %endif
1008
1009 %if %{with nagios}
1010 %files -n nagios-plugin-check_bacula
1011 %defattr(644,root,root,755)
1012 %attr(755,root,root) %{nagiosplugindir}/check_bacula
1013 %endif
This page took 0.136739 seconds and 4 git commands to generate.