diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-26 13:25:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-26 13:27:05 +0000 |
commit | 67c8945b73512567425e43923d0ef14db41ed2ac (patch) | |
tree | c7f3ba53861459812744eec81d952369db969fe8 /main/open-iscsi/APKBUILD | |
parent | e5412705b673d7a1650741b4c45d87ef915674f1 (diff) | |
download | aports-67c8945b73512567425e43923d0ef14db41ed2ac.tar.bz2 aports-67c8945b73512567425e43923d0ef14db41ed2ac.tar.xz |
main/open-iscsi*: upgrade to 2.0-872
Diffstat (limited to 'main/open-iscsi/APKBUILD')
-rw-r--r-- | main/open-iscsi/APKBUILD | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/main/open-iscsi/APKBUILD b/main/open-iscsi/APKBUILD index 37d5f37409..2382420ccb 100644 --- a/main/open-iscsi/APKBUILD +++ b/main/open-iscsi/APKBUILD @@ -1,8 +1,8 @@ # Maintainer: Leonardo Arena <rnalrd@gmail.com> pkgname=open-iscsi -pkgver=2.0.871 -_realver=2.0-871 -pkgrel=3 +pkgver=2.0.872 +_realver=${pkgver%.*}-${pkgver##*.} +pkgrel=0 pkgdesc="High performance, transport independent, multi-platform iSCSI initiator" url="http://www.open-iscsi.org" license="GPL-2" @@ -10,9 +10,7 @@ depends= makedepends= install="" subpackages="$pkgname-doc" -source="http://www.open-iscsi.org/bits/$pkgname-$_realver.tar.gz - CVE-2009-1297.patch - open-iscsi-2.0.871-makefile-cleanup.patch +source="http://kernel.org/pub/linux/kernel/people/mnc/open-iscsi/releases/open-iscsi-$_realver.tar.gz iscsid.initd iscsid.confd" @@ -20,8 +18,6 @@ _builddir="$srcdir"/$pkgname-$_realver prepare() { cd "$_builddir" - patch -p0 < ../../CVE-2009-1297.patch || return 1 - patch -p1 < ../../open-iscsi-2.0.871-makefile-cleanup.patch || return 1 } build() { @@ -38,12 +34,10 @@ package() { mv $pkgdir/sbin/iscsi_discovery $pkgdir/usr/bin mv $pkgdir/sbin/iscsiadm $pkgdir/usr/bin mv $pkgdir/sbin/iscsid $pkgdir/usr/sbin - install -Dm755 ../../iscsid.initd "$pkgdir"/etc/init.d/iscsid - install -Dm644 ../../iscsid.confd "$pkgdir"/etc/conf.d/iscsid + install -Dm755 "$srcdir"/iscsid.initd "$pkgdir"/etc/init.d/iscsid + install -Dm644 "$srcdir"/iscsid.confd "$pkgdir"/etc/conf.d/iscsid } -md5sums="0c403e8c9ad41607571ba0e6e8ff196e open-iscsi-2.0-871.tar.gz -d1584790b4e12f087e60089880b53d2b CVE-2009-1297.patch -734300d7b7590dc9ae9b2fb7f5b51bf0 open-iscsi-2.0.871-makefile-cleanup.patch +md5sums="b4df94f08c241352bb964043b3e44779 open-iscsi-2.0-872.tar.gz 3e89cb86395756dafebc4f1490f0de10 iscsid.initd b762b687d4628791b4362df22cf22d34 iscsid.confd" |