|
|
@ -1,23 +1,22 @@
|
|
|
|
Summary: Access control list utilities
|
|
|
|
Summary: Access control list utilities
|
|
|
|
Name: acl
|
|
|
|
Name: acl
|
|
|
|
Version: 2.2.53
|
|
|
|
Version: 2.3.1
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
BuildRequires: gawk
|
|
|
|
BuildRequires: gawk
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: libattr-devel
|
|
|
|
BuildRequires: libattr-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libtool
|
|
|
|
Requires: libacl = %{version}-%{release}
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: perl(FileHandle)
|
|
|
|
|
|
|
|
Requires: libacl%{?_isa} = %{version}-%{release}
|
|
|
|
Source: https://download-mirror.savannah.gnu.org/releases/acl/acl-%{version}.tar.gz
|
|
|
|
Source: https://download-mirror.savannah.gnu.org/releases/acl/acl-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
|
|
|
URL: https://savannah.nongnu.org/projects/acl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# avoid permission denied problem with LD_PRELOAD in the test-suite
|
|
|
|
# avoid permission denied problem with LD_PRELOAD in the test-suite
|
|
|
|
Patch1: 0001-acl-2.2.53-test-runwrapper.patch
|
|
|
|
Patch1: 0001-acl-2.2.53-test-runwrapper.patch
|
|
|
|
|
|
|
|
|
|
|
|
# preserve failed setfacl return code (RHEL-3909)
|
|
|
|
License: GPLv2+
|
|
|
|
# https://git.savannah.nongnu.org/cgit/acl.git/commit/?id=7ce89c695e76ec41fcebd83f8b728f63b0361a2d
|
|
|
|
URL: https://savannah.nongnu.org/projects/acl
|
|
|
|
Patch2: 0001-acl-2.2.53-setfacl-preserve-failed-status.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This package contains the getfacl and setfacl utilities needed for
|
|
|
|
This package contains the getfacl and setfacl utilities needed for
|
|
|
@ -26,7 +25,6 @@ manipulating access control lists.
|
|
|
|
%package -n libacl
|
|
|
|
%package -n libacl
|
|
|
|
Summary: Dynamic library for access control list support
|
|
|
|
Summary: Dynamic library for access control list support
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
Conflicts: filesystem < 3
|
|
|
|
Conflicts: filesystem < 3
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libacl
|
|
|
|
%description -n libacl
|
|
|
@ -37,8 +35,7 @@ control lists.
|
|
|
|
%package -n libacl-devel
|
|
|
|
%package -n libacl-devel
|
|
|
|
Summary: Files needed for building programs with libacl
|
|
|
|
Summary: Files needed for building programs with libacl
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libacl%{?_isa} = %{version}-%{release}, libattr-devel
|
|
|
|
Requires: libacl = %{version}-%{release}, libattr-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libacl-devel
|
|
|
|
%description -n libacl-devel
|
|
|
|
This package contains header files and documentation needed to develop
|
|
|
|
This package contains header files and documentation needed to develop
|
|
|
@ -48,9 +45,6 @@ defined in POSIX 1003.1e draft standard 17.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
# newer autoconf fixes rpath warnings from rpminspect
|
|
|
|
|
|
|
|
autoreconf -fvi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%configure
|
|
|
|
|
|
|
|
|
|
|
@ -61,21 +55,24 @@ autoreconf -fvi
|
|
|
|
%make_build
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
|
|
|
|
# make the test-suite use the just built library (instead of the system one)
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH="${RPM_BUILD_ROOT}%{_libdir}:${LD_LIBRARY_PATH}"
|
|
|
|
|
|
|
|
|
|
|
|
if ./setfacl -m "u:$(id -u):rwx" .; then
|
|
|
|
if ./setfacl -m "u:$(id -u):rwx" .; then
|
|
|
|
if test 0 = "$(id -u)"; then
|
|
|
|
if test 0 = "$(id -u)"; then
|
|
|
|
# test/root/permissions.test requires the 'daemon' user to be a member
|
|
|
|
# test/root/permissions.test requires the 'daemon' user to be a member
|
|
|
|
# of the 'bin' group in order not to fail. Prevent the test from
|
|
|
|
# of the 'bin' group in order not to fail. Prevent the test from
|
|
|
|
# running if we detect that its requirements are not met (#1085389).
|
|
|
|
# running if we detect that its requirements are not met (#1085389).
|
|
|
|
if id -nG daemon | { ! grep bin >/dev/null; }; then
|
|
|
|
if id -nG daemon | { ! grep bin >/dev/null; }; then
|
|
|
|
sed -e 's|test/root/permissions.test||' \
|
|
|
|
sed -e 's|test/root/permissions.test||' \
|
|
|
|
-i test/Makemodule.am Makefile.in Makefile
|
|
|
|
-i test/Makemodule.am Makefile.in Makefile
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# test/root/setfacl.test fails if 'bin' user cannot access build dir
|
|
|
|
# test/root/setfacl.test fails if 'bin' user cannot access build dir
|
|
|
|
if ! runuser -u bin -- "${PWD}/setfacl" --version; then
|
|
|
|
if ! runuser -u bin -- "${PWD}/setfacl" --version; then
|
|
|
|
sed -e 's|test/root/setfacl.test||' \
|
|
|
|
sed -e 's|test/root/setfacl.test||' \
|
|
|
|
-i test/Makemodule.am Makefile.in Makefile
|
|
|
|
-i test/Makemodule.am Makefile.in Makefile
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# run the upstream test-suite
|
|
|
|
# run the upstream test-suite
|
|
|
@ -102,7 +99,6 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
|
|
|
|
%ldconfig_scriptlets -n libacl
|
|
|
|
%ldconfig_scriptlets -n libacl
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
|
|
|
%license doc/COPYING*
|
|
|
|
%license doc/COPYING*
|
|
|
|
%{_bindir}/chacl
|
|
|
|
%{_bindir}/chacl
|
|
|
|
%{_bindir}/getfacl
|
|
|
|
%{_bindir}/getfacl
|
|
|
@ -123,15 +119,52 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
|
|
|
|
%{_libdir}/libacl.so.*
|
|
|
|
%{_libdir}/libacl.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri Mar 29 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.2.53-3
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.1-3
|
|
|
|
- Rebuilt for MSVSphere 8.10 beta
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.1-2
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 16 2021 Kamil Dudka <kdudka@redhat.com> - 2.3.1-1
|
|
|
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 12 2021 Kamil Dudka <kdudka@redhat.com> - 2.3.0-1
|
|
|
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.53-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 31 2020 Kamil Dudka <kdudka@redhat.com> 2.2.53-9
|
|
|
|
|
|
|
|
- make __acl_create_entry_obj() work with LTO enabled (#1873975)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.53-8
|
|
|
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.53-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 03 2020 Tom Stellard <tstellar@redhat.com> - 2.2.53-6
|
|
|
|
|
|
|
|
- Spec file cleanups and build fix
|
|
|
|
|
|
|
|
- Add BuildRequires: perl-FileHandle to fix make check
|
|
|
|
|
|
|
|
- Add BuildRequres: gcc [1]
|
|
|
|
|
|
|
|
- Use make_build [2] and make_install[3] macros
|
|
|
|
|
|
|
|
- [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/#_buildrequires_and_requires
|
|
|
|
|
|
|
|
- [2] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
|
|
|
|
|
|
|
- [3] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_why_the_makeinstall_macro_should_not_be_used
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.53-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.53-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 06 2023 Lukáš Zaoral <lzaoral@redhat.com> - 2.2.53-3
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.53-3
|
|
|
|
- fix RPATH rpminspect reports
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- actually apply an included patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 06 2023 Lukáš Zaoral <lzaoral@redhat.com> - 2.2.53-2
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.53-2
|
|
|
|
- preserve failed setfacl return code (RHEL-3909)
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 02 2018 Kamil Dudka <kdudka@redhat.com> 2.2.53-1
|
|
|
|
* Mon Jul 02 2018 Kamil Dudka <kdudka@redhat.com> 2.2.53-1
|
|
|
|
- new upstream release
|
|
|
|
- new upstream release
|
|
|
|