shadow 4.16.0-2
This commit is contained in:
parent
b0439eac0e
commit
f0b4cdec50
5
PKGBUILD
5
PKGBUILD
@ -6,7 +6,7 @@
|
|||||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
pkgname=shadow
|
pkgname=shadow
|
||||||
pkgver=4.16.0
|
pkgver=4.16.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
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"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/shadow-maint/shadow/"
|
url="https://github.com/shadow-maint/shadow/"
|
||||||
@ -75,7 +75,8 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
make DESTDIR=${pkgdir} pamddir= install
|
#make DESTDIR=${pkgdir} pamddir= install
|
||||||
|
make DESTDIR=${pkgdir} install
|
||||||
make -C man DESTDIR=${pkgdir} install-man
|
make -C man DESTDIR=${pkgdir} install-man
|
||||||
|
|
||||||
install -vdm755 ${pkgdir}/etc/default
|
install -vdm755 ${pkgdir}/etc/default
|
||||||
|
@ -3,12 +3,8 @@
|
|||||||
# you don't need (and this header).
|
# you don't need (and this header).
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ ! -e etc/gshadow ]; then
|
/usr/sbin/grpconv
|
||||||
usr/sbin/grpconv
|
/usr/sbin/pwconv
|
||||||
fi
|
|
||||||
if [ ! -e etc/shadow ]; then
|
|
||||||
usr/sbin/pwconv
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
|
Loading…
Reference in New Issue
Block a user