diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-17 11:26:43 +0100 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-17 11:26:43 +0100 |
| commit | bb4cd7b7c6922e724de62f91301a8d09bf49622f (patch) | |
| tree | e50e4f49af396e715310fd8feb4ca9610b32ab90 /meta-oe | |
| parent | 86c42ab05a38a2c3b69c6279fca7084be32833e5 (diff) | |
| download | meta-openembedded-bb4cd7b7c6922e724de62f91301a8d09bf49622f.tar.gz | |
networkmanager 0.9.2.0: add patch to fix dhcp version detection
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe')
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch b/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch new file mode 100644 index 0000000000..ba49bcd937 --- /dev/null +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 6e7ff802b689df18d7bd1d1a83639925371650cc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
| 3 | Date: Thu, 17 Nov 2011 11:17:42 +0100 | ||
| 4 | Subject: [PATCH] don't try to run /sbin/dhclient to get the version number, this break cross-compiling | ||
| 5 | |||
| 6 | Upstream-status: Unknown | ||
| 7 | |||
| 8 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
| 9 | --- | ||
| 10 | configure.ac | 6 ------ | ||
| 11 | 1 files changed, 0 insertions(+), 6 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/configure.ac b/configure.ac | ||
| 14 | index 5ee0cb0..b727db7 100644 | ||
| 15 | --- a/configure.ac | ||
| 16 | +++ b/configure.ac | ||
| 17 | @@ -497,12 +497,6 @@ case "${with_dhclient}" in | ||
| 18 | /*) | ||
| 19 | DHCLIENT_PATH="${with_dhclient}" | ||
| 20 | DHCLIENT_VERSION=4 | ||
| 21 | - if test -x "${with_dhclient}"; then | ||
| 22 | - case `"${with_dhclient}" --version 2>&1` in | ||
| 23 | - "isc-dhclient-4"*) DHCLIENT_VERSION=4; break;; | ||
| 24 | - "isc-dhclient-V3"*) DHCLIENT_VERSION=3; break;; | ||
| 25 | - esac | ||
| 26 | - fi | ||
| 27 | AC_MSG_NOTICE(using dhclient at ${DHCLIENT_PATH}) | ||
| 28 | ;; | ||
| 29 | no) AC_MSG_NOTICE(dhclient support disabled) | ||
| 30 | -- | ||
| 31 | 1.7.2.5 | ||
| 32 | |||
diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb index 3173c726e7..6d5a7ac7bd 100644 --- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb | |||
| @@ -4,10 +4,13 @@ SECTION = "net/misc" | |||
| 4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b" |
| 6 | 6 | ||
| 7 | PR = "r1" | ||
| 8 | |||
| 7 | DEPENDS = "systemd libnl dbus dbus-glib udev wireless-tools polkit gnutls util-linux ppp" | 9 | DEPENDS = "systemd libnl dbus dbus-glib udev wireless-tools polkit gnutls util-linux ppp" |
| 8 | inherit gnome gettext | 10 | inherit gnome gettext |
| 9 | 11 | ||
| 10 | SRC_URI = "${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.bz2 \ | 12 | SRC_URI = "${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.bz2 \ |
| 13 | file://0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch \ | ||
| 11 | file://gtk-doc.make \ | 14 | file://gtk-doc.make \ |
| 12 | " | 15 | " |
| 13 | SRC_URI[md5sum] = "bc0b00b8a187762d93c50a9706b4c5c3" | 16 | SRC_URI[md5sum] = "bc0b00b8a187762d93c50a9706b4c5c3" |
