diff options
author | Cedric Schieli <cschieli@gmail.com> | 2010-03-22 14:16:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-31 08:31:54 +0000 |
commit | d040d6e5ebd9bba921d80c096680fa5c2733f516 (patch) | |
tree | 03a25cb6fa0d4b99e5d16b491c0aee1424bfee13 | |
parent | 52880362233e075e04275cb4b0f03f536b234dca (diff) | |
download | aports-d040d6e5ebd9bba921d80c096680fa5c2733f516.tar.bz2 aports-d040d6e5ebd9bba921d80c096680fa5c2733f516.tar.xz |
main/{dahdi-linux-vserver,iscsitarget-grsec}: multi flavor support
Signed-off-by: Cedric Schieli <cschieli@gmail.com>
-rw-r--r-- | main/dahdi-linux-vserver/APKBUILD | 4 | ||||
-rw-r--r-- | main/iscsitarget-grsec/APKBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/main/dahdi-linux-vserver/APKBUILD b/main/dahdi-linux-vserver/APKBUILD index 466bdc8b8d..41cd096582 100644 --- a/main/dahdi-linux-vserver/APKBUILD +++ b/main/dahdi-linux-vserver/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Timo Teras <timo.teras@iki.fi> # Maintainer: Timo Teras <timo.teras@iki.fi> -_flavor=vserver +_flavor=${FLAVOR:-vserver} # source the kernel version if [ -f ../linux-${_flavor}/APKBUILD ]; then @@ -16,7 +16,7 @@ _realname=dahdi-linux pkgname=${_realname}-${_flavor} pkgver=$pkgver _dahdiver=2.2.0.2 -_mypkgrel=1 +_mypkgrel=2 pkgrel=$(( $_kpkgrel + $_mypkgrel )) pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver" url="http://www.asterisk.org" diff --git a/main/iscsitarget-grsec/APKBUILD b/main/iscsitarget-grsec/APKBUILD index 710647021a..b593044200 100644 --- a/main/iscsitarget-grsec/APKBUILD +++ b/main/iscsitarget-grsec/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -_flavor=grsec +_flavor=${FLAVOR:-grsec} _realname=iscsitarget # source the kernel version if [ -f ../linux-$_flavor/APKBUILD ]; then @@ -15,7 +15,7 @@ _iscsiver=1.4.19 pkgname=${_realname}-${_flavor} pkgver=$_kver -_mypkgrel=1 +_mypkgrel=2 pkgrel=$(($_kpkgrel + $_mypkgrel)) pkgdesc="$_flavor kernel modules for iscsitarget $_iscsiver" url="http://iscsitarget.sourceforge.net/" |