All checks were successful
Build / Build project (push) Successful in 52s
41 lines
2 KiB
YAML
41 lines
2 KiB
YAML
name : open-iscsi
|
|
version : 2.1.11
|
|
release : 2
|
|
source :
|
|
# Took the latest Git slice as the source since the fix logs contain more objective corrections.
|
|
- git|https://github.com/open-iscsi/open-iscsi.git : 0510644ac23386a6e2c986823a46c57e4ae64d4d
|
|
homepage : https://www.open-iscsi.com/
|
|
license : GPL-2.0-or-later
|
|
component : network.util
|
|
summary : High performance, transport independent, multi-platform iSCSI initiator
|
|
description: |
|
|
The Open-iSCSI project provides a high-performance, transport independent, implementation of RFC 3720 iSCSI for Linux.
|
|
builddeps :
|
|
- pkgconfig(libisns)
|
|
- pkgconfig(libkmod)
|
|
setup : |
|
|
%apply_patches
|
|
%meson_configure -Discsi_sbindir=/usr/bin -Drulesdir=/usr/lib/udev/rules.d
|
|
build : |
|
|
%ninja_build
|
|
install : |
|
|
%ninja_install
|
|
|
|
# Install man pages
|
|
install -Dm 00644 $pkgfiles/man/ru/iscsiadm.8 $installdir/usr/share/man/ru/man8/iscsiadm.8
|
|
install -Dm 00644 $pkgfiles/man/ru/iscsid.8 $installdir/usr/share/man/ru/man8/iscsid.8
|
|
install -Dm 00644 $pkgfiles/man/ru/iscsi_discovery.8 $installdir/usr/share/man/ru/man8/iscsi_discovery.8
|
|
install -Dm 00644 $pkgfiles/man/ru/iscsi_fw_login.8 $installdir/usr/share/man/ru/man8/iscsi_fw_login.8
|
|
install -Dm 00644 $pkgfiles/man/ru/iscsi-gen-initiatorname.8 $installdir/usr/share/man/ru/man8/iscsi-gen-initiatorname.8
|
|
install -Dm 00644 $pkgfiles/man/ru/iscsi-iname.8 $installdir/usr/share/man/ru/man8/iscsi-iname.8
|
|
install -Dm 00644 $pkgfiles/man/ru/iscsistart.8 $installdir/usr/share/man/ru/man8/iscsistart.8
|
|
install -Dm 00644 $pkgfiles/man/ru/iscsiuio.8 $installdir/usr/share/man/ru/man8/iscsiuio.8
|
|
|
|
install -dm00755 $installdir/usr/share/defaults/etc/
|
|
mv $installdir/etc/iscsi $installdir/usr/share/defaults/etc/
|
|
install -Dm 00644 $pkgfiles/initiatorname.iscsi $installdir/usr/share/defaults/etc/iscsi/initiatorname.iscsi
|
|
|
|
# logrotate not used in Solus
|
|
rm $installdir/etc/logrotate.d/iscsiuiolog
|
|
rmdir $installdir/etc/logrotate.d
|
|
rmdir $installdir/etc
|