+++ /dev/null
-drwxr-xr-x root/root bin/
--rwxr-xr-x root/root bin/login
-drwxr-xr-x root/root etc/
-drwxr-xr-x root/root etc/cron/
-drwxr-xr-x root/root etc/cron/daily/
--rwxr-xr-x root/root etc/cron/daily/pwck
--rw-r--r-- root/root etc/login.defs
-drwxr-xr-x root/root etc/pam.d/
--rw-r--r-- root/root etc/pam.d/chfn
--rw-r--r-- root/root etc/pam.d/chsh
--rw-r--r-- root/root etc/pam.d/groupadd
--rw-r--r-- root/root etc/pam.d/groupdel
--rw-r--r-- root/root etc/pam.d/groupmems
--rw-r--r-- root/root etc/pam.d/groupmod
--rw-r--r-- root/root etc/pam.d/login
--rw-r--r-- root/root etc/pam.d/passwd
--rw-r--r-- root/root etc/pam.d/su
--rw-r--r-- root/root etc/pam.d/useradd
--rw-r--r-- root/root etc/pam.d/userdel
--rw-r--r-- root/root etc/pam.d/usermod
-drwxr-xr-x root/root sbin/
--rwxr-xr-x root/root sbin/nologin
-drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/bin/
--rwsr-xr-x root/root usr/bin/chage
--rwsr-xr-x root/root usr/bin/chfn
--rwsr-xr-x root/root usr/bin/chsh
--rwsr-xr-x root/root usr/bin/expiry
--rwxr-xr-x root/root usr/bin/faillog
--rwxr-xr-x root/root usr/bin/groups
--rwxr-xr-x root/root usr/bin/lastlog
--rwsr-xr-x root/root usr/bin/newgidmap
--rwsr-xr-x root/root usr/bin/newgrp
--rwsr-xr-x root/root usr/bin/newuidmap
--rwsr-xr-x root/root usr/bin/passwd
-lrwxrwxrwx root/root usr/bin/sg -> newgrp
--rwsr-xr-x root/root usr/bin/su
-drwxr-xr-x root/root usr/sbin/
--rwxr-xr-x root/root usr/sbin/chgpasswd
--rwxr-xr-x root/root usr/sbin/groupadd
--rwxr-xr-x root/root usr/sbin/groupdel
--rwxr-xr-x root/root usr/sbin/groupmems
--rwxr-xr-x root/root usr/sbin/groupmod
--rwxr-xr-x root/root usr/sbin/grpck
--rwxr-xr-x root/root usr/sbin/pwck
--rwxr-xr-x root/root usr/sbin/useradd
--rwxr-xr-x root/root usr/sbin/userdel
--rwxr-xr-x root/root usr/sbin/usermod
-lrwxrwxrwx root/root usr/sbin/vigr -> vipw
--rwxr-xr-x root/root usr/sbin/vipw
-drwxr-xr-x root/root usr/share/
-drwxr-xr-x root/root usr/share/man/
-drwxr-xr-x root/root usr/share/man/man1/
--rw-r--r-- root/root usr/share/man/man1/chage.1.gz
--rw-r--r-- root/root usr/share/man/man1/chfn.1.gz
--rw-r--r-- root/root usr/share/man/man1/chsh.1.gz
--rw-r--r-- root/root usr/share/man/man1/expiry.1.gz
--rw-r--r-- root/root usr/share/man/man1/groups.1.gz
--rw-r--r-- root/root usr/share/man/man1/login.1.gz
--rw-r--r-- root/root usr/share/man/man1/newgidmap.1.gz
--rw-r--r-- root/root usr/share/man/man1/newgrp.1.gz
--rw-r--r-- root/root usr/share/man/man1/newuidmap.1.gz
--rw-r--r-- root/root usr/share/man/man1/passwd.1.gz
--rw-r--r-- root/root usr/share/man/man1/sg.1.gz
--rw-r--r-- root/root usr/share/man/man1/su.1.gz
-drwxr-xr-x root/root usr/share/man/man5/
--rw-r--r-- root/root usr/share/man/man5/faillog.5.gz
--rw-r--r-- root/root usr/share/man/man5/login.defs.5.gz
--rw-r--r-- root/root usr/share/man/man5/passwd.5.gz
--rw-r--r-- root/root usr/share/man/man5/shadow.5.gz
--rw-r--r-- root/root usr/share/man/man5/suauth.5.gz
--rw-r--r-- root/root usr/share/man/man5/subgid.5.gz
--rw-r--r-- root/root usr/share/man/man5/subuid.5.gz
-drwxr-xr-x root/root usr/share/man/man8/
--rw-r--r-- root/root usr/share/man/man8/chgpasswd.8.gz
--rw-r--r-- root/root usr/share/man/man8/faillog.8.gz
--rw-r--r-- root/root usr/share/man/man8/groupadd.8.gz
--rw-r--r-- root/root usr/share/man/man8/groupdel.8.gz
--rw-r--r-- root/root usr/share/man/man8/groupmems.8.gz
--rw-r--r-- root/root usr/share/man/man8/groupmod.8.gz
--rw-r--r-- root/root usr/share/man/man8/grpck.8.gz
--rw-r--r-- root/root usr/share/man/man8/lastlog.8.gz
--rw-r--r-- root/root usr/share/man/man8/nologin.8.gz
--rw-r--r-- root/root usr/share/man/man8/pwck.8.gz
--rw-r--r-- root/root usr/share/man/man8/useradd.8.gz
--rw-r--r-- root/root usr/share/man/man8/userdel.8.gz
--rw-r--r-- root/root usr/share/man/man8/usermod.8.gz
--rw-r--r-- root/root usr/share/man/man8/vigr.8.gz
--rw-r--r-- root/root usr/share/man/man8/vipw.8.gz
-drwxr-xr-x root/root var/
-drwxr-xr-x root/root var/log/
--rw-r--r-- root/root var/log/faillog (EMPTY)
--rw-r--r-- root/root var/log/lastlog (EMPTY)
+++ /dev/null
-untrusted comment: verify with /etc/ports/core-arm64.pub
-RWSKslkvIwb+2S76pyDXOwC1crcRtIlYe0MWvmRZ2n6BdIuUklj10caPWDdrj7mehKMmy8Puq8z2bGoL+yjhPuJDUlEu5feahAc=
-SHA256 (Pkgfile) = 01caa744f56574e33636718a13d4bc3c47d53ecd0872da2f0e19da2845c8ccfb
-SHA256 (.footprint) = 63fc924400dd4fcaf8a613912291d830ae89c2fa3cc17983f06f0d54597f3640
-SHA256 (shadow-4.7.tar.xz) = e5e196a4a7e3b228c812f3163d368be3e932e6eaa4e616677a148d9ec921e16c
-SHA256 (pwck) = c62f1bf5785c2bb93bb269156bfa02b06728a01ff5d6c2e09cf6285701a1fda0
-SHA256 (login.defs) = def991c4bc012834d726a4010783634a930558b91650bc4cba5fe822064c3535
-SHA256 (chfn) = b31ef7a14f747e114c970027a57acb5dcefffee439ce0b4a7d55cc2f6b632fcf
-SHA256 (chsh) = 20e39e9c738599272a10f46a11338d62d755df32a26db27ce0b5c04a71d66460
-SHA256 (login) = ae3f6b4ddfc86f30f864e3e9cb514964bb323a9e59840624672f412005c64285
-SHA256 (groupadd) = c7b90c655b974d396328ddf5d028ef682c2115b6646433f430d8d4a5f9f21bc5
-SHA256 (groupdel) = c84a5e8751ca237eddaf2ac3a3bb7ef63f6535a83df6a8c52511eed65a981314
-SHA256 (groupmems) = 1bb62dc2a199118900c6c690888342e1c80d38aae89e7f29138edbfd1d8b1194
-SHA256 (groupmod) = 9cf502d1fb1d89b5115592cf5d3151bf1fca6f69ea27592768789573a079c02f
-SHA256 (passwd) = e746db74b7d3ed8d4bfb796c8e27c666ea2df73504e0620fd5ac8766b055175d
-SHA256 (su) = fd033d23c243c3ec7c0491f109365419bfa34c305fe6554f526b4df797486454
-SHA256 (useradd) = 2988d648da4c4c6924360aa3c648937e11ea8f5e98c856d293d071adf63a0ec9
-SHA256 (userdel) = 478cc2d620831ca266f953c0a743c19c1f007d567fb61a1757b631a80b328d41
-SHA256 (usermod) = 800ba6178170142c7202c7fdbdc30323bdbcf9b592c4f0328375b8830cf81d51
+++ /dev/null
-# Description: Shadow password file utilities
-# URL: https://github.com/shadow-maint/shadow/
-# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Depends on: acl linux-pam
-
-name=shadow
-version=4.7
-release=1
-source=(https://github.com/shadow-maint/$name/releases/download/$version/$name-$version.tar.xz \
- pwck login.defs chfn chsh login groupadd groupdel \
- groupmems groupmod passwd su useradd userdel usermod)
-
-build() {
- cd $name-$version
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --disable-shared \
- --disable-shadowgrp \
- --disable-nls \
- --without-selinux \
- --without-audit
-
- make
- make DESTDIR=$PKG install
-
- install -d $PKG/etc/cron/daily $PKG/var/log
- install -m 644 $SRC/login.defs $PKG/etc
- install -m 755 $SRC/pwck $PKG/etc/cron/daily
- mv $PKG/bin/{su,groups} $PKG/usr/bin
- touch $PKG/var/log/{lastlog,faillog}
-
- rm -r $PKG/usr/bin/gpasswd \
- $PKG/usr/share/man/man1/gpasswd.1 \
- $PKG/usr/sbin/{chpasswd,grpconv,grpunconv,logoutd} \
- $PKG/usr/sbin/{newusers,pwconv,pwunconv} \
- $PKG/usr/share/man/man8/{chpasswd.8,grpconv.8,grpunconv.8,logoutd.8} \
- $PKG/usr/share/man/man8/{newusers.8,pwconv.8,pwunconv.8} \
- $PKG/usr/share/man/man5/gshadow.5 \
- $PKG/usr/share/man/man3 \
- $PKG/etc/{default,pam.d/*}
-
- install -o root -g root -m 0644 \
- $SRC/{ch{fn,sh},login,group{add,del,mems,mod},passwd,su,user{add,del,mod}} \
- $PKG/etc/pam.d/
-}
+++ /dev/null
-#
-# /etc/pam.d/chfn - chfn service module configuration
-#
-
-auth sufficient pam_rootok.so
-
-auth include common-auth
-
-account include common-account
+++ /dev/null
-#
-# /etc/pam.d/chsh - chsh service module configuration
-#
-
-auth sufficient pam_rootok.so
-
-auth include common-auth
-
-account include common-account
+++ /dev/null
-#
-# /etc/pam.d/groupadd - groupadd service module configuration
-#
-
-auth sufficient pam_rootok.so
-
-account include common-account
+++ /dev/null
-#
-# /etc/pam.d/groupdel - groupdel service module configuration
-#
-
-auth sufficient pam_rootok.so
-
-account include common-account
+++ /dev/null
-#
-# /etc/pam.d/groupmems - groupmems service module configuration
-#
-
-auth sufficient pam_rootok.so
-
-account include common-account
+++ /dev/null
-#
-# /etc/pam.d/groupmod - groupmod service module configuration
-#
-
-auth sufficient pam_rootok.so
-
-account include common-account
+++ /dev/null
-#
-# /etc/pam.d/login - login service module configuration
-#
-
-auth include common-auth
-
-auth required pam_securetty.so
-auth requisite pam_nologin.so
-
-account include common-account
-
-password include common-password
-
-session include common-session
-
-session optional pam_lastlog.so
-session optional pam_motd.so
+++ /dev/null
-#
-# /etc/login.defs: login configuration, see login.defs(5)
-#
-
-FAIL_DELAY 0
-LOG_UNKFAIL_ENAB no
-LOG_OK_LOGINS no
-SYSLOG_SU_ENAB yes
-SYSLOG_SG_ENAB yes
-CONSOLE /etc/securetty
-SU_NAME su
-MAIL_DIR /var/spool/mail
-HUSHLOGIN_FILE .hushlogin
-ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin
-ENV_PATH PATH=/bin:/usr/bin
-TTYGROUP tty
-TTYPERM 0600
-ERASECHAR 0177
-KILLCHAR 025
-UMASK 022
-PASS_MAX_DAYS 99999
-PASS_MIN_DAYS 0
-PASS_WARN_AGE 7
-UID_MIN 100
-UID_MAX 60000
-GID_MIN 100
-GID_MAX 60000
-SYS_UID_MIN 25
-SYS_UID_MAX 99
-SYS_GID_MIN 25
-SYS_GID_MAX 99
-LOGIN_RETRIES 5
-LOGIN_TIMEOUT 60
-CHFN_RESTRICT rwh
-ENCRYPT_METHOD SHA512
-DEFAULT_HOME yes
-USERGROUPS_ENAB no
-
-# End of file
+++ /dev/null
-#
-# /etc/pam.d/passwd - passwd service module configuration
-#
-
-password include common-password
+++ /dev/null
-#!/bin/sh
-#
-# /etc/cron/daily/pwck: verify integrity of password and group files
-#
-
-/usr/sbin/pwck -r
-/usr/sbin/grpck -r
-
-# End of file
+++ /dev/null
-#
-# /etc/pam.d/su - su service module configuration
-#
-
-auth sufficient pam_rootok.so
-#auth required pam_wheel.so use_uid
-
-auth include common-auth
-
-account include common-account
-
-session include common-session
+++ /dev/null
-#
-# /etc/pam.d/useradd - useradd service module configuration
-#
-
-auth sufficient pam_rootok.so
-
-account include common-account
+++ /dev/null
-#
-# /etc/pam.d/userdel - userdel service module configuration
-#
-
-auth sufficient pam_rootok.so
-
-account include common-account
+++ /dev/null
-#
-# /etc/pam.d/usermod - usermod service module configuration
-#
-
-auth sufficient pam_rootok.so
-
-account include common-account