summaryrefslogtreecommitdiff
path: root/repo/core
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-15 00:03:09 +0000
committerdavidovski <david@davidovski.xyz>2022-01-15 00:03:09 +0000
commita93f20c2f45c5b879826e291ee00812d30add6dc (patch)
tree7e9b9a0129c91b4d476c1e8409e9a31c402bc901 /repo/core
parent51a6e3bf9c82c3eeb21c2c3e25161eb577ae9b3b (diff)
added segfault fix patch to shadow
Diffstat (limited to 'repo/core')
-rw-r--r--repo/core/shadow.xibuild6
1 files changed, 5 insertions, 1 deletions
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 / /' {} \;