wok rev 24656
updated iaxmodem (1.3.0 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 07:18:43 2022 +0100 (2022-03-11) |
parents | 1bb618a02809 |
children | 750eba330f9c |
files | iaxmodem/description.txt iaxmodem/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/iaxmodem/description.txt Fri Mar 11 07:18:43 2022 +0100 1.3 @@ -0,0 +1,3 @@ 1.4 +IAXmodem is a software modem written in C that uses an IAX channel 1.5 +(commonly provided by an Asterisk PBX system) instead of a traditional 1.6 +phone line and uses a DSP library instead of DSP hardware chipsets.
2.1 --- a/iaxmodem/receipt Fri Mar 11 07:05:53 2022 +0100 2.2 +++ b/iaxmodem/receipt Fri Mar 11 07:18:43 2022 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="iaxmodem" 2.7 -VERSION="1.3.0" 2.8 +VERSION="1.3.3" 2.9 CATEGORY="network" 2.10 SHORT_DESC="Software modem for libiax2." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 @@ -11,8 +11,9 @@ 2.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.15 2.16 -DEPENDS="jpeg tiff zlib hylafax" 2.17 -BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev file" 2.18 +DEPENDS="hylafax jpeg tiff zlib" 2.19 +BUILD_DEPENDS="file jpeg-dev tiff-dev zlib-dev" 2.20 + 2.21 CONFIG_FILES="/etc/iaxmodem" 2.22 2.23 # What is the latest version available today? 2.24 @@ -38,12 +39,11 @@ 2.25 # Rules to gen a SliTaz package suitable for Tazpkg. 2.26 genpkg_rules() 2.27 { 2.28 - mkdir -p \ 2.29 - $fs/usr/bin \ 2.30 - $fs/etc/iaxmodem \ 2.31 - $fs/var/log/iaxmodem 2.32 + mkdir -p $fs/etc/iaxmodem 2.33 + mkdir -p $fs/usr/bin 2.34 + mkdir -p $fs/var/log/iaxmodem 2.35 2.36 - cp -a $src/iaxmodem $fs/usr/bin 2.37 + cp -a $src/iaxmodem $fs/usr/bin 2.38 2.39 cat > $fs/etc/iaxmodem/ttyIAX0 <<EOT 2.40 device /dev/ttyIAX0 2.41 @@ -65,13 +65,15 @@ 2.42 sed -i '/iaxmodem/d' "$1/etc/inittab" 2.43 } 2.44 2.45 -# Pre and post install commands for Tazpkg. 2.46 +# Post install commands for Tazpkg. 2.47 post_install() 2.48 { 2.49 - grep -q ^uucp: "$1/etc/passwd" || { 2.50 + grep -q ^uucp: "$1/etc/passwd" || 2.51 + { 2.52 chroot "$1/" adduser -s /bin/false -S -D -H uucp 2.53 sed -i 's/^uucp:x:[0-9]*:[0-9]*:/uucp:x:0:0:/' "$1/etc/passwd" 2.54 } 2.55 + 2.56 grep -q ^uucp: "$1/etc/group" || chroot "$1/" addgroup uucp 2.57 2.58 touch "$1/var/log/iaxmodem/ttyIAX0" "$1/var/log/iaxmodem/iaxmodem"