Compare commits
No commits in common. "c9s" and "c8" have entirely different histories.
1
.attr.metadata
Normal file
1
.attr.metadata
Normal file
@ -0,0 +1 @@
|
||||
d7c88cb5db51c5e255a511b0a15e832fcdda5b4f SOURCES/attr-2.4.48.tar.gz
|
||||
@ -1 +0,0 @@
|
||||
1
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/attr-2.[45].*.tar.gz
|
||||
SOURCES/attr-2.4.48.tar.gz
|
||||
|
||||
@ -1,64 +0,0 @@
|
||||
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
|
||||
|
||||
29
SOURCES/0001-attr-2.4.48-test-suite-perl.patch
Normal file
29
SOURCES/0001-attr-2.4.48-test-suite-perl.patch
Normal file
@ -0,0 +1,29 @@
|
||||
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
|
||||
|
||||
@ -1,24 +1,17 @@
|
||||
Summary: Utilities for managing filesystem extended attributes
|
||||
Name: attr
|
||||
Version: 2.5.1
|
||||
Version: 2.4.48
|
||||
Release: 3%{?dist}
|
||||
Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz
|
||||
|
||||
# xattr.conf: remove entries for NFSv4 ACLs namespaces (#1031423)
|
||||
# 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
|
||||
# fix test-suite failure with perl-5.26.0 (#1473853)
|
||||
Patch1: 0001-attr-2.4.48-test-suite-perl.patch
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://savannah.nongnu.org/projects/attr
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libtool
|
||||
BuildRequires: make
|
||||
Requires: libattr%{?_isa} = %{version}-%{release}
|
||||
|
||||
# needed for %%check
|
||||
BuildRequires: perl(FileHandle)
|
||||
Requires: libattr = %{version}-%{release}
|
||||
|
||||
%description
|
||||
A set of tools for manipulating extended attributes on filesystem
|
||||
@ -38,7 +31,7 @@ the extended attribute system calls and library functions.
|
||||
%package -n libattr-devel
|
||||
Summary: Files needed for building programs with libattr
|
||||
License: LGPLv2+
|
||||
Requires: libattr%{?_isa} = %{version}-%{release}
|
||||
Requires: libattr = %{version}-%{release}
|
||||
|
||||
# for <sys/xattr.h> which <attr/xattr.h> is symlinked to
|
||||
Requires: glibc-headers
|
||||
@ -53,7 +46,7 @@ For Linux programs, the documented system call API is the
|
||||
recommended interface, but an SGI IRIX compatibility interface
|
||||
is also provided.
|
||||
|
||||
Currently only ext2, ext3, ext4 and XFS support extended attributes.
|
||||
Currently only ext2, ext3 and XFS support extended attributes.
|
||||
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).
|
||||
|
||||
@ -70,7 +63,8 @@ sed -e 's|test/root/getfattr.test||' \
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
if ./setfattr -n user.name -v value .; then
|
||||
@ -98,6 +92,7 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc doc/CHANGES
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license doc/COPYING*
|
||||
%{_bindir}/attr
|
||||
%{_bindir}/getfattr
|
||||
@ -117,44 +112,6 @@ ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
|
||||
%config(noreplace) %{_sysconfdir}/xattr.conf
|
||||
|
||||
%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
|
||||
- temporarily provide attr/xattr.h symlink until users are migrated (#1601482)
|
||||
|
||||
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
|
||||
@ -1,11 +0,0 @@
|
||||
summary: Internal gating tests plan
|
||||
discover:
|
||||
- name: Internal gating tests
|
||||
how: fmf
|
||||
filter: 'tag: CI-Tier-1'
|
||||
url: https://pkgs.devel.redhat.com/git/tests/attr
|
||||
execute:
|
||||
how: tmt
|
||||
adjust:
|
||||
enabled: false
|
||||
when: distro == centos-stream or distro == fedora
|
||||
Loading…
Reference in New Issue
Block a user