wok-next diff shadow/receipt @ rev 19662
Remove tazchroot (not used for yearsand unusable)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 16 18:37:27 2017 +0100 (2017-03-16) |
parents | |
children | 9a17d981d0f7 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/shadow/receipt Thu Mar 16 18:37:27 2017 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="shadow" 1.7 +VERSION="4.2.1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Programs for handling passwords in a secure way" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="http://pkg-shadow.alioth.debian.org/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.15 +WGET_URL="${WEB_SITE}releases/$TARBALL" 1.16 + 1.17 +DEPENDS="acl attr" 1.18 +BUILD_DEPENDS="acl-dev attr-dev gettext" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \ 1.24 + -e 's@/var/spool/mail@/var/mail@' etc/login.defs 1.25 + sed -i 's|bash|sh|' etc/useradd 1.26 + 1.27 + ./configure \ 1.28 + --sysconfdir=/etc \ 1.29 + --with-group-name-max-length=32 && 1.30 + make && make install 1.31 + 1.32 + mv $install/usr/bin/passwd $install/bin 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + cook_copy_folders bin sbin etc 1.39 +}