hostapd 0.7.3: convert to libnl2
PATCH 1/4 hostapd 0.7.3: convert to libnl2
--- recipes/hostap/hostap-daemon-0.7.3/defconfig | 1 + recipes/hostap/hostap-daemon_0.7.3.bb | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-)
recipes/hostap/hostap-daemon-0.7.3/defconfig +1 -0
@@ -24,6 +24,7 @@ CONFIG_DRIVER_PRISM54=y # Driver interface for drivers using the nl80211 kernel interface CONFIG_DRIVER_NL80211=y +CONFIG_LIBNL20=y # driver_nl80211.c requires a rather new libnl (version 1.1) which may not be # shipped with your distribution yet. If that is the case, you need to build # newer libnl version and point the hostapd build to use it.
recipes/hostap/hostap-daemon_0.7.3.bb +4 -3
@@ -3,8 +3,8 @@ HOMEPAGE = "http://hostap.epitest.fi" SECTION = "kernel/userland" PRIORITY = "optional" LICENSE = "GPL" -DEPENDS = "libnl openssl" -PR = "r0" +DEPENDS = "libnl2 openssl" +PR = "r1" DEFAULT_PREFERENCE = "-1"
@@ -21,6 +21,7 @@ INITSCRIPT_NAME=hostapd do_configure() { install -m 0644 ${WORKDIR}/defconfig ${S}/.config + echo 'CFLAGS += "-I${STAGING_INCDIR}/libnl2"' >> ${S}/.config } do_compile() {
@@ -35,4 +36,4 @@ do_install() { install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd } -CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" +CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
Signature · 1 line
1.7.0.4
PATCH 2/4 bug20: add MACHINE_EXTRA_RRECOMMENDS
--- conf/machine/bug20.conf | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
conf/machine/bug20.conf +2 -0
@@ -13,6 +13,8 @@ XSERVER = "xserver-xorg \ xf86-video-omapfb \ xf86-input-keyboard" +MACHINE_EXTRA_RRECOMMENDS = "marvell-gspi-fw marvell-sdio-fw kernel-modules" + # Only has DVI connector for external screen GUI_MACHINE_CLASS = "bigscreen"
Signature · 1 line
1.7.0.4
Re: [PATCH 2/4] bug20: add MACHINE_EXTRA_RRECOMMENDS
Hello.
Quoted 1 line · Denis 'GNUtoo' Carikli
Signed-off-by Denis 'GNUtoo' Carikli <[email protected]>
regards
Stefan Schmidt
PATCH 3/4 task-bug: make it compatible with bug 1.x, machine arch ${PN}
In reply to Denis 'GNUtoo' CarikliSome packages like bug2v4l2 are specific to bug 2.0, so we need
to machine arch the package depending on them.
We also need to
--- recipes/tasks/task-bug.bb | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
recipes/tasks/task-bug.bb +5 -4
@@ -1,12 +1,14 @@ # Copyright (C) 2011 Bug Labs, Inc -PR = "r87" +PR = "r88" ALLOW_EMPTY = "1" PACKAGES += "${PN}-java ${PN}-java-osgi ${PN}-audio ${PN}-devlangs ${PN}-x11 ${PN}-network ${PN}-x11-debug ${PN}-debug" -RDEPENDS_${PN} = "kernel-modules \ +PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}" + +RDEPENDS_${PN} = "${MACHINE_EXTRA_RRECOMMENDS} \ bug-udev \ repo-feed-configs \ diffutils \
@@ -19,12 +21,11 @@ RDEPENDS_${PN} = "kernel-modules \ nano \ lsof \ file \ - bug2v4l2 \ " +RDEPENDS_${PN}_append_bug20 = "bug2v4l2" RDEPENDS_${PN}-network = "\ dnsmasq \ - marvell-sdio-fw \ hostap-daemon \ iptables \ eject \
Signature · 1 line
1.7.0.4
Re: [PATCH 3/4] task-bug: make it compatible with bug 1.x, machine arch ${PN}
Hello.
Quoted 5 lines · Denis 'GNUtoo' Carikli
Some packages like bug2v4l2 are specific to bug 2.0, so we need
to machine arch the package depending on them.
We also need toSigned-off-by Denis 'GNUtoo' Carikli <[email protected]>
Please fix up the commit message. Otherwise:
regards
Stefan Schmidt
PATCH 4/4 com.buglabs.bug.base: add support for bug 1.x
In reply to Denis 'GNUtoo' CarikliWithout that fix, it fails to fetch the now gone hirop branch
--- recipes/buglabs-osgi/com.buglabs.bug.base.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/buglabs-osgi/com.buglabs.bug.base.bb +2 -2
@@ -1,13 +1,13 @@ require bug-osgi.inc -PR = "${INC_PR}.10+svnr${SRCREV}" +PR = "${INC_PR}.11+svnr${SRCREV}" EXTRA_CP += "servlet-2.3.1" DEPENDS += "com.buglabs.common com.buglabs.bug.jni.input com.buglabs.bug.jni.common servlet2.3 com.buglabs.osgi.http" -SUBMODULE_bug = "hirop" SUBMODULE_bug20 = "molly" SUBMODULE_beagleboard = "beagle" SRC_URI = "svn://bugcamp.net/bug/trunk;module=${PN}.${SUBMODULE};proto=svn " +SRC_URI_bug = "svn://bugcamp.net/bug/tags/releases/R1.4.3;module=${PN};proto=svn" PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.7.0.4
Re: [PATCH 4/4] com.buglabs.bug.base: add support for bug 1.x
Hello.
Quoted 3 lines · Denis 'GNUtoo' Carikli
Without that fix, it fails to fetch the now gone hirop branch
Signed-off-by Denis 'GNUtoo' Carikli <[email protected]>
Thanks for getting this in shape for bug1.x
regards
Stefan Schmidt
Hello.
Quoted 1 line · Denis 'GNUtoo' Carikli
Signed-off-by Denis 'GNUtoo' Carikli <[email protected]>
Thanks for helping with the libnl2 stuff.
regards
Stefan Schmidt