|
@@ -34,7 +34,7 @@ Class: BASE
|
|
|
Group: Network
|
|
Group: Network
|
|
|
License: no restrictions
|
|
License: no restrictions
|
|
|
Version: 1.10
|
|
Version: 1.10
|
|
|
-Release: 20040205
|
|
|
|
|
|
|
+Release: 20040602
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://www.atstake.com/research/tools/nc110.tgz
|
|
Source0: http://www.atstake.com/research/tools/nc110.tgz
|
|
@@ -67,6 +67,7 @@ AutoReqProv: no
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -c /netcat-%{version}
|
|
%setup -q -c /netcat-%{version}
|
|
|
%{l_shtool} subst -e 's;#define HAVE_BIND;#undef HAVE_BIND;g' netcat.c
|
|
%{l_shtool} subst -e 's;#define HAVE_BIND;#undef HAVE_BIND;g' netcat.c
|
|
|
|
|
+ %{l_shtool} subst -e 's;STATIC=[^ ]*;;' Makefile
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
os=generic
|
|
os=generic
|
|
@@ -74,6 +75,7 @@ AutoReqProv: no
|
|
|
*-sunos* ) os=solaris ;;
|
|
*-sunos* ) os=solaris ;;
|
|
|
*-linux* ) os=linux ;;
|
|
*-linux* ) os=linux ;;
|
|
|
*-freebsd* ) os=freebsd ;;
|
|
*-freebsd* ) os=freebsd ;;
|
|
|
|
|
+ *-netbsd* ) os=netbsd ;;
|
|
|
esac
|
|
esac
|
|
|
%{l_make} %{l_mflags} $os
|
|
%{l_make} %{l_mflags} $os
|
|
|
|
|
|