|
|
d0c9a6 |
Name: isns-utils
|
|
|
d0c9a6 |
Version: 0.101
|
|
|
d0c9a6 |
Release: 4%{?dist}
|
|
|
d0c9a6 |
Summary: The iSNS daemon and utility programs
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
License: LGPLv2+
|
|
|
d0c9a6 |
URL: https://github.com/open-iscsi/open-isns
|
|
|
d0c9a6 |
Source0: https://github.com/open-iscsi/open-isns/archive/v%{version}.tar.gz#/open-isns-%{version}.tar.gz
|
|
|
d0c9a6 |
Source1: isnsd.service
|
|
|
d0c9a6 |
Patch1: test_as_installed.patch
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
BuildRequires: gcc
|
|
|
d0c9a6 |
BuildRequires: automake pkgconfig systemd-devel systemd
|
|
|
d0c9a6 |
BuildRequires: make
|
|
|
d0c9a6 |
Requires(post): systemd-units
|
|
|
d0c9a6 |
Requires(preun): systemd-units
|
|
|
d0c9a6 |
Requires(postun): systemd-units
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%description
|
|
|
d0c9a6 |
The iSNS package contains the daemon and tools to setup a iSNS server,
|
|
|
d0c9a6 |
and iSNS client tools. The Internet Storage Name Service (iSNS) protocol
|
|
|
d0c9a6 |
allows automated discovery, management and configuration of iSCSI and
|
|
|
d0c9a6 |
Fibre Channel devices (using iFCP gateways) on a TCP/IP network.
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%package libs
|
|
|
d0c9a6 |
Summary: Shared library files for iSNS
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%description libs
|
|
|
d0c9a6 |
Shared library files for iSNS
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%package devel
|
|
|
d0c9a6 |
Summary: Development files for iSNS
|
|
|
d0c9a6 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%description devel
|
|
|
d0c9a6 |
Development files for iSNS
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%prep
|
|
|
d0c9a6 |
%autosetup -p1 -n open-isns-%{version}
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%build
|
|
|
d0c9a6 |
%configure --enable-shared --disable-static --without-security
|
|
|
d0c9a6 |
%make_build
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%install
|
|
|
d0c9a6 |
%make_install
|
|
|
d0c9a6 |
make install_hdrs DESTDIR=%{buildroot}
|
|
|
d0c9a6 |
make install_lib DESTDIR=%{buildroot}
|
|
|
d0c9a6 |
chmod 755 %{buildroot}%{_sbindir}/isns*
|
|
|
d0c9a6 |
chmod 755 %{buildroot}%{_libdir}/libisns.so.0
|
|
|
d0c9a6 |
rm %{buildroot}%{_unitdir}/isnsd.service
|
|
|
d0c9a6 |
rm %{buildroot}%{_unitdir}/isnsd.socket
|
|
|
d0c9a6 |
install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/isnsd.service
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%post
|
|
|
d0c9a6 |
%systemd_post isnsd.service
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%postun
|
|
|
d0c9a6 |
%systemd_postun isnsd.service
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%preun
|
|
|
d0c9a6 |
%systemd_preun isnsd.service
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%triggerun -- isns-utils < 0.91-7
|
|
|
d0c9a6 |
# Save the current service runlevel info
|
|
|
d0c9a6 |
# User must manually run systemd-sysv-convert --apply httpd
|
|
|
d0c9a6 |
# to migrate them to systemd targets
|
|
|
d0c9a6 |
/usr/bin/systemd-sysv-convert --save isnsd >/dev/null 2>&1 ||:
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
# Run these because the SysV package being removed won't do them
|
|
|
d0c9a6 |
/sbin/chkconfig --del isnsd >/dev/null 2>&1 || :
|
|
|
d0c9a6 |
/bin/systemctl try-restart isnsd.service >/dev/null 2>&1 || :
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%ldconfig_scriptlets -n %{name}-libs
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%files
|
|
|
d0c9a6 |
%doc COPYING README
|
|
|
d0c9a6 |
%{_sbindir}/isnsd
|
|
|
d0c9a6 |
%{_sbindir}/isnsadm
|
|
|
d0c9a6 |
%{_sbindir}/isnsdd
|
|
|
d0c9a6 |
%{_mandir}/man5/*
|
|
|
d0c9a6 |
%{_mandir}/man8/*
|
|
|
d0c9a6 |
%{_unitdir}/isnsd.service
|
|
|
d0c9a6 |
%dir %{_sysconfdir}/isns
|
|
|
d0c9a6 |
%dir %{_var}/lib/isns
|
|
|
d0c9a6 |
%config(noreplace) %{_sysconfdir}/isns/*
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%files libs
|
|
|
d0c9a6 |
%{_libdir}/libisns.so.0
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%files devel
|
|
|
d0c9a6 |
%dir %{_includedir}/libisns
|
|
|
d0c9a6 |
%{_includedir}/libisns/*.h
|
|
|
d0c9a6 |
%{_libdir}/libisns.so
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
%changelog
|
|
|
d0c9a6 |
* Tue Sep 14 2021 Chris Leech <cleech@redhat.com> - 0.101-4
|
|
|
d0c9a6 |
- #1934951 remove DSA/SHA-1 based authentication support
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.101-3
|
|
|
d0c9a6 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
d0c9a6 |
Related: rhbz#1991688
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.101-2
|
|
|
d0c9a6 |
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
d0c9a6 |
Related: rhbz#1971065
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed May 26 2021 Chris Leech <cleech@redhat.com> - 0.101-1
|
|
|
d0c9a6 |
- update to 0.101
|
|
|
d0c9a6 |
- bz#1958038 disabled Werror, which fixes the build with OpenSSL 3 while still using deprecated functions
|
|
|
d0c9a6 |
- setup new upstream tests as gating
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.100-2
|
|
|
d0c9a6 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.100-1
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Thu Sep 17 2020 Chris Leech <cleech@redhat.com> - 0.100-0
|
|
|
d0c9a6 |
- rebase to upstream v0.100 + patches from git
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Fri Aug 21 2020 Tom Stellard <tstellar@redhat.com> - 0.97-12
|
|
|
d0c9a6 |
- Use make macros
|
|
|
d0c9a6 |
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-11
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-10
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-9
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-8
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-7
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-6
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-5
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-4
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Apr 12 2017 Chris Leech <cleech@redhat.com> - 0.97-3
|
|
|
d0c9a6 |
- switch to building as a shared library instead of static
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.97-2
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Tue Dec 13 2016 Miro HronĨok <mhroncok@redhat.com> - 0.97-1
|
|
|
d0c9a6 |
- Update to 0.97
|
|
|
d0c9a6 |
- Upstream moved on GitHub
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.94-3
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Sat Dec 12 2015 Michael Schwendt <mschwendt@fedoraproject.org> - 0.94-2
|
|
|
d0c9a6 |
- add -static Provides to the -devel package (#1284298)
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Mon Oct 05 2015 Chris Leech <cleech@redhat.com> - 0.94-1
|
|
|
d0c9a6 |
- new upstream location, update to 0.94
|
|
|
d0c9a6 |
- new devel package, upstream open-iscsi is dropping it's internal copy
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Jun 17 2015 Chris Leech <cleech@redhat.com> - 0.93-8
|
|
|
d0c9a6 |
- use of systemd rpm macros now require systemd as a BuildRequires
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-7
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-6
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-5
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Sun Aug 4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.93-4
|
|
|
d0c9a6 |
- Fix FTBFS, modernise spec
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-2
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Mon Sep 10 2012 Chris Leech <cleech@redhat.com> - 0.93-1
|
|
|
d0c9a6 |
- Rebase to 0.93
|
|
|
d0c9a6 |
- Make use of systemd rpm macros for scriptlets, BZ 850174
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-8
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Feb 15 2012 Jon Ciesla <limburgher@gmail.com> - 0.91-7
|
|
|
d0c9a6 |
- Migrate to systemd, BZ 789707.
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-6
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-5
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.91-4
|
|
|
d0c9a6 |
- rebuilt with new openssl
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-3
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
|
|
|
d0c9a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.91-1
|
|
|
d0c9a6 |
- rebuild with new openssl
|
|
|
d0c9a6 |
|
|
|
d0c9a6 |
* Wed Jan 16 2008 Mike Christie <mchristie@redhat.com> - 0.91-0.0
|
|
|
d0c9a6 |
- first build
|