aboutsummaryrefslogtreecommitdiffstats
path: root/main/iscsitarget-grsec/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/iscsitarget-grsec/APKBUILD')
-rw-r--r--main/iscsitarget-grsec/APKBUILD59
1 files changed, 0 insertions, 59 deletions
diff --git a/main/iscsitarget-grsec/APKBUILD b/main/iscsitarget-grsec/APKBUILD
deleted file mode 100644
index 882f81735..000000000
--- a/main/iscsitarget-grsec/APKBUILD
+++ /dev/null
@@ -1,59 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-
-_flavor=${FLAVOR:-grsec}
-_realname=iscsitarget
-# source the kernel version
-if [ -f ../linux-$_flavor/APKBUILD ]; then
- . ../linux-$_flavor/APKBUILD
-fi
-_kver=$pkgver
-_kernelver=$pkgver-r$pkgrel
-_abi_release=$pkgver-${_flavor}
-_kpkgrel=$pkgrel
-
-_iscsiver=1.4.20.2
-
-pkgname=${_realname}-${_flavor}
-pkgver=$_kver
-_mypkgrel=0
-pkgrel=$(($_kpkgrel + $_mypkgrel))
-pkgdesc="$_flavor kernel modules for iscsitarget $_iscsiver"
-url="http://iscsitarget.sourceforge.net/"
-arch=""
-license="GPL-2"
-depends="linux-${_flavor}=${_kernelver}"
-install=
-makedepends="linux-${_flavor}-dev=${_kernelver}"
-subpackages=
-source="http://downloads.sourceforge.net/$_realname/$_realname-$_iscsiver.tar.gz
- iscsitarget-2.6.36.patch
- iscsitarget-2.6.37.patch
- iscsitarget-2.6.38.patch
- "
-_ksrc=/usr/src/linux-headers-${_abi_release}
-
-prepare() {
- cd "$srcdir"/$_realname-$_iscsiver
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$srcdir"/$_realname-$_iscsiver
- unset ARCH
- export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
- make -j1 KSRC="$_ksrc" kernel || return 1
-}
-
-package() {
- cd "$srcdir"/$_realname-$_iscsiver
- make KSRC="$_ksrc" DESTDIR="$pkgdir" install-kernel || return 1
-}
-
-md5sums="2f23c0bfe124d79f5c20e34ef2aaff82 iscsitarget-1.4.20.2.tar.gz
-19f311cf41aff5f13b371ff38aa543df iscsitarget-2.6.36.patch
-f29a9701fd2ba3e6e3c0c411ff0e6327 iscsitarget-2.6.37.patch
-26c42eeb23f5afd5f62dcd5aa3a639bd iscsitarget-2.6.38.patch"