Author: glen                         Date: Sun Feb 27 19:04:20 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- still, put conf.php.bak as %ghost, to avoid conf.php.bak.rpmnew files

---- Files affected:
SPECS:
   chora.spec (1.29 -> 1.30) , imp.spec (1.71 -> 1.72) , kronolith.spec (1.9 -> 
1.10) , turba.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: SPECS/chora.spec
diff -u SPECS/chora.spec:1.29 SPECS/chora.spec:1.30
--- SPECS/chora.spec:1.29       Sat Feb 26 00:14:43 2005
+++ SPECS/chora.spec    Sun Feb 27 20:04:14 2005
@@ -4,7 +4,7 @@
 Summary(pl):   Program do obsługi CVS przez WWW
 Name:          chora
 Version:       2.0
-Release:       0.19
+Release:       0.21
 License:       GPL v2
 Group:         Networking/Utilities
 Source0:       ftp://ftp.horde.org/pub/chora/%{name}-h3-%{version}.tar.gz
@@ -12,7 +12,7 @@
 Source1:       %{name}.conf
 URL:           http://www.horde.org/chora/
 Requires:      apache >= 1.3.33-2
-# well. depending on configuration, it needs cvs, rcs or svn, cvsps
+# well. depending on configuration, it needs cvs, rcs or svn, cvsps >= 2.0b6
 Requires:      cvs
 Requires:      rcs
 Requires:      horde >= 3.0
@@ -80,6 +80,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
+if [ ! -f %{_sysconfdir}/%{name}/conf.php.bak ]; then
+       install /dev/null -o root -g http -m660 
%{_sysconfdir}/%{name}/conf.php.bak
+fi
+
 # apache1
 if [ -d %{_apache1dir}/conf.d ]; then
        ln -sf %{_sysconfdir}/apache-%{name}.conf 
%{_apache1dir}/conf.d/99_%{name}.conf
@@ -119,7 +123,7 @@
 %attr(750,root,http) %dir %{_sysconfdir}/%{name}
 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/apache-%{name}.conf
 %attr(660,root,http) %config(noreplace) %{_sysconfdir}/%{name}/conf.php
-%attr(660,root,http) %config(noreplace) %{_sysconfdir}/%{name}/conf.php.bak
+%attr(660,root,http) %config(noreplace) %ghost 
%{_sysconfdir}/%{name}/conf.php.bak
 %attr(640,root,http) %config(noreplace) %{_sysconfdir}/%{name}/[!c]*.php
 %attr(640,root,http) %config(noreplace) %{_sysconfdir}/%{name}/*.txt
 %attr(640,root,http) %config(noreplace) %{_sysconfdir}/%{name}/*.conf
@@ -140,6 +144,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2005/02/27 19:04:14  glen
+- still, put conf.php.bak as %ghost, to avoid conf.php.bak.rpmnew files
+
 Revision 1.29  2005/02/25 23:14:43  glen
 - file security revisited: remove write permission on config directory and add 
.bak files as config
 

================================================================
Index: SPECS/imp.spec
diff -u SPECS/imp.spec:1.71 SPECS/imp.spec:1.72
--- SPECS/imp.spec:1.71 Sat Feb 26 00:14:43 2005
+++ SPECS/imp.spec      Sun Feb 27 20:04:14 2005
@@ -5,7 +5,7 @@
 Summary(pt_BR):        Programa de Mail via Web
 Name:          imp
 Version:       4.0.2
-Release:       1.13
+Release:       1.15
 License:       GPL v2
 Group:         Applications/Mail
 Source0:       ftp://ftp.horde.org/pub/imp/%{name}-h3-%{version}.tar.gz
@@ -93,6 +93,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
+if [ ! -f %{_sysconfdir}/%{name}/conf.php.bak ]; then
+       install /dev/null -o root -g http -m660 
%{_sysconfdir}/%{name}/conf.php.bak
+fi
+
 # apache1
 if [ -d %{_apache1dir}/conf.d ]; then
        ln -sf %{_sysconfdir}/apache-%{name}.conf 
%{_apache1dir}/conf.d/99_%{name}.conf
@@ -150,7 +154,7 @@
 %attr(750,root,http) %dir %{_sysconfdir}/%{name}
 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/apache-%{name}.conf
 %attr(660,root,http) %config(noreplace) %{_sysconfdir}/%{name}/conf.php
-%attr(660,root,http) %config(noreplace) %{_sysconfdir}/%{name}/conf.php.bak
+%attr(660,root,http) %config(noreplace) %ghost 
%{_sysconfdir}/%{name}/conf.php.bak
 %attr(640,root,http) %config(noreplace) %{_sysconfdir}/%{name}/[!c]*.php
 %attr(640,root,http) %config(noreplace) %{_sysconfdir}/%{name}/*.txt
 %attr(640,root,http) %{_sysconfdir}/%{name}/*.xml
@@ -170,6 +174,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2005/02/27 19:04:14  glen
+- still, put conf.php.bak as %ghost, to avoid conf.php.bak.rpmnew files
+
 Revision 1.71  2005/02/25 23:14:43  glen
 - file security revisited: remove write permission on config directory and add 
.bak files as config
 

================================================================
Index: SPECS/kronolith.spec
diff -u SPECS/kronolith.spec:1.9 SPECS/kronolith.spec:1.10
--- SPECS/kronolith.spec:1.9    Sat Feb 26 00:14:43 2005
+++ SPECS/kronolith.spec        Sun Feb 27 20:04:14 2005
@@ -3,7 +3,7 @@
 Summary(pl):   Kronolith - kalendarz dla HORDE
 Name:          kronolith
 Version:       2.0.2
-Release:       0.11
+Release:       0.12
 License:       LGPL
 Vendor:                The Horde Project
 Group:         Applications/Mail
@@ -89,6 +89,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
+if [ ! -f %{_sysconfdir}/%{name}/conf.php.bak ]; then
+       install /dev/null -o root -g http -m660 
%{_sysconfdir}/%{name}/conf.php.bak
+fi
+
 # apache1
 if [ -d %{_apache1dir}/conf.d ]; then
        ln -sf %{_sysconfdir}/apache-%{name}.conf 
%{_apache1dir}/conf.d/99_%{name}.conf
@@ -138,7 +142,7 @@
 %attr(750,root,http) %dir %{_sysconfdir}/%{name}
 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/apache-%{name}.conf
 %attr(660,root,http) %config(noreplace) %{_sysconfdir}/%{name}/conf.php
-%attr(660,root,http) %config(noreplace) %{_sysconfdir}/%{name}/conf.php.bak
+%attr(660,root,http) %config(noreplace) %ghost 
%{_sysconfdir}/%{name}/conf.php.bak
 %attr(640,root,http) %config(noreplace) %{_sysconfdir}/%{name}/[!c]*.php
 %attr(640,root,http) %{_sysconfdir}/%{name}/*.xml
 
@@ -157,6 +161,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2005/02/27 19:04:14  glen
+- still, put conf.php.bak as %ghost, to avoid conf.php.bak.rpmnew files
+
 Revision 1.9  2005/02/25 23:14:43  glen
 - file security revisited: remove write permission on config directory and add 
.bak files as config
 

================================================================
Index: SPECS/turba.spec
diff -u SPECS/turba.spec:1.31 SPECS/turba.spec:1.32
--- SPECS/turba.spec:1.31       Sat Feb 26 00:14:43 2005
+++ SPECS/turba.spec    Sun Feb 27 20:04:14 2005
@@ -3,7 +3,7 @@
 Summary(pl):   TURBA - Książka adresowa dla IMP-a
 Name:          turba
 Version:       2.0.2
-Release:       1.9
+Release:       1.10
 License:       LGPL
 Vendor:                The Horde Project
 Group:         Applications/Mail
@@ -94,6 +94,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
+if [ ! -f %{_sysconfdir}/%{name}/conf.php.bak ]; then
+       install /dev/null -o root -g http -m660 
%{_sysconfdir}/%{name}/conf.php.bak
+fi
+
 # apache1
 if [ -d %{_apache1dir}/conf.d ]; then
        ln -sf %{_sysconfdir}/apache-%{name}.conf 
%{_apache1dir}/conf.d/99_%{name}.conf
@@ -159,7 +163,7 @@
 %attr(750,root,http) %dir %{_sysconfdir}/%{name}
 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/apache-%{name}.conf
 %attr(660,root,http) %config(noreplace) %{_sysconfdir}/%{name}/conf.php
-%attr(660,root,http) %config(noreplace) %{_sysconfdir}/%{name}/conf.php.bak
+%attr(660,root,http) %config(noreplace) %ghost 
%{_sysconfdir}/%{name}/conf.php.bak
 %attr(640,root,http) %config(noreplace) %{_sysconfdir}/%{name}/[!c]*.php
 %attr(640,root,http) %{_sysconfdir}/%{name}/*.xml
 
@@ -178,6 +182,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2005/02/27 19:04:14  glen
+- still, put conf.php.bak as %ghost, to avoid conf.php.bak.rpmnew files
+
 Revision 1.31  2005/02/25 23:14:43  glen
 - file security revisited: remove write permission on config directory and add 
.bak files as config
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/chora.spec?r1=1.29&r2=1.30&f=u
    http://cvs.pld-linux.org/SPECS/imp.spec?r1=1.71&r2=1.72&f=u
    http://cvs.pld-linux.org/SPECS/kronolith.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/SPECS/turba.spec?r1=1.31&r2=1.32&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to