代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/libcap 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: libcap
Version: 2.69
Release: 1
Summary: A library for getting and setting POSIX.1e draft 15 capabilities
License: GPLv2
URL: https://sites.google.com/site/fullycapable
Source0: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.gz
Patch0: libcap-buildflags.patch
Patch1: backport-libcap-Ensure-the-XATTR_NAME_CAPS-is-define.patch
BuildRequires: libattr-devel pam-devel perl-interpreter gcc
%description
This is a library for getting and setting POSIX.1e (formerly POSIX 6)
draft 15 capabilities.
%package devel
Summary: Development headers and libraries for %{name}
Requires:%{name} = %{version}-%{release}
%description devel
Development headers and libraries for %{name}
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
make prefix=%{_prefix} lib=%{_lib} LIBDIR=%{_libdir} SBINDIR=%{_sbindir} \
INCDIR=%{_includedir} MANDIR=%{_mandir} PKGCONFIGDIR=%{_libdir}/pkgconfig/
%install
make install RAISE_SETFCAP=no DESTDIR=%{buildroot} LIBDIR=%{_libdir} SBINDIR=%{_sbindir} PKGCONFIGDIR=%{_libdir}/pkgconfig/
mkdir -p %{buildroot}/%{_mandir}/man{2,3,8}
mv -f doc/*.3 %{buildroot}/%{_mandir}/man3/
chmod +x %{buildroot}/%{_libdir}/*.so.*
%check
%make_build COPTS="%{optflags}" test
%pre
%preun
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%license License
%{_libdir}/*.so.*
%{_sbindir}/*
%{_libdir}/security/pam_cap.so
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.a
%files help
%defattr(-,root,root)
%{_mandir}/man3/*.gz
%{_mandir}/man1/*.gz
%{_mandir}/man8/*.gz
%changelog
* Thu Jul 20 2023 wangyunjia <[email protected]> - 2.69-1
- update version to 2.69
* Mon Jul 3 2023 wangyunjia <[email protected]> - 2.66-3
- VFS_CAP_U32 can not ensure that XATTR_NAME_CAPS is defined, and failed to build
* Mon Jan 30 2023 wangyunjia <[email protected]> - 2.66-2
- fix CVE-2023-2602/CVE-2023-2603 && fix memory leaks
* Mon Jan 30 2023 wangyunjia <[email protected]> - 2.66-1
- update version to 2.66
* Tue Nov 1 2022 yixiangzhike <[email protected]> - 2.61-4
- backport upstream patch
* Wed Oct 12 2022 yixiangzhike <[email protected]> - 2.61-3
- backport upstream patches
* Sat Aug 27 2022 yixiangzhike <[email protected]> - 2.61-2
- fix syntax error in DEBUG protected setcap.c code
* Fri Dec 24 2021 yixiangzhike <[email protected]> - 2.61-1
- update to 2.61
* Mon Nov 8 2021 yixiangzhike <[email protected]> - 2.32-3
- capsh better error handling for integer parsing
- setcap clean up error handling of the ns rootid argument
* Mon Sep 07 2020 Roberto Sassu <[email protected]> - 2.32-2
- add Avoid-segfaulting-when-the-kernel-is-ahead-of-libcap.patch
* Thu Apr 16 2020 zhangchenfeng<[email protected]> - 2.32-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: upgrade version to 2.32
* Mon Oct 14 2019 openEuler Buildteam <[email protected]> - 2.27-1
- update to 2.27
* Sun Sep 29 2019 openEuler Buildteam <[email protected]> - 2.25-14
- Fix bugfix of missing pam_cap.so
* Wed Aug 21 2019 openEuler Buildteam <[email protected]> - 2.25-13
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。