wok-next view shadow/receipt @ rev 20959

Fix minicom
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 06 11:27:41 2018 +0200 (2018-09-06)
parents e7a485521d6a
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="shadow"
4 VERSION="4.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Programs for handling passwords in a secure way"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/shadow-maint/shadow"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/shadow.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/shadow-maint/shadow/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="acl-dev attr-dev gettext"
17 compile_rules() {
18 # Disable the installation of the `groups` program and its man pages, as
19 # Coreutils provides a better version.
20 sed -i 's/groups$(EXEEXT) //' src/Makefile.in
21 find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
22 find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;
23 find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;
25 sed -i -e 's|#ENCRYPT_METHOD DES|ENCRYPT_METHOD SHA512|' \
26 -e 's|/var/spool/mail|/var/mail|' etc/login.defs
27 sed -i 's|bash|sh|' etc/useradd
29 ./configure \
30 --with-group-name-max-length=32 &&
31 fix libtool &&
32 make &&
33 make install || return 1
35 mv $install/usr/bin/passwd $install/bin
36 }
38 genpkg_rules() {
39 copy @std
40 DEPENDS="acl attr"
41 TAGS="LFS"
42 }