packages: amanda/amanda.spec - rel 6 - added script to backup lvm snapshots...

baggins baggins at pld-linux.org
Sat May 12 12:24:46 CEST 2012


Author: baggins                      Date: Sat May 12 10:24:46 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 6
- added script to backup lvm snapshots
- fix amstar not to unconditionally assume that '-device' argument is a directory

---- Files affected:
packages/amanda:
   amanda.spec (1.223 -> 1.224) 

---- Diffs:

================================================================
Index: packages/amanda/amanda.spec
diff -u packages/amanda/amanda.spec:1.223 packages/amanda/amanda.spec:1.224
--- packages/amanda/amanda.spec:1.223	Mon May  7 17:29:16 2012
+++ packages/amanda/amanda.spec	Sat May 12 12:24:41 2012
@@ -11,7 +11,7 @@
 Summary(pl.UTF-8):	Sieciowo zorientowany system tworzenia kopii zapasowych
 Name:		amanda
 Version:	3.2.3
-Release:	5
+Release:	6
 License:	BSD
 Group:		Networking/Utilities
 Source0:	http://downloads.sourceforge.net/amanda/%{name}-%{version}.tar.gz
@@ -24,6 +24,10 @@
 # http://amanda.svn.sourceforge.net/viewvc/amanda/amanda/branches/3_2/contrib/convert-zd-mtx-to-robot.sh
 Source6:	convert-zd-mtx-to-robot.sh
 Source7:	%{name}-ssh_config
+# https://github.com/janekr/amlvm-snapshot
+Source8:	amlvm-snapshot.conf
+Source9:	amlvm-snapshot.pl
+Source10:	amlvm-snapshot.README
 Patch0:		%{name}-no_libnsl.patch
 Patch1:		%{name}-chg-zd-mtx-sh.patch
 Patch2:		%{name}-tar.patch
@@ -38,6 +42,7 @@
 Patch11:	%{name}-amstar-exclude-fix.patch
 Patch12:	%{name}-krb5-auth.patch
 Patch13:	%{name}-glib2.32.patch
+Patch14:	%{name}-amstar-device.patch
 URL:		http://www.amanda.org/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
@@ -211,6 +216,8 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
+cp -a %{SOURCE10} .
 
 %build
 %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
@@ -282,6 +289,9 @@
 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
 
+install -p %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/amanda/lvm-snapshot.conf
+sed -e 's|@@PERL_VENDORARCH@@|%{perl_vendorarch}|' %{SOURCE9} >$RPM_BUILD_ROOT%{_libdir}/amanda/application/amlvm-snapshot
+
 > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
 
 # Amanda tools generate ssh keys with embeded commands pointing to /usr/lib
@@ -380,7 +390,7 @@
 
 %files common
 %defattr(644,root,root,755)
-%doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
+%doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING amlvm-snapshot.README
 %attr(755,root,root) %{_libdir}/amanda/libamanda*.so
 %attr(755,root,root) %{_libdir}/amanda/libamar*.so
 %attr(755,root,root) %{_libdir}/amanda/libamxfer*.so
@@ -484,6 +494,7 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
 
 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
+%config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/lvm-snapshot.conf
 
 # Commented out so it won't get removed on uninstall
 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys
@@ -628,6 +639,7 @@
 %dir %{_libdir}/amanda/application
 %attr(4750,root,amanda) %{_libdir}/amanda/application/amgtar
 %attr(755,root,root) %{_libdir}/amanda/application/amlog-script
+%attr(755,root,root) %{_libdir}/amanda/application/amlvm-snapshot
 %attr(755,root,root) %{_libdir}/amanda/application/ampgsql
 %attr(755,root,root) %{_libdir}/amanda/application/amraw
 %attr(755,root,root) %{_libdir}/amanda/application/amsamba
@@ -676,6 +688,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.224  2012/05/12 10:24:41  baggins
+- rel 6
+- added script to backup lvm snapshots
+- fix amstar not to unconditionally assume that '-device' argument is a directory
+
 Revision 1.223  2012/05/07 15:29:16  kiesiu
 - fixed assertion failed: (!g_thread_supported()) issue with newer glib
 - rel. 5
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/amanda/amanda.spec?r1=1.223&r2=1.224



More information about the pld-cvs-commit mailing list