open-isns/package.yml

31 lines
1.4 KiB
YAML

name : open-isns
version : 0.103
release : 2
source :
- https://github.com/open-iscsi/open-isns/archive/refs/tags/v0.103.tar.gz : 47499f3ce87a832840884dcf3eedbec8c039f472fe921a5378e3b206a3fc1a32
homepage : https://github.com/open-iscsi/open-isns
license : LGPL-2.1-or-later
component : network.util
summary : iSNS server and client for Linux
description: |
A partial implementation of the iSNS protocol per RFC4171. The package includes the iSNS server (isnsd) with a file-based database, a command-line utility (isnsadm) for database management, and the discovery daemon (isnsdd), which is being refined to handle node and portal registration and process state change notifications.
builddeps :
- pkgconfig(slp)
setup : |
%apply_patches
%meson_configure --default-library=shared -Dsecurity=enabled
build : |
%ninja_build
install : |
%ninja_install
# Install man pages
install -Dm 00644 $pkgfiles/man/ru/isns_config.5 $installdir/usr/share/man/ru/man5/isns_config.5
install -Dm 00644 $pkgfiles/man/ru/isnsadm.8 $installdir/usr/share/man/ru/man8/isnsadm.8
install -Dm 00644 $pkgfiles/man/ru/isnsd.8 $installdir/usr/share/man/ru/man8/isnsd.8
install -Dm 00644 $pkgfiles/man/ru/isnsdd.8 $installdir/usr/share/man/ru/man8/isnsdd.8
install -dm00755 $installdir/usr/share/defaults/etc/
mv $installdir/etc/isns $installdir/usr/share/defaults/etc/
rmdir $installdir/etc