packages: bacula/bacula.spec - enable nagios package

glen glen at pld-linux.org
Sun Aug 22 18:45:44 CEST 2010


Author: glen                         Date: Sun Aug 22 16:45:44 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- enable nagios package

---- Files affected:
packages/bacula:
   bacula.spec (1.148 -> 1.149) 

---- Diffs:

================================================================
Index: packages/bacula/bacula.spec
diff -u packages/bacula/bacula.spec:1.148 packages/bacula/bacula.spec:1.149
--- packages/bacula/bacula.spec:1.148	Sun Aug 22 17:50:02 2010
+++ packages/bacula/bacula.spec	Sun Aug 22 18:45:39 2010
@@ -7,6 +7,7 @@
 #make[1]: *** No rule to make target `../lib/libbac.la', needed by `bacula-dir'.  Stop.
 #make[1]: *** Waiting for unfinished jobs....
 #make[1]: Leaving directory `/home/users/glen/rpm/BUILD.x86_64-linux/bacula-5.0.2/src/dird'
+#	- unpackaged: /usr/lib64/bacula/btraceback.mdb
 #
 # Conditional build:
 %bcond_without	console_wx		# wx-console program
@@ -16,7 +17,7 @@
 %bcond_without	pgsql			# use PostgreSQL
 %bcond_without	sqlite3			# use SQLite3
 %bcond_without	python
-%bcond_with	nagios		# build nagios plugin
+%bcond_without	nagios		# build nagios plugin
 %bcond_with	rescue
 %bcond_with	sqlite3_sync_off	# makes SQLite3 backend much faster, but less reliable
 
@@ -28,7 +29,7 @@
 Summary(pl.UTF-8):	Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
 Name:		bacula
 Version:	5.0.3
-Release:	1
+Release:	2
 License:	extended GPL v2
 Group:		Networking/Utilities
 Source0:	http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
@@ -659,6 +660,7 @@
 done
 
 %if %{with nagios}
+install -d $RPM_BUILD_ROOT%{nagiosplugindir}
 %{__make} -C examples/nagios/check_bacula install \
 	sbindir=%{nagiosplugindir} \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -1052,6 +1054,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.149  2010/08/22 16:45:39  glen
+- enable nagios package
+
 Revision 1.148  2010/08/22 15:50:02  glen
 - re-add updated tinfo patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bacula/bacula.spec?r1=1.148&r2=1.149&f=u



More information about the pld-cvs-commit mailing list