wok-6.x rev 20132

Up dahdi-* (2.11.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 28 11:09:42 2017 +0200 (2017-10-28)
parents 4d549cf7524a
children 0b60d6515722
files dahdi-dev/receipt dahdi-linux-dev/receipt dahdi-linux/receipt dahdi-man/receipt dahdi-perl/receipt dahdi-ppp/receipt dahdi-tools/receipt
line diff
     1.1 --- a/dahdi-dev/receipt	Sat Oct 28 02:35:58 2017 -0400
     1.2 +++ b/dahdi-dev/receipt	Sat Oct 28 11:09:42 2017 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dahdi-dev"
     1.7 -VERSION="2.6.1"
     1.8 +VERSION="2.11.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Digium Asterisk Hardware Device Interface development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
     2.1 --- a/dahdi-linux-dev/receipt	Sat Oct 28 02:35:58 2017 -0400
     2.2 +++ b/dahdi-linux-dev/receipt	Sat Oct 28 11:09:42 2017 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="dahdi-linux-dev"
     2.7 -VERSION="2.6.1"
     2.8 +VERSION="2.11.1"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules dev files."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
     3.1 --- a/dahdi-linux/receipt	Sat Oct 28 02:35:58 2017 -0400
     3.2 +++ b/dahdi-linux/receipt	Sat Oct 28 11:09:42 2017 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="dahdi-linux"
     3.7 -VERSION="2.6.1"
     3.8 +VERSION="2.11.1"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12 @@ -9,27 +9,29 @@
    3.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.14  WEB_SITE="http://www.asterisk.org/"
    3.15  WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
    3.16 -EXTRA_SOURCE_FILES="dahdi-fw-hx8-2.06.tar.gz \
    3.17 +EXTRA_SOURCE_FILES="dahdi-fw-hx8-2.06.tar.gz dahdi-fw-oct6114-032-1.05.01.tar.gz \
    3.18  dahdi-fw-oct6114-064-1.05.01.tar.gz	dahdi-fw-oct6114-128-1.05.01.tar.gz \
    3.19  dahdi-fw-oct6114-256-1.05.01.tar.gz	dahdi-fw-tc400m-MR6.12.tar.gz \
    3.20  dahdi-fw-te820-1.76.tar.gz		dahdi-fw-vpmoct032-1.12.0.tar.gz \
    3.21 +dahdi-fw-te133-7a001e.tar.gz		dahdi-fw-te134-780017.tar.gz \
    3.22 +dahdi-fw-te435-13001e.tar.gz		dahdi-fw-te436-10017.tar.gz \
    3.23 +dahdi-fw-a8b-1f001e.tar.gz		dahdi-fw-a8a-1d0017.tar.gz \
    3.24 +dahdi-fw-a4b-d001e.tar.gz		dahdi-fw-a4a-a0017.tar.gz \
    3.25  dahdi-fwload-vpmadt032-1.25.0.tar.gz"
    3.26  
    3.27  DEPENDS="linux udev"
    3.28 -BUILD_DEPENDS="linux-module-headers xz"
    3.29 +BUILD_DEPENDS="linux-module-headers xz perl"
    3.30  
    3.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.32  compile_rules()
    3.33  {
    3.34 -	sed -i 's|/sbin/depmod|echo &|' Makefile
    3.35 -	sed -i 's/tar -xof/tar -xf/' drivers/dahdi/firmware/Makefile
    3.36 +	FIRMWARE_URL=http://downloads.digium.com/pub/telephony/firmware/releases
    3.37  	for i in $EXTRA_SOURCE_FILES ; do
    3.38 -		[ -s $SOURCES_REPOSITORY/$i ] || continue
    3.39 +		[ -s $SOURCES_REPOSITORY/$i ] ||
    3.40 +		  wget -P $SOURCES_REPOSITORY $FIRMWARE_URL/$i
    3.41  		cp $SOURCES_REPOSITORY/$i drivers/dahdi/firmware/
    3.42  		tar xzf $SOURCES_REPOSITORY/$i -C drivers/dahdi/firmware/
    3.43  	done
    3.44 -	find -type f | xargs sed -i -e 's/DECLARE_MUTEX/DEFINE_SEMAPHORE/g' \
    3.45 -		-e 's/init_MUTEX\([^)]*\)/sema_init\1, 1/g'
    3.46  	make KVERS="/usr/src/linux" install 2>&1 | grep -v 'slitaz/modules' &&
    3.47  	find $DESTDIR/lib/modules -name '*.ko' -exec xz {} \; 
    3.48  	for i in $EXTRA_SOURCE_FILES ; do
     4.1 --- a/dahdi-man/receipt	Sat Oct 28 02:35:58 2017 -0400
     4.2 +++ b/dahdi-man/receipt	Sat Oct 28 11:09:42 2017 +0200
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="dahdi-man"
     4.7 -VERSION="2.6.1"
     4.8 +VERSION="2.11.1"
     4.9  CATEGORY="network"
    4.10  SHORT_DESC="Digium Asterisk Hardware Device Interface man pages."
    4.11  MAINTAINER="pascal.bellard@slitaz.org"
     5.1 --- a/dahdi-perl/receipt	Sat Oct 28 02:35:58 2017 -0400
     5.2 +++ b/dahdi-perl/receipt	Sat Oct 28 11:09:42 2017 +0200
     5.3 @@ -1,7 +1,7 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="dahdi-perl"
     5.7 -VERSION="2.6.1"
     5.8 +VERSION="2.11.1"
     5.9  CATEGORY="development"
    5.10  SHORT_DESC="Digium Asterisk Hardware Device Interface PERL modules."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"
     6.1 --- a/dahdi-ppp/receipt	Sat Oct 28 02:35:58 2017 -0400
     6.2 +++ b/dahdi-ppp/receipt	Sat Oct 28 11:09:42 2017 +0200
     6.3 @@ -1,7 +1,7 @@
     6.4  # SliTaz package receipt.
     6.5  
     6.6  PACKAGE="dahdi-ppp"
     6.7 -VERSION="2.6.1"
     6.8 +VERSION="2.11.1"
     6.9  CATEGORY="network"
    6.10  SHORT_DESC="Digium Asterisk Hardware Device Interface PPP plugin."
    6.11  MAINTAINER="pascal.bellard@slitaz.org"
     7.1 --- a/dahdi-tools/receipt	Sat Oct 28 02:35:58 2017 -0400
     7.2 +++ b/dahdi-tools/receipt	Sat Oct 28 11:09:42 2017 +0200
     7.3 @@ -1,7 +1,7 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="dahdi-tools"
     7.7 -VERSION="2.6.1"
     7.8 +VERSION="2.11.1"
     7.9  CATEGORY="network"
    7.10  SHORT_DESC="Digium Asterisk Hardware Device Interface userland tools."
    7.11  MAINTAINER="pascal.bellard@slitaz.org"
    7.12 @@ -12,24 +12,22 @@
    7.13  CONFIG_FILES="/etc/dahdi/"
    7.14  
    7.15  DEPENDS="libusb-compat newt libpri dahdi-perl"
    7.16 -BUILD_DEPENDS="dahdi-linux-dev ppp-dev newt-dev libpri-dev gtk+-dev"
    7.17 +BUILD_DEPENDS="dahdi-linux-dev ppp-dev newt-dev libpri-dev gtk+-dev file"
    7.18  
    7.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.20  compile_rules()
    7.21  {
    7.22 -	cd $src
    7.23 -	touch -d 197001010000 xpp/.depend
    7.24  	./configure \
    7.25  		--prefix=/usr \
    7.26  		--sysconfdir=/etc \
    7.27  		--exec-prefix=/usr \
    7.28  		--mandir=/usr/share/man \
    7.29  		$CONFIGURE_ARGS 2>&1 | grep -v conftest &&
    7.30 -	make -j1 &&
    7.31 -	make -j1 -C ppp &&
    7.32 -	make -j1 DESTDIR=$DESTDIR install &&
    7.33 -	make -j1 DESTDIR=$DESTDIR -C ppp install &&
    7.34 -	make -j1 DESTDIR=$DESTDIR config
    7.35 +	make &&
    7.36 +	make -C ppp &&
    7.37 +	make DESTDIR=$DESTDIR install &&
    7.38 +	make DESTDIR=$DESTDIR -C ppp install &&
    7.39 +	make DESTDIR=$DESTDIR config
    7.40  }
    7.41  
    7.42  # Rules to gen a SliTaz package suitable for Tazpkg.