aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2023-02-03 17:11:27 +0100
committerCem Keylan <cem@ckyln.com>2023-02-03 17:11:27 +0100
commit2416d5af54d26807d77833eb851dd0218b437760 (patch)
treee1d13152a29d6e7970b93a77993ff012e4f86a11
parent263ba4167839cdb6665d65c514fc04d14b69920a (diff)
downloadrepository-2416d5af54d26807d77833eb851dd0218b437760.tar.gz
shadow: add new package at 4.13
-rwxr-xr-xextra/shadow/build24
-rw-r--r--extra/shadow/checksums2
-rw-r--r--extra/shadow/meta3
-rw-r--r--extra/shadow/sources1
-rw-r--r--extra/shadow/version1
5 files changed, 31 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"
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 <cem@carbslinux.org>
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