-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnc6.spec.in
78 lines (60 loc) · 2.26 KB
/
nc6.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Summary: Reads and writes data across network connections using TCP or UDP with IPv4 and IPv6.
Name: nc6
Version: @VERSION@
Release: 1
Source0: ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/nc6-%{version}.tar.gz
Packager: Mauro Tortonesi <[email protected]>
Copyright: GPL
Group: Applications/Internet
BuildRoot: %{_tmppath}/%{name}-root
%description
The nc6 package contains Netcat6 (the program is actually nc6), a simple
utility for reading and writing data across network connections, using
the TCP or UDP protocols. Netcat6 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.
You may want to install the netcat6 package if you are administering a
network and you'd like to use its debugging and network exploration
capabilities.
%prep
%setup
%build
./configure
make
%install
rm -rf ${RPM_BUILD_ROOT}
install -d ${RPM_BUILD_ROOT}%{_bindir}
install -m 755 src/nc6 ${RPM_BUILD_ROOT}%{_bindir}
install -d ${RPM_BUILD_ROOT}%{_mandir}/man1
install -m 644 docs/nc6.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
%doc README AUTHORS COPYING NEWS TODO ChangeLog
%{_bindir}/nc6
%{_mandir}/man1/nc6.1*
%changelog
* Sun Mar 10 2002 Peter Bieringer <[email protected]>
- Changes for nc6-0.2pre2, starting from nc-1.10-11 (RHL)
* Tue May 15 2001 Bill Nottingham <[email protected]>
- add patch to fix timeouts (#40689, <[email protected]>)
* Fri Oct 20 2000 Bill Nottingham <[email protected]>
- include reslov.h for res_init prototype
* Fri Aug 11 2000 Jeff Johnson <[email protected]>
- add shutdown to fix obscure half-close connection case (#9324).
* Wed Jul 12 2000 Prospector <[email protected]>
- automatic rebuild
* Wed Jun 14 2000 Jeff Johnson <[email protected]>
- FHS packaging.
* Wed Feb 02 2000 Cristian Gafton <[email protected]>
- fix description
- add man page
* Sun Mar 21 1999 Cristian Gafton <[email protected]>
- auto rebuild in the new build environment (release 4)
* Tue Jan 12 1999 Cristian Gafton <[email protected]>
- make it build on the arm
* Tue Dec 29 1998 Cristian Gafton <[email protected]>
- build for 6.0