update to 12.3: shadow
This commit is contained in:
@@ -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
|
|
||||||
@@ -1,16 +1,13 @@
|
|||||||
pkgname=shadow
|
pkgname=shadow
|
||||||
pkgver=4.16.0
|
pkgver=4.17.3
|
||||||
pkgdesc="Password and account management tool suite with support for shadow files and PAM"
|
pkgdesc="Password and account management tool suite with support for shadow files and PAM"
|
||||||
homepage="https://github.com/shadow-maint/shadow"
|
homepage="https://github.com/shadow-maint/shadow"
|
||||||
license=(BSD-3-Clause)
|
license=(BSD-3-Clause)
|
||||||
sources=("${pkgname}-${pkgver}.tar.xz"
|
sources=("${pkgname}-${pkgver}.tar.xz"
|
||||||
"useradd"
|
|
||||||
)
|
)
|
||||||
urls=("https://github.com/shadow-maint/shadow/releases/download/${pkgver}/${sources[0]}"
|
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"
|
md5sums=("0da190e53ecee76237e4c8f3f39531ed"
|
||||||
"87ed6b2e7cdf479e05d4fe2510adb77f"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -41,5 +38,18 @@ src_install() {
|
|||||||
make exec_prefix=/usr DESTDIR="${pkgdir}" install
|
make exec_prefix=/usr DESTDIR="${pkgdir}" install
|
||||||
make DESTDIR="${pkgdir}" -C man install-man
|
make DESTDIR="${pkgdir}" -C man install-man
|
||||||
install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
|
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
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user