From 91ed29d7dda0c5764bfc991985bf98adab0890f0 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 02:27:41 +0000 Subject: added PKG_VER to xibuilds --- repo/system/shadow.xibuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'repo/system/shadow.xibuild') diff --git a/repo/system/shadow.xibuild b/repo/system/shadow.xibuild index 6af5cbb..e190686 100644 --- a/repo/system/shadow.xibuild +++ b/repo/system/shadow.xibuild @@ -2,13 +2,15 @@ DEPS=(pam acl audit libcap libxcrypt) -SOURCE=https://github.com/shadow-maint/shadow/releases/download/v4.10/shadow-4.10.tar.xz +PKG_VER=4.10 + +SOURCE=https://github.com/shadow-maint/shadow/releases/download/v$PKG_VER/shadow-$PKG_VER.tar.xz DESC="Password and account management tool suite with support for shadow files and PAM" build () { - 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 + curl https://www.linuxfromscratch.org/patches/lfs/development/shadow-$PKG_VER-useradd_segfault-1.patch > shadow-$PKG_VER-useradd_segfault-1.patch + patch -Np1 -i shadow-$PKG_VER-useradd_segfault-1.patch sed -i 's/groups$(EXEEXT) //' src/Makefile.in -- cgit v1.2.1