aboutsummaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-vserver/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/dahdi-linux-vserver/APKBUILD')
-rw-r--r--main/dahdi-linux-vserver/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/main/dahdi-linux-vserver/APKBUILD b/main/dahdi-linux-vserver/APKBUILD
index 41cd09658..f1eb9a38b 100644
--- a/main/dahdi-linux-vserver/APKBUILD
+++ b/main/dahdi-linux-vserver/APKBUILD
@@ -3,6 +3,12 @@
_flavor=${FLAVOR:-vserver}
+# source dahdi-linux ver
+if [ -f ../dahdi-linux/APKBUILD ]; then
+ . ../dahdi-linux/APKBUILD
+fi
+_dahdiver=$pkgver
+
# source the kernel version
if [ -f ../linux-${_flavor}/APKBUILD ]; then
. ../linux-${_flavor}/APKBUILD
@@ -15,8 +21,7 @@ _realname=dahdi-linux
pkgname=${_realname}-${_flavor}
pkgver=$pkgver
-_dahdiver=2.2.0.2
-_mypkgrel=2
+_mypkgrel=0
pkgrel=$(( $_kpkgrel + $_mypkgrel ))
pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver"
url="http://www.asterisk.org"
@@ -32,10 +37,6 @@ source="http://downloads.digium.com/pub/telephony/dahdi-linux/releases/${_realna
dahdi-bri_dchan.patch
dahdi-zaphfc.patch
zaphfc-dahdi-flortz.diff
- dahdi-linux-2.2.0-hfc-4s.patch
- dahdi-2.6.31.patch
- dahdi-2.2.0.2-driver_data-2.6.32.patch
- dahdi-2.2.0.2-includes.patch
dahdi-2.2.0.2-gcc44-hack.patch
"
@@ -72,13 +73,9 @@ dev() {
ln -s /usr/include "$dir"/include
}
-md5sums="1f932729ad28f2f028afcf2cc5ccf7ba dahdi-linux-2.2.0.2.tar.gz
+md5sums="ac454f91d7e1267655ecd698832da414 dahdi-linux-2.3.0.1.tar.gz
c78fb8d80f9efdffd950297c88ff9273 dahdi-depmod.patch
4b41a82ff390ac64c08092c5a3eab6a8 dahdi-bri_dchan.patch
3be420539f5e2e2b94a1bf3d711ec630 dahdi-zaphfc.patch
291c5c44c86ab02443a742415461ddca zaphfc-dahdi-flortz.diff
-68dfe17a49cca15ae439fd83f4ccfbc5 dahdi-linux-2.2.0-hfc-4s.patch
-bd5e7457ee8f37c10ed7ec383995e4fa dahdi-2.6.31.patch
-7f9452ef37385e03e05147081d6951a1 dahdi-2.2.0.2-driver_data-2.6.32.patch
-6c208d6346a3668cea900baa45298f6a dahdi-2.2.0.2-includes.patch
eeb4b2870d23d7c020cd99b5b1a633e9 dahdi-2.2.0.2-gcc44-hack.patch"