Accepting request 718913 from Base:System
OBS-URL: https://build.opensuse.org/request/show/718913 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tgt?expand=0&rev=36
This commit is contained in:
commit
2a31064d2a
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 12:21:06 UTC 2019 - matthias.gerstner@suse.com
|
||||||
|
|
||||||
|
- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
|
||||||
|
firewalld, see [1].
|
||||||
|
|
||||||
|
[1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 15 23:19:22 UTC 2019 - lduncan@suse.com
|
Fri Feb 15 23:19:22 UTC 2019 - lduncan@suse.com
|
||||||
|
|
||||||
|
18
tgt.services
18
tgt.services
@ -1,18 +0,0 @@
|
|||||||
## Name: iSCSI Target Daemon
|
|
||||||
## Description: Opens ports for iSCSI Target Daemon with broadcast allowed.
|
|
||||||
|
|
||||||
# space separated list of allowed TCP ports
|
|
||||||
TCP="iscsi-target"
|
|
||||||
|
|
||||||
# space separated list of allowed UDP ports
|
|
||||||
UDP="iscsi-target"
|
|
||||||
|
|
||||||
# space separated list of allowed RPC services
|
|
||||||
RPC=""
|
|
||||||
|
|
||||||
# space separated list of allowed IP protocols
|
|
||||||
IP=""
|
|
||||||
|
|
||||||
# space separated list of allowed UDP broadcast ports
|
|
||||||
BROADCAST="iscsi-target"
|
|
||||||
|
|
5
tgt.spec
5
tgt.spec
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -30,7 +30,6 @@ Group: System/Daemons
|
|||||||
Url: http://stgt.sourceforge.net/
|
Url: http://stgt.sourceforge.net/
|
||||||
Source: https://github.com/fujita/%{name}/archive/v%{version}.tar.gz
|
Source: https://github.com/fujita/%{name}/archive/v%{version}.tar.gz
|
||||||
Source1: %{name}d.service
|
Source1: %{name}d.service
|
||||||
Source3: %{name}.services
|
|
||||||
Source4: sysconfig.%{name}
|
Source4: sysconfig.%{name}
|
||||||
Patch1: %{name}-fix-build
|
Patch1: %{name}-fix-build
|
||||||
Patch2: setup-tgt-conf-d.patch
|
Patch2: setup-tgt-conf-d.patch
|
||||||
@ -72,7 +71,6 @@ make OPTFLAGS="%{optflags}" %{backends}
|
|||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install
|
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install
|
||||||
install -vD -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}d.service
|
install -vD -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}d.service
|
||||||
install -vD %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/tgt
|
|
||||||
install -vD %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
install -vD %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||||
ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d
|
ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d
|
||||||
|
|
||||||
@ -95,7 +93,6 @@ ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d
|
|||||||
%dir %{_sysconfdir}/tgt
|
%dir %{_sysconfdir}/tgt
|
||||||
%dir %{_sysconfdir}/tgt/conf.d
|
%dir %{_sysconfdir}/tgt/conf.d
|
||||||
%config %attr(0644,root,root) %{_sysconfdir}/tgt/targets.conf
|
%config %attr(0644,root,root) %{_sysconfdir}/tgt/targets.conf
|
||||||
%config %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/tgt
|
|
||||||
%{_fillupdir}/sysconfig.tgt
|
%{_fillupdir}/sysconfig.tgt
|
||||||
%{_unitdir}/%{name}d.service
|
%{_unitdir}/%{name}d.service
|
||||||
%doc README doc/README.iscsi doc/README.iser doc/README.lu_configuration
|
%doc README doc/README.iscsi doc/README.iser doc/README.lu_configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user