2014-05-13 17:25:18 +00:00
|
|
|
#
|
2014-05-13 17:31:56 +00:00
|
|
|
# spec file for package gnu-netcat
|
2014-05-13 17:25:18 +00:00
|
|
|
#
|
2018-04-24 10:57:55 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-05-13 17:25:18 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2014-05-13 17:31:56 +00:00
|
|
|
|
2014-05-13 17:25:18 +00:00
|
|
|
Name: gnu-netcat
|
2014-05-13 17:31:56 +00:00
|
|
|
Version: 0.7.1
|
|
|
|
Release: 0
|
|
|
|
Summary: GNU variant of universal network utility
|
2018-04-24 10:57:55 +00:00
|
|
|
License: GPL-2.0-or-later
|
2014-05-13 17:38:55 +00:00
|
|
|
Group: Productivity/Networking/Other
|
2014-05-13 17:31:56 +00:00
|
|
|
Url: http://netcat.sourceforge.net
|
2018-04-24 10:57:55 +00:00
|
|
|
Source0: http://sourceforge.net/projects/netcat/files/netcat/%{version}/netcat-%{version}.tar.bz2
|
|
|
|
Source1: http://netcat.sourceforge.net/signatures/netcat-%{version}.tar.bz2.asc
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
Conflicts: netcat-openbsd
|
2014-05-13 17:25:18 +00:00
|
|
|
|
|
|
|
%description
|
2018-05-03 05:39:49 +00:00
|
|
|
Netcat is a networking utility which reads and writes data across
|
|
|
|
network connections. It is a "back-end" tool that can be used
|
|
|
|
directly or driven by other programs and scripts. It is also a
|
|
|
|
network debugging and exploration tool, since it can create a number
|
|
|
|
of connection types. It provides the following main features:
|
2014-05-13 17:25:18 +00:00
|
|
|
|
|
|
|
* Outbound and inbound connections, TCP or UDP, to or from any ports.
|
2018-05-03 05:39:49 +00:00
|
|
|
* Tunneling mode which allows also tunneling such as UDP to
|
2014-05-13 17:25:18 +00:00
|
|
|
TCP, with the possibility of specifying all network parameters (source
|
|
|
|
port/interface, listening port/interface, and the remote host allowed to
|
|
|
|
connect to the tunnel.
|
|
|
|
* Built-in port-scanning capabilities, with randomizer.
|
|
|
|
* Advanced usage options, such as buffered send-mode (one line every N
|
|
|
|
seconds), and hexdump (to stderr or to a specified file) of trasmitted and
|
|
|
|
received data.
|
|
|
|
* Optional RFC854 telnet codes parser and responder.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n netcat-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --disable-silent-rules
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2018-04-24 10:57:55 +00:00
|
|
|
%make_install
|
2014-05-13 17:25:18 +00:00
|
|
|
%find_lang netcat
|
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/netcat.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/netcat.info.gz
|
|
|
|
|
|
|
|
%files -f netcat.lang
|
2018-04-24 10:57:55 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc ChangeLog README
|
2014-05-13 17:25:18 +00:00
|
|
|
%{_bindir}/*
|
2018-04-24 10:57:55 +00:00
|
|
|
%{_infodir}/netcat.info%{?ext_info}
|
2014-05-13 17:25:18 +00:00
|
|
|
%{_mandir}/*/*
|
2014-05-13 17:31:56 +00:00
|
|
|
|
2018-04-24 10:57:55 +00:00
|
|
|
%changelog
|