wok-6.x diff iaxmodem/receipt @ rev 25256
updated qrencode and qrencode-dev (4.0.2 -> 4.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 06:38:49 2022 +0100 (2022-07-15) |
parents | ba7cbdb5749c |
children | ad0bc3efbf37 |
line diff
1.1 --- a/iaxmodem/receipt Wed Feb 09 21:05:34 2022 +0000 1.2 +++ b/iaxmodem/receipt Fri Jul 15 06:38:49 2022 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="iaxmodem" 1.7 -VERSION="1.3.0" 1.8 +VERSION="1.3.3" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Software modem for libiax2." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -11,8 +11,9 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 1.16 -DEPENDS="jpeg tiff zlib hylafax" 1.17 -BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev file" 1.18 +DEPENDS="hylafax jpeg tiff zlib" 1.19 +BUILD_DEPENDS="file jpeg-dev tiff-dev zlib-dev" 1.20 + 1.21 CONFIG_FILES="/etc/iaxmodem" 1.22 1.23 # What is the latest version available today? 1.24 @@ -38,12 +39,11 @@ 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 - mkdir -p \ 1.29 - $fs/usr/bin \ 1.30 - $fs/etc/iaxmodem \ 1.31 - $fs/var/log/iaxmodem 1.32 + mkdir -p $fs/etc/iaxmodem 1.33 + mkdir -p $fs/usr/bin 1.34 + mkdir -p $fs/var/log/iaxmodem 1.35 1.36 - cp -a $src/iaxmodem $fs/usr/bin 1.37 + cp -a $src/iaxmodem $fs/usr/bin 1.38 1.39 cat > $fs/etc/iaxmodem/ttyIAX0 <<EOT 1.40 device /dev/ttyIAX0 1.41 @@ -65,13 +65,15 @@ 1.42 sed -i '/iaxmodem/d' "$1/etc/inittab" 1.43 } 1.44 1.45 -# Pre and post install commands for Tazpkg. 1.46 +# Post install commands for Tazpkg. 1.47 post_install() 1.48 { 1.49 - grep -q ^uucp: "$1/etc/passwd" || { 1.50 + grep -q ^uucp: "$1/etc/passwd" || 1.51 + { 1.52 chroot "$1/" adduser -s /bin/false -S -D -H uucp 1.53 sed -i 's/^uucp:x:[0-9]*:[0-9]*:/uucp:x:0:0:/' "$1/etc/passwd" 1.54 } 1.55 + 1.56 grep -q ^uucp: "$1/etc/group" || chroot "$1/" addgroup uucp 1.57 1.58 touch "$1/var/log/iaxmodem/ttyIAX0" "$1/var/log/iaxmodem/iaxmodem"