* [Buildroot] [PATCH] add inetutils to package
@ 2011-02-28 8:29 Bob Liu
2011-02-28 8:29 ` [Buildroot] [PATCH] add bluetooth utils " Bob Liu
2011-04-04 20:46 ` [Buildroot] [PATCH] add inetutils " Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Bob Liu @ 2011-02-28 8:29 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bob Liu <lliubbo@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index 7f1d9ff..5123aec 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/inetutils/Config.in b/package/inetutils/Config.in
new file mode 100644
index 0000000..ce7933b
--- /dev/null
+++ b/package/inetutils/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_INETUTILS
+ bool "inetutils"
+ help
+ inetutils
+
+ http://www.gnu.org/software/inetutils/
diff --git a/package/inetutils/inetutils.mk b/package/inetutils/inetutils.mk
new file mode 100644
index 0000000..3d2d95d
--- /dev/null
+++ b/package/inetutils/inetutils.mk
@@ -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))
--
1.6.3.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] add bluetooth utils to package
2011-02-28 8:29 [Buildroot] [PATCH] add inetutils to package Bob Liu
@ 2011-02-28 8:29 ` Bob Liu
2011-04-04 20:46 ` [Buildroot] [PATCH] add inetutils " Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Bob Liu @ 2011-02-28 8:29 UTC (permalink / raw)
To: buildroot
Bluetooth utils often used in embeded system, add it to package.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index f459c1b..7f1d9ff 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
diff --git a/package/bluez_utils/Config.in b/package/bluez_utils/Config.in
new file mode 100644
index 0000000..eb6e22d
--- /dev/null
+++ b/package/bluez_utils/Config.in
@@ -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
diff --git a/package/bluez_utils/bluez_utils.mk b/package/bluez_utils/bluez_utils.mk
new file mode 100644
index 0000000..7b104b0
--- /dev/null
+++ b/package/bluez_utils/bluez_utils.mk
@@ -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))
--
1.6.3.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] add inetutils to package
2011-02-28 8:29 [Buildroot] [PATCH] add inetutils to package Bob Liu
2011-02-28 8:29 ` [Buildroot] [PATCH] add bluetooth utils " Bob Liu
@ 2011-04-04 20:46 ` Peter Korsgaard
2011-04-04 20:55 ` Mike Frysinger
1 sibling, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2011-04-04 20:46 UTC (permalink / raw)
To: buildroot
>>>>> "Bob" == Bob Liu <lliubbo@gmail.com> writes:
Bob> Signed-off-by: Bob Liu <lliubbo@gmail.com>
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
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] add inetutils to package
2011-04-04 20:46 ` [Buildroot] [PATCH] add inetutils " Peter Korsgaard
@ 2011-04-04 20:55 ` Mike Frysinger
0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2011-04-04 20:55 UTC (permalink / raw)
To: buildroot
On Mon, Apr 4, 2011 at 4:46 PM, Peter Korsgaard wrote:
>>>>>> "Bob" == Bob Liu <lliubbo@gmail.com> writes:
> ?Bob> Signed-off-by: Bob Liu <lliubbo@gmail.com>
>
> 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.
> ?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
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-04 20:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-28 8:29 [Buildroot] [PATCH] add inetutils to package Bob Liu
2011-02-28 8:29 ` [Buildroot] [PATCH] add bluetooth utils " Bob Liu
2011-04-04 20:46 ` [Buildroot] [PATCH] add inetutils " Peter Korsgaard
2011-04-04 20:55 ` Mike Frysinger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.