From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/system/shadow.xibuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'repo/system/shadow.xibuild') diff --git a/repo/system/shadow.xibuild b/repo/system/shadow.xibuild index e190686..ea32c22 100644 --- a/repo/system/shadow.xibuild +++ b/repo/system/shadow.xibuild @@ -7,7 +7,7 @@ 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 () { +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 @@ -27,16 +27,16 @@ build () { mkdir -p $PKG_DEST/usr/bin touch $PKG_DEST/usr/bin/passwd - ./configure --sysconfdir=/etc --with-group-name-max-length=32 - - make - make exec_prefix=/usr DESTDIR=$PKG_DEST install - - make DESTDIR=$PKG_DEST -C man install-man +} +build () { + ./configure --sysconfdir=/etc --with-group-name-max-length=32 + make } package () { + make exec_prefix=/usr DESTDIR=$PKG_DEST install + make DESTDIR=$PKG_DEST -C man install-man mkdir -p $PKG_DEST/etc/default } -- cgit v1.2.1