wok-next view shadow/receipt @ rev 19618

memtest: update for GCC5
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 06 18:15:00 2017 +0100 (2017-02-06)
parents
children 9a17d981d0f7
line source
1 # SliTaz package receipt.
3 PACKAGE="shadow"
4 VERSION="4.2.1"
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="http://pkg-shadow.alioth.debian.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}releases/$TARBALL"
14 DEPENDS="acl attr"
15 BUILD_DEPENDS="acl-dev attr-dev gettext"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \
21 -e 's@/var/spool/mail@/var/mail@' etc/login.defs
22 sed -i 's|bash|sh|' etc/useradd
24 ./configure \
25 --sysconfdir=/etc \
26 --with-group-name-max-length=32 &&
27 make && make install
29 mv $install/usr/bin/passwd $install/bin
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders bin sbin etc
36 }