From a93f20c2f45c5b879826e291ee00812d30add6dc Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 15 Jan 2022 00:03:09 +0000 Subject: added segfault fix patch to shadow --- repo/core/shadow.xibuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'repo/core') diff --git a/repo/core/shadow.xibuild b/repo/core/shadow.xibuild index 4904a80..6af5cbb 100644 --- a/repo/core/shadow.xibuild +++ b/repo/core/shadow.xibuild @@ -6,7 +6,11 @@ SOURCE=https://github.com/shadow-maint/shadow/releases/download/v4.10/shadow-4.1 DESC="Password and account management tool suite with support for shadow files and PAM" build () { - echo "building" + + curl https://www.linuxfromscratch.org/patches/lfs/development/shadow-4.10-useradd_segfault-1.patch > shadow-4.10-useradd_segfault-1.patch + patch -Np1 -i shadow-4.10-useradd_segfault-1.patch + + sed -i 's/groups$(EXEEXT) //' src/Makefile.in find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \; -- cgit v1.2.1