2020-08-07 06:17:52 +03:00
|
|
|
Summary: Access control list utilities
|
|
|
|
Name: acl
|
2021-12-01 01:18:10 +03:00
|
|
|
Version: 2.3.1
|
2023-09-22 00:10:15 +03:00
|
|
|
Release: 2%{?dist}
|
2020-08-07 06:17:52 +03:00
|
|
|
License: GPLv2+
|
|
|
|
Vendor: Microsoft Corporation
|
|
|
|
Distribution: Mariner
|
2021-12-01 01:18:10 +03:00
|
|
|
Group: System Environment/Base
|
|
|
|
URL: https://savannah.nongnu.org/projects/acl/
|
|
|
|
Source0: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
2020-08-07 06:17:52 +03:00
|
|
|
BuildRequires: attr-devel
|
|
|
|
|
2021-12-01 01:18:10 +03:00
|
|
|
Requires: libacl = %{version}-%{release}
|
|
|
|
|
2020-08-07 06:17:52 +03:00
|
|
|
%description
|
|
|
|
This package contains the getfacl and setfacl utilities needed for
|
|
|
|
manipulating access control lists.
|
|
|
|
|
|
|
|
%package -n libacl
|
|
|
|
Summary: Dynamic library for access control list support
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: attr
|
|
|
|
|
|
|
|
%description -n libacl
|
|
|
|
This package contains the libacl.so dynamic library which contains
|
|
|
|
the POSIX 1003.1e draft standard 17 functions for manipulating access
|
|
|
|
control lists.
|
|
|
|
|
|
|
|
%package -n libacl-devel
|
|
|
|
Summary: Files needed for building programs with libacl
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libacl = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libacl-devel
|
|
|
|
This package contains header files and documentation needed to develop
|
|
|
|
programs which make use of the access control list programming interface
|
|
|
|
defined in POSIX 1003.1e draft standard 17.
|
|
|
|
|
|
|
|
%prep
|
2021-12-01 01:18:10 +03:00
|
|
|
%autosetup
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
|
2021-12-01 01:18:10 +03:00
|
|
|
%make_build LIBTOOL="libtool --tag=CC"
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%install
|
2021-12-01 01:18:10 +03:00
|
|
|
%make_install
|
2020-08-07 06:17:52 +03:00
|
|
|
|
2021-12-01 01:18:10 +03:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
chmod 0755 %{buildroot}%{_libdir}/libacl.so.*.*.*
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%check
|
2021-01-28 02:08:40 +03:00
|
|
|
# Skip following four tests which fail due to lack of ACL support in tools like cp from coreutils
|
|
|
|
# As noted in coreutils build log: "configure: WARNING: GNU coreutils will be built without ACL support."
|
|
|
|
sed -e 's|test/cp.test||' -i test/Makemodule.am Makefile.in Makefile
|
|
|
|
sed -e 's|test/root/permissions.test||' -i test/Makemodule.am Makefile.in Makefile
|
|
|
|
sed -e 's|test/root/setfacl.test||' -i test/Makemodule.am Makefile.in Makefile
|
|
|
|
sed -e 's|test/misc.test||' -i test/Makemodule.am Makefile.in Makefile
|
2021-12-01 01:18:10 +03:00
|
|
|
%make_build check
|
2020-08-07 06:17:52 +03:00
|
|
|
|
2021-12-01 01:18:10 +03:00
|
|
|
%ldconfig_scriptlets -n libacl
|
2020-08-07 06:17:52 +03:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%license doc/COPYING*
|
|
|
|
%{_bindir}/chacl
|
|
|
|
%{_bindir}/getfacl
|
|
|
|
%{_bindir}/setfacl
|
|
|
|
%{_mandir}/man1/chacl.1*
|
|
|
|
%{_mandir}/man1/getfacl.1*
|
|
|
|
%{_mandir}/man1/setfacl.1*
|
|
|
|
%{_mandir}/man5/acl.5*
|
|
|
|
|
|
|
|
%files -n libacl-devel
|
|
|
|
%{_libdir}/libacl.so
|
|
|
|
%{_includedir}/acl
|
|
|
|
%{_includedir}/sys/acl.h
|
|
|
|
%{_mandir}/man3/acl_*
|
|
|
|
%{_libdir}/libacl.a
|
2021-12-01 01:18:10 +03:00
|
|
|
%{_docdir}/acl/*
|
2020-08-07 06:17:52 +03:00
|
|
|
%{_libdir}/pkgconfig/libacl.pc
|
|
|
|
|
|
|
|
%files -n libacl
|
|
|
|
%{_libdir}/libacl.so.*
|
|
|
|
|
|
|
|
%changelog
|
2023-09-22 00:10:15 +03:00
|
|
|
* Wed Sep 20 2023 Jon Slobodzian <joslobo@microsoft.com> - 2.3.1-2
|
|
|
|
- Recompile with stack-protection fixed gcc version (CVE-2023-4039)
|
|
|
|
|
2021-12-01 01:18:10 +03:00
|
|
|
* Wed Nov 24 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.3.1-1
|
|
|
|
- Updating to version 2.3.1.
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Andrew Phelps <anphel@microsoft.com> - 2.2.53-5
|
2021-01-28 02:08:40 +03:00
|
|
|
- Fix check tests.
|
2021-12-01 01:18:10 +03:00
|
|
|
|
|
|
|
* Tue Apr 14 2020 Henry Beberman <henry.beberman@microsoft.com> - 2.2.53-4
|
2020-08-07 06:17:52 +03:00
|
|
|
- Update files to include license
|
2021-12-01 01:18:10 +03:00
|
|
|
|
|
|
|
* Fri Mar 03 2020 Jon Slobodzian <joslobo@microsoft.com> - 2.2.53-3
|
2020-08-07 06:17:52 +03:00
|
|
|
- Replaced dead link. Fixed Source URL. Verified license.
|
2021-12-01 01:18:10 +03:00
|
|
|
|
|
|
|
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 2.2.53-2
|
2020-08-07 06:17:52 +03:00
|
|
|
- Initial CBL-Mariner import from Photon (license: Apache2).
|
2021-12-01 01:18:10 +03:00
|
|
|
|
|
|
|
* Mon Sep 17 2018 Ankit Jain <ankitja@vmware.com> - 2.2.53-1
|
2020-08-07 06:17:52 +03:00
|
|
|
- Updated to version 2.2.53
|
2021-12-01 01:18:10 +03:00
|
|
|
|
|
|
|
* Fri Jul 28 2017 Chang Lee <changlee@vmware.com> - 2.2.52-5
|
2020-08-07 06:17:52 +03:00
|
|
|
- Fixed %check for filtering unsupported check env
|
2021-12-01 01:18:10 +03:00
|
|
|
|
|
|
|
* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> - 2.2.52-4
|
2020-08-07 06:17:52 +03:00
|
|
|
- BuildRequired attr-devel.
|
2021-12-01 01:18:10 +03:00
|
|
|
|
|
|
|
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> - 2.2.52-3
|
2020-08-07 06:17:52 +03:00
|
|
|
- Modified %check
|
2021-12-01 01:18:10 +03:00
|
|
|
|
|
|
|
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 2.2.52-2
|
2020-08-07 06:17:52 +03:00
|
|
|
- GA - Bump release of all rpms
|
2021-12-01 01:18:10 +03:00
|
|
|
|
|
|
|
* Thu Feb 26 2015 Divya Thaluru <dthaluru@vmware.com> - 2.2.52-1
|
2020-08-07 06:17:52 +03:00
|
|
|
- Initial version
|