1 Summary: Versatile network test and debugging tool
2 Summary(es.UTF-8): Herramienta de prueba e depuración para servicios de red
3 Summary(pl.UTF-8): Proste narzędzie do testowania sieci
4 Summary(pt_BR.UTF-8): Ferramenta de teste e depuração para serviços de rede
9 Group: Networking/Utilities
10 Source0: http://ftp.debian.org/debian/pool/main/n/%{name}/%{name}_%{version}.orig.tar.gz
11 # Source0-md5: 7e67b22f1ad41a1b7effbb59ff28fca1
12 # http://ftp.debian.org/debian/pool/main/n/%{name}/netcat-openbsd_1.105-5.debian.tar.gz
13 Patch0: 0001-port-to-linux-with-libsd.patch
14 Patch1: 0002-connect-timeout.patch
15 Patch2: 0003-get-sev-by-name.patch
16 Patch3: 0004-poll-hup.patch
17 Patch4: 0005-send-crlf.patch
18 Patch5: 0006-quit-timer.patch
19 Patch6: 0007-udp-scan-timeout.patch
20 Patch7: 0008-verbose-numeric-port.patch
21 Patch8: 0009-dccp-support.patch
22 Patch9: 0010-serialized-handling-multiple-clients.patch
23 Patch10: 0011-misc-failures-and-features.patch
24 URL: http://packages.debian.org/sid/netcat-openbsd
25 BuildRequires: libbsd-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Netcat is a simple Unix utility which reads and writes data across
31 network connections, using TCP or UDP protocol. It is designed to be a
32 reliable "back-end" tool that can be used directly or easily driven by
33 other programs and scripts. At the same time, it is a feature-rich
34 network debugging and exploration tool, since it can create almost any
35 kind of connection you would need and has several interesting built-in
36 capabilities. Netcat, or "nc" as the actual program is named, should
37 have been supplied long ago as another one of those cryptic but
40 %description -l es.UTF-8
41 NetCat es un cliente de red mínimo. Puede ser usado para crear
42 conexiones TCP a puertos arbitrarios y puede simular conexiones sobre
43 UDP. También puede oír puertos.
45 %description -l pl.UTF-8
46 Netcat to proste uniksowe narzędzie, które odbiera i wysyła dane
47 poprzez połączenia sieciowe protokołami TCP lub UDP. Jest
48 zaprojektowane jako wiarygodny "back-end", który może być używany
49 bezpośrednio albo sterowany przez inne programy i skrypty.
50 Jednocześnie może pomóc w wykrywaniu usterek w sieci albo poznawaniu
51 jej od środka, ponieważ może stworzyć prawie dowolny rodzaj
52 połączenia, jaki może być potrzebny, i ma wbudowanych kilka ciekawych
53 funkcji. Netcat - albo "nc", jak się nazywa właściwy program, powinien
54 był być dostarczany już dawno temu jako kolejne tajemnicze, ale
55 standardowe uniksowe narzędzie.
57 %description -l pt_BR.UTF-8
58 O NetCat é um cliente de rede mínimo. Pode ser usado para criar
59 conexões TCP para portas arbitrárias e pode simular conexões sobre
60 UDP. Também pode receber conexões.
77 %{__make} CFLAGS="%{rpmcflags}"
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
83 install nc $RPM_BUILD_ROOT%{_bindir}/nc
84 install nc.1 $RPM_BUILD_ROOT%{_mandir}/man1
87 rm -rf $RPM_BUILD_ROOT
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/nc