diff options
Diffstat (limited to 'main/dahdi-linux-grsec')
-rw-r--r-- | main/dahdi-linux-grsec/APKBUILD | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/main/dahdi-linux-grsec/APKBUILD b/main/dahdi-linux-grsec/APKBUILD index 93c2265f2..4885faca1 100644 --- a/main/dahdi-linux-grsec/APKBUILD +++ b/main/dahdi-linux-grsec/APKBUILD @@ -3,12 +3,6 @@ _flavor=grsec -# 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 @@ -21,7 +15,9 @@ _realname=dahdi-linux pkgname=${_realname}-${_flavor} pkgver=$pkgver -_mypkgrel=0 +# when chaning _dahdiver we *must* bump _mypkgrel +_dahdiver=2.3.0.1 +_mypkgrel=3 pkgrel=$(( $_kpkgrel + $_mypkgrel )) pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver" url="http://www.asterisk.org" @@ -67,7 +63,7 @@ depends_dev="dahdi-linux-dev" dev() { default_dev local dir="$subpkgdir"/usr/src/dahdi-headers-${_abi_release} - install -D "$srcdir"/$_realname-$pkgver/drivers/dahdi/Module.symvers \ + install -D "$srcdir"/$_realname-$_dahdiver/drivers/dahdi/Module.symvers \ "$dir"/drivers/dahdi/Module.symvers ln -s /usr/include "$dir"/include } |