diff options
Diffstat (limited to 'main/dahdi-linux-vserver/APKBUILD')
-rw-r--r-- | main/dahdi-linux-vserver/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/dahdi-linux-vserver/APKBUILD b/main/dahdi-linux-vserver/APKBUILD index cfc07ef314..2fc54cb202 100644 --- a/main/dahdi-linux-vserver/APKBUILD +++ b/main/dahdi-linux-vserver/APKBUILD @@ -17,7 +17,7 @@ pkgname=${_realname}-${_flavor} pkgver=$pkgver # when bumping _dahdiver we *must* bump _mypkgrel _dahdiver=2.3.0.1 -_mypkgrel=3 +_mypkgrel=4 pkgrel=$(( $_kpkgrel + $_mypkgrel )) pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver" url="http://www.asterisk.org" @@ -32,15 +32,20 @@ source="http://downloads.digium.com/pub/telephony/dahdi-linux/releases/${_realna dahdi-depmod.patch dahdi-bri_dchan.patch dahdi-zaphfc.patch + dahdi-zaphfc2.patch zaphfc-dahdi-flortz.diff dahdi-2.2.0.2-gcc44-hack.patch " prepare() { cd "$srcdir/$_realname-$_dahdiver" - for i in ../*.patch ../*.diff; do - msg "Applying $i" - patch -p1 < $i || return 1; + for i in $source; do + case $i in + *.patch|*.diff) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || return 1 + ;; + esac done } @@ -73,5 +78,6 @@ md5sums="ac454f91d7e1267655ecd698832da414 dahdi-linux-2.3.0.1.tar.gz c78fb8d80f9efdffd950297c88ff9273 dahdi-depmod.patch 4b41a82ff390ac64c08092c5a3eab6a8 dahdi-bri_dchan.patch 3be420539f5e2e2b94a1bf3d711ec630 dahdi-zaphfc.patch +854008afc44b7a5c920f4ae4a2860e3b dahdi-zaphfc2.patch 291c5c44c86ab02443a742415461ddca zaphfc-dahdi-flortz.diff eeb4b2870d23d7c020cd99b5b1a633e9 dahdi-2.2.0.2-gcc44-hack.patch" |