Accepting request 757364 from home:mgerstner:branches:Base:System
- Remove pam_cap (bsc#1150522) since this PAM module is a bad idea, security wise. OBS-URL: https://build.opensuse.org/request/show/757364 OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=29
This commit is contained in:
parent
1b34ec62c5
commit
31075c8cee
@ -1,3 +1 @@
|
|||||||
libcap2
|
libcap2
|
||||||
pam_cap
|
|
||||||
supplements "packageand(pam_cap:pam-<targettype>)"
|
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 16 14:21:27 UTC 2019 - matthias.gerstner@suse.com
|
||||||
|
|
||||||
|
- Remove pam_cap (bsc#1150522) since this PAM module is a bad idea, security
|
||||||
|
wise.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 22 15:10:35 UTC 2018 - fvogt@suse.com
|
Thu Feb 22 15:10:35 UTC 2018 - fvogt@suse.com
|
||||||
|
|
||||||
|
23
libcap.spec
23
libcap.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libcap
|
# spec file for package libcap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,13 +12,13 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libcap
|
Name: libcap
|
||||||
Summary: Library for Capabilities (linux-privs) Support
|
Summary: Library for Capabilities (linux-privs) Support
|
||||||
License: BSD-3-Clause and GPL-2.0
|
License: BSD-3-Clause AND GPL-2.0-only
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Version: 2.25
|
Version: 2.25
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,7 +26,6 @@ Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libca
|
|||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Url: https://sites.google.com/site/fullycapable/
|
Url: https://sites.google.com/site/fullycapable/
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pam-devel
|
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -75,13 +74,6 @@ Group: System/Filesystems
|
|||||||
This package contains utility programs handling capabilities via
|
This package contains utility programs handling capabilities via
|
||||||
libcap.
|
libcap.
|
||||||
|
|
||||||
%package -n pam_cap
|
|
||||||
Summary: PAM Module for Capabilities Support
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n pam_cap
|
|
||||||
A PAM module for per-session capabilities manipulation.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%build
|
%build
|
||||||
@ -100,10 +92,6 @@ find %{buildroot} -type f -name '*.la' -print -delete
|
|||||||
# do not provide static libs
|
# do not provide static libs
|
||||||
rm %{buildroot}%{_libdir}/libcap.a
|
rm %{buildroot}%{_libdir}/libcap.a
|
||||||
|
|
||||||
mkdir -p %{buildroot}/%{_lib}/security
|
|
||||||
mv %{buildroot}%{_libdir}/security/pam_cap.so %{buildroot}/%{_lib}/security/pam_cap.so
|
|
||||||
install -D pam_cap/capability.conf %{buildroot}%{_sysconfdir}/security/capability.conf
|
|
||||||
|
|
||||||
%fdupes -s $RPM_BUILD_ROOT
|
%fdupes -s $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post -n libcap2 -p /sbin/ldconfig
|
%post -n libcap2 -p /sbin/ldconfig
|
||||||
@ -130,9 +118,4 @@ install -D pam_cap/capability.conf %{buildroot}%{_sysconfdir}/security/capabilit
|
|||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%files -n pam_cap
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%config(noreplace) %attr(0600,root,root) %{_sysconfdir}/security/capability.conf
|
|
||||||
/%{_lib}/security/pam_cap.so
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user