a7b6a90
Summary:        Netcat with IPv6 Support
a7b6a90
Name:           nc6
a7b6a90
Version:        1.0
ae40fa0
Release:        24%{?dist}
a7b6a90
Group:          Applications/Internet
a7b6a90
URL:            http://www.deepspace6.net/projects/netcat6.html
a7b6a90
License:        GPLv2+
a7b6a90
Source:         ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/%{name}-%{version}.tar.bz2
a7b6a90
# Given that the trailing newlines are now a part of the comments,
a7b6a90
# some macros with comments on the same line break.
a7b6a90
Patch0:         %{name}-1.0-dnl.patch
a7b6a90
# rhbz#1161432
a7b6a90
Patch1:         %{name}-1.0-afindep-close-the-accepted-socket-when-done.patch
a7b6a90
BuildRequires:  autoconf
a7b6a90
BuildRequires:  automake
a7b6a90
BuildRequires:  gettext-devel
a7b6a90
a7b6a90
%description
a7b6a90
netcat6 is an IPv6-enabled clone of the original netcat utility.
a7b6a90
a7b6a90
"Netcat is a simple Unix utility which reads and writes data across
a7b6a90
network connections.  It is designed to be a reliable "back-end" tool
a7b6a90
that can be used directly or easily driven by other programs and
a7b6a90
scripts.  At the same time, it is a feature-rich network debugging and
a7b6a90
exploration tool, since it can create almost any kind of connection you
a7b6a90
would need and has several interesting built-in capabilities.  Netcat,
a7b6a90
or "nc" as the actual program is named, should have been supplied long
a7b6a90
ago as another one of those cryptic but standard Unix tools."
a7b6a90
a7b6a90
%prep
a7b6a90
%setup -q
a7b6a90
%patch0 -p1
a7b6a90
%patch1 -p1
a7b6a90
a7b6a90
%build
a7b6a90
autoreconf -fiv
a7b6a90
%configure --prefix=%{_prefix} --mandir=%{_mandir} CFLAGS="%{optflags} -D_GNU_SOURCE"
a7b6a90
make %{?_smp_mflags}
a7b6a90
a7b6a90
%install
a7b6a90
make DESTDIR="%{buildroot}" install
a7b6a90
a7b6a90
%files
a7b6a90
%{_bindir}/%{name}
a7b6a90
%doc %{_mandir}/man1/nc6.1*
ae40fa0
%license COPYING
ae40fa0
%doc README AUTHORS NEWS TODO
a7b6a90
a7b6a90
%changelog
ae40fa0
* Mon Jun 13 2016 Till Maas <opensource@till.name> - 1.0-24
ae40fa0
- Rebuild after unretirement
ae40fa0
- Use %%license
ae40fa0
a7b6a90
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-23
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a7b6a90
a7b6a90
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-22
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a7b6a90
a7b6a90
* Fri Nov 07 2014 Petr Šabata <contyk@redhat.com> - 1.0-21
a7b6a90
- Close sockets after the client disconnects (#1161432)
a7b6a90
a7b6a90
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-20
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a7b6a90
a7b6a90
* Tue Jun 10 2014 Petr Šabata <contyk@redhat.com> - 1.0-19
a7b6a90
- Fix FTBFS with the current autoconf
a7b6a90
a7b6a90
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-18
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a7b6a90
a7b6a90
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-17
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a7b6a90
a7b6a90
* Tue Mar 26 2013 Petr Šabata <contyk@redhat.com> - 1.0-16
a7b6a90
- Upstream bootstrap isn't enough; call autoreconf -fiv instead
a7b6a90
a7b6a90
* Mon Mar 25 2013 Petr Šabata <contyk@redhat.com> - 1.0-15
a7b6a90
- Run bootstrap to utilize Fedora autoconf (#926203)
a7b6a90
- Minor cleanup
a7b6a90
- Build in parallel
a7b6a90
a7b6a90
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-14
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a7b6a90
a7b6a90
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-13
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a7b6a90
a7b6a90
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-12
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a7b6a90
a7b6a90
* Tue Mar 01 2011 Petr Sabata <psabata@redhat.com> - 1.0-11
a7b6a90
- Buildroot garbage cleanup
a7b6a90
a7b6a90
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-10
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a7b6a90
a7b6a90
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-9
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a7b6a90
a7b6a90
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8
a7b6a90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a7b6a90
a7b6a90
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-7
a7b6a90
- fix license tag
a7b6a90
a7b6a90
* Tue Feb 12 2008 Jan Safranek <jsafrane@redhat.com> 1.0-6
a7b6a90
- fix compilation with gcc 4.3
a7b6a90
a7b6a90
* Thu Aug 23 2007 Radek Vokál <rvokal@redhat.com> 1.0-5
a7b6a90
- rebuilt
a7b6a90
a7b6a90
* Mon Sep 11 2006 Radek Vokal <rvokal@redhat.com> 1.0-4
a7b6a90
- rebuilt for FC6
a7b6a90
a7b6a90
* Mon Mar 13 2006 Radek Vokál <rvokal@redhat.com> 1.0-3
a7b6a90
- add ?dist and rebuilt in extras
a7b6a90
a7b6a90
* Wed Mar 8 2006 Radek Vokál <rvokal@redhat.com> 1.0-2
a7b6a90
- clean RPM_BUILD_ROOT before install
a7b6a90
- group Application/Internet
a7b6a90
- fix BuildRoot
a7b6a90
a7b6a90
* Tue Mar 7 2006 Radek Vokál <rvokal@redhat.com> 1.0-1
a7b6a90
- initial build for Fedora Extras