RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/attr#bf77536ea2cbd93b6c079cbe89947e93929dba6c
This commit is contained in:
parent
28cc6df566
commit
a0f1722bbd
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/attr-2.4.*.tar.gz
|
||||
29
0001-attr-2.4.48-test-suite-perl.patch
Normal file
29
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
|
||||
|
||||
123
0002-attr-2.4.48-switch-back-to-syscall.patch
Normal file
123
0002-attr-2.4.48-switch-back-to-syscall.patch
Normal file
@ -0,0 +1,123 @@
|
||||
From 14adc898a36948267bfe5c63b399996879e94c98 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Gruenbacher <agruenba@redhat.com>
|
||||
Date: Fri, 17 Aug 2018 14:07:31 +0200
|
||||
Subject: [PATCH] Switch back to syscall()
|
||||
|
||||
Switch back to syscall() for the *xattr system calls. The current
|
||||
mechanism of forwarding those calls to glibc breaks libraries like
|
||||
libfakeroot (fakeroot) and libasan (the gcc address sanitizer; gcc
|
||||
-fsanitize=address).
|
||||
|
||||
Those libraries provide wrappers for functions defined in other shared
|
||||
libraries, usually glibc, do their own processing, and forward calls to
|
||||
the original symbols looke dup via dlsym(RTLD_NEXT, "symbol_name"). In
|
||||
our case, dlsym returns the libattr_*xattr wrappers. However, when our
|
||||
wrappers try calling glibc, they end up calling the libfakeroot /
|
||||
libasan wrappers instead because those override the original symbols =>
|
||||
recursion.
|
||||
|
||||
The libattr_*xattr wrappers will only be used when symbols are looked up
|
||||
at runtime (dlopen / dlsym). Programs linking against libattr will
|
||||
directly use the glibc provided symbols. Therefore, the slightly worse
|
||||
performance of syscall() won't affect any of the "normal" users of
|
||||
libattr.
|
||||
---
|
||||
libattr/syscalls.c | 26 ++++++++++++++------------
|
||||
1 file changed, 14 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/libattr/syscalls.c b/libattr/syscalls.c
|
||||
index 3013aa0bb687..721ad7f33185 100644
|
||||
--- a/libattr/syscalls.c
|
||||
+++ b/libattr/syscalls.c
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
+#include <unistd.h>
|
||||
+#include <sys/syscall.h>
|
||||
#include <sys/xattr.h>
|
||||
|
||||
#ifdef HAVE_VISIBILITY_ATTRIBUTE
|
||||
@@ -31,67 +33,67 @@
|
||||
int libattr_setxattr(const char *path, const char *name,
|
||||
void *value, size_t size, int flags)
|
||||
{
|
||||
- return setxattr(path, name, value, size, flags);
|
||||
+ return syscall(__NR_setxattr, path, name, value, size, flags);
|
||||
}
|
||||
|
||||
int libattr_lsetxattr(const char *path, const char *name,
|
||||
void *value, size_t size, int flags)
|
||||
{
|
||||
- return lsetxattr(path, name, value, size, flags);
|
||||
+ return syscall(__NR_lsetxattr, path, name, value, size, flags);
|
||||
}
|
||||
|
||||
int libattr_fsetxattr(int filedes, const char *name,
|
||||
void *value, size_t size, int flags)
|
||||
{
|
||||
- return fsetxattr(filedes, name, value, size, flags);
|
||||
+ return syscall(__NR_fsetxattr, filedes, name, value, size, flags);
|
||||
}
|
||||
|
||||
ssize_t libattr_getxattr(const char *path, const char *name,
|
||||
void *value, size_t size)
|
||||
{
|
||||
- return getxattr(path, name, value, size);
|
||||
+ return syscall(__NR_getxattr, path, name, value, size);
|
||||
}
|
||||
|
||||
ssize_t libattr_lgetxattr(const char *path, const char *name,
|
||||
void *value, size_t size)
|
||||
{
|
||||
- return lgetxattr(path, name, value, size);
|
||||
+ return syscall(__NR_lgetxattr, path, name, value, size);
|
||||
}
|
||||
|
||||
ssize_t libattr_fgetxattr(int filedes, const char *name,
|
||||
void *value, size_t size)
|
||||
{
|
||||
- return fgetxattr(filedes, name, value, size);
|
||||
+ return syscall(__NR_fgetxattr, filedes, name, value, size);
|
||||
}
|
||||
|
||||
ssize_t libattr_listxattr(const char *path, char *list, size_t size)
|
||||
{
|
||||
- return listxattr(path, list, size);
|
||||
+ return syscall(__NR_listxattr, path, list, size);
|
||||
}
|
||||
|
||||
ssize_t libattr_llistxattr(const char *path, char *list, size_t size)
|
||||
{
|
||||
- return llistxattr(path, list, size);
|
||||
+ return syscall(__NR_llistxattr, path, list, size);
|
||||
}
|
||||
|
||||
ssize_t libattr_flistxattr(int filedes, char *list, size_t size)
|
||||
{
|
||||
- return flistxattr(filedes, list, size);
|
||||
+ return syscall(__NR_flistxattr, filedes, list, size);
|
||||
}
|
||||
|
||||
int libattr_removexattr(const char *path, const char *name)
|
||||
{
|
||||
- return removexattr(path, name);
|
||||
+ return syscall(__NR_removexattr, path, name);
|
||||
}
|
||||
|
||||
int libattr_lremovexattr(const char *path, const char *name)
|
||||
{
|
||||
- return lremovexattr(path, name);
|
||||
+ return syscall(__NR_lremovexattr, path, name);
|
||||
}
|
||||
|
||||
int libattr_fremovexattr(int filedes, const char *name)
|
||||
{
|
||||
- return fremovexattr(filedes, name);
|
||||
+ return syscall(__NR_fremovexattr, filedes, name);
|
||||
}
|
||||
|
||||
#ifdef HAVE_VISIBILITY_ATTRIBUTE
|
||||
--
|
||||
2.19.0.rc0
|
||||
|
||||
64
0003-attr-2.4.48-xattr-conf-nfs4-acls.patch
Normal file
64
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
|
||||
|
||||
BIN
attr-2.4.48.tar.gz.sig
Normal file
BIN
attr-2.4.48.tar.gz.sig
Normal file
Binary file not shown.
439
attr.spec
Normal file
439
attr.spec
Normal file
@ -0,0 +1,439 @@
|
||||
Summary: Utilities for managing filesystem extended attributes
|
||||
Name: attr
|
||||
Version: 2.4.48
|
||||
Release: 10%{?dist}
|
||||
Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz
|
||||
|
||||
# fix test-suite failure with perl-5.26.0 (#1473853)
|
||||
Patch1: 0001-attr-2.4.48-test-suite-perl.patch
|
||||
|
||||
# fix conflict with fakechroot (https://github.com/dex4er/fakechroot/issues/57)
|
||||
Patch2: 0002-attr-2.4.48-switch-back-to-syscall.patch
|
||||
|
||||
# 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
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://savannah.nongnu.org/projects/attr
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libtool
|
||||
Requires: libattr = %{version}-%{release}
|
||||
|
||||
# needed for %%check
|
||||
BuildRequires: perl(FileHandle)
|
||||
|
||||
%description
|
||||
A set of tools for manipulating extended attributes on filesystem
|
||||
objects, in particular getfattr(1) and setfattr(1).
|
||||
An attr(1) command is also provided which is largely compatible
|
||||
with the SGI IRIX tool of the same name.
|
||||
|
||||
%package -n libattr
|
||||
Summary: Dynamic library for extended attribute support
|
||||
License: LGPLv2+
|
||||
Conflicts: filesystem < 3
|
||||
|
||||
%description -n libattr
|
||||
This package contains the libattr.so dynamic library which contains
|
||||
the extended attribute system calls and library functions.
|
||||
|
||||
%package -n libattr-devel
|
||||
Summary: Files needed for building programs with libattr
|
||||
License: LGPLv2+
|
||||
Requires: libattr = %{version}-%{release}
|
||||
|
||||
# for <sys/xattr.h> which <attr/xattr.h> is symlinked to
|
||||
Requires: glibc-headers
|
||||
|
||||
# provides {,f,l}{get,list,remove,set}xattr.2 man pages
|
||||
Recommends: man-pages
|
||||
|
||||
%description -n libattr-devel
|
||||
This package contains header files and documentation needed to
|
||||
develop programs which make use of extended attributes.
|
||||
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 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).
|
||||
|
||||
You should install libattr-devel if you want to develop programs
|
||||
which make use of extended attributes. If you install libattr-devel,
|
||||
you'll also want to install attr.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
# FIXME: root tests are not ready for SELinux
|
||||
sed -e 's|test/root/getfattr.test||' \
|
||||
-i test/Makemodule.am Makefile.in
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
if ./setfattr -n user.name -v value .; then
|
||||
make check || exit $?
|
||||
else
|
||||
echo '*** xattrs are probably not supported by the file system,' \
|
||||
'the test-suite will NOT run ***'
|
||||
fi
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# get rid of libattr.a and libattr.la
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libattr.{l,}a
|
||||
|
||||
# drop already installed documentation, we will use an RPM macro to install it
|
||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
|
||||
|
||||
# temporarily provide attr/xattr.h symlink until users are migrated (#1601482)
|
||||
ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%ldconfig_scriptlets -n libattr
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc doc/CHANGES
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license doc/COPYING*
|
||||
%{_bindir}/attr
|
||||
%{_bindir}/getfattr
|
||||
%{_bindir}/setfattr
|
||||
%{_mandir}/man1/attr.1*
|
||||
%{_mandir}/man1/getfattr.1*
|
||||
%{_mandir}/man1/setfattr.1*
|
||||
|
||||
%files -n libattr-devel
|
||||
%{_libdir}/libattr.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_includedir}/attr
|
||||
%{_mandir}/man3/attr_*.3.*
|
||||
|
||||
%files -n libattr
|
||||
%{_libdir}/libattr.so.*
|
||||
%config(noreplace) %{_sysconfdir}/xattr.conf
|
||||
|
||||
%changelog
|
||||
* 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)
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jul 03 2018 Kamil Dudka <kdudka@redhat.com> 2.4.48-1
|
||||
- new upstream release
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.4.47-22
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jul 24 2017 Kamil Dudka <kdudka@redhat.com> 2.4.47-19
|
||||
- fix test-suite failure with perl-5.26.0 (#1473853)
|
||||
- apply patches automatically to ease maintenance
|
||||
- update URL of the upstream source tarball
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Feb 03 2017 Kamil Dudka <kdudka@redhat.com> 2.4.47-17
|
||||
- update project URL (#1418475)
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jan 07 2016 Kamil Dudka <kdudka@redhat.com> 2.4.47-15
|
||||
- remove outdated tests from test/attr.test
|
||||
|
||||
* Mon Sep 14 2015 Kamil Dudka <kdudka@redhat.com> 2.4.47-14
|
||||
- make libattr-devel not insist on man-pages being installed (#1262605)
|
||||
|
||||
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 2.4.47-13
|
||||
- Remove bizarre 12 year old libtool invocation workaround that prevented
|
||||
hardened cflags being applied
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.47-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon May 11 2015 Kamil Dudka <kdudka@redhat.com> 2.4.47-11
|
||||
- do not install the attr.5 man page (#1219987)
|
||||
|
||||
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.4.47-10
|
||||
- Rebuilt for Fedora 23 Change
|
||||
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.47-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> - 2.4.47-8
|
||||
- mark license files properly
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.47-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon Mar 31 2014 Kamil Dudka <kdudka@redhat.com> 2.4.47-6
|
||||
- do not install {,f,l}{get,list,remove,set}xattr.2 man pages
|
||||
|
||||
* Tue Jan 21 2014 Kamil Dudka <kdudka@redhat.com> 2.4.47-5
|
||||
- refer to ENODATA instead of ENOATTR in man pages (#1055933)
|
||||
|
||||
* Tue Nov 19 2013 Kamil Dudka <kdudka@redhat.com> 2.4.47-4
|
||||
- provide /etc/xattr.conf to exclude copying certain extended attrs (#1031423)
|
||||
|
||||
* Fri Aug 09 2013 Kamil Dudka <kdudka@redhat.com> 2.4.47-3
|
||||
- drop a docdir-related patch to fix a packaging failure (#991997)
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.47-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Mon May 20 2013 Kamil Dudka <kdudka@redhat.com> 2.4.47-1
|
||||
- new upstream release, drop applied patches
|
||||
- drop workarounds that are no longer necessary
|
||||
|
||||
* Fri May 03 2013 Kamil Dudka <kdudka@redhat.com> 2.4.46-10
|
||||
- use <sys/syscalls.h> to fix build on aarch64 (#957989)
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.46-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> 2.4.46-8
|
||||
- fix specfile issues reported by the fedora-review script
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.46-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Wed May 02 2012 Kamil Dudka <kdudka@redhat.com> 2.4.46-6
|
||||
- do not mention static libraries in the summary of libattr-devel (#817953)
|
||||
|
||||
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.4.46-5
|
||||
- add filesystem guard
|
||||
|
||||
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.4.46-4
|
||||
- install everything in /usr
|
||||
https://fedoraproject.org/wiki/Features/UsrMove
|
||||
|
||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.46-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Fri May 06 2011 Kamil Dudka <kdudka@redhat.com> 2.4.46-2
|
||||
- update project URL (#702636)
|
||||
|
||||
* Thu Apr 21 2011 Kamil Dudka <kdudka@redhat.com> 2.4.46-1
|
||||
- new upstream release
|
||||
|
||||
* Tue Apr 19 2011 Kamil Dudka <kdudka@redhat.com> 2.4.45-1
|
||||
- new upstream release
|
||||
|
||||
* Tue Mar 29 2011 Kamil Dudka <kdudka@redhat.com> 2.2.44-8
|
||||
- fix typos in attr(1) man page (#669095)
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.44-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Wed Dec 22 2010 Kamil Dudka <kdudka@redhat.com> 2.2.44-6
|
||||
- setfattr.1: document supported encodings of values (#587516)
|
||||
- getfattr: encode NULs properly with --encoding=text (#650539)
|
||||
- getfattr: return non-zero exit code on failure (#660619)
|
||||
- walk_tree: do not follow symlink to directory with -h (#660613)
|
||||
|
||||
* Tue May 25 2010 Kamil Dudka <kdudka@redhat.com> 2.2.44-5
|
||||
- let attr depend on the same version of libattr (#595689)
|
||||
- silence compile-time warnings
|
||||
|
||||
* Wed Mar 10 2010 Kamil Dudka <kdudka@redhat.com> 2.2.44-4
|
||||
- run the test-suite if possible
|
||||
|
||||
* Tue Jan 19 2010 Kamil Dudka <kdudka@redhat.com> 2.2.44-3
|
||||
- do not package a static library (#556038)
|
||||
- remove multilib patch no longer useful
|
||||
- enable parallel make
|
||||
|
||||
* Thu Jan 07 2010 Kamil Dudka <kdudka@redhat.com> 2.4.44-2
|
||||
- cleanup in BuildRequires
|
||||
- updated source URL
|
||||
- re-downloaded source tarball from upstream (size changed by one)
|
||||
|
||||
* Wed Nov 25 2009 Kamil Dudka <kdudka@redhat.com> 2.4.44-1
|
||||
- new upstream release
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.43-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.43-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Wed Feb 18 2009 Zdenek Prikryl <zprikryl@redhat.com> 2.4.43-2
|
||||
- Fixed memory leaks (#485473)
|
||||
|
||||
* Wed Jul 16 2008 Zdenek Prikryl <zprikryl@redhat.com> 2.4.43-1
|
||||
- New version 2.4.43
|
||||
|
||||
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.4.41-2
|
||||
- fix license tags
|
||||
|
||||
* Wed Feb 13 2008 Zdenek Prikryl <zprikryl@redhat.com> 2.4.41-1
|
||||
- New version 2.4.41
|
||||
- Removed useless attr-2.0.8-docperms.patch
|
||||
|
||||
* Wed Oct 31 2007 Zdenek Prikryl <zprikryl@redhat.com> 2.4.39-1
|
||||
- New version 2.4.39
|
||||
- Resolves #284121
|
||||
|
||||
* Tue Oct 30 2007 Zdenek Prikryl <zprikryl@redhat.com> 2.4.38-2
|
||||
- Removed explicit Requires(post + postun)
|
||||
- Resolves #225290
|
||||
|
||||
* Tue Jul 31 2007 Zdenek Prikryl <zprikryl@redhat.com> 2.4.38-1
|
||||
- New version 2.4.38
|
||||
- Resolves #245415
|
||||
|
||||
* Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 2.4.32-2
|
||||
- add disttag
|
||||
- remove trailing dot from summary
|
||||
- fix buildroot
|
||||
- -devel package requires same libattr version
|
||||
- change prereq to Requires(post)
|
||||
- escape macro in changelog
|
||||
- replace absolute link with relative link (libattr.so)
|
||||
- use %%doc macro
|
||||
|
||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.4.32-1.1
|
||||
- rebuild
|
||||
|
||||
* Wed Jul 5 2006 Thomas Woerner <twoerne@redhat.com> 2.4.32-1
|
||||
- new version 2.4.32
|
||||
- fixes segmentation fault in attr, which affects #189106
|
||||
|
||||
* Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 2.4.28-2
|
||||
- rebuild for -devel deps
|
||||
|
||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.4.28-1.2
|
||||
- bump again for double-long bug on ppc(64)
|
||||
|
||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.4.28-1.1
|
||||
- rebuilt for new gcc4.1 snapshot and glibc changes
|
||||
|
||||
* Fri Feb 3 2006 Thomas Woerner <twoerner@redhat.com> 2.4.28-1
|
||||
- new version 2.4.28
|
||||
|
||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Tue Dec 6 2005 Thomas Woerner <twoerner@redhat.com> 2.4.24-2
|
||||
- spec file cleanup
|
||||
- mark po files as lang specific
|
||||
|
||||
* Sun Nov 06 2005 Florian La Roche <laroche@redhat.com>
|
||||
- 2.4.24
|
||||
|
||||
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.4.23-1
|
||||
- update to 2.4.23
|
||||
|
||||
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.4.16-6
|
||||
- get rid of *.la files
|
||||
- remove duplicate doc files
|
||||
|
||||
* Wed Feb 9 2005 Stephen C. Tweedie <sct@redhat.com> 2.4.16-4
|
||||
- Rebuild
|
||||
|
||||
* Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.4.16-3
|
||||
- Build requires libtool >= 1.5
|
||||
|
||||
* Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.4.16-2
|
||||
- Make libattr.so.* executable.
|
||||
|
||||
* Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.4.16-1
|
||||
- Update to latest upstream version.
|
||||
|
||||
* Sun Aug 8 2004 Alan Cox <alan@redhat.com> 2.4.1-6
|
||||
- Fix bug #125304 (Steve Grubb: build requires gettext)
|
||||
|
||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Mar 31 2004 Stephen C. Tweedie <sct@redhat.com> 2.4.1-4
|
||||
- Add missing %%defattr
|
||||
|
||||
* Tue Mar 30 2004 Stephen C. Tweedie <sct@redhat.com> 2.4.1-3
|
||||
- Add /usr/include/attr to files manifest
|
||||
- Fix location of doc files, add main doc dir to files manifest
|
||||
|
||||
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Tue Aug 5 2003 Elliot Lee <sopwith@redhat.com> 2.4.1-2
|
||||
- Fix libtool
|
||||
|
||||
* Tue Jun 3 2003 Stephen C. Tweedie <sct@redhat.com> 2.4.1-1
|
||||
- update to attr-2.4.1
|
||||
|
||||
* Tue Jan 28 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.0-1
|
||||
- update/rebuild
|
||||
|
||||
* Sat Jan 4 2003 Jeff Johnson <jbj@redhat.com> 2.0.8-6
|
||||
- set execute bits on library so that requires are generated.
|
||||
|
||||
* Thu Nov 21 2002 Elliot Lee <sopwith@redhat.com> 2.0.8-5
|
||||
- Redo multilib patch to work everywhere
|
||||
|
||||
* Wed Sep 11 2002 Than Ngo <than@redhat.com> 2.0.8-4
|
||||
- Added fix to install libs in correct directory on 64bit machine
|
||||
|
||||
* Thu Aug 08 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.8-3
|
||||
- Made the package only own the one directory that is unique to it:
|
||||
/usr/include/attr
|
||||
|
||||
* Wed Jun 26 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.8-2
|
||||
- get perl out of base with attr-2.0.8-docperms.patch
|
||||
|
||||
* Mon Jun 24 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.8-1
|
||||
- Initial Red Hat package
|
||||
Made as few changes as possible relative to upstream packaging to
|
||||
make it easier to maintain long-term. This means that some of
|
||||
the techniques used here are definitely not standard Red Hat
|
||||
techniques. If you are looking for an example package to fit
|
||||
into Red Hat Linux transparently, this would not be the one to
|
||||
pick.
|
||||
- attr-devel -> libattr-devel
|
||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (attr-2.4.48.tar.gz) = 75f870a0e6e19b8975f3fdceee786fbaff3eadaa9ab9af01996ffa8e50fe5b2bba6e4c22c44a6722d11b55feb9e89895d0151d6811c1d2b475ef4ed145f0c923
|
||||
@ -0,0 +1,63 @@
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Makefile of /CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text
|
||||
# Description: Test for getfattr ignores NULs in output when using "text"
|
||||
# Author: Jan Scotka <jscotka@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2011 Red Hat, Inc. All rights reserved.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing
|
||||
# to use, modify, copy, or redistribute it subject to the terms
|
||||
# and conditions of the GNU General Public License version 2.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
export TEST=/CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text
|
||||
export TESTVERSION=1.0
|
||||
|
||||
BUILT_FILES=
|
||||
|
||||
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
||||
|
||||
.PHONY: all install download clean
|
||||
|
||||
run: $(FILES) build
|
||||
./runtest.sh
|
||||
|
||||
build: $(BUILT_FILES)
|
||||
chmod a+x runtest.sh
|
||||
|
||||
clean:
|
||||
rm -f *~ $(BUILT_FILES)
|
||||
|
||||
|
||||
include /usr/share/rhts/lib/rhts-make.include
|
||||
|
||||
$(METADATA): Makefile
|
||||
@echo "Owner: Jan Scotka <jscotka@redhat.com>" > $(METADATA)
|
||||
@echo "Name: $(TEST)" >> $(METADATA)
|
||||
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||
@echo "Description: Test for getfattr ignores NULs in output when using \"text\" >> $(METADATA)
|
||||
@echo "Type: Sanity" >> $(METADATA)
|
||||
@echo "TestTime: 5m" >> $(METADATA)
|
||||
@echo "RunFor: attr" >> $(METADATA)
|
||||
@echo "Requires: attr" >> $(METADATA)
|
||||
@echo "Priority: Normal" >> $(METADATA)
|
||||
@echo "License: GPLv2" >> $(METADATA)
|
||||
@echo "Confidential: no" >> $(METADATA)
|
||||
@echo "Destructive: no" >> $(METADATA)
|
||||
|
||||
rhts-lint $(METADATA)
|
||||
@ -0,0 +1,4 @@
|
||||
PURPOSE of /CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text
|
||||
Description: Test for getfattr ignores NULs in output when using "text"
|
||||
Author: Jan Scotka <jscotka@redhat.com>
|
||||
Bug summary: getfattr ignores NULs in output when using "text" encoding
|
||||
45
tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.sh
Executable file
45
tests/getfattr-ignores-NULs-in-output-when-using-text/runtest.sh
Executable file
@ -0,0 +1,45 @@
|
||||
#!/bin/bash
|
||||
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# runtest.sh of /CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text
|
||||
# Description: Test for getfattr ignores NULs in output when using "text"
|
||||
# Author: Jan Scotka <jscotka@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2011 Red Hat, Inc. All rights reserved.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing
|
||||
# to use, modify, copy, or redistribute it subject to the terms
|
||||
# and conditions of the GNU General Public License version 2.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# Include Beaker environment
|
||||
. /usr/bin/rhts-environment.sh
|
||||
. /usr/lib/beakerlib/beakerlib.sh
|
||||
|
||||
PACKAGE="attr"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlAssertRpm $PACKAGE
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "getfattr -e text -d -m - /usr/bin/getfattr | grep 'security.selinux=\".*\"'" 0 "there must be ending quotes"
|
||||
rlPhaseEnd
|
||||
|
||||
rlJournalPrintText
|
||||
rlJournalEnd
|
||||
@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# runtest.yml of /CoreOS/attr/Sanity/getfattr-ignores-NULs-in-output-when-using-text
|
||||
# Description: Test for getfattr ignores NULs in output when using "text"
|
||||
# Author: Jan Scotka <jscotka@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2011 Red Hat, Inc. All rights reserved.
|
||||
#
|
||||
# This copyrighted material is made available to anyone wishing
|
||||
# to use, modify, copy, or redistribute it subject to the terms
|
||||
# and conditions of the GNU General Public License version 2.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
- hosts: '{{ hosts | default("localhost") }}'
|
||||
vars:
|
||||
package: attr
|
||||
tasks:
|
||||
- name: Check if package exists
|
||||
command: "rpm -q {{ package }}"
|
||||
args:
|
||||
warn: no
|
||||
- name: Runtest
|
||||
shell: "getfattr -e text -d -m - /usr/bin/getfattr | grep 'security.selinux=\".*\"'"
|
||||
14
tests/tests.yml
Normal file
14
tests/tests.yml
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
# This first play always runs on the local staging system
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-beakerlib
|
||||
tags:
|
||||
- classic
|
||||
- atomic
|
||||
tests:
|
||||
- getfattr-ignores-NULs-in-output-when-using-text
|
||||
required_packages:
|
||||
- attr # getfattr-ignores-NULs-in-output-when-using-text requires attr package
|
||||
- rpm-build # Upstream test requires rpmbuild
|
||||
- gettext # Upstream test requires gettext
|
||||
Loading…
Reference in New Issue
Block a user