update to LFS 12.4 #1

Merged
wyj merged 146 commits from dev into main 2025-12-22 07:15:10 -05:00
2 changed files with 16 additions and 17 deletions
Showing only changes of commit fe6cf0a11e - Show all commits

View File

@@ -1,11 +0,0 @@
# useradd defaults file
GROUP=999
GROUPS=
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
USRSKEL=/usr/etc/skel
CREATE_MAIL_SPOOL=no
LOG_INIT=yes

View File

@@ -1,16 +1,13 @@
pkgname=shadow
pkgver=4.16.0
pkgver=4.17.3
pkgdesc="Password and account management tool suite with support for shadow files and PAM"
homepage="https://github.com/shadow-maint/shadow"
license=(BSD-3-Clause)
sources=("${pkgname}-${pkgver}.tar.xz"
"useradd"
)
urls=("https://github.com/shadow-maint/shadow/releases/download/${pkgver}/${sources[0]}"
"https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs-12.2-systemd/shadow-4.16.0/useradd"
)
md5sums=("eb70bad3316d08f0d3bb3d4bbeccb3b4"
"87ed6b2e7cdf479e05d4fe2510adb77f"
md5sums=("0da190e53ecee76237e4c8f3f39531ed"
)
@@ -41,5 +38,18 @@ src_install() {
make exec_prefix=/usr DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" -C man install-man
install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vDm 600 "${distdir}/useradd" -t "${pkgdir}/etc/default/"
#install -vDm 600 "${distdir}/useradd" -t "${pkgdir}/etc/default/"
mkdir -pv "${pkgdir}/etc/default"
cat > "${pkgdir}/etc/default/useradd" << EOF
GROUP=999
GROUPS=
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
USRSKEL=/usr/etc/skel
CREATE_MAIL_SPOOL=no
LOG_INIT=yes
EOF
}