wok-next view shadow/receipt @ rev 20514

ardour, gdal, icu, js, jsoncpp, libvpx, llvm, mesa, minetest, opencv, qt5, scilab, webkit2gtk, webkitgtk, xalan-c: remove std.patch, use `fix math`.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 16:15:19 2018 +0200 (2018-03-21)
parents 9a17d981d0f7
children 757d032c55c7
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/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/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"
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 --sysconfdir=/etc \
31 --with-group-name-max-length=32 &&
32 make && make install
34 mv $install/usr/bin/passwd $install/bin
35 }
37 genpkg_rules() {
38 copy @std
39 DEPENDS="acl attr"
40 TAGS="LFS"
41 }