diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2010-12-22 10:18:05 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2010-12-22 10:18:05 +0000 |
commit | 559de61b4b92c534a13b71f0dd50631e4f8f47c7 (patch) | |
tree | 4366ac01bc5ab65b6210ddfac61bbe62413c99fb /testing/iscsi-scst/APKBUILD | |
parent | e529b59aaf07b81fd60ba5ad649f6fdd5a03ffe7 (diff) | |
download | aports-559de61b4b92c534a13b71f0dd50631e4f8f47c7.tar.bz2 aports-559de61b4b92c534a13b71f0dd50631e4f8f47c7.tar.xz |
testing/iscsi-scst: fixed init script and added default config
Diffstat (limited to 'testing/iscsi-scst/APKBUILD')
-rw-r--r-- | testing/iscsi-scst/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/testing/iscsi-scst/APKBUILD b/testing/iscsi-scst/APKBUILD index f6f6c85b1b..0d562dc662 100644 --- a/testing/iscsi-scst/APKBUILD +++ b/testing/iscsi-scst/APKBUILD @@ -3,7 +3,7 @@ pkgname=iscsi-scst pkgver=2.0.0 -pkgrel=0 +pkgrel=1 pkgdesc="ISCSI target for SCST - userspace tools" url="http://iscsi-scst.sourceforge.net/" arch="x86_64" @@ -15,7 +15,9 @@ subpackages= _svn="3161" source="http://alpine.nethq.org/distfiles/$pkgname-$pkgver-svn-$_svn.tar.gz http://alpine.nethq.org/distfiles/scst-$pkgver-svn-$_svn.tar.gz - iscsi-scst.initd + $pkgname.initd + $pkgname.confd + scst.conf " _builddir="$srcdir"/$pkgname @@ -33,10 +35,14 @@ package() { cd "$_builddir" # make install is broken install -D usr/iscsi-scstd "$pkgdir"/usr/sbin/iscsi-scstd - install -D usr/iscsi-scst-adm "$pkgdir"/iscsi-scst-adm + install -D usr/iscsi-scst-adm "$pkgdir"/usr/sbin/iscsi-scst-adm install -D -m 755 "$srcdir"/iscsi-scst.initd "$pkgdir"/etc/init.d/iscsi-scst + install -D -m 644 "$srcdir"/iscsi-scst.confd "$pkgdir"/etc/conf.d/iscsi-scst + install -D -m 644 "$srcdir"/scst.conf "$pkgdir"/etc/scst.conf } md5sums="0980e7f0cc57d3a09cc57ba4b127ef12 iscsi-scst-2.0.0-svn-3161.tar.gz 73c1ec37231918e5183e78f1ec8f2302 scst-2.0.0-svn-3161.tar.gz -05efba84051393bf22ff1f2c718afbe9 iscsi-scst.initd" +ce6abcb6365f4b8609c3e963d5243b22 iscsi-scst.initd +6d8b6e27d47748f7805fdb318b62bb3b iscsi-scst.confd +e8eda9872b3da3a55605c7fa17cb6c68 scst.conf" |