import libcap-2.26-1.el8
This commit is contained in:
parent
c7d7507670
commit
db51386fba
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/libcap-2.25.tar.gz
|
SOURCES/libcap-2.26.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
0d6e242d70e80c243a7abeb787e007835b3f0d3d SOURCES/libcap-2.25.tar.gz
|
e667d815755f3f6a5819eb383827dd358372dda1 SOURCES/libcap-2.26.tar.gz
|
||||||
|
12
SOURCES/libcap-PAM_REINITIALIZE_CRED.patch
Normal file
12
SOURCES/libcap-PAM_REINITIALIZE_CRED.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urN libcap-2.25/pam_cap/pam_cap.c libcap-2.25_patched/pam_cap/pam_cap.c
|
||||||
|
--- libcap-2.25/pam_cap/pam_cap.c 2013-12-16 05:46:28.000000000 +0100
|
||||||
|
+++ libcap-2.25_patched/pam_cap/pam_cap.c 2019-03-04 16:18:23.440525062 +0100
|
||||||
|
@@ -286,7 +286,7 @@
|
||||||
|
int retval;
|
||||||
|
struct pam_cap_s pcs;
|
||||||
|
|
||||||
|
- if (!(flags & PAM_ESTABLISH_CRED)) {
|
||||||
|
+ if (!(flags & (PAM_ESTABLISH_CRED | PAM_REINITIALIZE_CRED))) {
|
||||||
|
D(("we don't handle much in the way of credentials"));
|
||||||
|
return PAM_IGNORE;
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
Name: libcap
|
Name: libcap
|
||||||
Version: 2.25
|
Version: 2.26
|
||||||
Release: 9%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Library for getting and setting POSIX.1e capabilities
|
Summary: Library for getting and setting POSIX.1e capabilities
|
||||||
URL: https://sites.google.com/site/fullycapable/
|
URL: https://sites.google.com/site/fullycapable/
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -11,6 +11,7 @@ Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{nam
|
|||||||
# http://manned.org/getpcaps/299a4949/src:
|
# http://manned.org/getpcaps/299a4949/src:
|
||||||
Source1: getpcaps.8
|
Source1: getpcaps.8
|
||||||
Patch0: %{name}-2.25-buildflags.patch
|
Patch0: %{name}-2.25-buildflags.patch
|
||||||
|
Patch1: %{name}-PAM_REINITIALIZE_CRED.patch
|
||||||
|
|
||||||
BuildRequires: libattr-devel pam-devel perl-interpreter
|
BuildRequires: libattr-devel pam-devel perl-interpreter
|
||||||
|
|
||||||
@ -47,6 +48,7 @@ libcap.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# libcap can not be build with _smp_mflags:
|
# libcap can not be build with _smp_mflags:
|
||||||
@ -88,6 +90,15 @@ chmod +x %{buildroot}/%{_libdir}/*.so.*
|
|||||||
%{_libdir}/pkgconfig/libcap.pc
|
%{_libdir}/pkgconfig/libcap.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 12 2019 Karsten Hopp <karsten@redhat.com> - 2.26-1
|
||||||
|
- update to 2.26
|
||||||
|
|
||||||
|
* Thu Apr 11 2019 Karsten Hopp <karsten@redhat.com> - 2.25-11
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Thu Apr 11 2019 Karsten Hopp <karsten@redhat.com> - 2.25-10
|
||||||
|
- rebuild
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.25-9
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.25-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user