rpms/dump/devel dump-rh568457.patch,NONE,1.1 dump.spec,1.56,1.57
Jan Görig
jgorig at fedoraproject.org
Thu Mar 4 10:52:30 UTC 2010
Author: jgorig
Update of /cvs/pkgs/rpms/dump/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17588
Modified Files:
dump.spec
Added Files:
dump-rh568457.patch
Log Message:
don't set extended attributes when in read only mode (#568457)
dump-rh568457.patch:
xattr.c | 3 +++
1 file changed, 3 insertions(+)
--- NEW FILE dump-rh568457.patch ---
diff -up ./dump-0.4b42/restore/xattr.c.rh568457 ./dump-0.4b42/restore/xattr.c
--- ./dump-0.4b42/restore/xattr.c.rh568457 2008-06-09 15:25:40.000000000 +0200
+++ ./dump-0.4b42/restore/xattr.c 2010-03-04 11:28:40.649246489 +0100
@@ -424,6 +424,9 @@ xattr_cb_set(char *name, char *value, in
char *path = (char *)private;
int err;
+ if(Nflag)
+ return GOOD;
+
isSELinux;
#ifdef TRANSSELINUX /*GAN6May06 SELinux MLS */
if (isSELinux)
Index: dump.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dump/devel/dump.spec,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -p -r1.56 -r1.57
--- dump.spec 10 Feb 2010 14:45:09 -0000 1.56
+++ dump.spec 4 Mar 2010 10:52:30 -0000 1.57
@@ -7,7 +7,7 @@ Summary: Programs for backing up and res
Name: dump
Epoch: 1
Version: 0.4
-Release: 0.4.%{PREVER}%{?dist}
+Release: 0.5.%{PREVER}%{?dist}
License: BSD
Group: Applications/Archiving
URL: http://dump.sourceforge.net/
@@ -24,6 +24,7 @@ Obsoletes: dump-static
Provides: dump-static
Patch0: dump-rh507948.patch
+Patch1: dump-rh568457.patch
%description
The dump package contains both dump and restore. Dump examines files
@@ -50,6 +51,7 @@ restoring files from a backup), and tar
%setup -q -n dump-%{VERSION}
%patch0 -p1 -b .rh507948
+%patch1 -p2 -b .rh568457
for i in THANKS MAINTAINERS COPYRIGHT CHANGES; do
iconv -f iso-8859-1 -t utf-8 $i -o $i.new
@@ -124,6 +126,9 @@ rm -rf %{buildroot}
%{_mandir}/man8/rmt.8*
%changelog
+* Thu Mar 4 2010 Jan Görig <jgorig redhat com> 0.4-0.5.b42
+- don't set extended attributes when in read only mode (#568457)
+
* Wed Feb 10 2010 Adam Tkac <atkac redhat com> 0.4-0.4.b42
- improve patch for multivol backup issues
More information about the scm-commits
mailing list