diff options
author | Cem Keylan <cem@ckyln.com> | 2023-02-03 17:11:27 +0100 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2023-02-03 17:11:27 +0100 |
commit | 2416d5af54d26807d77833eb851dd0218b437760 (patch) | |
tree | e1d13152a29d6e7970b93a77993ff012e4f86a11 /extra/shadow/build | |
parent | 263ba4167839cdb6665d65c514fc04d14b69920a (diff) | |
download | repository-2416d5af54d26807d77833eb851dd0218b437760.tar.gz |
shadow: add new package at 4.13
Diffstat (limited to 'extra/shadow/build')
-rwxr-xr-x | extra/shadow/build | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/shadow/build b/extra/shadow/build new file mode 100755 index 00000000..e3a2840f --- /dev/null +++ b/extra/shadow/build @@ -0,0 +1,24 @@ +#!/bin/sh -e + +export LDFLAGS="$LDFLAGS -static" + +./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/bin \ + --libdir=/usr/lib \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --disable-man \ + --disable-nls \ + --disable-account-tools-setuid \ + --with-group-name-max-length=32 \ + --without-audit \ + --without-selinux + +make +make DESTDIR="$1" install + +# Fix broken --sbindir. +mv -f "$1/usr/sbin/"* "$1/usr/bin" +rmdir "$1/usr/sbin" |