wok-6.x view busybox-pam/receipt @ rev 20652
Up busybox (1.30.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 13 10:40:16 2019 +0100 (2019-01-13) |
parents | 014f8d1188e8 |
children | bdcd3948c6d6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox-pam"
4 VERSION="1.30.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="busybox pam"
10 WANTED="busybox"
11 WEB_SITE="http://www.busybox.net/"
12 CONFIG_FILES="/etc/pam.d"
13 PROVIDE="busybox:pam"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/bin
19 cp -a $src/busybox-pam $fs/bin/busybox
20 cp -a $stuff/* $fs
21 }
23 pre_remove()
24 {
25 # We install non-pam busybox to replace busybox-pam.
26 tazpkg get-install ${PACKAGE%-pam} --forced
28 # We remove /bin/busybox from the file.list of busybox-pam.
29 # This way, the non-pam busybox we just installed will not be
30 # removed.
31 sed '/\/bin\/busybox/d' \
32 -i /var/lib/tazpkg/installed/busybox-pam/files.list
33 }
35 post_install()
36 {
37 chmod 4755 "$1/bin/busybox"
38 }