Commit Graph

17 Commits

Author SHA1 Message Date
Zhixiong Chi 47ab72fca1 hostapd: Security Advisory-CVE-2016-4476
Add CVE-2016-4476 patch for avoiding \n and \r characters in passphrase
parameters, which allows remote attackers to cause a denial of service
(daemon outage) via a crafted WPS operation.
patches came from http://w1.fi/security/2016-1/

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:19:55 +02:00
Mariano Lopez 6bdf80f70b hostapd: Fix source and build directory
The current recipe make no difference between
the source and the build directory. There are
source files outside this directory and isn't
possible to patch these files.

This changes adds the build directory path to
the recipe, now is possible to patch files in
other directories, if required.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04 14:55:18 +01:00
fan.xin fcb7b50851 hostapd: upgrade 2.4 -> 2.5
1. upgrade to 2.5
2. update HOMEPAGE and SRC_URI to use w1.fi instead

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:43:22 +01:00
Otavio Salvador a73d46176d hostapd: Drop DEFAULT_PREFERRENCE setting
The 2.4 version is the only version available so makes no sense to set
it as lower preference.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-18 11:52:30 +02:00
Otavio Salvador ec287c69f8 hostapd: Remove add-sysroot-to-gcc.patch
The patch has not been available in the 2.4 version form and thus the
recipe was unbuildable.

Fix by removing the patch file, which is unused, and the reference for
it from the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-18 11:52:30 +02:00
Li xin c8f37d873a hostapd: upgrade 2.2 -> 2.4
Update the checksum of COPYING,since the date in it has been changed,
but the LICENSE has not been changed.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-18 11:52:30 +02:00
Roy Li 7ca0d80cb6 hostapd: consider sysroot when search header files
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 21:31:02 +02:00
Jackie Huang 8da5b698fc hostapd: several fixes for init script
* restart: The stop may delay a few seconds according to different wireless
  devices, on debian/ubuntu, the init script directly sleep 8 seconds
  to wait the stop complete, here we add a delay function (sleep in a loop)
  to ensure the stop is completed before start.
* add status command.
* add --oknodo for stop so it will not break restart if there is no
  running process.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-24 11:59:48 +01:00
Chen Qi cf2ab9ecbf hostapd: use ${PN} for SYSTEMD_SERVICE
Use ${PN} for SYSTEMD_SERVICE to avoid errors in case of multilib.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Chen Qi 8f09c03e47 hostapd: add systemd support
Add hostapd.service file.
The file mostly comes from Fedora20.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:05 +02:00
Roy Li 31f6f1aa6c hostapd: uprev to 2.2
Rename hostap-daemon as hostapd and uprev it to 2.2

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 15:02:28 +02:00
Matthieu CRAPET c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Martin Jansa 4d62e7f575 recipes: Remove PR = r0 from all recipes
* Remove all PR = "r0" from all .bb files in meta-oe repo. This was done
  with the command sed -e '/^PR.*=.*r0\"/d' meta*/recipes*/*/*.bb -i

* We've switching to the PR server, PR bumps are no longer needed and
  this saves people either accidentally bumping them or forgetting to
  remove the lines (r0 is the default anyway).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-01 15:33:16 +01:00
Martin Jansa a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Damien RANNOU ccda63446b HostAP-daemon patch to make it compile with libnl 3.2
Signed-off-by: Damien RANNOU <damien.rannou@diateam.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-03 23:25:45 +01:00
Paul Eggleton 8ea80933fc Remove PRIORITY
We don't set this field in recipes anymore.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-28 13:57:38 +00:00
Denis Carikli 7839b41773 Add hostapd 1.0 recipe
This recipe was based on the hostap-daemon_0.7.3.bb recipe in openembedded-classic
  at commit c1f52c58deee65c7498a3b3e82b4cc3ae5231b0e

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:09:47 +02:00