summaryrefslogtreecommitdiffstats
path: root/source/a/shadow/shadow.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/shadow/shadow.SlackBuild')
-rwxr-xr-xsource/a/shadow/shadow.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/a/shadow/shadow.SlackBuild b/source/a/shadow/shadow.SlackBuild
index e35e57a7a..bcee8f9ee 100755
--- a/source/a/shadow/shadow.SlackBuild
+++ b/source/a/shadow/shadow.SlackBuild
@@ -99,6 +99,9 @@ zcat $CWD/shadow.CVE-2005-4890.relax.diff.gz | patch -p1 --verbose || exit 1
# short version up to the first '.' on the login prompt:
zcat $CWD/shadow.login.display.short.hostname.diff.gz | patch -p1 --verbose || exit 1
+cat 68a722760487d3537905d97d45e5fba189592022.patch | patch -p1 --verbose || exit 1
+cat a6f6da96f4898a34e5ed1475053075172f9915b2.patch | patch -p1 --verbose || exit 1
+
# Add missing file:
if [ ! -r man/login.defs.d/HOME_MODE.xml ]; then
zcat $CWD/HOME_MODE.xml.gz > man/login.defs.d/HOME_MODE.xml
@@ -124,10 +127,12 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--mandir=/usr/man \
--docdir=/usr/doc/shadow-$VERSION \
+ --enable-lastlog \
--enable-man \
--enable-subordinate-ids \
--disable-shared \
--with-group-name-max-length=32 \
+ --with-libbsd=no \
$SHADOW_OPTIONS \
$PAM_OPTIONS \
--build=$ARCH-slackware-linux