diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 02:27:41 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 02:27:41 +0000 |
commit | 91ed29d7dda0c5764bfc991985bf98adab0890f0 (patch) | |
tree | 936e59025c55e921ec06ad202991c5b66710abc2 /repo/system/shadow.xibuild | |
parent | cb447620084a20be80d116c81c2e9ec110be7118 (diff) |
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/shadow.xibuild')
-rw-r--r-- | repo/system/shadow.xibuild | 8 |
1 files changed, 5 insertions, 3 deletions
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 |