wok-next view shadow/receipt @ rev 21157
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 04 11:54:13 2019 +0100 (2019-02-04) |
parents | d5aab818505e |
children |
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 DEPENDS_std="acl attr"
18 TAGS_std="LFS"
20 compile_rules() {
21 # Disable the installation of the `groups` program and its man pages, as
22 # Coreutils provides a better version.
23 sed -i 's/groups$(EXEEXT) //' src/Makefile.in
24 find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
25 find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;
26 find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;
28 sed -i -e 's|#ENCRYPT_METHOD DES|ENCRYPT_METHOD SHA512|' \
29 -e 's|/var/spool/mail|/var/mail|' etc/login.defs
30 sed -i 's|bash|sh|' etc/useradd
32 ./configure \
33 --with-group-name-max-length=32 &&
34 fix libtool &&
35 make &&
36 make install || return 1
38 mv $install/usr/bin/passwd $install/bin
39 }