From 7c14a949be85a8591e6214d7d575e501f93e74e0 Mon Sep 17 00:00:00 2001 From: Josef Ridky Date: Aug 18 2016 07:16:30 +0000 Subject: Resolves: #1368021 - added missing amanda-security.conf file into /etc folder --- diff --git a/amanda.spec b/amanda.spec index e69732c..86f1f69 100644 --- a/amanda.spec +++ b/amanda.spec @@ -10,7 +10,7 @@ Summary: A network-capable tape backup solution Name: amanda Version: 3.3.9 -Release: 2%{?dist} +Release: 3%{?dist} Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz Source1: amanda.crontab Source4: disklist @@ -166,7 +166,7 @@ install -p -m 644 -D %{SOURCE15} %{buildroot}%{_unitdir}/kamanda.socket install -p -m 644 -D %{SOURCE16} %{buildroot}%{_unitdir}/kamanda@.service install -D %{SOURCE11} %{buildroot}/%{_mandir}/man1/activate-devpay.1.gz install -D %{SOURCE12} %{buildroot}/%{_mandir}/man8/killpgrp.8 - +install -m 644 %{buildroot}/etc/amanda/amanda-security.conf %{buildroot}/etc/amanda-security.conf ln -s %{_libexecdir}/amanda/amandad $RPM_BUILD_ROOT%{_sbindir}/amandad ln -s amrecover.8.gz $RPM_BUILD_ROOT%{_mandir}/man8/amoldrecover.8 @@ -460,6 +460,7 @@ rm -rf ${RPM_BUILD_ROOT} %{_sbindir}/amdump_client %{_sbindir}/amoldrecover %{_sbindir}/amrecover +%{_sysconfdir}/amanda/amanda-security.conf %{_mandir}/man7/amanda-applications.7* %{_mandir}/man8/amdump_client.8* @@ -483,13 +484,16 @@ rm -rf ${RPM_BUILD_ROOT} %config(noreplace) %{_sysconfdir}/amanda/%defconfig/amanda-client.conf %config(noreplace) %{_sysconfdir}/amanda/%defconfig/amanda-client-postgresql.conf -%config(noreplace) %{_sysconfdir}/amanda/amanda-security.conf %attr(-,%amanda_user,%amanda_group) %config(noreplace) %{_localstatedir}/lib/amanda/amandates %attr(-,%amanda_user,%amanda_group) %{_localstatedir}/lib/amanda/gnutar-lists/ +%attr(0644, root, root) %config(noreplace) %{_sysconfdir}/amanda-security.conf %changelog +* Thu Aug 18 2016 Josef Ridky - 3.3.9-3 +- Add security configuration file into /etc folder (#1368021) + * Thu Aug 4 2016 Josef Ridky - 3.3.9-2 - Fix Tie::StdHash permission problem (#1257686)