[Buildroot] netcat returns

Bernhard Fischer rep.dot.nop at gmail.com
Wed Jan 17 09:31:30 UTC 2007


On Wed, Jan 17, 2007 at 12:27:12AM +0100, iks hefem wrote:
>hi, could you include netcat to your great buildroot distro ?
>A patch was submitted here :
>http://busybox.net/lists/buildroot/2006-November/000440.html (with a small
>problem : the last endif in the .mk file is not added properly due to a bad
>"patched patch file".)
>
>To answer the question : why not busybox ? Well , because is more powerful :
>udp mode by example.

Please make a complete svn diff --diff-cmd diff -x -rdup package/ >
~/buildroot.add-package-netcat.diff  and test it.

The patch you link to above does hardcode "tar xzf" which is not
acceptable. Fix it to do what all other packages do (NETCAT_ZCAT etc).
The CC_FOR_BUILD is nowadays already contained in the
TARGET_CONFIGURE_OPTS, so remove it.

Oh, and i, personally, would prefer to use the version that comes with
debian, since it seems to be more robust:
http://ftp.debian.org/debian/pool/main/n/netcat/

see
$ grep "debian/patch" package/*/*mk
on one possible way to support such packages that have debian patches
applied.



More information about the buildroot mailing list