summaryrefslogtreecommitdiffstats
path: root/main/open-iscsi-grsec/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-24 14:12:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-24 15:06:10 +0000
commitbdeb1544255f85ed635bf584636808c45a1abad5 (patch)
tree445d63e1d227bdf3c46d0ded29cfd593409daf3c /main/open-iscsi-grsec/APKBUILD
parent051b7c31213528193ad1e9d140d6dd0fc79067fb (diff)
downloadaports-bdeb1544255f85ed635bf584636808c45a1abad5.tar.bz2
aports-bdeb1544255f85ed635bf584636808c45a1abad5.tar.xz
main/open-iscsi*: removed
We will switch to linux-iscsi.org
Diffstat (limited to 'main/open-iscsi-grsec/APKBUILD')
-rw-r--r--main/open-iscsi-grsec/APKBUILD59
1 files changed, 0 insertions, 59 deletions
diff --git a/main/open-iscsi-grsec/APKBUILD b/main/open-iscsi-grsec/APKBUILD
deleted file mode 100644
index 23da2fd27..000000000
--- a/main/open-iscsi-grsec/APKBUILD
+++ /dev/null
@@ -1,59 +0,0 @@
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-
-_flavor=grsec
-_realname=open-iscsi
-_realver=2.0-872
-_kver=3.0.17
-_kpkgrel=0
-
-# verify the kernel version before entering chroot
-if [ -f ../linux-${_flavor}/APKBUILD ]; then
- . ../linux-${_flavor}/APKBUILD
- [ "$_kver" != "$pkgver" ] && die "open-iscsi-$_flavor: please update _kver to $pkgver"
- [ "$_kpkgrel" != "$pkgrel" ] && die "open-iscsi-$_flavor: please update _kpkgrel to $pkgrel"
-fi
-
-_kernelver="$_kver-r$_kpkgrel"
-_abi_release=$_kver-${_flavor}
-_ksrc=/usr/src/linux-headers-${_abi_release}
-
-_iscsiver=$_realver
-
-pkgname=${_realname}-${_flavor}
-pkgver=$_kver
-_mypkgrel=0
-pkgrel=$(($_kpkgrel + $_mypkgrel))
-pkgdesc="$_flavor kernel modules for open-iscsi $_iscsiver"
-url="http://www.open-iscsi.org"
-arch="all"
-license="GPL-2"
-depends="linux-${_flavor}=${_kernelver}"
-install=
-makedepends="linux-${_flavor}-dev=${_kernelver}"
-subpackages=
-source="http://www.open-iscsi.org/bits/$_realname-$_realver.tar.gz
- Makefile-Alpine-kernels-support.patch"
-
-_builddir="$srcdir/$_realname-$_realver"
-
-prepare() {
- cd "$_builddir"
- patch -p1 < "$srcdir"/Makefile-Alpine-kernels-support.patch || return 1
-}
-
-build() {
- cd "$_builddir"
- unset ARCH
- export GCC_SPECS=/usr/share/gcc/hardenednopie.specs
- make KSRC="$_ksrc" kernel || return 1
-}
-
-package() {
- cd "$_builddir"
- make KSRC="$_ksrc" DESTDIR="$pkgdir" \
- INSTALL_MOD_DIR="extra/drivers/scsi" \
- install_kernel
-}
-
-md5sums="b4df94f08c241352bb964043b3e44779 open-iscsi-2.0-872.tar.gz
-3987a17affa407eb03e845b84c71211e Makefile-Alpine-kernels-support.patch"