* [Buildroot] [PATCH 1/2] net-tools: bump version to ea3935
@ 2016-12-22 20:02 James Knight
2016-12-22 20:02 ` [Buildroot] [PATCH 2/2] net-tools: switch to git-http protocol James Knight
2016-12-22 20:29 ` [Buildroot] [PATCH 1/2] net-tools: bump version to ea3935 Baruch Siach
0 siblings, 2 replies; 4+ messages in thread
From: James Knight @ 2016-12-22 20:02 UTC (permalink / raw)
To: buildroot
The following bumps the hash for net-tools package to a newer commit.
The primary reason for this bump is to fix build issues observed when
building for a Linux 4.8 target or higher. The previous version may
result in the following error message:
In file included from .../sysroot/usr/include/linux/if_tunnel.h:6:0,
from iptunnel.c:34:
.../sysroot/usr/include/linux/ip.h:85:8: error: redefinition of ?struct iphdr?
struct iphdr {
^
In file included from iptunnel.c:29:0:
.../sysroot/usr/include/netinet/ip.h:44:8: note: originally defined here
struct iphdr
^
...-gcc -O2 -g -Wall -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I.../build/net-tools-3f170bff115303e92319791cbd56371e33dcbf6d/include -Ilib -c ipmaddr.c
Makefile:94: recipe for target 'iptunnel.o' failed
make[2]: *** [iptunnel.o] Error 1
The specific commits below address the above issue:
iptunnel: fix building w/older linux headers
ea3935bd7c0f36c86c40e5785326698fa3336c6a
iptunnel: drop netinet/ip.h include
45d573a89386c934d3ebac499d00c1670437813b
Signed-off-by: James Knight <james.knight@rockwellcollins.com>
---
package/net-tools/net-tools.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/net-tools/net-tools.mk b/package/net-tools/net-tools.mk
index f0c61d5..dd9be01 100644
--- a/package/net-tools/net-tools.mk
+++ b/package/net-tools/net-tools.mk
@@ -4,7 +4,7 @@
#
################################################################################
-NET_TOOLS_VERSION = 3f170bff115303e92319791cbd56371e33dcbf6d
+NET_TOOLS_VERSION = ea3935bd7c0f36c86c40e5785326698fa3336c6a
NET_TOOLS_SITE = git://git.code.sf.net/p/net-tools/code
NET_TOOLS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
NET_TOOLS_LICENSE = GPLv2+
--
2.8.4.windows.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] net-tools: switch to git-http protocol
2016-12-22 20:02 [Buildroot] [PATCH 1/2] net-tools: bump version to ea3935 James Knight
@ 2016-12-22 20:02 ` James Knight
2016-12-22 20:29 ` [Buildroot] [PATCH 1/2] net-tools: bump version to ea3935 Baruch Siach
1 sibling, 0 replies; 4+ messages in thread
From: James Knight @ 2016-12-22 20:02 UTC (permalink / raw)
To: buildroot
Move to the http-provided protocol to aid in environments where a
corporate firewall has the Git port restricted.
Signed-off-by: James Knight <james.knight@rockwellcollins.com>
---
package/net-tools/net-tools.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/net-tools/net-tools.mk b/package/net-tools/net-tools.mk
index dd9be01..745ddde 100644
--- a/package/net-tools/net-tools.mk
+++ b/package/net-tools/net-tools.mk
@@ -5,7 +5,8 @@
################################################################################
NET_TOOLS_VERSION = ea3935bd7c0f36c86c40e5785326698fa3336c6a
-NET_TOOLS_SITE = git://git.code.sf.net/p/net-tools/code
+NET_TOOLS_SITE = http://git.code.sf.net/p/net-tools/code
+NET_TOOLS_SITE_METHOD = git
NET_TOOLS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
NET_TOOLS_LICENSE = GPLv2+
NET_TOOLS_LICENSE_FILES = COPYING
--
2.8.4.windows.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] net-tools: bump version to ea3935
2016-12-22 20:02 [Buildroot] [PATCH 1/2] net-tools: bump version to ea3935 James Knight
2016-12-22 20:02 ` [Buildroot] [PATCH 2/2] net-tools: switch to git-http protocol James Knight
@ 2016-12-22 20:29 ` Baruch Siach
2016-12-22 20:40 ` James Knight
1 sibling, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2016-12-22 20:29 UTC (permalink / raw)
To: buildroot
Hi James,
On Thu, Dec 22, 2016 at 03:02:17PM -0500, James Knight wrote:
> The following bumps the hash for net-tools package to a newer commit.
> The primary reason for this bump is to fix build issues observed when
> building for a Linux 4.8 target or higher. The previous version may
> result in the following error message:
>
> In file included from .../sysroot/usr/include/linux/if_tunnel.h:6:0,
> from iptunnel.c:34:
> .../sysroot/usr/include/linux/ip.h:85:8: error: redefinition of ?struct iphdr?
> struct iphdr {
> ^
> In file included from iptunnel.c:29:0:
> .../sysroot/usr/include/netinet/ip.h:44:8: note: originally defined here
> struct iphdr
> ^
> ...-gcc -O2 -g -Wall -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I.../build/net-tools-3f170bff115303e92319791cbd56371e33dcbf6d/include -Ilib -c ipmaddr.c
> Makefile:94: recipe for target 'iptunnel.o' failed
> make[2]: *** [iptunnel.o] Error 1
>
> The specific commits below address the above issue:
>
> iptunnel: fix building w/older linux headers
> ea3935bd7c0f36c86c40e5785326698fa3336c6a
> iptunnel: drop netinet/ip.h include
> 45d573a89386c934d3ebac499d00c1670437813b
These commits seem to conflict with
0002-iptunnel.c-do-not-include-netinet-ip.h.patch.
baruch
> Signed-off-by: James Knight <james.knight@rockwellcollins.com>
> ---
> package/net-tools/net-tools.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/net-tools/net-tools.mk b/package/net-tools/net-tools.mk
> index f0c61d5..dd9be01 100644
> --- a/package/net-tools/net-tools.mk
> +++ b/package/net-tools/net-tools.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -NET_TOOLS_VERSION = 3f170bff115303e92319791cbd56371e33dcbf6d
> +NET_TOOLS_VERSION = ea3935bd7c0f36c86c40e5785326698fa3336c6a
> NET_TOOLS_SITE = git://git.code.sf.net/p/net-tools/code
> NET_TOOLS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
> NET_TOOLS_LICENSE = GPLv2+
--
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] 4+ messages in thread
* [Buildroot] [PATCH 1/2] net-tools: bump version to ea3935
2016-12-22 20:29 ` [Buildroot] [PATCH 1/2] net-tools: bump version to ea3935 Baruch Siach
@ 2016-12-22 20:40 ` James Knight
0 siblings, 0 replies; 4+ messages in thread
From: James Knight @ 2016-12-22 20:40 UTC (permalink / raw)
To: buildroot
Baruch,
On Thu, Dec 22, 2016 at 3:29 PM, Baruch Siach <baruch@tkos.co.il> wrote:
>
> These commits seem to conflict with
> 0002-iptunnel.c-do-not-include-netinet-ip.h.patch.
Gah! Seems when I synchronized my net-tools package I only checked the
history on the `net-tools.mk` file instead of the `net-tools` package
itself. This made my overlook Vicente's existing commits (which assume
are the patches which have been pulled upstream now). My bad.
If desired, I could queue up a proper commit which bumps the version
hash and properly drops the already-pulled patches (with some addition
checks). For now I'll just mark the patches as rejected.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-12-22 20:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-22 20:02 [Buildroot] [PATCH 1/2] net-tools: bump version to ea3935 James Knight
2016-12-22 20:02 ` [Buildroot] [PATCH 2/2] net-tools: switch to git-http protocol James Knight
2016-12-22 20:29 ` [Buildroot] [PATCH 1/2] net-tools: bump version to ea3935 Baruch Siach
2016-12-22 20:40 ` James Knight
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.