Добавление документации на русском языке, добавление системных директорий для конфигураций по умолчанию
All checks were successful
Build / Build project (push) Successful in 52s

This commit is contained in:
Alexander Zhirov 2025-05-08 02:36:34 +03:00
parent 7b0903d294
commit 40c3a0c815
Signed by: alexander
GPG key ID: C8D8BE544A27C511
13 changed files with 1164 additions and 4 deletions

View file

@ -1,21 +1,41 @@
name : open-iscsi
version : 2.1.11
release : 1
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 : system.utils
component : network.util
summary : High performance, transport independent, multi-platform iSCSI initiator
description: |
High performance, transport independent, multi-platform iSCSI initiator
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
echo -n > $installdir/etc/iscsi/initiatorname.iscsi
# 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