- man: mention NSS in new[ug]idmap manpages
- libsubid: move development header to shadow folder
This commit is contained in:
parent
5292920d9b
commit
1ec5088225
44
shadow-4.8.1-man-mention-nss-in-newuidmap.patch
Normal file
44
shadow-4.8.1-man-mention-nss-in-newuidmap.patch
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
From 186b1b7ac1a68d0fcc618a22da1a99232b420911 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Serge Hallyn <serge@hallyn.com>
|
||||||
|
Date: Tue, 4 May 2021 14:39:26 -0500
|
||||||
|
Subject: [PATCH] manpages: mention NSS in new[ug]idmap manpages
|
||||||
|
|
||||||
|
Closes #328
|
||||||
|
|
||||||
|
Signed-off-by: Serge Hallyn <serge@hallyn.com>
|
||||||
|
---
|
||||||
|
man/newgidmap.1.xml | 3 ++-
|
||||||
|
man/newuidmap.1.xml | 3 ++-
|
||||||
|
2 files changed, 4 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/man/newgidmap.1.xml b/man/newgidmap.1.xml
|
||||||
|
index 71b03e56..76fc1e30 100644
|
||||||
|
--- a/man/newgidmap.1.xml
|
||||||
|
+++ b/man/newgidmap.1.xml
|
||||||
|
@@ -88,7 +88,8 @@
|
||||||
|
<title>DESCRIPTION</title>
|
||||||
|
<para>
|
||||||
|
The <command>newgidmap</command> sets <filename>/proc/[pid]/gid_map</filename> based on its
|
||||||
|
- command line arguments and the gids allowed in <filename>/etc/subgid</filename>.
|
||||||
|
+ command line arguments and the gids allowed (either in <filename>/etc/subgid</filename> or
|
||||||
|
+ through the configured NSS subid module).
|
||||||
|
Note that the root user is not exempted from the requirement for a valid
|
||||||
|
<filename>/etc/subgid</filename> entry.
|
||||||
|
</para>
|
||||||
|
diff --git a/man/newuidmap.1.xml b/man/newuidmap.1.xml
|
||||||
|
index a6f1f085..44eca50a 100644
|
||||||
|
--- a/man/newuidmap.1.xml
|
||||||
|
+++ b/man/newuidmap.1.xml
|
||||||
|
@@ -88,7 +88,8 @@
|
||||||
|
<title>DESCRIPTION</title>
|
||||||
|
<para>
|
||||||
|
The <command>newuidmap</command> sets <filename>/proc/[pid]/uid_map</filename> based on its
|
||||||
|
- command line arguments and the uids allowed in <filename>/etc/subuid</filename>.
|
||||||
|
+ command line arguments and the uids allowed (either in <filename>/etc/subuid</filename> or
|
||||||
|
+ through the configured NSS subid module).
|
||||||
|
Note that the root user is not exempted from the requirement for a valid
|
||||||
|
<filename>/etc/subuid</filename> entry.
|
||||||
|
</para>
|
||||||
|
--
|
||||||
|
2.30.2
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Utilities for managing accounts and shadow password files
|
Summary: Utilities for managing accounts and shadow password files
|
||||||
Name: shadow-utils
|
Name: shadow-utils
|
||||||
Version: 4.8.1
|
Version: 4.8.1
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
URL: https://github.com/shadow-maint/shadow
|
URL: https://github.com/shadow-maint/shadow
|
||||||
Source0: https://github.com/shadow-maint/shadow/releases/download/%{version}/shadow-%{version}.tar.xz
|
Source0: https://github.com/shadow-maint/shadow/releases/download/%{version}/shadow-%{version}.tar.xz
|
||||||
@ -13,7 +13,7 @@ Source5: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|||||||
Source6: shadow-utils.HOME_MODE.xml
|
Source6: shadow-utils.HOME_MODE.xml
|
||||||
|
|
||||||
### Globals ###
|
### Globals ###
|
||||||
%global includesubiddir %{_includedir}/subid
|
%global includesubiddir %{_includedir}/shadow
|
||||||
|
|
||||||
### Patches ###
|
### Patches ###
|
||||||
# Misc small changes - most probably non-upstreamable
|
# Misc small changes - most probably non-upstreamable
|
||||||
@ -76,6 +76,8 @@ Patch47: shadow-4.8.1-libsubid_creation.patch
|
|||||||
# https://github.com/shadow-maint/shadow/commit/8492dee6632e340dee76eee895c3e30877bebf45
|
# https://github.com/shadow-maint/shadow/commit/8492dee6632e340dee76eee895c3e30877bebf45
|
||||||
# https://github.com/shadow-maint/shadow/commit/0f4347d1483191b2142546416a9eefe0c9459600
|
# https://github.com/shadow-maint/shadow/commit/0f4347d1483191b2142546416a9eefe0c9459600
|
||||||
Patch48: shadow-4.8.1-libsubid_nsswitch_support.patch
|
Patch48: shadow-4.8.1-libsubid_nsswitch_support.patch
|
||||||
|
# https://github.com/shadow-maint/shadow/commit/186b1b7ac1a68d0fcc618a22da1a99232b420911
|
||||||
|
Patch49: shadow-4.8.1-man-mention-nss-in-newuidmap.patch
|
||||||
|
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
@ -149,6 +151,7 @@ Development files for shadow-utils-subid.
|
|||||||
%patch46 -p1 -b .man-include-lastlog-file-caveat
|
%patch46 -p1 -b .man-include-lastlog-file-caveat
|
||||||
%patch47 -p1 -b .libsubid_creation
|
%patch47 -p1 -b .libsubid_creation
|
||||||
%patch48 -p1 -b .libsubid_nsswitch_support
|
%patch48 -p1 -b .libsubid_nsswitch_support
|
||||||
|
%patch49 -p1 -b .man-mention-nss-in-newuidmap
|
||||||
|
|
||||||
iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8
|
iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8
|
||||||
cp -f doc/HOWTO.utf8 doc/HOWTO
|
cp -f doc/HOWTO.utf8 doc/HOWTO
|
||||||
@ -317,6 +320,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libsubid.la
|
|||||||
%{_libdir}/libsubid.so
|
%{_libdir}/libsubid.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 6 2021 Iker Pedrosa <ipedrosa@redhat.com> - 2:4.8.1-10
|
||||||
|
- man: mention NSS in new[ug]idmap manpages
|
||||||
|
- libsubid: move development header to shadow folder
|
||||||
|
|
||||||
* Fri Apr 16 2021 Iker Pedrosa <ipedrosa@redhat.com> - 2:4.8.1-9
|
* Fri Apr 16 2021 Iker Pedrosa <ipedrosa@redhat.com> - 2:4.8.1-9
|
||||||
- libsubid: creation and nsswitch support
|
- libsubid: creation and nsswitch support
|
||||||
- Creation of subid and subid-devel subpackages
|
- Creation of subid and subid-devel subpackages
|
||||||
|
Loading…
Reference in New Issue
Block a user