ALT Linux repositórios
S: | 4.0.20100725-alt3 |
5.0: | 4.0.20061122-alt2 |
4.1: | 4.0.20061122-alt1 |
4.0: | 4.0.20061122-alt1 |
3.0: | 3.6-alt2 |
Group :: Rede/Outros
RPM: netcat
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: netcat
Version: 3.6
Release: alt2
Summary: Reads and writes data across network connections using TCP or UDP
License: BSD
Group: Networking/Other
Url: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/
# Sources are taken and packaged by following command:
# CVSROOT=anoncvs at anoncvs2.de.openbsd.org:/cvs cvs get src/usr.bin/nc
# tar czf netcat-$(date +%Y%m%d).tar.gz src/
Source: %name-20050107.tar.gz
Patch1: netcat-3.6-owl-alt-linux.patch
Patch2: netcat-3.6-owl-ipv4-default.patch
Patch3: netcat-3.6-owl-alt-fixes.patch
Patch4: netcat-3.6-alt-man.patch
Patch5: netcat-3.6-alt-usage.patch
Patch6: netcat-3.6-alt-no_tcp_md5sig.patch
Obsoletes: nc
Summary(ru_RU.KOI8-R): ëÏÎÓÏÌØÎÁÑ ÕÔÉÌÉÔÁ ÞÔÅÎÉÑ/ÚÁÐÉÓÉ ÄÁÎÎÙÈ × ÓÅÔÅ×ÙÅ ÓÏÅÄÉÎÅÎÉÑ
%description
This package contains netcat, a simple utility for reading and writing data
across network connections, using the TCP or UDP protocols. netcat is
intended to be a reliable back-end tool which can be used directly or
easily driven by other programs and scripts. netcat is also a feature-rich
network debugging and exploration tool, since it can create many different
connections and has many built-in capabilities.
There are three well-known netcat implementations, see here for details:
http://pintday.org/downloads/netcat/. This package contains OpenBSD utility
with improvements from Openwall project.
%description -l ru_RU.KOI8-R
netcat Ñ×ÌÑÅÔÓÑ ÐÒÏÓÔÏÊ, ÎÏ ÕÄÏÂÎÏÊ ËÏÎÓÏÌØÎÏÊ ÕÔÉÌÉÔÏÊ ÄÌÑ ÞÔÅÎÉÑ
É ÚÁÐÉÓÉ ÄÁÎÎÙÈ ÐÏ ÓÅÔÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÐÒÏÔÏËÏÌÏ× TCP É UDP.
å£ ÍÏÖÎÏ ÉÓÐÏÌØÚÏ×ÁÔØ ËÁË ÉÎÔÅÒÁËÔÉ×ÎÏ - ÄÌÑ ÏÔÌÁÄËÉ ÓÅÔÅ×ÙÈ ÓÅÒ×ÉÓÏ×
(ÎÁÐÒÉÍÅÒ: echo -e 'GET / HTTP/1.0\n\n' | netcat www.altlinux.ru 80 | head
ÉÌÉ echo -e 'helo user at host\nquit\n' | netcat smtp.yandex.ru 25),
ÔÁË É ×ÙÚÙ×ÁÑ ÉÚ ÄÒÕÇÉÈ ÐÒÏÇÒÁÍÍ É ÓÃÅÎÁÒÉÅ× ÄÌÑ ÂÙÓÔÒÏÇÏ ÓÏÚÄÁÎÉÑ
ÓÅÔÅ×ÙÈ ËÌÉÅÎÔÏ× ÉÌÉ ÐÒÅÏÂÒÁÚÏ×ÁÎÉÑ ËÏÎÓÏÌØÎÙÈ ÐÒÏÇÒÁÍÍ × ÓÅÔÅ×ÙÅ ÓÅÒ×ÉÓÙ.
éÍÅÅÔÓÑ ÔÒÉ ÏÓÎÏ×ÎÙÈ ÒÅÁÌÉÚÁÃÉÉ netcat, ÓÍ. http://pintday.org/downloads/netcat/
äÁÎÎÙÊ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ×ÁÒÉÁÎÔ ÏÔ OpenBSD Ó ÕÓÏ×ÅÒÛÅÎÓÔ×Ï×ÁÎÉÑÍÉ ÏÔ ÐÒÏÅËÔÁ Owl.
%define srcdir src/usr.bin/nc
%prep
%setup -q -c
cd src
%patch1 -p1 -b .1-linux
%patch2 -p1 -b .2-ipv4-default
%patch3 -p1 -b .3-fixes
%patch4 -p1
%patch5 -p1 -b .5-usage
%patch6 -p1 -b .6-tcp5sig
%build
%make_build -C %srcdir CFLAGS="-c $RPM_OPT_FLAGS"
%install
%__install -pD -m755 %srcdir/nc %buildroot%_bindir/netcat
%__install -pD -m644 %srcdir/nc.1 %buildroot%_man1dir/netcat.1
%files
%_bindir/*
%_mandir/man?/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 3.6
Release: alt2
Summary: Reads and writes data across network connections using TCP or UDP
License: BSD
Group: Networking/Other
Url: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/
# Sources are taken and packaged by following command:
# CVSROOT=anoncvs at anoncvs2.de.openbsd.org:/cvs cvs get src/usr.bin/nc
# tar czf netcat-$(date +%Y%m%d).tar.gz src/
Source: %name-20050107.tar.gz
Patch1: netcat-3.6-owl-alt-linux.patch
Patch2: netcat-3.6-owl-ipv4-default.patch
Patch3: netcat-3.6-owl-alt-fixes.patch
Patch4: netcat-3.6-alt-man.patch
Patch5: netcat-3.6-alt-usage.patch
Patch6: netcat-3.6-alt-no_tcp_md5sig.patch
Obsoletes: nc
Summary(ru_RU.KOI8-R): ëÏÎÓÏÌØÎÁÑ ÕÔÉÌÉÔÁ ÞÔÅÎÉÑ/ÚÁÐÉÓÉ ÄÁÎÎÙÈ × ÓÅÔÅ×ÙÅ ÓÏÅÄÉÎÅÎÉÑ
%description
This package contains netcat, a simple utility for reading and writing data
across network connections, using the TCP or UDP protocols. netcat is
intended to be a reliable back-end tool which can be used directly or
easily driven by other programs and scripts. netcat is also a feature-rich
network debugging and exploration tool, since it can create many different
connections and has many built-in capabilities.
There are three well-known netcat implementations, see here for details:
http://pintday.org/downloads/netcat/. This package contains OpenBSD utility
with improvements from Openwall project.
%description -l ru_RU.KOI8-R
netcat Ñ×ÌÑÅÔÓÑ ÐÒÏÓÔÏÊ, ÎÏ ÕÄÏÂÎÏÊ ËÏÎÓÏÌØÎÏÊ ÕÔÉÌÉÔÏÊ ÄÌÑ ÞÔÅÎÉÑ
É ÚÁÐÉÓÉ ÄÁÎÎÙÈ ÐÏ ÓÅÔÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÐÒÏÔÏËÏÌÏ× TCP É UDP.
å£ ÍÏÖÎÏ ÉÓÐÏÌØÚÏ×ÁÔØ ËÁË ÉÎÔÅÒÁËÔÉ×ÎÏ - ÄÌÑ ÏÔÌÁÄËÉ ÓÅÔÅ×ÙÈ ÓÅÒ×ÉÓÏ×
(ÎÁÐÒÉÍÅÒ: echo -e 'GET / HTTP/1.0\n\n' | netcat www.altlinux.ru 80 | head
ÉÌÉ echo -e 'helo user at host\nquit\n' | netcat smtp.yandex.ru 25),
ÔÁË É ×ÙÚÙ×ÁÑ ÉÚ ÄÒÕÇÉÈ ÐÒÏÇÒÁÍÍ É ÓÃÅÎÁÒÉÅ× ÄÌÑ ÂÙÓÔÒÏÇÏ ÓÏÚÄÁÎÉÑ
ÓÅÔÅ×ÙÈ ËÌÉÅÎÔÏ× ÉÌÉ ÐÒÅÏÂÒÁÚÏ×ÁÎÉÑ ËÏÎÓÏÌØÎÙÈ ÐÒÏÇÒÁÍÍ × ÓÅÔÅ×ÙÅ ÓÅÒ×ÉÓÙ.
éÍÅÅÔÓÑ ÔÒÉ ÏÓÎÏ×ÎÙÈ ÒÅÁÌÉÚÁÃÉÉ netcat, ÓÍ. http://pintday.org/downloads/netcat/
äÁÎÎÙÊ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ×ÁÒÉÁÎÔ ÏÔ OpenBSD Ó ÕÓÏ×ÅÒÛÅÎÓÔ×Ï×ÁÎÉÑÍÉ ÏÔ ÐÒÏÅËÔÁ Owl.
%define srcdir src/usr.bin/nc
%prep
%setup -q -c
cd src
%patch1 -p1 -b .1-linux
%patch2 -p1 -b .2-ipv4-default
%patch3 -p1 -b .3-fixes
%patch4 -p1
%patch5 -p1 -b .5-usage
%patch6 -p1 -b .6-tcp5sig
%build
%make_build -C %srcdir CFLAGS="-c $RPM_OPT_FLAGS"
%install
%__install -pD -m755 %srcdir/nc %buildroot%_bindir/netcat
%__install -pD -m644 %srcdir/nc.1 %buildroot%_man1dir/netcat.1
%files
%_bindir/*
%_mandir/man?/*
%changelog
…
Todas as alterações você pod ver aqui