wok-next diff shadow/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents 9a17d981d0f7
children 757d032c55c7
line diff
     1.1 --- a/shadow/receipt	Thu Jun 08 00:20:23 2017 +0300
     1.2 +++ b/shadow/receipt	Tue Mar 27 12:50:45 2018 +0200
     1.3 @@ -7,16 +7,21 @@
     1.4  MAINTAINER="al.bobylev@gmail.com"
     1.5  LICENSE="BSD"
     1.6  WEB_SITE="http://pkg-shadow.alioth.debian.org/"
     1.7 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/shadow.html"
     1.8  
     1.9  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.10  WGET_URL="https://github.com/shadow-maint/shadow/releases/download/$VERSION/$TARBALL"
    1.11  
    1.12 -DEPENDS="acl attr"
    1.13  BUILD_DEPENDS="acl-dev attr-dev gettext"
    1.14  
    1.15 -# Rules to configure and make the package.
    1.16 -compile_rules()
    1.17 -{
    1.18 +compile_rules() {
    1.19 +	# Disable the installation of the `groups` program and its man pages, as
    1.20 +	# Coreutils provides a better version.
    1.21 +	sed -i 's/groups$(EXEEXT) //' src/Makefile.in
    1.22 +	find man -name Makefile.in -exec sed -i 's/groups\.1 / /'   {} \;
    1.23 +	find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;
    1.24 +	find man -name Makefile.in -exec sed -i 's/passwd\.5 / /'   {} \;
    1.25 +
    1.26  	sed -i -e 's|#ENCRYPT_METHOD DES|ENCRYPT_METHOD SHA512|' \
    1.27  		-e 's|/var/spool/mail|/var/mail|' etc/login.defs
    1.28  	sed -i 's|bash|sh|' etc/useradd
    1.29 @@ -29,8 +34,8 @@
    1.30  	mv $install/usr/bin/passwd $install/bin
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	copy @std
    1.38 +	DEPENDS="acl attr"
    1.39 +	TAGS="LFS"
    1.40  }