wok-next view shadow/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 306a4f258013 |
children | a43eb412173d |
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-dev"
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 }