Author: glen Date: Sun Feb 27 15:04:25 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 754 permissions for init.d scripts
---- Files affected:
SPECS:
adapter.spec (1.9 -> 1.10) , adapter.awk (1.134 -> 1.135) , smtp-gated.spec
(1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/adapter.spec
diff -u SPECS/adapter.spec:1.9 SPECS/adapter.spec:1.10
--- SPECS/adapter.spec:1.9 Thu Feb 24 16:45:32 2005
+++ SPECS/adapter.spec Sun Feb 27 16:04:18 2005
@@ -90,12 +90,17 @@
%attr(600,root,root) %config(noreplace) %verify(not mtime md5 size) %ghost
%{supervise}/log/supervise/*
%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost
%{supervise}/log/supervise/*
+%attr(755,root,root) /etc/rc.d/init.d/%{name}
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2005/02/27 15:04:18 glen
+- 754 permissions for init.d scripts
+
Revision 1.9 2005/02/24 15:45:32 glen
- /usr/share/unsermake exclude
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.134 SPECS/adapter.awk:1.135
--- SPECS/adapter.awk:1.134 Thu Feb 24 16:45:32 2005
+++ SPECS/adapter.awk Sun Feb 27 16:04:18 2005
@@ -674,6 +674,10 @@
gsub("^%{_sbindir}", "%attr(755,root,root) %{_sbindir}")
gsub("^%{_bindir}", "%attr(755,root,root) %{_bindir}")
+ if (/^%attr.*\/etc\/rc\.d\/init\.d/ && !/^%attr\(754 *,/) {
+ gsub("^%attr\(... *,", "%attr(754,");
+ }
+
# sort %verify attrs
if (match($0, /%verify\(not (.*)\)/)) {
t = substr($0, RSTART, RLENGTH)
================================================================
Index: SPECS/smtp-gated.spec
diff -u SPECS/smtp-gated.spec:1.4 SPECS/smtp-gated.spec:1.5
--- SPECS/smtp-gated.spec:1.4 Sun Feb 27 15:27:53 2005
+++ SPECS/smtp-gated.spec Sun Feb 27 16:04:18 2005
@@ -79,7 +79,7 @@
%doc README Changelog
%attr(640,root,root) %config %verify(not md5 mtime size) /etc/sysconfig/%{name}
%attr(640,root,root) %config %verify(not md5 mtime size)
%{_sysconfdir}/%{name}.conf
-%attr(755,root,root) /etc/rc.d/init.d/%{name}
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
%attr(755,root,root) %{_sbindir}/smtp-gated
%{_mandir}/man5/*
%{_mandir}/man8/*
@@ -91,6 +91,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2005/02/27 15:04:18 glen
+- 754 permissions for init.d scripts
+
Revision 1.4 2005/02/27 14:27:53 hunter
-- +x on init script
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.spec?r1=1.9&r2=1.10&f=u
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.134&r2=1.135&f=u
http://cvs.pld-linux.org/SPECS/smtp-gated.spec?r1=1.4&r2=1.5&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit