add inetutils to package
PATCH 1/1 add inetutils to package
--- package/Config.in | 2 +- package/inetutils/Config.in | 6 ++++++ package/inetutils/inetutils.mk | 14 ++++++++++++++ 3 files changed, 21 insertions(+), 1 deletions(-) create mode 100644 package/inetutils/Config.in create mode 100644 package/inetutils/inetutils.mk
package/Config.in +1 -1
@@ -366,7 +366,6 @@ menu "Networking applications" source "package/argus/Config.in" source "package/avahi/Config.in" source "package/axel/Config.in" -source "package/bluez_utils/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/boa/Config.in" endif
@@ -383,6 +382,7 @@ source "package/dropbear/Config.in" source "package/ethtool/Config.in" source "package/hostapd/Config.in" source "package/ifplugd/Config.in" +source "package/inetutils/Config.in" source "package/iperf/Config.in" source "package/iproute2/Config.in" source "package/ipsec-tools/Config.in"
package/inetutils/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_INETUTILS + bool "inetutils" + help + inetutils + + http://www.gnu.org/software/inetutils/
package/inetutils/inetutils.mk new file +14 -0
@@ -0,0 +1,14 @@ +############################################################# +# +# inet_utils +# +############################################################# +INETUTILS_VERSION = 1.8 +INETUTILS_SOURCE = inetutils-$(INETUTILS_VERSION).tar.gz +INETUTILS_SITE = http://ftp.gnu.org/gnu/inetutils/ +INETUTILS_INSTALL_STAGING = YES +INETUTILS_INSTALL_TARGET_OPT = SUIDMODE="-m 4775" DESTDIR=$(TARGET_DIR) install +INETUTILS_CONF_OPT = \ + --disable-ifconfig + +$(eval $(call AUTOTARGETS,package,inetutils))
Signature · 1 line
1.6.3.3
PATCH 1/1 add bluetooth utils to package
Bluetooth utils often used in embeded system, add it to package.
--- package/Config.in | 1 + package/bluez_utils/Config.in | 7 +++++++ package/bluez_utils/bluez_utils.mk | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 package/bluez_utils/Config.in create mode 100644 package/bluez_utils/bluez_utils.mk
package/Config.in +1 -0
@@ -366,6 +366,7 @@ menu "Networking applications" source "package/argus/Config.in" source "package/avahi/Config.in" source "package/axel/Config.in" +source "package/bluez_utils/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/boa/Config.in" endif
package/bluez_utils/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_BLUEZ_UTILS + bool "bluez_utils" + depends on BR2_PACKAGE_DBUS + help + bluez utils + + http://www.kernel.org/pub/linux/bluetooth
package/bluez_utils/bluez_utils.mk new file +14 -0
@@ -0,0 +1,14 @@ +############################################################# +# +# bluez_utils +# +############################################################# +BLUEZ_UTILS_VERSION = 4.87 +BLUEZ_UTILS_SOURCE = bluez-$(BLUEZ_UTILS_VERSION).tar.gz +BLUEZ_UTILS_SITE = http://www.kernel.org/pub/linux/bluetooth/ +BLUEZ_UTILS_INSTALL_STAGING = YES +BLUEZ_UTILS_INSTALL_TARGET = YES +BLUEZ_UTILS_DEPENDENCIES += dbus libglib2 +BLUEZ_UTILS_CONF_OPT = --enable-hidd --enable-test --enable-alsa + +$(eval $(call AUTOTARGETS,package,bluez_utils))
Signature · 1 line
1.6.3.3
PATCH 1/1 add inetutils to package
In reply to Bob LiuQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bob" == Bob Liu <[email protected]> writes:
Bob> Signed-off-by: Bob Liu <[email protected]>
Thanks. Is there any specific reason to use this rather than the busybox applets?
Bob> ---
Bob> package/Config.in | 2 +- Bob> package/inetutils/Config.in | 6 ++++++ Bob> package/inetutils/inetutils.mk | 14 ++++++++++++++ Bob> 3 files changed, 21 insertions(+), 1 deletions(-) Bob> create mode 100644 package/inetutils/Config.in Bob> create mode 100644 package/inetutils/inetutils.mk
Bob> diff --git a/package/Config.in b/package/Config.in Bob> index 7f1d9ff..5123aec 100644
Bob> --- a/package/Config.in
Bob> +++ b/package/Config.in
Bob> @@ -366,7 +366,6 @@ menu "Networking applications"
Bob> source "package/argus/Config.in" Bob> source "package/avahi/Config.in" Bob> source "package/axel/Config.in"
Bob> -source "package/bluez_utils/Config.in"
That line shouldn't have been part of the patch.
Bob> +INETUTILS_VERSION = 1.8
Bob> +INETUTILS_SOURCE = inetutils-$(INETUTILS_VERSION).tar.gz
Bob> +INETUTILS_SITE = http://ftp.gnu.org/gnu/inetutils/
Bob> +INETUTILS_INSTALL_STAGING = YES
Bob> +INETUTILS_INSTALL_TARGET_OPT = SUIDMODE="-m 4775" DESTDIR=$(TARGET_DIR) install
That suidmode thing looks odd. Does any of these binaries need to be suid root? If so, we'll need to add them to device_table.txt
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 add inetutils to package
Quoted 5 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bob" == Bob Liu <[email protected]> writes:
?Bob> Signed-off-by: Bob Liu <[email protected]>
Thanks. Is there any specific reason to use this rather than the busybox applets?
note ... ive submitted inetutils a couple of times already with no feedback. my version is also much more functionality complete as it allows people to select specific sub-programs rather than the whole suite.
as for your question, the answer is "yes". some of these applets actually work in a nommu system while the busybox ones do not.
Quoted 8 lines
?Bob> +INETUTILS_VERSION = 1.8
?Bob> +INETUTILS_SOURCE = inetutils-$(INETUTILS_VERSION).tar.gz
?Bob> +INETUTILS_SITE = http://ftp.gnu.org/gnu/inetutils/
?Bob> +INETUTILS_INSTALL_STAGING = YES
?Bob> +INETUTILS_INSTALL_TARGET_OPT = SUIDMODE="-m 4775" DESTDIR=$(TARGET_DIR) installThat suidmode thing looks odd. Does any of these binaries need to be suid root? If so, we'll need to add them to device_table.txt
it depends. if rsh is running as root, then no. if it isnt, then in order to properly change uid's to the user you're logging in as, then yes. this applies to rcp/rlogin/rsh. plus, there's ping/traceroute which need suid in order to be usable as non-root.
-mike