aboutsummaryrefslogtreecommitdiffstats
path: root/main/open-iscsi/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-05-25 10:13:56 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-05-25 10:23:02 +0000
commit0acd32966d0410e030e316b0a2225712a40d2708 (patch)
treef9ae772849579bbe636dd56f86dba77779f79083 /main/open-iscsi/APKBUILD
parentf876db89859e4ef206cc6adfb6bca2faea90bc39 (diff)
downloadaports-0acd32966d0410e030e316b0a2225712a40d2708.tar.bz2
aports-0acd32966d0410e030e316b0a2225712a40d2708.tar.xz
main/open-iscsi: upgrade to 2.0.874
Diffstat (limited to 'main/open-iscsi/APKBUILD')
-rw-r--r--main/open-iscsi/APKBUILD48
1 files changed, 19 insertions, 29 deletions
diff --git a/main/open-iscsi/APKBUILD b/main/open-iscsi/APKBUILD
index 3fd5cec365..1fcb1c127a 100644
--- a/main/open-iscsi/APKBUILD
+++ b/main/open-iscsi/APKBUILD
@@ -1,39 +1,38 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=open-iscsi
-pkgver=2.0.873
-_realver=${pkgver%.*}-${pkgver##*.}
-pkgrel=6
+pkgver=2.0.874
+pkgrel=0
pkgdesc="High performance, transport independent, multi-platform iSCSI initiator"
url="http://www.open-iscsi.org"
arch="all"
license="GPL2"
-depends=
-makedepends="libressl-dev linux-headers"
-install=""
+makedepends="autoconf automake libressl-dev libtool linux-headers open-isns-dev
+ util-linux-dev"
+options="!check"
subpackages="$pkgname-doc"
-source="http://arch.p5n.pp.ru/~sergej/dl/$pkgname-${_realver}.tar.gz
- musl-fixes.patch
+source="$pkgname-$pkgver.tar.gz::https://github.com/open-iscsi/open-iscsi/archive/$pkgver.tar.gz
iscsid.initd
iscsid.confd
- iscsid.conf"
-
-builddir="$srcdir"/$pkgname-$_realver
+ iscsid.conf
+ musl-fixes.patch
+ ldflags.patch
+ "
+builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- default_prepare || return 1
- update_config_guess || return 1
+ default_prepare
# include iscsistart in the package
- sed -i -e '/^PROGRAMS = /s/$/ usr\/iscsistart/' Makefile || return 1
+ sed -i -e '/^PROGRAMS = /s/$/ usr\/iscsistart/' Makefile
}
build() {
cd "$builddir"
- make user || return 1
+ make user
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install_user || return 1
+ make DESTDIR="$pkgdir" install_user
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/usr/sbin
mv $pkgdir/sbin/iscsi-iname $pkgdir/usr/bin
@@ -45,18 +44,9 @@ package() {
install -Dm644 "$srcdir"/iscsid.conf "$pkgdir"/etc/iscsi/iscsid.conf
}
-md5sums="8b8316d7c9469149a6cc6234478347f7 open-iscsi-2.0-873.tar.gz
-93d493b1ad4fb2d246eb532446aa164d musl-fixes.patch
-c6a0c15c0c21b13915179fb7e0cf0003 iscsid.initd
-b762b687d4628791b4362df22cf22d34 iscsid.confd
-49c29d08c08e74699724f1fb3de21a6c iscsid.conf"
-sha256sums="7dd9f2f97da417560349a8da44ea4fcfe98bfd5ef284240a2cc4ff8e88ac7cd9 open-iscsi-2.0-873.tar.gz
-57d6b4040a9b43c8a8864fb3e1c25ac48b78427265f4487744685a9a2b1b2954 musl-fixes.patch
-38edede472f478ce01f40e3557c315de3f3ecf1d0c0dbab2883517840a7186b5 iscsid.initd
-673bf4744efc3276d372587c996270821d39dcdc0bf27a13691ea6b0e814b6d0 iscsid.confd
-0e1db9b03693a1090cfd7b28a790f83ec6615984608b0cf8465aa91db2437e23 iscsid.conf"
-sha512sums="4e67116cb7dd49381c9279645e5a661f05596ae6be3b832772089828b3764ca2d04b5dea1bcc337071efb52c3c75a6fb943136c659ee59500f3a198ed0dcea6b open-iscsi-2.0-873.tar.gz
-e45ce5deec9d3861568e0be3390827da525b523b6d0a47a99f85becb4416e3a26f5e17f077a891c43ae90e621fa8d357123b9b3573a731788fac2c12b40239a6 musl-fixes.patch
+sha512sums="66d8a52b6401229d51873f1ee0f4e7259a8ed584800403a41741c7eeedc0ec21a2b116671cb7259f60918d083ffb46d76860236a1b10fbb94a4c1d61bddae1ae open-iscsi-2.0.874.tar.gz
e16d0abf117c0c282e98abb14893923609dc6078f770facd0578ad72ce6e3fc7b9c84a39628c1246d955ba6bb204fb902bcba6d5959ac755fee7e2a85da181df iscsid.initd
075bb9cb783be7ccbc799947e0e042b85310d40b3045141dc1be40ca84ed1cc0e1e54559df501c512c179e28375314b27a03c15d9a6d4b1cabd428b2279985d3 iscsid.confd
-3686d31c5642e611c0c0c61f0f42a33030a74b518a2a108f004b9bd34b2b98d8e29ee2416a5b9cc447ab0449bdc94158b2323d977e7b7d2930dd4dcf0866da68 iscsid.conf"
+3686d31c5642e611c0c0c61f0f42a33030a74b518a2a108f004b9bd34b2b98d8e29ee2416a5b9cc447ab0449bdc94158b2323d977e7b7d2930dd4dcf0866da68 iscsid.conf
+9120d8e0a594f7337eb748ef655ebe915356fc4519b2cb58d9a6a5a2002059c0e9eb31e33e3e8b2242ae2fb9538a5233d17cdf0afd50c56aef3922335ebcd7d3 musl-fixes.patch
+85f1245237fae8e10bb119b079000fe0f950b4771c198f5f2fec83b8d923931ef835a0611908967c080d9ae1f511bde29204be095abe997a7325cb70d264d548 ldflags.patch"