135 Star 0 Fork 14

src-openEuler/open-isns

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
open-isns.spec 4.65 KB
一键复制 编辑 原始数据 按行查看 历史
Name: open-isns
Version: 0.101
Release: 5
Summary: The iSNS server and client programs
License: LGPLv2+
URL: https://www.github.com/open-iscsi/open-isns
Source0: https://www.github.com/open-iscsi/open-isns/archive/v%{version}.tar.gz#/open-isns-%{version}.tar.gz
Patch0001: 0001-Do-not-install-isnsd.socket-in-isnsd.service.patch
Patch0002: 0002-isnsadm-Fix-unparse-command-line-options-V-and-r.patch
Patch0003: 0003-isnsd-socket-Make-sure-to-create-IPv6-socket-default.patch
Patch0004: 0004-logging-fix-segfault-on-an-underflow-with-an-input-s.patch
BuildRequires: gcc systemd automake autoconf make
BuildRequires: openssl-devel systemd-devel
Recommends: %{name}-help = %{version}-%{release}
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
Provides: isns-utils isns-utils-libs isns-utils%{?_isa} isns-utils-libs%{?_isa}
Obsoletes: isns-utils isns-utils-libs
%description
The open-isns package consists of the iSNS server and client programs,
which is a partial implementation of the iSNS protocol. The iSNS protocol
is defined in [RFC 4171](http://tools.ietf.org/html/rfc4171) and the
purpose of which is to allow it automated and convenient to discover, manage,
and configure iSCSI devices.
%package devel
Summary: head files and libraries for iSNS
Requires: %{name} = %{version}-%{release}
Provides: isns-utils-devel isns-utils-devel%{?_isa}
Obsoletes: isns-utils-devel
%description devel
This package consists of head files and libraries for iSNS
%package help
Summary: man files for iSNS
Requires: man
BuildArch: noarch
%description help
This package consists of man files for iSNS
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --enable-shared --disable-static
%make_build
%check
make tests
%install
%make_install
make DESTDIR=%{buildroot} install_hdrs install_lib
chmod 755 %{buildroot}%{_sbindir}/isns*
chmod 755 %{buildroot}%{_libdir}/libisns.so.0
rm %{buildroot}%{_unitdir}/isnsd.socket
install -p -m 644 isnsd.service %{buildroot}%{_unitdir}/isnsd.service
%post
%systemd_post isnsd.service
%postun
%systemd_postun isnsd.service
%preun
%systemd_preun isnsd.service
%ldconfig_scriptlets
%files
%doc TODO README
%license COPYING
%config(noreplace) %{_sysconfdir}/isns/isnsd.conf
%config(noreplace) %{_sysconfdir}/isns/isnsadm.conf
%config(noreplace) %{_sysconfdir}/isns/isnsdd.conf
%dir %{_sysconfdir}/isns
%dir %{_var}/lib/isns
%{_libdir}/libisns.so.0
%{_sbindir}/isnsd
%{_sbindir}/isnsadm
%{_sbindir}/isnsdd
%{_unitdir}/isnsd.service
%files devel
%dir %{_includedir}/libisns
%{_includedir}/libisns/*.h
%{_libdir}/libisns.so
%files help
%{_mandir}/man5/*
%{_mandir}/man8/*
%changelog
* Fri May 9 2025 lvyy <lyunmail@163.com> - 0.101-5
- logging: fix segfault on an underflow with an input string of all newlines
* Wed Jul 31 2024 JiangJianJun <jiangjianjun3@huawei.com> - 0.101-4
- DESC: fix spec format
* Fri Sep 2 2022 Wenchao Hao <haowenchao@huawei.com> - 0.101-3
- isnsd: socket: Make sure to isnsd would listen IPv6 socket default
* Sat Aug 13 2022 Wenchao Hao <haowenchao@huawei.com> - 0.101-2
- Backport patches to fix unparsed parameters
* Tue Nov 16 2021 Wenchao Hao <haowenchao@huawei.com> - 0.101-1
- Update to open-isns-0.101 version
* Mon Sep 27 2021 Wenchao Hao <haowenchao@huawei.com> - 0.100-8
- Noop operations to make it able to sync between different branches
* Mon Sep 27 2021 Wenchao Hao <haowenchao@huawei.com> - 0.100-7
- add help for Recommends
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.100-6
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Fri May 14 2021 Wenchao Hao<haowenchao@huawei.com> - 0.100-5
- Do not install isnsd.socket in isnsd.service
* Fri May 14 2021 Wenchao Hao<haowenchao@huawei.com> - 0.100-4
- libisns: remove sighold and sigrelse
* Wed Nov 4 2020 lixiaokeng<lixiaokeng@huawei.com> - 0.100-3
- add make tests
* Mon Jul 13 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 0.100-2
- backport upstream bugfix patches
* Mon Jun 1 2020 yanan li <liyanan032@huawei.com> - 0.100-1
- Package update
* Fri Jan 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.97-12
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update spec.
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.97-11
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update package
* Sun Sep 29 2019 luoshijie <luoshijie1@huawei.com> - 0.97-10
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add ldconfig_scriptlets
* Sat Aug 31 2019 luoshijie <luoshijie1@huawei.com> - 0.97-9
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:openEuler Debranding
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.97-8
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/open-isns.git
git@gitee.com:src-openeuler/open-isns.git
src-openeuler
open-isns
open-isns
openEuler-24.03-LTS-SP1

搜索帮助