aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2021-06-18 06:30:06 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2021-06-18 06:32:24 +0000
commit6461c5edacb9f929d65c992cb76dba8f5f4b1878 (patch)
tree8538b58907502d3ee75ccc3cbffca1d1132569fa
parentb75c61461708defe2e898a570b71a81aa4d84c94 (diff)
downloadaports-6461c5edacb9f929d65c992cb76dba8f5f4b1878.tar.gz
aports-6461c5edacb9f929d65c992cb76dba8f5f4b1878.tar.bz2
aports-6461c5edacb9f929d65c992cb76dba8f5f4b1878.tar.xz
main/open-iscsi: fix iscsid options
-rw-r--r--main/open-iscsi/APKBUILD4
-rw-r--r--main/open-iscsi/iscsid.initd12
2 files changed, 7 insertions, 9 deletions
diff --git a/main/open-iscsi/APKBUILD b/main/open-iscsi/APKBUILD
index 2096c96186..b9503c5850 100644
--- a/main/open-iscsi/APKBUILD
+++ b/main/open-iscsi/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=open-iscsi
pkgver=2.1.4
-pkgrel=0
+pkgrel=1
pkgdesc="High performance, transport independent, multi-platform iSCSI initiator"
url="https://www.open-iscsi.com"
arch="all"
@@ -38,7 +38,7 @@ package() {
}
sha512sums="ae0663a964d86e6a4c19203598b859173c93ecce550f9bc9855ff735dd51a3c45822f2bc1cc99e6891c56ef1d16c42223803f07a961558fe6e38ead2164faef3 open-iscsi-2.1.4.tar.gz
-a95bfdb9cc10d154a257fdaecc41d351eeed8b460bbc9c548c0891485de09a0eb98c2ff68cc2db15e6d820ebba33c43f2e72853cdeca359eb15d820a9cdf542d iscsid.initd
+52e273d20d3c95c943409d3b6251f0447e19a822d32ff33d3c8dc1e9b8c6065ab72b823fe9cb72f5d92256d3a219417a3847dc59815d29f727fc59c4e49716a8 iscsid.initd
3ba1825ee8b39ce2c58d70b59d6c2d6a954a8c65ce9adf920fb44d046cfe0f7f54bcc70f3f3c24754f0e866abdc92b4a1716fb516c45278b217532b97a6d948a iscsid.confd
4cc7c1923047616d908806aab96d468cb7b99ff9f8a9e02a039866b66db4ae856bd9f414854712d8a57c21614674f4468736bce26a4199c2ff054a165bca26e0 iscsid.conf
1b89ffd6de0dc7bb63fc2702a97e49df4369158c66ee609acfc041b1677c07fbd964b7a709f1f324fa51a9842d4d3e11611d9783e18d526372d468163c0ac8db musl-fixes.patch
diff --git a/main/open-iscsi/iscsid.initd b/main/open-iscsi/iscsid.initd
index b5a592c4b7..a1c5596319 100644
--- a/main/open-iscsi/iscsid.initd
+++ b/main/open-iscsi/iscsid.initd
@@ -2,20 +2,18 @@
# Copyright 1999-2015 Gentoo Foundation, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-command=/usr/sbin/iscsid
-command_args="${OPTS}"
-start_stop_daemon_args="-w 100 -i ${INITIATORNAME_FILE}" # iscsid might fail e.g. when the iSCSI kernel modules aren't available
-pidfile=${PIDFILE:-/run/${SVCNAME}.pid}
-
: ${CONFIG_FILE:="/etc/iscsi/iscsid.conf"}
: ${INITIATORNAME_FILE:="/etc/iscsi/initiatorname.iscsi"}
: ${AUTOSTARTTARGETS:="yes"}
+ISCSIADM=/usr/sbin/iscsiadm
+command=/usr/sbin/iscsid
+command_args="-i ${INITIATORNAME_FILE} ${OPTS}"
+start_stop_daemon_args="-w 100" # iscsid might fail e.g. when the iSCSI kernel modules aren't available
+pidfile=${PIDFILE:-/run/${SVCNAME}.pid}
extra_started_commands="starttargets stoptargets"
extra_commands="restarttargets"
-ISCSIADM=/usr/sbin/iscsiadm
-
depend() {
after modules multipath
use net