diff --git a/extra/shadow/build b/extra/shadow/build new file mode 100755 index 00000000..4e550f49 --- /dev/null +++ b/extra/shadow/build @@ -0,0 +1,22 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/bin \ + --libdir=/usr/lib \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --disable-man \ + --disable-account-tools-setuid \ + --with-group-name-max-length=32 \ + --without-audit \ + --without-selinux \ + --without-libpam + +make +make DESTDIR="$1" install + +# Fix broken --sbindir. +mv -f "$1/usr/sbin/"* "$1/usr/bin" +rmdir "$1/usr/sbin" diff --git a/extra/shadow/checksums b/extra/shadow/checksums new file mode 100644 index 00000000..a28a2923 --- /dev/null +++ b/extra/shadow/checksums @@ -0,0 +1 @@ +e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 shadow-4.14.2.tar.xz diff --git a/extra/shadow/sources b/extra/shadow/sources new file mode 100644 index 00000000..cd8470eb --- /dev/null +++ b/extra/shadow/sources @@ -0,0 +1 @@ +https://github.com/shadow-maint/shadow/releases/download/4.14.2/shadow-4.14.2.tar.xz diff --git a/extra/shadow/version b/extra/shadow/version new file mode 100644 index 00000000..c7f1cc5d --- /dev/null +++ b/extra/shadow/version @@ -0,0 +1 @@ +4.14.2 2