SPECS: amanda.spec - perm cleanup - fix internal defs to be FHS compliant

baggins baggins at pld-linux.org
Thu May 8 17:50:12 CEST 2008


Author: baggins                      Date: Thu May  8 15:50:11 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- perm cleanup
- fix internal defs to be FHS compliant

---- Files affected:
SPECS:
   amanda.spec (1.160 -> 1.161) 

---- Diffs:

================================================================
Index: SPECS/amanda.spec
diff -u SPECS/amanda.spec:1.160 SPECS/amanda.spec:1.161
--- SPECS/amanda.spec:1.160	Thu May  8 16:18:06 2008
+++ SPECS/amanda.spec	Thu May  8 17:50:06 2008
@@ -24,6 +24,8 @@
 Patch2:		%{name}-tar.patch
 Patch3:		%{name}-bashizm.patch
 Patch4:		%{name}-as_needed.patch
+Patch5:		%{name}-tapetypes.patch
+Patch6:		%{name}-FHS.patch
 URL:		http://www.amanda.org/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
@@ -172,6 +174,8 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
 
 %build
 %{__libtoolize}
@@ -208,6 +212,7 @@
 	--without-krb4-security \
 	--with-buffered-dump \
 	--with-amandahosts \
+	--with-configdir=%{_sysconfdir}/amanda \
 	--with-gnutar-listdir=%{_sharedstatedir}/gnutar-lists \
 	--with-amandates=%{_sharedstatedir}/amanda/amandates \
 	--with-debugging=%{_sharedstatedir}/amanda/debug \
@@ -287,9 +292,9 @@
 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
 %attr(755,root,root) %{_libdir}/amanda/libamanda*.so
 %dir %{_libdir}/amanda
-%attr(770,root,amanda) %dir %{_sharedstatedir}/amanda
-%attr(770,root,amanda) %dir %{_sharedstatedir}/amanda/debug
-%attr(770,root,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
+%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
+%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
+%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
 
 %if %{with server}
@@ -298,12 +303,16 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
 
-%attr(750,root,amanda) %dir %{_sysconfdir}/amanda
-%config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda.conf
+%attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
+%config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
 
-%{_sharedstatedir}/amanda/example
-%{_sharedstatedir}/amanda/template.d
-%attr(770,root,amanda) %dir %{_sharedstatedir}/amanda/debug/server
+%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example
+%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/example/label-templates
+%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/template.d
+%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
+%attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/*amanda*
+%attr(640,amanda,amanda) %{_sharedstatedir}/amanda/example/label-templates/*.ps
+%attr(640,amanda,amanda) %{_sharedstatedir}/amanda/template.d/*
 
 %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
 
@@ -416,7 +425,7 @@
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
-%attr(664,root,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
+%attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
 %attr(755,root,root) %{_libdir}/amanda/libamclient*.so
 %attr(755,root,root) %{_libdir}/amanda/amandad
 %attr(755,root,root) %{_libdir}/amanda/noop
@@ -430,8 +439,8 @@
 %attr(755,root,root) %{_libdir}/amanda/selfcheck
 %attr(755,root,root) %{_sbindir}/amoldrecover
 %attr(755,root,root) %{_sbindir}/amrecover
-%attr(770,root,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
-%attr(770,root,amanda) %dir %{_sharedstatedir}/amanda/debug/client
+%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
+%attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
 %{_mandir}/man5/amanda-client.conf.5*
 %{_mandir}/man8/amrecover.8*
 %endif
@@ -477,6 +486,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.161  2008-05-08 15:50:06  baggins
+- perm cleanup
+- fix internal defs to be FHS compliant
+
 Revision 1.160  2008-05-08 14:18:06  baggins
 - typo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/amanda.spec?r1=1.160&r2=1.161&f=u



More information about the pld-cvs-commit mailing list