aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-12-21 14:59:16 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2010-12-21 14:59:16 +0100
commita96c117627b6663198fafc2cffa16b6307fe3e50 (patch)
treebfe79be2beabb48a248b4c5f7e2d6146a46f6901
parent3ccb251e15e3a5692f737149080eecf48c25519a (diff)
downloadalpine_aports-a96c117627b6663198fafc2cffa16b6307fe3e50.tar.bz2
alpine_aports-a96c117627b6663198fafc2cffa16b6307fe3e50.tar.xz
alpine_aports-a96c117627b6663198fafc2cffa16b6307fe3e50.zip
testing/scstadmin: updated to version 2.0.0 svn r3161
small typo in initd
-rw-r--r--testing/iscsi-scst/APKBUILD24
-rw-r--r--testing/iscsi-scst/iscsi-scst.initd2
2 files changed, 14 insertions, 12 deletions
diff --git a/testing/iscsi-scst/APKBUILD b/testing/iscsi-scst/APKBUILD
index b929731594..f6f6c85b1b 100644
--- a/testing/iscsi-scst/APKBUILD
+++ b/testing/iscsi-scst/APKBUILD
@@ -2,30 +2,31 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3 3
4pkgname=iscsi-scst 4pkgname=iscsi-scst
5pkgver=1.0.1.1 5pkgver=2.0.0
6pkgrel=2 6pkgrel=0
7pkgdesc="ISCSI target for SCST - userspace tools" 7pkgdesc="ISCSI target for SCST - userspace tools"
8url="http://iscsi-scst.sourceforge.net/" 8url="http://iscsi-scst.sourceforge.net/"
9arch="x86 x86_64" 9arch="x86_64"
10license="GPL-2" 10license="GPL-2"
11depends= 11depends=
12install= 12install=
13makedepends="openssl-dev" 13makedepends="openssl-dev bash"
14subpackages= 14subpackages=
15source="http://downloads.sourceforge.net/scst/$pkgname-$pkgver.tar.gz 15_svn="3161"
16source="http://alpine.nethq.org/distfiles/$pkgname-$pkgver-svn-$_svn.tar.gz
17 http://alpine.nethq.org/distfiles/scst-$pkgver-svn-$_svn.tar.gz
16 iscsi-scst.initd 18 iscsi-scst.initd
17 " 19 "
18 20
19_builddir="$srcdir"/$pkgname-$pkgver 21_builddir="$srcdir"/$pkgname
20prepare() { 22prepare() {
21 cd "$_builddir" 23 cd "$_builddir"
22 # we need the headre file. fix dependency in makefile 24 cp Makefile_user_space_only Makefile
23 sed -i -e 's/^\(progs:.*\)/\1 include\/iscsi_scst_itf_ver.h/' Makefile
24} 25}
25 26
26build() { 27build() {
27 cd "$_builddir" 28 cd "$_builddir"
28 make progs 29 make all SCST_INC_DIR="$srcdir"/scst/include || return 1
29} 30}
30 31
31package() { 32package() {
@@ -36,5 +37,6 @@ package() {
36 install -D -m 755 "$srcdir"/iscsi-scst.initd "$pkgdir"/etc/init.d/iscsi-scst 37 install -D -m 755 "$srcdir"/iscsi-scst.initd "$pkgdir"/etc/init.d/iscsi-scst
37} 38}
38 39
39md5sums="56109c01e3d4421a36d6f47efa1fb0d5 iscsi-scst-1.0.1.1.tar.gz 40md5sums="0980e7f0cc57d3a09cc57ba4b127ef12 iscsi-scst-2.0.0-svn-3161.tar.gz
403132fae1ec2f9bcc72476d9e9f36d326 iscsi-scst.initd" 4173c1ec37231918e5183e78f1ec8f2302 scst-2.0.0-svn-3161.tar.gz
4205efba84051393bf22ff1f2c718afbe9 iscsi-scst.initd"
diff --git a/testing/iscsi-scst/iscsi-scst.initd b/testing/iscsi-scst/iscsi-scst.initd
index 4d4cd76b59..3563bafa7e 100644
--- a/testing/iscsi-scst/iscsi-scst.initd
+++ b/testing/iscsi-scst/iscsi-scst.initd
@@ -5,7 +5,7 @@
5 5
6depend() { 6depend() {
7 need net 7 need net
8 afer firewall 8 after firewall
9} 9}
10 10
11start() { 11start() {