Package Details: targetcli-fb 2.1.54-1

Git Clone URL: https://aur.archlinux.org/targetcli-fb.git (read-only, click to copy)
Package Base: targetcli-fb
Description: free branch of the targetcli LIO administration shell (iSCSI + Co)
Upstream URL: https://github.com/open-iscsi/targetcli-fb
Licenses: Apache
Provides: targetcli
Submitter: JonnyJD
Maintainer: mikesd
Last Packager: mikesd
Votes: 20
Popularity: 0.000129
First Submitted: 2012-02-27 01:05 (UTC)
Last Updated: 2021-10-11 22:11 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

DocMAX commented on 2022-06-20 20:08 (UTC) (edited on 2022-06-20 20:08 (UTC) by DocMAX)

[Errno 20] Not a directory: '/sys/kernel/config/target/iscsi/cpus_allowed_list' Anyone else encounter this error? I get this on block delete.

JuniorJPDJ commented on 2021-10-11 18:56 (UTC)

now checksum is failing

edacval commented on 2021-10-11 10:57 (UTC)

Fix source shecksum and systemd units installation: http://ix.io/3BqN

diff --git a/PKGBUILD b/PKGBUILD
index ea9c0e1..ea6ef1e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,11 +12,8 @@ depends=('python-rtslib-fb>=2.1.fb52' 'python-configshell-fb>=1.1.fb17'
 makedepends=('python-setuptools')
 optdepends=('python-ethtool')
 provides=('targetcli')
-backup=()
-options=()
-install=
 source=(https://github.com/open-iscsi/targetcli-fb/archive/v${pkgver}.tar.gz)
-sha512sums=('acefa7f8df8ee901cae8f04cbeb264d6024100e2d8b8343024bc52842af88a23d1bf5dd880ff2c77046bd8da8493630b4e357103617c02d1a90947e42c3a7c92')
+sha512sums=('dd008b8c47acc095078454c94b0c6f19ba88f86ddf1b5335eb050abf61d89ce1ffb7411ff3a174de60ed9759e6337206253aa9b2def6497b85c884a0a111308d')


 build() {
@@ -31,6 +28,9 @@ package() {
   python setup.py install --skip-build --root="$pkgdir/" --optimize=1

   install -D -m 644 targetcli.8.gz "$pkgdir/usr/share/man/man8/targetcli.8.gz"
+
+  install -D -m 644 systemd/targetclid.{socket,service} -t "$pkgdir/usr/lib/systemd/system"
+  sed -i 's|/var/run/|/run/|' "$pkgdir/usr/lib/systemd/system/targetclid.socket"
 }

 # vim:set ts=2 sw=2 et:

mikesd commented on 2021-10-11 05:38 (UTC)

Didn't realize it had been that long. I don't use the iSCSI stuff currently so have been a bit slack with updates. Will see if I can bump these this week. If you wanted to grab them let me know.

JuniorJPDJ commented on 2021-10-11 00:53 (UTC) (edited on 2021-10-11 01:06 (UTC) by JuniorJPDJ)

hey, are you still maintaining this package? It's out of date half a year now.

amiga23 commented on 2020-05-30 09:30 (UTC) (edited on 2020-05-30 09:30 (UTC) by amiga23)

@edacval thank you for the hint.

The following line added to PKGBUILD before "python setup.py build", solves the issue for me:

sed -i s-/lib/systemd/system-lib/systemd/system-g setup.py

fuzzy2 commented on 2020-05-23 18:59 (UTC)

Doesn’t install anymore, because it tries to place files in /lib when they must be placed in /usr/lib. This results in an error message: "targetcli-fb: /lib exists in filesystem (owned by filesystem)"

These files are now present due to an upstream change in "setup.py" between 2.1.51 and 2.1.52. The path appears to be hard-coded, so these files have to be moved manually to the correct path I guess.

jamespharvey20 commented on 2019-03-25 09:03 (UTC)

(Sorry I'm commenting on a 3rd package.) Downloaded source filenames must be unique, for those who set SRCDEST in /etc/makepkg.conf. See https://wiki.archlinux.org/index.php/PKGBUILD#source

Please add something like this to the beginning of source:

source=("${pkgname}-${pkgver}.tar.gz"::https...

Asgaroth commented on 2019-03-12 14:50 (UTC)

Seems like we cannot install this package anymore as a dependancy cannot be found:

$ yay -S targetcli-fb ==> Error: Could not find all required packages: python2-pyudev (Wanted by: targetcli-fb -> python-rtslib-fb)