Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
From 381eaa40735385a1a60e5ab0a7daf4bb847fc2ab Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Fri, 9 Feb 2018 14:42:31 +0200
|
||||
Subject: [PATCH] src: fix build with older glibc
|
||||
|
||||
glibc before 2.19 missed the definition of IPPROTO_MH. This leads to
|
||||
build failure:
|
||||
|
||||
parser_bison.y: In function 'nft_parse':
|
||||
parser_bison.y:3793:21: error: 'IPPROTO_MH' undeclared (first use in this function)
|
||||
| MH { $$ = IPPROTO_MH; }
|
||||
^
|
||||
|
||||
Since we have a local definition of IPPROTO_MH in headers.h use that to
|
||||
fix the build.
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Upstream status: https://marc.info/?l=netfilter-devel&m=151818061103886&w=2
|
||||
|
||||
src/parser_bison.y | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/parser_bison.y b/src/parser_bison.y
|
||||
index 2e79109f4da3..578bfdc10429 100644
|
||||
--- a/src/parser_bison.y
|
||||
+++ b/src/parser_bison.y
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <rule.h>
|
||||
#include <statement.h>
|
||||
#include <expression.h>
|
||||
+#include <headers.h>
|
||||
#include <utils.h>
|
||||
#include <parser.h>
|
||||
#include <erec.h>
|
||||
--
|
||||
2.15.1
|
||||
|
||||
@@ -5,13 +5,12 @@ config BR2_PACKAGE_NFTABLES
|
||||
select BR2_PACKAGE_GMP
|
||||
select BR2_PACKAGE_LIBMNL
|
||||
select BR2_PACKAGE_LIBNFTNL
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
|
||||
help
|
||||
nftables is the project that aims to replace the existing
|
||||
{ip,ip6,arp,eb}tables framework.
|
||||
Basically, this project provides a new packet filtering framework,
|
||||
a new userspace utility and also a compatibility layer
|
||||
for {ip,ip6}tables.
|
||||
Basically, this project provides a new packet filtering
|
||||
framework, a new userspace utility and also a compatibility
|
||||
layer for {ip,ip6}tables.
|
||||
|
||||
http://www.netfilter.org/projects/nftables/index.html
|
||||
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
# From http://www.netfilter.org/projects/nftables/downloads.html#nftables-0.7
|
||||
sha1 c003fa8b63b1b44c52de345a4d84487d81865a98 nftables-0.7.tar.bz2
|
||||
# From http://www.netfilter.org/projects/nftables/downloads.html
|
||||
sha1 51fd436845718f1221ee198128656ef9055c2588 nftables-0.8.1.tar.bz2
|
||||
# Locally calculated after checking pgp signature
|
||||
# http://www.netfilter.org/projects/nftables/files/nftables-0.8.1.tar.bz2.sig
|
||||
sha256 8aead66cce70d68c70e4be917813abcbcf62811ee6de4c7761d0e34391772fc4 nftables-0.8.1.tar.bz2
|
||||
sha256 c17bc4fa5b2434c6f283ffcb2312e5bf3c7cdf5787b79505f094d8de734ac53e COPYING
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NFTABLES_VERSION = 0.7
|
||||
NFTABLES_VERSION = 0.8.1
|
||||
NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2
|
||||
NFTABLES_SITE = http://www.netfilter.org/projects/nftables/files
|
||||
NFTABLES_DEPENDENCIES = gmp libmnl libnftnl host-bison host-flex \
|
||||
host-pkgconf $(if $(BR2_NEEDS_GETTEXT),gettext)
|
||||
NFTABLES_LICENSE = GPLv2
|
||||
host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
||||
NFTABLES_LICENSE = GPL-2.0
|
||||
NFTABLES_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
@@ -22,9 +22,6 @@ endif
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy)
|
||||
NFTABLES_LIBS += -ljansson -lm
|
||||
endif
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_XML),yy)
|
||||
NFTABLES_LIBS += -lmxml -lpthread
|
||||
endif
|
||||
|
||||
NFTABLES_CONF_ENV = \
|
||||
ac_cv_prog_CONFIG_PDF=no \
|
||||
|
||||
Reference in New Issue
Block a user