[packages/shadow] Up to 4.12.3

glen glen at pld-linux.org
Mon Aug 22 18:36:46 CEST 2022


commit d3dbe0c8f371236eb767d7ce96ffadf9f89c76ee
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Aug 22 18:26:36 2022 +0300

    Up to 4.12.3

 shadow-goodname.patch | 11 +++++------
 shadow-pld.patch      | 17 +++++++----------
 shadow.spec           |  7 ++++---
 3 files changed, 16 insertions(+), 19 deletions(-)
---
diff --git a/shadow.spec b/shadow.spec
index a1b1aff..3717538 100644
--- a/shadow.spec
+++ b/shadow.spec
@@ -13,13 +13,13 @@ Summary(pl.UTF-8):	Narzędzia do obsługi mechanizmu ukrytych haseł
 Summary(pt_BR.UTF-8):	Utilitários para o arquivo de senhas Shadow
 Summary(tr.UTF-8):	Gölge parola dosyası araçları
 Name:		shadow
-Version:	4.8.1
-Release:	2
+Version:	4.12.3
+Release:	1
 Epoch:		1
 License:	BSD
 Group:		Applications/System
 Source0:	https://github.com/shadow-maint/shadow/releases/download/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5:	4b05eff8a427cf50e615bda324b5bc45
+# Source0-md5:	710bcc89c39683609aacfef9f08bd854
 Source2:	%{name}-login.defs
 Source3:	%{name}.useradd
 Source10:	chage.pamd
@@ -148,6 +148,7 @@ tworzyć mapowania uidów i gidów w przestrzeniach użytkowników.
 	--enable-shadowgrp \
 	%{?with_shared:--enable-shared --disable-static} \
 	--disable-silent-rules \
+	--enable-man \
 	--enable-subordinate-ids \
 	--with-acl \
 	--with-attr \
diff --git a/shadow-goodname.patch b/shadow-goodname.patch
index f3c18d5..151adef 100644
--- a/shadow-goodname.patch
+++ b/shadow-goodname.patch
@@ -56,12 +56,11 @@ diff -up shadow-4.8/libmisc/chkname.c.goodname shadow-4.8/libmisc/chkname.c
  }
  
  bool is_valid_user_name (const char *name)
-diff -up shadow-4.8/man/groupadd.8.xml.goodname shadow-4.8/man/groupadd.8.xml
---- shadow-4.8/man/groupadd.8.xml.goodname	2019-07-23 17:26:08.000000000 +0200
-+++ shadow-4.8/man/groupadd.8.xml	2020-01-13 09:44:41.968507996 +0100
-@@ -273,10 +273,12 @@
-    <refsect1 id='caveats'>
-      <title>CAVEATS</title>
+--- shadow-4.12.3/man/groupadd.8.xml~	2022-08-09 01:30:40.000000000 +0300
++++ shadow-4.12.3/man/groupadd.8.xml	2022-08-22 18:30:02.472610977 +0300
+@@ -64,10 +64,12 @@
+       files as needed.
+     </para>
       <para>
 -       Groupnames must start with a lower case letter or an underscore,
 -       followed by lower case letters, digits, underscores, or dashes.
diff --git a/shadow-pld.patch b/shadow-pld.patch
index 69836c2..5017038 100644
--- a/shadow-pld.patch
+++ b/shadow-pld.patch
@@ -1,19 +1,16 @@
---- shadow-4.0.6/src/useradd.c	2004-11-18 21:45:00.713398344 +0100
-+++ shadow-4.0.16/src/useradd.c	2006-06-08 01:17:05.580340031 +0300
-@@ -72,10 +72,10 @@
- /*
-  * These defaults are used if there is no defaults file.
+--- shadow-4.12.3/src/useradd.c~	2022-08-22 18:27:55.000000000 +0300
++++ shadow-4.12.3/src/useradd.c	2022-08-22 18:27:58.336079332 +0300
+@@ -81,8 +81,8 @@
   */
--static gid_t def_group = 100;
-+static gid_t def_group = 1000;
+ static gid_t def_group = 1000;
  static const char *def_gname = "other";
 -static const char *def_home = "/home";
--static const char *def_shell = "";
+-static const char *def_shell = "/bin/bash";
 +static const char *def_home = "/home/users";
 +static const char *def_shell = "/sbin/nologin";
  static const char *def_template = SKEL_DIR;
- static const char *def_create_mail_spool = "no";
- 
+ static const char *def_create_mail_spool = "yes";
+ static const char *def_log_init = "yes";
 @@ -89,7 +89,7 @@
  #define	VALID(s)	(strcspn (s, ":\n") == strlen (s))
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/shadow.git/commitdiff/3911aa702feb4264842b4b5d8ad41eaaf38a9646



More information about the pld-cvs-commit mailing list