Initial commit

This commit is contained in:
2026-03-21 12:43:00 -05:00
commit 83bf16823c
438 changed files with 33617 additions and 0 deletions
+87
View File
@@ -0,0 +1,87 @@
[build]
type = "autotools"
[build.flags]
configure = [
"--sysconfdir=/etc",
"--disable-static",
"--without-libbsd",
"--disable-logind",
"--with-group-name-max-length=32",
"--with-bcrypt",
"--with-yescrypt",
]
post_install = [
"make DESTDIR=$DESTDIR -C man install-man",
"sed -i -E 's/^(FAIL_DELAY|FAILLOG_ENAB|LASTLOG_ENAB|MAIL_CHECK_ENAB|OBSCURE_CHECKS_ENAB|PORTTIME_CHECKS_ENAB|QUOTAS_ENAB|CONSOLE|MOTD_FILE|FTMP_FILE|NOLOGINS_FILE|ENV_HZ|PASS_MIN_LEN|SU_WHEEL_ONLY|PASS_CHANGE_TRIES|PASS_ALWAYS_WARN|CHFN_AUTH|ENCRYPT_METHOD|ENVIRON_FILE)/# \\&/' \"$DESTDIR/etc/login.defs\"",
"mkdir -p \"$DESTDIR/etc/pam.d\"",
"cp \"$DEPOT_SPECDIR/chage\" \"$DESTDIR/etc/pam.d/chage\"",
"cp \"$DEPOT_SPECDIR/chgpasswd\" \"$DESTDIR/etc/pam.d/chgpasswd\"",
"cp \"$DEPOT_SPECDIR/chsh\" \"$DESTDIR/etc/pam.d/chsh\"",
"cp \"$DEPOT_SPECDIR/groupdel\" \"$DESTDIR/etc/pam.d/groupdel\"",
"cp \"$DEPOT_SPECDIR/groupmod\" \"$DESTDIR/etc/pam.d/groupmod\"",
"cp \"$DEPOT_SPECDIR/newusers\" \"$DESTDIR/etc/pam.d/newusers\"",
"cp \"$DEPOT_SPECDIR/useradd\" \"$DESTDIR/etc/pam.d/useradd\"",
"cp \"$DEPOT_SPECDIR/usermod\" \"$DESTDIR/etc/pam.d/usermod\"",
"cp \"$DEPOT_SPECDIR/chfn\" \"$DESTDIR/etc/pam.d/chfn\"",
"cp \"$DEPOT_SPECDIR/chpasswd\" \"$DESTDIR/etc/pam.d/chpasswd\"",
"cp \"$DEPOT_SPECDIR/groupadd\" \"$DESTDIR/etc/pam.d/groupadd\"",
"cp \"$DEPOT_SPECDIR/groupmems\" \"$DESTDIR/etc/pam.d/groupmems\"",
"cp \"$DEPOT_SPECDIR/login\" \"$DESTDIR/etc/pam.d/login\"",
"cp \"$DEPOT_SPECDIR/passwd\" \"$DESTDIR/etc/pam.d/passwd\"",
"cp \"$DEPOT_SPECDIR/su\" \"$DESTDIR/etc/pam.d/su\"",
"cp \"$DEPOT_SPECDIR/userdel\" \"$DESTDIR/etc/pam.d/userdel\"",
"rm -rfv \"$DESTDIR/usr/lib/systemd\"",
]
keep = [ "etc/pam.d/**", "etc/security/**" ]
[dependencies]
runtime = [
"glibc",
"libxcrypt",
"pam"
]
[package]
description = "programs for handling passwords in a secure way"
homepage = "https://github.com/shadow-maint/shadow"
license = "BSD-3-Clause"
name = "shadow"
version = "4.19.3"
revision = 2
[[source]]
extract_dir = "$name-$version"
post_extract = [
"sed -i 's/groups$(EXEEXT) //' src/Makefile.in",
'''find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;''',
'''find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;''',
'''find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;''',
"sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD YESCRYPT:' -e 's:/var/spool/mail:/var/mail:' -e '/PATH=/{s@/sbin:@@;s@/bin:@@}' -i etc/login.defs",
]
sha256 = "11a8f358910712cf957dd4fd205063fce7e386b68fc7dfe3a0e1e53155ec53c5"
url = "https://github.com/shadow-maint/shadow/releases/download/$version/shadow-$version.tar.xz"
[[manual_sources]]
files = [
"chage",
"chgpasswd",
"chsh",
"groupdel",
"groupmod",
"newusers",
"shadow.toml",
"useradd",
"usermod",
"chfn",
"chpasswd",
"groupadd",
"groupmems",
"login",
"passwd",
"su",
"userdel",
"postinstall.sh"
]