Refresh patches

This commit is contained in:
Balint Reczey
2020-02-06 23:33:56 +01:00
parent 8b9729cf03
commit 2d2f190b5f
6 changed files with 4 additions and 37 deletions
+1 -1
View File
@@ -48,4 +48,4 @@ Notes:
+ {"FTMP_FILE", NULL},
{"GID_MAX", NULL},
{"GID_MIN", NULL},
{"HUSHLOGIN_FILE", NULL},
{"HOME_MODE", NULL},
+1 -1
View File
@@ -6,7 +6,7 @@ Status wrt upstream: Debian specific patch.
--- a/man/useradd.8.xml
+++ b/man/useradd.8.xml
@@ -106,6 +106,12 @@
@@ -107,6 +107,12 @@
<refsect1 id='description'>
<title>DESCRIPTION</title>
<para>
+1 -1
View File
@@ -54,7 +54,7 @@ Details:
}
--- a/man/useradd.8.xml
+++ b/man/useradd.8.xml
@@ -661,12 +661,20 @@
@@ -662,12 +662,20 @@
</para>
<para>
+1 -1
View File
@@ -7,7 +7,7 @@ Status wrt upstream: not included as this is just specific
--- a/man/useradd.8.xml
+++ b/man/useradd.8.xml
@@ -340,6 +340,11 @@
@@ -341,6 +341,11 @@
databases are reset to avoid reusing the entry from a previously
deleted user.
</para>
-32
View File
@@ -1,32 +0,0 @@
From 3cc3948d719d3b9dedaaf2e96221e4b5b96ea380 Mon Sep 17 00:00:00 2001
From: Patrick McLean <chutzpah@gentoo.org>
Date: Sun, 1 Dec 2019 13:59:52 -0800
Subject: [PATCH] Revert "Honor --sbindir and --bindir for binary installation"
This reverts commit e293aa9cfca0619a63616af75532637dab60d49d.
See https://github.com/shadow-maint/shadow/issues/196
Some distros still care about `/bin` vs `/usr/bin`. This commit makes
it so all binaries are always installed to `/bin`/`/sbin`. The only way to
restore the previous behaviour of installing some binaries to
`/usr/bin`/`/usr/sbin` is to revert the patch.
---
src/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index f31fd7ab..7b0aeec8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,8 +2,8 @@
EXTRA_DIST = \
.indent.pro
-ubindir = ${bindir}
-usbindir = ${sbindir}
+ubindir = ${prefix}/bin
+usbindir = ${prefix}/sbin
suidperms = 4755
sgidperms = 2755
-1
View File
@@ -14,4 +14,3 @@
508_nologin_in_usr_sbin
505_useradd_recommend_adduser
501_commonio_group_shadow
git_revert_bindir.patch