* [Buildroot] [PATCH 1/1] pixiewps: new package
@ 2018-04-12 9:42 Guillaume W. Bres
2018-04-12 11:30 ` Thomas Petazzoni
0 siblings, 1 reply; 6+ messages in thread
From: Guillaume W. Bres @ 2018-04-12 9:42 UTC (permalink / raw)
To: buildroot
Pixie WPS is a tool to audit networks against so called "Pixie dust" attacks.
Generic C based package, easy to build & cross compile.
Build test passed for the 7 default toolchains.
Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/pixiewps/Config.in | 8 ++++++++
package/pixiewps/pixiewps.hash | 3 +++
package/pixiewps/pixiewps.mk | 14 ++++++++++++++
5 files changed, 27 insertions(+)
create mode 100644 package/pixiewps/Config.in
create mode 100644 package/pixiewps/pixiewps.hash
create mode 100644 package/pixiewps/pixiewps.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 00cbaef..054ed09 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -794,6 +794,7 @@ F: package/sdl2/
N: Guillaume William Brs <guillaume.bressaix@gmail.com>
F: package/liquid-dsp/
+F: package/pixiewps/
N: Guo Ren <ren_guo@c-sky.com>
F: arch/Config.in.csky
diff --git a/package/Config.in b/package/Config.in
index e48d0b4..132372c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1809,6 +1809,7 @@ endif
source "package/phidgetwebservice/Config.in"
source "package/phytool/Config.in"
source "package/pimd/Config.in"
+ source "package/pixiewps/Config.in"
source "package/pound/Config.in"
source "package/pppd/Config.in"
source "package/pptp-linux/Config.in"
diff --git a/package/pixiewps/Config.in b/package/pixiewps/Config.in
new file mode 100644
index 0000000..013e7f6
--- /dev/null
+++ b/package/pixiewps/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PIXIEWPS
+ bool "pixiewps"
+
+ help
+ Pixie WPS is a C based tool to audit networks
+ against the so called "Pixie Dust" attack.
+
+ https://github.com/wiire-a/pixiewps/wiki
diff --git a/package/pixiewps/pixiewps.hash b/package/pixiewps/pixiewps.hash
new file mode 100644
index 0000000..bb56630
--- /dev/null
+++ b/package/pixiewps/pixiewps.hash
@@ -0,0 +1,3 @@
+# locally computed
+sha256 d3d3cf57851e3e734fb1797aa078239ef161d1cbeffc4438497d58a425ef22a2 pixiewps-9e5bdc6c86c8487b2a6107d5ab3559ed5c738c59.tar.gz
+sha256 ccb349b4132ed7737f25e5adebfe61f3d52dca33708df1e50352320438d1d4c2 LICENSE.md
diff --git a/package/pixiewps/pixiewps.mk b/package/pixiewps/pixiewps.mk
new file mode 100644
index 0000000..15e07ea
--- /dev/null
+++ b/package/pixiewps/pixiewps.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# pixiewps
+#
+################################################################################
+
+PIXIEWPS_VERSION = 9e5bdc6c86c8487b2a6107d5ab3559ed5c738c59
+PIXIEWPS_SITE = $(call github,wiire-a,pixiewps,$(PIXIEWPS_VERSION))
+PIXIEWPS_LICENSE = GPL-2.0+
+PIXIEWPS_LICENSE_FILES = LICENSE.md
+
+PIXIEWPS_SUBDIR = src
+
+$(eval $(generic-package))
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/1] pixiewps: new package
2018-04-12 9:42 [Buildroot] [PATCH 1/1] pixiewps: new package Guillaume W. Bres
@ 2018-04-12 11:30 ` Thomas Petazzoni
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2018-04-12 11:30 UTC (permalink / raw)
To: buildroot
Hello,
Thanks for this new version. However, you forgot to take into account
some comments from the previous version, including a major one.
On Thu, 12 Apr 2018 11:42:28 +0200, Guillaume W. Bres wrote:
> diff --git a/package/pixiewps/Config.in b/package/pixiewps/Config.in
> new file mode 100644
> index 0000000..013e7f6
> --- /dev/null
> +++ b/package/pixiewps/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_PIXIEWPS
> + bool "pixiewps"
> +
Unneeded empty line.
> +PIXIEWPS_VERSION = 9e5bdc6c86c8487b2a6107d5ab3559ed5c738c59
> +PIXIEWPS_SITE = $(call github,wiire-a,pixiewps,$(PIXIEWPS_VERSION))
> +PIXIEWPS_LICENSE = GPL-2.0+
> +PIXIEWPS_LICENSE_FILES = LICENSE.md
> +
> +PIXIEWPS_SUBDIR = src
> +
> +$(eval $(generic-package))
The most important comment: this package doesn't do anything. A
generic-package without any BUILD_CMDS and INSTALL_TARGET_CMDS will not
do anything besides downloading the source code and extracting it.
How did you test this ? I don't see how it can produce anything useful.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/1] pixiewps: new package
2018-04-12 21:42 ` Thomas Petazzoni
@ 2018-04-13 8:00 ` Guillaume W. Bres
0 siblings, 0 replies; 6+ messages in thread
From: Guillaume W. Bres @ 2018-04-13 8:00 UTC (permalink / raw)
To: buildroot
Thank you Thomas,
Le 12/04/2018 ? 23:42, Thomas Petazzoni a ?crit?:
> IXIEWPS_SUBDIR was never defined anywhere, and in fact was not needed
> at all.
yes that was faulty, worked ok but produced an error message, my bad.
Thank you for removing the non needed line
On 12/04/2018 at 23:42, Thomas Petazzoni wrote:
> Changelog information should not go in the commit log, but...
ok I will keep that in mind for next time
--
Guillaume W. Bres,
Software engineer,
NoiseXT,
Elancourt - France
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/1] pixiewps: new package
2018-04-12 13:18 Guillaume W. Bres
2018-04-12 14:42 ` Baruch Siach
@ 2018-04-12 21:42 ` Thomas Petazzoni
2018-04-13 8:00 ` Guillaume W. Bres
1 sibling, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2018-04-12 21:42 UTC (permalink / raw)
To: buildroot
Hello,
Thanks for this new version. I applied it, but after doing a number of
changes.
On Thu, 12 Apr 2018 15:18:51 +0200, Guillaume W. Bres wrote:
> Pixie WPS is a C based tool to audit networks
> against so called "Pixie Dust" attacks.
>
> Generic C package, easy to cross-compile,
> build tests passed for the 7 default toolchains.
>
> Sorry my previous submission was somehow corrupted.
> Tested on RPI1 & RPI3.
Changelog information should not go in the commit log, but...
> Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
> ---
... here.
> diff --git a/package/pixiewps/pixiewps.mk b/package/pixiewps/pixiewps.mk
> new file mode 100644
> index 0000000..746fa71
> --- /dev/null
> +++ b/package/pixiewps/pixiewps.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# pixiewps
> +#
> +################################################################################
> +
> +PIXIEWPS_VERSION = 9e5bdc6c86c8487b2a6107d5ab3559ed5c738c59
> +PIXIEWPS_SITE = $(call github,wiire-a,pixiewps,$(PIXIEWPS_VERSION))
> +PIXIEWPS_LICENSE = GPL-2.0+
This was not correct, the license is GPL-3.0+
> +PIXIEWPS_LICENSE_FILES = LICENSE.md
> +
> +define PIXIEWPS_BUILD_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) CC=$(TARGET_CC) -C $(@D)
> +endef
> +
> +define PIXIEWPS_INSTALL_TARGET_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) \
> + prefix=/usr -C $(@D)/$(PIXIEWPS_SUBDIR) install
prefix= doesn't have any effect, and the binary was installed in
usr/local/bin because of this. You should have used PREFIX= instead.
PIXIEWPS_SUBDIR was never defined anywhere, and in fact was not needed
at all.
I've fixed those issues and applied to master. Thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/1] pixiewps: new package
2018-04-12 13:18 Guillaume W. Bres
@ 2018-04-12 14:42 ` Baruch Siach
2018-04-12 21:42 ` Thomas Petazzoni
1 sibling, 0 replies; 6+ messages in thread
From: Baruch Siach @ 2018-04-12 14:42 UTC (permalink / raw)
To: buildroot
Hi Guillaume,
On Thu, Apr 12, 2018 at 03:18:51PM +0200, Guillaume W. Bres wrote:
> diff --git a/package/pixiewps/pixiewps.mk b/package/pixiewps/pixiewps.mk
> new file mode 100644
> index 0000000..746fa71
> --- /dev/null
> +++ b/package/pixiewps/pixiewps.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# pixiewps
> +#
> +################################################################################
> +
> +PIXIEWPS_VERSION = 9e5bdc6c86c8487b2a6107d5ab3559ed5c738c59
> +PIXIEWPS_SITE = $(call github,wiire-a,pixiewps,$(PIXIEWPS_VERSION))
> +PIXIEWPS_LICENSE = GPL-2.0+
> +PIXIEWPS_LICENSE_FILES = LICENSE.md
> +
> +define PIXIEWPS_BUILD_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) CC=$(TARGET_CC) -C $(@D)
> +endef
> +
> +define PIXIEWPS_INSTALL_TARGET_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) \
> + prefix=/usr -C $(@D)/$(PIXIEWPS_SUBDIR) install
Where is PIXIEWPS_SUBDIR defined?
> +endef
> +
> +$(eval $(generic-package))
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/1] pixiewps: new package
@ 2018-04-12 13:18 Guillaume W. Bres
2018-04-12 14:42 ` Baruch Siach
2018-04-12 21:42 ` Thomas Petazzoni
0 siblings, 2 replies; 6+ messages in thread
From: Guillaume W. Bres @ 2018-04-12 13:18 UTC (permalink / raw)
To: buildroot
Pixie WPS is a C based tool to audit networks
against so called "Pixie Dust" attacks.
Generic C package, easy to cross-compile,
build tests passed for the 7 default toolchains.
Sorry my previous submission was somehow corrupted.
Tested on RPI1 & RPI3.
Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/pixiewps/Config.in | 7 +++++++
package/pixiewps/pixiewps.hash | 3 +++
package/pixiewps/pixiewps.mk | 21 +++++++++++++++++++++
5 files changed, 33 insertions(+)
create mode 100644 package/pixiewps/Config.in
create mode 100644 package/pixiewps/pixiewps.hash
create mode 100644 package/pixiewps/pixiewps.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 00cbaef..054ed09 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -794,6 +794,7 @@ F: package/sdl2/
N: Guillaume William Brs <guillaume.bressaix@gmail.com>
F: package/liquid-dsp/
+F: package/pixiewps/
N: Guo Ren <ren_guo@c-sky.com>
F: arch/Config.in.csky
diff --git a/package/Config.in b/package/Config.in
index e48d0b4..132372c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1809,6 +1809,7 @@ endif
source "package/phidgetwebservice/Config.in"
source "package/phytool/Config.in"
source "package/pimd/Config.in"
+ source "package/pixiewps/Config.in"
source "package/pound/Config.in"
source "package/pppd/Config.in"
source "package/pptp-linux/Config.in"
diff --git a/package/pixiewps/Config.in b/package/pixiewps/Config.in
new file mode 100644
index 0000000..d0b9b99
--- /dev/null
+++ b/package/pixiewps/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PIXIEWPS
+ bool "pixiewps"
+ help
+ Pixie WPS is a C based tool to audit networks
+ against the so called "Pixie Dust" attack.
+
+ https://github.com/wiire-a/pixiewps/wiki
diff --git a/package/pixiewps/pixiewps.hash b/package/pixiewps/pixiewps.hash
new file mode 100644
index 0000000..bb56630
--- /dev/null
+++ b/package/pixiewps/pixiewps.hash
@@ -0,0 +1,3 @@
+# locally computed
+sha256 d3d3cf57851e3e734fb1797aa078239ef161d1cbeffc4438497d58a425ef22a2 pixiewps-9e5bdc6c86c8487b2a6107d5ab3559ed5c738c59.tar.gz
+sha256 ccb349b4132ed7737f25e5adebfe61f3d52dca33708df1e50352320438d1d4c2 LICENSE.md
diff --git a/package/pixiewps/pixiewps.mk b/package/pixiewps/pixiewps.mk
new file mode 100644
index 0000000..746fa71
--- /dev/null
+++ b/package/pixiewps/pixiewps.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# pixiewps
+#
+################################################################################
+
+PIXIEWPS_VERSION = 9e5bdc6c86c8487b2a6107d5ab3559ed5c738c59
+PIXIEWPS_SITE = $(call github,wiire-a,pixiewps,$(PIXIEWPS_VERSION))
+PIXIEWPS_LICENSE = GPL-2.0+
+PIXIEWPS_LICENSE_FILES = LICENSE.md
+
+define PIXIEWPS_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) CC=$(TARGET_CC) -C $(@D)
+endef
+
+define PIXIEWPS_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) \
+ prefix=/usr -C $(@D)/$(PIXIEWPS_SUBDIR) install
+endef
+
+$(eval $(generic-package))
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-04-13 8:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-12 9:42 [Buildroot] [PATCH 1/1] pixiewps: new package Guillaume W. Bres
2018-04-12 11:30 ` Thomas Petazzoni
2018-04-12 13:18 Guillaume W. Bres
2018-04-12 14:42 ` Baruch Siach
2018-04-12 21:42 ` Thomas Petazzoni
2018-04-13 8:00 ` Guillaume W. Bres
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.