add dependency on Linux headers >= 3.14
PATCH 1/1 add dependency on Linux headers >= 3.14
Iptraf-ng is compatible with Linux 3.14 as the last
introduced various packet types like : PACKET_KERNEL and PACKET_USERSPACE[1].
[1] https://elixir.bootlin.com/linux/v3.14-rc1/source/include/uapi/linux/if_packet.h
--- package/iptraf-ng/Config.in | 4 ++++ 1 file changed, 4 insertions(+)
package/iptraf-ng/Config.in +4 -0
@@ -1,6 +1,7 @@ config BR2_PACKAGE_IPTRAF_NG bool "iptraf-ng" depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 select BR2_PACKAGE_NCURSES help IPTraf-ng is a console-based network monitoring program for
@@ -10,3 +11,6 @@ config BR2_PACKAGE_IPTRAF_NG IPTraf-ng is a fork of original IPTraf v3.0.0 (http://iptraf.seul.org). + +comment "iptraf-ng needs headers >= 3.14" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
Signature · 1 line
2.11.0
PATCH 1/1 add dependency on Linux headers >= 3.14
Hello,
The commit title lacks the "package/iptraf-ng:" prefix.
Quoted 2 lines · On Thu, 27 Aug 2020 10:49:54 +0200 Jugurtha BELKALEM…
Iptraf-ng is compatible with Linux 3.14 as the last
introduced various packet types like :PACKET_KERNELand PACKET_USERSPACE[1].
I think the wording is not very clear. What about:
"iptraf-ng uses a number of definitions (PACKET_KERNEL, PACKET_USERSPACE) provided by the Linux kernel headers, which were introduced in Linux 3.14, so we need to add a dependency on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14"
Please add:
"""
Fixes:
http://autobuild.buildroot.org/some reference to an autobuilder failure
"""
Quoted 13 lines
package/iptraf-ng/Config.in +1
-0@@ -1,6 +1,7 @@ config BR2_PACKAGE_IPTRAF_NG bool "iptraf-ng" depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 select BR2_PACKAGE_NCURSES help IPTraf-ng is a console-based network monitoring program for
package/iptraf-ng/Config.in config BR2_PACKAGE_IPTRAF_NG · line 15
Quoted 5 lines
package/iptraf-ng/Config.in +2
-0@@ -10,3 +11,6 @@ config BR2_PACKAGE_IPTRAF_NG IPTraf-ng is a fork of original IPTraf v3.0.0 (http://iptraf.seul.org). + +comment "iptraf-ng needs headers >= 3.14"
comment "iptraf-ng needs a toolchain w/ kernel headers >= 3.14"
package/iptraf-ng/Config.in config BR2_PACKAGE_IPTRAF_NG · line 16
Quoted 1 line
package/iptraf-ng/Config.in +1
-0+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
you need:
depends on BR2_USE_MMU
so that the comment doesn't show up when MMU support is not available.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com