rpms/nc/devel .cvsignore,1.2,1.3 nc.spec,1.14,1.15 sources,1.2,1.3

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Apr 11 10:54:40 UTC 2005


Update of /cvs/dist/rpms/nc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv2673

Modified Files:
	.cvsignore nc.spec sources 
Log Message:
- switching to new OpenBSD version of netcat


Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/nc/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	9 Sep 2004 08:58:46 -0000	1.2
+++ .cvsignore	11 Apr 2005 10:54:36 -0000	1.3
@@ -1 +1 @@
-nc110.tgz
+nc.tar.bz2


Index: nc.spec
===================================================================
RCS file: /cvs/dist/rpms/nc/devel/nc.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- nc.spec	4 Mar 2005 10:00:15 -0000	1.14
+++ nc.spec	11 Apr 2005 10:54:36 -0000	1.15
@@ -1,20 +1,14 @@
 Summary: Reads and writes data across network connections using TCP or UDP.
 Name: nc
-Version: 1.10
-Release: 25
-Source0: ftp://ftp.avian.org/src/hacks/nc110.tgz
-Source1: http://www.openbsd.org/src/usr.bin/nc/nc.1
-Patch0: nc-arm.patch
-Patch1: nc-1.10-halfclose.patch
-Patch2: nc-proto.patch
-Patch3: nc-1.10-timeout.patch
-Patch4: netcat-1.10-ranges05.patch
-Patch5: nc-1.10-sigalrm.patch
-Patch6: nc-1.10-return.patch
-Patch7: nc-1.10-dtelnet.patch
+Version: 1.77
+Release: 1
+URL:	 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/
+Source0: nc.tar.bz2
 License: GPL
 Group: Applications/Internet
 BuildRoot: %{_tmppath}/%{name}-root
+BuildRequires: pkgconfig
+Requires: glib2
 
 %description
 The nc package contains Netcat (the program is actually nc), a simple
@@ -30,20 +24,10 @@
 capabilities.
 
 %prep
-%setup -c -n nc -q
-%patch0 -p1
-%patch1 -p1 -b .halfclose
-%patch2 -p1 -b .proto
-%patch3 -p1 -b .timeout
-%patch4 -p1 -b .range
-%patch5 -p1 -b .sigalrm
-%patch6 -p1 -b .return
-%patch7 -p1 -b .dtelnet
-
-cp %{SOURCE1} .
+%setup -q -n nc
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS" generic
+gcc $RPM_OPT_FLAGS `pkg-config --cflags --libs glib-2.0` netcat.c atomicio.c socks.c -o nc
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
@@ -57,11 +41,14 @@
 
 %files
 %defattr(-,root,root)
-%doc README Changelog scripts
 %{_bindir}/nc
 %{_mandir}/man1/nc.1*
+%doc README scripts
 
 %changelog
+* Thu Mar 31 2005 Radek Vokal <rvokal at redhat.com> 1.77-1
+- switching to new OpenBSD version of netcat
+
 * Fri Mar 04 2005 Radek Vokal <rvokal at redhat.com> 1.10-25
 - gcc4 rebuilt
 
@@ -99,39 +86,3 @@
 - fix parsing of some services (#52874) (<eedmoba at eede.ericsson.se>)
 - fix man page (#63544)
 
-* Fri Jun 21 2002 Tim Powers <timp at redhat.com>
-- automated rebuild
-
-* Thu May 23 2002 Tim Powers <timp at redhat.com>
-- automated rebuild
-
-* Wed Jan 09 2002 Tim Powers <timp at redhat.com>
-- automated rebuild
-
-* Tue May 15 2001 Bill Nottingham <notting at redhat.com>
-- add patch to fix timeouts (#40689, <jdp at ll.mit.edu>)
-
-* Fri Oct 20 2000 Bill Nottingham <notting at redhat.com>
-- include reslov.h for res_init prototype
-
-* Fri Aug 11 2000 Jeff Johnson <jbj at redhat.com>
-- add shutdown to fix obscure half-close connection case (#9324).
-
-* Wed Jul 12 2000 Prospector <bugzilla at redhat.com>
-- automatic rebuild
-
-* Wed Jun 14 2000 Jeff Johnson <jbj at redhat.com>
-- FHS packaging.
-
-* Wed Feb 02 2000 Cristian Gafton <gafton at redhat.com>
-- fix description
-- add man page
-
-* Sun Mar 21 1999 Cristian Gafton <gafton at redhat.com> 
-- auto rebuild in the new build environment (release 4)
-
-* Tue Jan 12 1999 Cristian Gafton <gafton at redhat.com>
-- make it build on the arm
-
-* Tue Dec 29 1998 Cristian Gafton <gafton at redhat.com>
-- build for 6.0


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/nc/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	9 Sep 2004 08:58:47 -0000	1.2
+++ sources	11 Apr 2005 10:54:36 -0000	1.3
@@ -1 +1 @@
-b3332b6c4ece53c6aeaf8114875fc224  nc110.tgz
+8ac16b479f4ee02ef8b726138ca2a884  nc.tar.bz2




More information about the fedora-cvs-commits mailing list