add package inetutils
PATCH v2 1/1 add package inetutils
From: Heiko Zuerker <[email protected]>
--- package/Config.in | 3 ++ package/inetutils/Config.in | 17 +++++++++ .../inetutils/inetutils-1.8-PATH_PROCNET_DEV.patch | 14 ++++++++ package/inetutils/inetutils.mk | 35 ++++++++++++++++++++ 4 files changed, 69 insertions(+), 0 deletions(-) create mode 100644 package/inetutils/Config.in create mode 100644 package/inetutils/inetutils-1.8-PATH_PROCNET_DEV.patch create mode 100644 package/inetutils/inetutils.mk
package/Config.in +3 -0
@@ -376,6 +376,9 @@ source "package/dropbear/Config.in" source "package/ethtool/Config.in" source "package/hostapd/Config.in" source "package/ifplugd/Config.in" +if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +source "package/inetutils/Config.in" +endif source "package/iperf/Config.in" source "package/iproute2/Config.in" source "package/ipsec-tools/Config.in"
package/inetutils/Config.in new file +17 -0
@@ -0,0 +1,17 @@ +config BR2_PACKAGE_INETUTILS + bool "inetutils" + help + GNU Inetutils + + This is a distribution of common networking utilities and servers. + It provides apps like ftp, hostname, ping, ping6, rcp, rexec, + rlogin, rsh, talk, telnet, tftp, and traceroute + +config BR2_PACKAGE_INETUTILS_DISABLE_SERVERS + depends on BR2_PACKAGE_INETUTILS + bool "Don't compile servers" + +config BR2_PACKAGE_INETUTILS_DISABLE_CLIENTS + depends on BR2_PACKAGE_INETUTILS + bool "Don't compile clients" +
package/inetutils/inetutils-1.8-PATH_PROCNET_DEV.patch new file +14 -0
@@ -0,0 +1,14 @@ +diff -ru inetutils-1.8.orig/ifconfig/system/linux.c inetutils-1.8/ifconfig/system/linux.c +--- inetutils-1.8.orig/ifconfig/system/linux.c 2010-05-15 06:48:38.000000000 -0500 ++++ inetutils-1.8/ifconfig/system/linux.c 2010-12-11 17:14:22.000000000 -0600 +@@ -49,6 +49,10 @@ + #include "../ifconfig.h" + + ++#ifndef PATH_PROCNET_DEV ++ #define PATH_PROCNET_DEV "/proc/net/dev" ++#endif ++ + /* ARPHRD stuff. */ + + static void
package/inetutils/inetutils.mk new file +35 -0
@@ -0,0 +1,35 @@ +############################################################# +# +# inetutils +# +############################################################# +INETUTILS_VERSION = 1.8 +INETUTILS_SOURCE = inetutils-$(INETUTILS_VERSION).tar.gz +INETUTILS_SITE = http://ftp.gnu.org/gnu/inetutils/ + +INETUTILS_DEPENDENCIES = +INETUTILS_CONF_OPT = --disable-syslogd --disable-logger --program-prefix= --program-suffix= + +ifeq ($(BR2_INET_IPV6),y) + INETUTILS_CONF_OPT += --enable-ipv6 +else + INETUTILS_CONF_OPT += --disable-ipv6 +endif + +ifeq ($(BR2_PACKAGE_NCURSES),y) + INETUTILS_CONF_OPT += --enable-ncurses + INETUTILS_DEPENDENCIES += ncurses +else + INETUTILS_CONF_OPT += --disable-ncurses +endif + +ifeq ($(BR2_PACKAGE_INETUTILS_DISABLE_SERVERS),y) + INETUTILS_CONF_OPT += --disable-servers +endif + +ifeq ($(BR2_PACKAGE_INETUTILS_DISABLE_CLIENTS),y) + INETUTILS_CONF_OPT += --disable-clients +endif + +$(eval $(call AUTOTARGETS,package,inetutils)) +
Signature · 1 line
1.7.3.2
Mike Frysinger
NAKPATCH v2 1/1 add package inetutils
NAK: i already posted an inetutils patch that is much more complete (search
the list). if my version is missing something, let me know.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101211/68586b28/attachment.pgp>
PATCH v2 1/1 add package inetutils
Quoting Mike Frysinger <[email protected]>:
Quoted 2 lines
NAK: i already posted an inetutils patch that is much more complete (search the list). if my version is missing something, let me know.
Found it. Yes your patch looks better.
You sent it in before I started my activities with buildroot, that's why I missed it.
Now I just need to figure out how I can apply this from the mailinglist archive...
Signature · 7 lines
Regards Heiko Zuerker http://www.devil-linux.org ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
PATCH v2 1/1 add package inetutils
Quoted 2 lines · On Sun, 12 Dec 2010 08:35:38 -0600 Heiko Zuerker <[email protected]> wrote:
Now I just need to figure out how I can apply this from the mailinglist archive...
Have a look at "git am".
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com