wok-next annotate shadow/receipt @ rev 20273

remove samba-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 10:06:19 2017 +0100 (2017-11-08)
parents 8da249b2c8d7
children 90a5eb560fd6
rev   line source
al@19745 1 # SliTaz package receipt v2.
al@19571 2
al@19571 3 PACKAGE="shadow"
al@19745 4 VERSION="4.5"
al@19571 5 CATEGORY="system-tools"
al@19571 6 SHORT_DESC="Programs for handling passwords in a secure way"
al@19571 7 MAINTAINER="al.bobylev@gmail.com"
al@19571 8 LICENSE="BSD"
al@19571 9 WEB_SITE="http://pkg-shadow.alioth.debian.org/"
al@19571 10
al@19571 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19745 12 WGET_URL="https://github.com/shadow-maint/shadow/releases/download/$VERSION/$TARBALL"
al@19571 13
al@19571 14 DEPENDS="acl attr"
al@19571 15 BUILD_DEPENDS="acl-dev attr-dev gettext"
al@19571 16
al@19571 17 # Rules to configure and make the package.
al@19571 18 compile_rules()
al@19571 19 {
al@19745 20 sed -i -e 's|#ENCRYPT_METHOD DES|ENCRYPT_METHOD SHA512|' \
al@19745 21 -e 's|/var/spool/mail|/var/mail|' etc/login.defs
al@19571 22 sed -i 's|bash|sh|' etc/useradd
al@19571 23
al@19571 24 ./configure \
al@19571 25 --sysconfdir=/etc \
al@19571 26 --with-group-name-max-length=32 &&
al@19571 27 make && make install
al@19571 28
al@19571 29 mv $install/usr/bin/passwd $install/bin
al@19571 30 }
al@19571 31
al@19571 32 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19571 33 genpkg_rules()
al@19571 34 {
al@19745 35 copy @std
al@19571 36 }