summaryrefslogtreecommitdiffstats
path: root/main/iscsitarget-grsec/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-10-19 16:03:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-19 16:03:10 +0000
commit613424a75b231bd98a499241d5d7cbee099843ed (patch)
tree95c9f9b2d50095837607188c7d9b81e168a51453 /main/iscsitarget-grsec/APKBUILD
parent2943cbc2d0bbec17192ef922b4e388ffb4c3d759 (diff)
downloadaports-613424a75b231bd98a499241d5d7cbee099843ed.tar.bz2
aports-613424a75b231bd98a499241d5d7cbee099843ed.tar.xz
main/iscsitarget: compile for 2.6.31.4 and upgraded to 1.4.18
Diffstat (limited to 'main/iscsitarget-grsec/APKBUILD')
-rw-r--r--main/iscsitarget-grsec/APKBUILD33
1 files changed, 13 insertions, 20 deletions
diff --git a/main/iscsitarget-grsec/APKBUILD b/main/iscsitarget-grsec/APKBUILD
index 51c176b8b..ad63f44a9 100644
--- a/main/iscsitarget-grsec/APKBUILD
+++ b/main/iscsitarget-grsec/APKBUILD
@@ -6,42 +6,35 @@ _realname=iscsitarget
if [ -f ../linux-$_flavor/APKBUILD ]; then
. ../linux-$_flavor/APKBUILD
fi
+_kver=$pkgver
_kernelver=$pkgver-r$pkgrel
_abi_release=$pkgver-${_flavor}
-# get pkgver from iscsitarget
-if [ -f ../iscsitarget/APKBUILD ]; then
- . ../iscsitarget/APKBUILD
-fi
+_iscsiver=1.4.18
+
pkgname=${_realname}-${_flavor}
-pkgver=${pkgver:-0.4.17}
-pkgrel=17
-pkgdesc="$_flavor kernel modules for iscsitarget"
+pkgver=$_kver
+pkgrel=0
+pkgdesc="$_flavor kernel modules for iscsitarget $_iscsiver"
url="http://iscsitarget.sourceforge.net/"
license="GPL-2"
depends="linux-${_flavor}=${_kernelver}"
install=
makedepends="linux-${_flavor}-dev=${_kernelver}"
subpackages=
-source="http://downloads.sourceforge.net/$_realname/$_realname-$pkgver.tar.gz
- iscsitarget-0.4.17+linux-2.6.28.patch
- iscsitarget-0.4.17+linux-2.6.29.patch
- iscsitarget-0.4.17+linux-2.6.30.patch
+source="http://downloads.sourceforge.net/$_realname/$_realname-$_iscsiver.tar.gz
"
build() {
- cd "$srcdir"/$_realname-$pkgver
- for i in ../*.patch; do
- msg "Applying $i"
- patch -p1 < $i || return 1
- done
+ cd "$srcdir"/$_realname-$_iscsiver
+# for i in ../*.patch; do
+# msg "Applying $i"
+# patch -p1 < $i || return 1
+# done
unset ARCH
local ksrc=/usr/src/linux-headers-${_abi_release}
make KSRC="$ksrc" kernel || return 1
make KSRC="$ksrc" DISTDIR="$pkgdir" install-kernel || return 1
}
-md5sums="e79b437695fc50e7d054631855a16b1b iscsitarget-0.4.17.tar.gz
-f58dde50f72b04b7737b33e517e56208 iscsitarget-0.4.17+linux-2.6.28.patch
-a7be10bb04c9014807e39db75c9cd468 iscsitarget-0.4.17+linux-2.6.29.patch
-2f65d30d1766828fc87cac55a84e0b07 iscsitarget-0.4.17+linux-2.6.30.patch"
+md5sums="9e756e89cc47aaa71824ed34a6560543 iscsitarget-1.4.18.tar.gz"