Compare commits
No commits in common. "c8" and "c9" have entirely different histories.
@ -1 +1 @@
|
|||||||
d7c88cb5db51c5e255a511b0a15e832fcdda5b4f SOURCES/attr-2.4.48.tar.gz
|
72fea2dee5f481bfe7c9da84a2a1ace063a6c82d SOURCES/attr-2.5.1.tar.gz
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/attr-2.4.48.tar.gz
|
SOURCES/attr-2.5.1.tar.gz
|
||||||
|
|||||||
@ -1,29 +0,0 @@
|
|||||||
From 46baedf88fe22abafa3f2341b2c1bcb4764ce389 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Troy Dawson <tdawson@redhat.com>
|
|
||||||
Date: Fri, 21 Jul 2017 14:05:47 -0700
|
|
||||||
Subject: [PATCH] attr: escape left brace in a regex in test/run
|
|
||||||
|
|
||||||
... to fix test-suite failure with perl-5.26.0
|
|
||||||
|
|
||||||
Bug: https://bugzilla.redhat.com/1473853
|
|
||||||
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
|
||||||
---
|
|
||||||
test/run | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/test/run b/test/run
|
|
||||||
index 4b1f8d0..07e916c 100755
|
|
||||||
--- a/test/run
|
|
||||||
+++ b/test/run
|
|
||||||
@@ -106,7 +106,7 @@ for (;;) {
|
|
||||||
if (defined $line) {
|
|
||||||
# Substitute %VAR and %{VAR} with environment variables.
|
|
||||||
$line =~ s[%(\w+)][$ENV{$1}]eg;
|
|
||||||
- $line =~ s[%{(\w+)}][$ENV{$1}]eg;
|
|
||||||
+ $line =~ s[%\{(\w+)}][$ENV{$1}]eg;
|
|
||||||
}
|
|
||||||
if (defined $line) {
|
|
||||||
if ($line =~ s/^\s*< ?//) {
|
|
||||||
--
|
|
||||||
2.13.0
|
|
||||||
|
|
||||||
64
SOURCES/0003-attr-2.4.48-xattr-conf-nfs4-acls.patch
Normal file
64
SOURCES/0003-attr-2.4.48-xattr-conf-nfs4-acls.patch
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
From 5c04ee88bc3a8fe4bde91d488d74bbadb836a5e6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kamil Dudka <kdudka@redhat.com>
|
||||||
|
Date: Mon, 4 Mar 2019 16:13:42 +0100
|
||||||
|
Subject: [PATCH 1/2] xattr.conf: document how libattr itself uses the file
|
||||||
|
|
||||||
|
Otherwise users could think that only entries with the `skip` action
|
||||||
|
are excluded by libattr functions attr_copy_file() and attr_copy_fd()
|
||||||
|
by default.
|
||||||
|
---
|
||||||
|
xattr.conf | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/xattr.conf b/xattr.conf
|
||||||
|
index dcbc12c..7361fbd 100644
|
||||||
|
--- a/xattr.conf
|
||||||
|
+++ b/xattr.conf
|
||||||
|
@@ -6,6 +6,10 @@
|
||||||
|
# Actions:
|
||||||
|
# permissions - copy when trying to preserve permissions.
|
||||||
|
# skip - do not copy.
|
||||||
|
+#
|
||||||
|
+# Note that libattr functions attr_copy_file() and attr_copy_fd() by default
|
||||||
|
+# skip all extended attributes that are matched by any of the below patterns,
|
||||||
|
+# regardless of the specified action.
|
||||||
|
|
||||||
|
system.nfs4_acl permissions
|
||||||
|
system.nfs4acl permissions
|
||||||
|
--
|
||||||
|
2.20.1
|
||||||
|
|
||||||
|
|
||||||
|
From 951fbb74d402a96619b6b9ee894d272650ec7100 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kamil Dudka <kdudka@redhat.com>
|
||||||
|
Date: Mon, 4 Mar 2019 16:21:52 +0100
|
||||||
|
Subject: [PATCH 2/2] xattr.conf: remove entries for NFSv4 ACLs namespaces
|
||||||
|
|
||||||
|
... in order to make it possible to copy NFSv4 ACLs by GNU coreutils'
|
||||||
|
implementation of cp(1). There is no way to make GNU coreutils copy
|
||||||
|
extended attributes that are matched by any entry from /etc/xattr.conf.
|
||||||
|
|
||||||
|
GNU coreutils upstream says that NFS-related entries should be removed
|
||||||
|
from the default /etc/xattr.conf to make copying of NFSv4 ACLs work:
|
||||||
|
|
||||||
|
http://lists.gnu.org/archive/html/bug-coreutils/2019-03/msg00008.html
|
||||||
|
---
|
||||||
|
xattr.conf | 2 --
|
||||||
|
1 file changed, 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/xattr.conf b/xattr.conf
|
||||||
|
index 7361fbd..1ac5b2f 100644
|
||||||
|
--- a/xattr.conf
|
||||||
|
+++ b/xattr.conf
|
||||||
|
@@ -11,8 +11,6 @@
|
||||||
|
# skip all extended attributes that are matched by any of the below patterns,
|
||||||
|
# regardless of the specified action.
|
||||||
|
|
||||||
|
-system.nfs4_acl permissions
|
||||||
|
-system.nfs4acl permissions
|
||||||
|
system.posix_acl_access permissions
|
||||||
|
system.posix_acl_default permissions
|
||||||
|
trusted.SGI_ACL_DEFAULT skip # xfs specific
|
||||||
|
--
|
||||||
|
2.20.1
|
||||||
|
|
||||||
@ -1,17 +1,24 @@
|
|||||||
Summary: Utilities for managing filesystem extended attributes
|
Summary: Utilities for managing filesystem extended attributes
|
||||||
Name: attr
|
Name: attr
|
||||||
Version: 2.4.48
|
Version: 2.5.1
|
||||||
Release: 3%{?dist}
|
Release: 3%{?dist}
|
||||||
Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz
|
Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz
|
||||||
|
|
||||||
# fix test-suite failure with perl-5.26.0 (#1473853)
|
# xattr.conf: remove entries for NFSv4 ACLs namespaces (#1031423)
|
||||||
Patch1: 0001-attr-2.4.48-test-suite-perl.patch
|
# https://lists.nongnu.org/archive/html/acl-devel/2019-03/msg00000.html
|
||||||
|
# https://lists.nongnu.org/archive/html/acl-devel/2019-03/msg00001.html
|
||||||
|
# https://lists.nongnu.org/archive/html/acl-devel/2019-05/msg00000.html
|
||||||
|
Patch3: 0003-attr-2.4.48-xattr-conf-nfs4-acls.patch
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://savannah.nongnu.org/projects/attr
|
URL: https://savannah.nongnu.org/projects/attr
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
Requires: libattr = %{version}-%{release}
|
BuildRequires: make
|
||||||
|
Requires: libattr%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
# needed for %%check
|
||||||
|
BuildRequires: perl(FileHandle)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A set of tools for manipulating extended attributes on filesystem
|
A set of tools for manipulating extended attributes on filesystem
|
||||||
@ -31,7 +38,7 @@ the extended attribute system calls and library functions.
|
|||||||
%package -n libattr-devel
|
%package -n libattr-devel
|
||||||
Summary: Files needed for building programs with libattr
|
Summary: Files needed for building programs with libattr
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Requires: libattr = %{version}-%{release}
|
Requires: libattr%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
# for <sys/xattr.h> which <attr/xattr.h> is symlinked to
|
# for <sys/xattr.h> which <attr/xattr.h> is symlinked to
|
||||||
Requires: glibc-headers
|
Requires: glibc-headers
|
||||||
@ -46,7 +53,7 @@ For Linux programs, the documented system call API is the
|
|||||||
recommended interface, but an SGI IRIX compatibility interface
|
recommended interface, but an SGI IRIX compatibility interface
|
||||||
is also provided.
|
is also provided.
|
||||||
|
|
||||||
Currently only ext2, ext3 and XFS support extended attributes.
|
Currently only ext2, ext3, ext4 and XFS support extended attributes.
|
||||||
The SGI IRIX compatibility API built above the Linux system calls is
|
The SGI IRIX compatibility API built above the Linux system calls is
|
||||||
used by programs such as xfsdump(8), xfsrestore(8) and xfs_fsr(8).
|
used by programs such as xfsdump(8), xfsrestore(8) and xfs_fsr(8).
|
||||||
|
|
||||||
@ -63,8 +70,7 @@ sed -e 's|test/root/getfattr.test||' \
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
%make_build
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
if ./setfattr -n user.name -v value .; then
|
if ./setfattr -n user.name -v value .; then
|
||||||
@ -92,7 +98,6 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc doc/CHANGES
|
%doc doc/CHANGES
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license doc/COPYING*
|
%license doc/COPYING*
|
||||||
%{_bindir}/attr
|
%{_bindir}/attr
|
||||||
%{_bindir}/getfattr
|
%{_bindir}/getfattr
|
||||||
@ -112,6 +117,44 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
|
|||||||
%config(noreplace) %{_sysconfdir}/xattr.conf
|
%config(noreplace) %{_sysconfdir}/xattr.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.5.1-3
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.5.1-2
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Tue Mar 16 2021 Kamil Dudka <kdudka@redhat.com> - 2.5.1-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Fri Mar 12 2021 Kamil Dudka <kdudka@redhat.com> - 2.5.0-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 22 2020 Kamil Dudka <kdudka@redhat.com> - 2.4.48-9
|
||||||
|
- add BR for perl(FileHandle) needed by %%check
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 10 2019 Kamil Dudka <kdudka@redhat.com> 2.4.48-6
|
||||||
|
- xattr.conf: remove entries for NFSv4 ACLs namespaces (#1031423)
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Aug 31 2018 Filipe Brandenburger <filbranden@gmail.com> 2.4.48-4
|
||||||
|
- Switch compatibility functions back to syscall() to prevent issue in
|
||||||
|
interaction with fakechroot (https://github.com/dex4er/fakechroot/issues/57)
|
||||||
|
|
||||||
* Tue Jul 17 2018 Kamil Dudka <kdudka@redhat.com> 2.4.48-3
|
* Tue Jul 17 2018 Kamil Dudka <kdudka@redhat.com> 2.4.48-3
|
||||||
- temporarily provide attr/xattr.h symlink until users are migrated (#1601482)
|
- temporarily provide attr/xattr.h symlink until users are migrated (#1601482)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user