shadow: remove pam_lastlog.so from login service module, remove old patch

This commit is contained in:
Juergen Daubert 2023-05-29 17:57:24 +02:00
parent 140b14df6c
commit f73acbf169
4 changed files with 4 additions and 30 deletions

View File

@ -1,12 +1,12 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVeqhEjEplzyS7ba65wcALeg8Glig3TQtIz2G2zc+0EB5/Y8zgQvliAI5NxtkysGchlsJ+MjOTAR1OIc4Cw2hqj1gA=
SHA256 (Pkgfile) = f3067f581efd564c9ed8c6518c27b1cc269606e864074be05e42eb73b2992451
RWRJc1FUaeVeqk6+xHy7Npar2oEUa8GEd7NFQUbgWsQP8Posq+Imxeq97mZY+agqgKr+8lYWlBOsNNfGbl/RkLVFS3oizfOoOww=
SHA256 (Pkgfile) = 3501e49a6227a7a7e1c8a56b7ad552dc7e0459e1e7ba216d05d781ff24b1f70b
SHA256 (.footprint) = 64614a7fcc7b8c2330824675ccbe9a7601cff4f12fe6d87ac9d9a10d11471d3e
SHA256 (shadow-4.13.tar.xz) = 9afe245d79a2e7caac5f1ed62519b17416b057ec89df316df1c3935502f9dd2c
SHA256 (pwck) = c62f1bf5785c2bb93bb269156bfa02b06728a01ff5d6c2e09cf6285701a1fda0
SHA256 (chfn) = b31ef7a14f747e114c970027a57acb5dcefffee439ce0b4a7d55cc2f6b632fcf
SHA256 (chsh) = 20e39e9c738599272a10f46a11338d62d755df32a26db27ce0b5c04a71d66460
SHA256 (login) = ae3f6b4ddfc86f30f864e3e9cb514964bb323a9e59840624672f412005c64285
SHA256 (login) = bf3d163a87fd0d3206bcf54588f79b3be7208c967b8a3aa2b81120ff015c0ac3
SHA256 (groupadd) = c7b90c655b974d396328ddf5d028ef682c2115b6646433f430d8d4a5f9f21bc5
SHA256 (groupdel) = c84a5e8751ca237eddaf2ac3a3bb7ef63f6535a83df6a8c52511eed65a981314
SHA256 (groupmems) = 1bb62dc2a199118900c6c690888342e1c80d38aae89e7f29138edbfd1d8b1194

View File

@ -1,25 +0,0 @@
From fc832e4648d6e80e95aaa762a158453ee43fe1cb Mon Sep 17 00:00:00 2001
From: "(GalaxyMaster)" <galaxy4public@users.noreply.github.com>
Date: Wed, 27 Oct 2021 20:14:42 +1100
Subject: [PATCH] Fixes the linking issues when libsubid is static and linked
to binaries that also define the Prog and shadow_logfd variables.
---
libsubid/api.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libsubid/api.c b/libsubid/api.c
index a7b904d0..a51b4e01 100644
--- a/libsubid/api.c
+++ b/libsubid/api.c
@@ -39,8 +39,8 @@
#include "idmapping.h"
#include "subid.h"
-const char *Prog = "(libsubid)";
-FILE *shadow_logfd;
+static const char *Prog = "(libsubid)";
+static FILE *shadow_logfd;
bool libsubid_init(const char *progname, FILE * logfd)
{

View File

@ -5,7 +5,7 @@
name=shadow
version=4.13
release=1
release=2
source=(https://github.com/shadow-maint/$name/releases/download/$version/$name-$version.tar.xz \
pwck chfn chsh login groupadd groupdel \
groupmems groupmod passwd su useradd userdel usermod)

View File

@ -13,5 +13,4 @@ password include common-password
session include common-session
session optional pam_lastlog.so
session optional pam_motd.so