wok-next view shadow/receipt @ rev 20244
Update bdeps: apache-mod-perl, codeblocks, tacacs+, thunar-archive-plugin, tuxpaint, xpenguins
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 07 10:54:15 2017 +0200 (2017-11-07) |
parents | 8da249b2c8d7 |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="shadow"
4 VERSION="4.5"
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="https://github.com/shadow-maint/shadow/releases/download/$VERSION/$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 copy @std
36 }