]> git.pld-linux.org Git - packages/nc.git/commitdiff
- release 10 nc-1_10-10
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 19 Sep 2000 15:29:52 +0000 (15:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added IPv6 support

Changed files:
    nc.spec -> 1.18

nc.spec

diff --git a/nc.spec b/nc.spec
index 43ec5213c8ee1ad00d4af3a2532e1933eb54b380..529e9f8aa28c9abe8f124b4d5bba1d82a96d9641 100644 (file)
--- a/nc.spec
+++ b/nc.spec
@@ -2,13 +2,15 @@ Summary:      Versatile network test and debugging tool
 Summary(pl):   Proste narzêdzie do testowania sieci
 Name:          nc
 Version:       1.10
-Release:       9
+Release:       10
 Copyright:     None, see README
 Group:         Networking/Admin
-Group(pl):     Sieciowe/Administracyjne
+Group(de):     Netzwerkwesen/Administration
+Group(pl):     Sieciowe/Administacyjne
 Source0:       ftp://ftp.avian.org/src/hacks/%{name}110.tgz
 Source1:       http://www.openbsd.org/src/usr.bin/%{name}.1
-Patch0:                nc-arm.patch
+Patch0:                %{name}-arm.patch
+Patch1:                %{name}-v6-20000918.patch.gz
 Icon:          netcat.xpm
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     netcat
@@ -38,11 +40,14 @@ standardowe uniksowe narz
 
 %prep
 %setup -c -n nc -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
 # 'make linux' works too, but builds a static binary. 
-%{__make} generic DFLAGS="-DTELNET -DGAPING_SECURITY_HOLE" CFLAGS="$RPM_OPT_FLAGS"
+%{__make} generic \
+       DFLAGS="-DINET6 -DTELNET -DGAPING_SECURITY_HOLE" \
+       CFLAGS="$RPM_OPT_FLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.059299 seconds and 4 git commands to generate.