From 2416d5af54d26807d77833eb851dd0218b437760 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 3 Feb 2023 17:11:27 +0100 Subject: shadow: add new package at 4.13 --- extra/shadow/build | 24 ++++++++++++++++++++++++ extra/shadow/checksums | 2 ++ extra/shadow/meta | 3 +++ extra/shadow/sources | 1 + extra/shadow/version | 1 + 5 files changed, 31 insertions(+) create mode 100755 extra/shadow/build create mode 100644 extra/shadow/checksums create mode 100644 extra/shadow/meta create mode 100644 extra/shadow/sources create mode 100644 extra/shadow/version 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" diff --git a/extra/shadow/checksums b/extra/shadow/checksums new file mode 100644 index 00000000..6dea6632 --- /dev/null +++ b/extra/shadow/checksums @@ -0,0 +1,2 @@ +%BLAKE3 +e60644e66f39f960d4b3cac1bf814498ed0b3e01830d84067028ab3a7a48841e shadow-4.13.tar.xz diff --git a/extra/shadow/meta b/extra/shadow/meta new file mode 100644 index 00000000..dedf7488 --- /dev/null +++ b/extra/shadow/meta @@ -0,0 +1,3 @@ +description: Shadow password file utilities +license: BSD-3-Clause +maintainer: Cem Keylan diff --git a/extra/shadow/sources b/extra/shadow/sources new file mode 100644 index 00000000..e4734093 --- /dev/null +++ b/extra/shadow/sources @@ -0,0 +1 @@ +https://github.com/shadow-maint/shadow/releases/download/4.13/shadow-4.13.tar.xz diff --git a/extra/shadow/version b/extra/shadow/version new file mode 100644 index 00000000..b92d93e7 --- /dev/null +++ b/extra/shadow/version @@ -0,0 +1 @@ +4.13 1 -- cgit v1.2.3