2008-02-11 22:16:36 +00:00
|
|
|
Name: isns-utils
|
2024-12-14 05:00:19 +00:00
|
|
|
Version: 0.103
|
|
|
|
Release: 1%{?dist}
|
2008-02-11 22:16:36 +00:00
|
|
|
Summary: The iSNS daemon and utility programs
|
|
|
|
|
2023-11-01 19:11:47 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2016-12-13 18:51:56 +00:00
|
|
|
URL: https://github.com/open-iscsi/open-isns
|
|
|
|
Source0: https://github.com/open-iscsi/open-isns/archive/v%{version}.tar.gz#/open-isns-%{version}.tar.gz
|
2012-02-15 20:30:06 +00:00
|
|
|
Source1: isnsd.service
|
2024-12-13 19:19:35 +00:00
|
|
|
Patch1: test_as_installed.patch
|
2008-02-11 22:16:36 +00:00
|
|
|
|
2018-07-09 17:06:46 +00:00
|
|
|
BuildRequires: gcc
|
2024-12-14 05:00:19 +00:00
|
|
|
BuildRequires: pkgconfig systemd-devel systemd
|
|
|
|
BuildRequires: meson ninja-build
|
2012-02-15 20:30:06 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
2024-12-13 17:40:33 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2012-02-15 20:30:06 +00:00
|
|
|
|
2008-02-11 22:16:36 +00:00
|
|
|
%description
|
|
|
|
The iSNS package contains the daemon and tools to setup a iSNS server,
|
|
|
|
and iSNS client tools. The Internet Storage Name Service (iSNS) protocol
|
|
|
|
allows automated discovery, management and configuration of iSCSI and
|
|
|
|
Fibre Channel devices (using iFCP gateways) on a TCP/IP network.
|
|
|
|
|
2017-04-12 21:54:25 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Shared library files for iSNS
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
Shared library files for iSNS
|
2015-10-05 18:28:21 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for iSNS
|
2017-04-12 21:54:25 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2015-10-05 18:28:21 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development files for iSNS
|
|
|
|
|
|
|
|
|
2008-02-11 22:16:36 +00:00
|
|
|
%prep
|
2020-09-17 21:24:18 +00:00
|
|
|
%autosetup -p1 -n open-isns-%{version}
|
2008-02-11 22:58:10 +00:00
|
|
|
|
2008-02-11 22:16:36 +00:00
|
|
|
|
|
|
|
%build
|
2024-12-14 05:00:19 +00:00
|
|
|
%meson -Dsecurity=disabled -Dslp=disabled
|
|
|
|
%meson_build
|
2008-02-11 22:16:36 +00:00
|
|
|
|
|
|
|
%install
|
2024-12-14 05:00:19 +00:00
|
|
|
%meson_install
|
2017-04-12 21:54:25 +00:00
|
|
|
chmod 755 %{buildroot}%{_sbindir}/isns*
|
|
|
|
chmod 755 %{buildroot}%{_libdir}/libisns.so.0
|
2024-12-14 05:00:19 +00:00
|
|
|
chmod 700 %{buildroot}/var/lib/isns
|
2015-10-05 20:30:05 +00:00
|
|
|
rm %{buildroot}%{_unitdir}/isnsd.service
|
|
|
|
rm %{buildroot}%{_unitdir}/isnsd.socket
|
|
|
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/isnsd.service
|
2008-02-11 22:16:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
%post
|
2012-09-10 20:27:13 +00:00
|
|
|
%systemd_post isnsd.service
|
2012-02-15 20:30:06 +00:00
|
|
|
|
2008-02-11 22:16:36 +00:00
|
|
|
|
|
|
|
%postun
|
2012-09-10 20:27:13 +00:00
|
|
|
%systemd_postun isnsd.service
|
2008-02-11 22:16:36 +00:00
|
|
|
|
2012-02-15 20:30:06 +00:00
|
|
|
|
2008-02-11 22:16:36 +00:00
|
|
|
%preun
|
2012-09-10 20:27:13 +00:00
|
|
|
%systemd_preun isnsd.service
|
2008-02-11 22:16:36 +00:00
|
|
|
|
2012-02-15 20:30:06 +00:00
|
|
|
|
|
|
|
%triggerun -- isns-utils < 0.91-7
|
|
|
|
# Save the current service runlevel info
|
|
|
|
# User must manually run systemd-sysv-convert --apply httpd
|
|
|
|
# to migrate them to systemd targets
|
|
|
|
/usr/bin/systemd-sysv-convert --save isnsd >/dev/null 2>&1 ||:
|
|
|
|
|
|
|
|
# Run these because the SysV package being removed won't do them
|
|
|
|
/sbin/chkconfig --del isnsd >/dev/null 2>&1 || :
|
|
|
|
/bin/systemctl try-restart isnsd.service >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
|
2019-01-22 17:39:20 +00:00
|
|
|
%ldconfig_scriptlets -n %{name}-libs
|
2017-04-12 21:54:25 +00:00
|
|
|
|
|
|
|
|
2008-02-11 22:16:36 +00:00
|
|
|
%files
|
2024-12-14 05:00:19 +00:00
|
|
|
%doc COPYING README.md
|
2008-02-11 22:16:36 +00:00
|
|
|
%{_sbindir}/isnsd
|
|
|
|
%{_sbindir}/isnsadm
|
|
|
|
%{_sbindir}/isnsdd
|
2016-12-13 18:51:56 +00:00
|
|
|
%{_mandir}/man5/*
|
2008-02-11 22:16:36 +00:00
|
|
|
%{_mandir}/man8/*
|
2012-02-15 20:30:06 +00:00
|
|
|
%{_unitdir}/isnsd.service
|
2008-02-11 22:16:36 +00:00
|
|
|
%dir %{_sysconfdir}/isns
|
|
|
|
%dir %{_var}/lib/isns
|
2017-04-12 21:54:25 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/isns/*
|
2008-02-11 22:16:36 +00:00
|
|
|
|
2017-04-12 21:54:25 +00:00
|
|
|
%files libs
|
|
|
|
%{_libdir}/libisns.so.0
|
2015-10-05 18:28:21 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%dir %{_includedir}/libisns
|
|
|
|
%{_includedir}/libisns/*.h
|
2017-04-12 21:54:25 +00:00
|
|
|
%{_libdir}/libisns.so
|
2024-12-14 05:00:19 +00:00
|
|
|
%{_libdir}/pkgconfig/libisns.pc
|
2015-10-05 18:28:21 +00:00
|
|
|
|
|
|
|
|
2008-02-11 22:16:36 +00:00
|
|
|
%changelog
|
2024-12-13 17:40:33 +00:00
|
|
|
* Fri Dec 13 2024 Chris Leech <cleech@redhat.com> - 0.101-12
|
|
|
|
- Add explicit requires with version on subpackage isns-utils-lib
|
|
|
|
Resolves: RHEL-70744
|
|
|
|
|
2024-10-29 15:37:09 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.101-11
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-06-24 15:51:50 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.101-10
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-24 22:58:01 +00:00
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-20 23:18:43 +00:00
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-20 07:39:31 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 13:23:20 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 14:53:47 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 13:29:22 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-09-14 17:05:00 +00:00
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.101-3
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
2021-07-22 08:46:32 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.101-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-18 22:00:53 +00:00
|
|
|
* Tue May 18 2021 Chris Leech <cleech@redhat.com> - 0.101-0
|
|
|
|
- update to 0.101
|
|
|
|
|
2021-01-26 14:32:08 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.100-1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-17 21:24:18 +00:00
|
|
|
* Thu Sep 17 2020 Chris Leech <cleech@redhat.com> - 0.100-0
|
|
|
|
- rebase to upstream v0.100 + patches from git
|
|
|
|
|
2020-07-13 20:19:13 +00:00
|
|
|
* Fri Aug 21 2020 Tom Stellard <tstellar@redhat.com> - 0.97-12
|
|
|
|
- Use make macros
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
2020-07-28 02:00:34 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 05:42:11 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 09:45:53 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 03:36:22 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 05:52:48 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 17:43:38 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-02 23:54:04 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 13:45:08 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-04-12 21:54:25 +00:00
|
|
|
* Wed Apr 12 2017 Chris Leech <cleech@redhat.com> - 0.97-3
|
|
|
|
- switch to building as a shared library instead of static
|
|
|
|
|
2017-02-10 16:35:57 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-13 18:51:56 +00:00
|
|
|
* Tue Dec 13 2016 Miro Hrončok <mhroncok@redhat.com> - 0.97-1
|
|
|
|
- Update to 0.97
|
|
|
|
- Upstream moved on GitHub
|
|
|
|
|
2016-02-04 00:41:36 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.94-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-12-12 01:12:06 +00:00
|
|
|
* Sat Dec 12 2015 Michael Schwendt <mschwendt@fedoraproject.org> - 0.94-2
|
|
|
|
- add -static Provides to the -devel package (#1284298)
|
|
|
|
|
2015-10-05 18:28:21 +00:00
|
|
|
* Mon Oct 05 2015 Chris Leech <cleech@redhat.com> - 0.94-1
|
|
|
|
- new upstream location, update to 0.94
|
|
|
|
- new devel package, upstream open-iscsi is dropping it's internal copy
|
|
|
|
|
2015-06-17 15:58:18 +00:00
|
|
|
* Wed Jun 17 2015 Chris Leech <cleech@redhat.com> - 0.93-8
|
|
|
|
- use of systemd rpm macros now require systemd as a BuildRequires
|
|
|
|
|
2015-06-17 11:37:20 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-16 21:58:47 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 22:50:59 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 10:10:19 +00:00
|
|
|
* Sun Aug 4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.93-4
|
|
|
|
- Fix FTBFS, modernise spec
|
|
|
|
|
2013-08-03 20:02:00 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 02:17:59 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-09-10 20:27:13 +00:00
|
|
|
* Mon Sep 10 2012 Chris Leech <cleech@redhat.com> - 0.93-1
|
|
|
|
- Rebase to 0.93
|
|
|
|
- Make use of systemd rpm macros for scriptlets, BZ 850174
|
|
|
|
|
2012-07-19 15:12:38 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-15 20:30:06 +00:00
|
|
|
* Wed Feb 15 2012 Jon Ciesla <limburgher@gmail.com> - 0.91-7
|
|
|
|
- Migrate to systemd, BZ 789707.
|
|
|
|
|
2012-01-13 06:02:47 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-09 13:14:55 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-08-21 14:02:02 +00:00
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.91-4
|
|
|
|
- rebuilt with new openssl
|
|
|
|
|
2009-07-25 03:39:18 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 08:10:08 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-17 13:32:44 +00:00
|
|
|
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.91-1
|
|
|
|
- rebuild with new openssl
|
|
|
|
|
2008-02-11 22:16:36 +00:00
|
|
|
* Wed Jan 16 2008 Mike Christie <mchristie@redhat.com> - 0.91-0.0
|
|
|
|
- first build
|