Skip to contentSkip to conversation

busybox: Upgrade busybox 1.29 to 1.30

PATCH New Hoang Anh Tuan 1 participant 2 messages Feb 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 busybox: Upgrade busybox 1.29 to 1.30

Upgrade busybox because busybox in oe has changed

---
 recipes-tweaks/busybox/{busybox_1.29%.bbappend => busybox_1.30%.bbappend} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-tweaks/busybox/{busybox_1.29%.bbappend => busybox_1.30%.bbappend} (100%)
recipes-tweaks/busybox/busybox_1.30%.bbappend renamed from recipes-tweaks/busybox/busybox_1.29%.bbappend +0 -0
similarity index 100%
rename from recipes-tweaks/busybox/busybox_1.29%.bbappend
rename to recipes-tweaks/busybox/busybox_1.30%.bbappend
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 xtables-addons: Update patches to build on kernel 4.18+

Import patches from https://github.com/openwrt/packages/tree/master/net/xtables-addons/patches

002-fix-kernel-version-detection.patch has been changed to 001-fix-kernel-version-detection.patch fix-to-build-linux-v4.15-and-later.patch is not necessary

---
 .../files/001-fix-kernel-version-detection.patch   |   11 +
 .../files/002-fix-kernel-version-detection.patch   | 1954 --------------------
 .../files/100-add-rtsp-conntrack.patch             |  266 ++-
 .../files/200-add-lua-packetscript.patch           |    2 +-
 .../files/201-fix-lua-packetscript.patch           |   46 +-
 .../files/fix-to-build-linux-v4.15-and-later.patch |   25 -
 recipes-core/xtables-addons/xtables-addons_3.2.bb  |    2 +-
 7 files changed, 291 insertions(+), 2015 deletions(-)
 create mode 100644 recipes-core/xtables-addons/files/001-fix-kernel-version-detection.patch
 delete mode 100644 recipes-core/xtables-addons/files/002-fix-kernel-version-detection.patch
 delete mode 100644 recipes-core/xtables-addons/files/fix-to-build-linux-v4.15-and-later.patch
recipes-core/xtables-addons/files/001-fix-kernel-version-detection.patch new file +11 -0
new file mode 100644
index 0000000..775ccf6
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -44,7 +44,7 @@ regular_CFLAGS="-Wall -Waggregate-return
+ 
+ if test -n "$kbuilddir"; then
+ 	AC_MSG_CHECKING([kernel version that we will build against])
+-	krel="$(make -sC "$kbuilddir" M=$PWD kernelrelease | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"
++	krel="$(make -sC "$kbuilddir" M=$PWD kernelversion | $AWK -v 'FS=[[^0-9.]]' '{print $1; exit}')"
+ 	save_IFS="$IFS"
+ 	IFS='.'
+ 	set x $krel
recipes-core/xtables-addons/files/002-fix-kernel-version-detection.patch deleted +0 -1954

1,954 lines not on this page · raw message

recipes-core/xtables-addons/files/100-add-rtsp-conntrack.patch +236 -30

398 lines not on this page · raw message

recipes-core/xtables-addons/files/200-add-lua-packetscript.patch +1 -1
index 8bc30a7..33d0d74 100644
@@ -18134,7 +18134,7 @@
 +
 --- a/extensions/Kbuild
 +++ b/extensions/Kbuild
-@@ -29,6 +29,7 @@ obj-${build_pknock}      += pknock/
+@@ -27,6 +27,7 @@ obj-${build_pknock}      += pknock/
  obj-${build_psd}         += xt_psd.o
  obj-${build_quota2}      += xt_quota2.o
  obj-${build_rtsp}        += rtsp/
recipes-core/xtables-addons/files/201-fix-lua-packetscript.patch +42 -4

74 lines not on this page · raw message

recipes-core/xtables-addons/files/fix-to-build-linux-v4.15-and-later.patch deleted +0 -25
deleted file mode 100644
index 2117f84..0000000
@@ -1,25 +0,0 @@
-Use linux/uaccess.h instead of asm/uaccess.h to solve below error:
--- snip --
-| In file included from .../xtables-addons-2.14/extensions/LUA/xt_LUA_target.c:22:0:
-| .../kernel-source/arch/x86/include/asm/uaccess.h: In function 'set_fs':
-| .../kernel-source/arch/x86/include/asm/uaccess.h:32:9: error: dereferencing pointer to incomplete type 'struct task_struct'
-|   current->thread.addr_limit = fs;
-|          ^~
--- snip --
-
-Ref: https://lkml.org/lkml/2017/9/30/189
-
-Upstream-Status: Pending
-
-Signed-off-by: Jagadeesh Krishnanjanappa <[email protected]>
---- xtables-addons-2.14/extensions/LUA/xt_LUA_target.c_org	2018-02-23 00:07:29.868045854 +0530
-+++ xtables-addons-2.14/extensions/LUA/xt_LUA_target.c	2018-02-23 00:06:44.736093557 +0530
-@@ -19,7 +19,7 @@
- #include <linux/kernel.h>
- #include <linux/slab.h>
- #include <linux/module.h>
--#include <asm/uaccess.h>
-+#include <linux/uaccess.h>
- #include <net/ip.h>
- #include <linux/netfilter/x_tables.h>
- #include "xt_LUA.h"
recipes-core/xtables-addons/xtables-addons_3.2.bb +1 -1
index 7d28b8f..8444d66 100644
@@ -8,12 +8,12 @@ inherit autotools kernel-module-split module-base pkgconfig
 
 SRC_URI = " \
           https://fossies.org/linux/privat/${BPN}-${PV}.tar.xz \
+          file://001-fix-kernel-version-detection.patch \
           file://100-add-rtsp-conntrack.patch \
           file://200-add-lua-packetscript.patch \
           file://201-fix-lua-packetscript.patch \
           file://202-add-lua-autoconf.patch \
           file://400-fix-IFF_LOWER_UP-musl.patch \
-          file://fix-to-build-linux-v4.15-and-later.patch \
           file://0001-Unset-LDFLAGS-for-kernel-modules.patch \
           "
 
Signature · 1 line
2.7.4