From 743c9c569aa21adcc4c2c034709577d6dcab0ba8 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Wed, 12 May 2021 02:46:03 +0000 Subject: [PATCH 01/10] flatbuffers: update to 2.0.0 release notes: - https://github.com/google/flatbuffers/releases/tag/v2.0.0 --- packages/devel/flatbuffers/package.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/devel/flatbuffers/package.mk b/packages/devel/flatbuffers/package.mk index 8679e74831..4748c3d9c3 100644 --- a/packages/devel/flatbuffers/package.mk +++ b/packages/devel/flatbuffers/package.mk @@ -2,8 +2,8 @@ # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) PKG_NAME="flatbuffers" -PKG_VERSION="1.12.0" -PKG_SHA256="62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45" +PKG_VERSION="2.0.0" +PKG_SHA256="9ddb9031798f4f8754d00fca2f1a68ecf9d0f83dfac7239af1311e4fd9a565c4" PKG_LICENSE="Apache-2.0" PKG_SITE="https://github.com/google/flatbuffers" PKG_URL="https://github.com/google/flatbuffers/archive/v${PKG_VERSION}.tar.gz" From f2abc5f0ed419b197e4216c0efe89d7babad440b Mon Sep 17 00:00:00 2001 From: heitbaum Date: Fri, 31 Dec 2021 11:38:40 +0000 Subject: [PATCH 02/10] crossguid: update githash to 2019-05-30 --- packages/devel/crossguid/package.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/devel/crossguid/package.mk b/packages/devel/crossguid/package.mk index cb08fe613d..65588fe428 100644 --- a/packages/devel/crossguid/package.mk +++ b/packages/devel/crossguid/package.mk @@ -1,9 +1,10 @@ # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) +# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv) PKG_NAME="crossguid" -PKG_VERSION="8f399e8bd4252be9952f3dfa8199924cc8487ca4" -PKG_SHA256="022c9f02cc36e865cd8fd0111a597ff2bd91988deeb348dbe2aba64aed1abd99" +PKG_VERSION="ca1bf4b810e2d188d04cb6286f957008ee1b7681" # 2019-05-30 +PKG_SHA256="6be27e0b3a4907f0cd3cfadec255ee1b925569e1bd06e67a4d2f4267299b69c4" PKG_LICENSE="GPL" PKG_SITE="https://github.com/graeme-hill/crossguid" PKG_URL="https://github.com/graeme-hill/crossguid/archive/${PKG_VERSION}.tar.gz" @@ -12,7 +13,7 @@ PKG_LONGDESC="minimal, cross platform, C++ GUID library" PKG_TOOLCHAIN="manual" make_target() { - ${CXX} -c guid.cpp -o guid.o ${CXXFLAGS} -std=c++11 -DGUID_LIBUUID + ${CXX} -c ../src/guid.cpp -o guid.o ${CXXFLAGS} -I../include --std=c++17 -DGUID_LIBUUID ${AR} rvs libcrossguid.a guid.o } @@ -20,5 +21,5 @@ makeinstall_target() { mkdir -p ${SYSROOT_PREFIX}/usr/lib/ cp libcrossguid.a ${SYSROOT_PREFIX}/usr/lib/ mkdir -p ${SYSROOT_PREFIX}/usr/include/ - cp guid.h ${SYSROOT_PREFIX}/usr/include + cp ../include/crossguid/guid.hpp ${SYSROOT_PREFIX}/usr/include } From 2120174ce96b9160fbc3cf3cc4f98a27ef99ac52 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Tue, 7 Sep 2021 21:26:56 +1000 Subject: [PATCH 03/10] fakeroot: update to 1.26 --- packages/devel/fakeroot/package.mk | 4 +- .../patches/fakeroot-002-build-fix.patch | 413 ------------------ 2 files changed, 2 insertions(+), 415 deletions(-) delete mode 100644 packages/devel/fakeroot/patches/fakeroot-002-build-fix.patch diff --git a/packages/devel/fakeroot/package.mk b/packages/devel/fakeroot/package.mk index fe858206dc..704b4f0079 100644 --- a/packages/devel/fakeroot/package.mk +++ b/packages/devel/fakeroot/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="fakeroot" -PKG_VERSION="1.25.3" -PKG_SHA256="8e903683357f7f5bcc31b879fd743391ad47691d4be33d24a76be3b6c21e956c" +PKG_VERSION="1.26" +PKG_SHA256="480a578ffdc5592e73df4c086950d321b4adc78dbdaec56c82e4fe1fb68de8e9" PKG_LICENSE="GPL3" PKG_SITE="https://tracker.debian.org/pkg/fakeroot" PKG_URL="http://ftp.debian.org/debian/pool/main/f/fakeroot/${PKG_NAME}_${PKG_VERSION}.orig.tar.gz" diff --git a/packages/devel/fakeroot/patches/fakeroot-002-build-fix.patch b/packages/devel/fakeroot/patches/fakeroot-002-build-fix.patch deleted file mode 100644 index 87ae9e18b7..0000000000 --- a/packages/devel/fakeroot/patches/fakeroot-002-build-fix.patch +++ /dev/null @@ -1,413 +0,0 @@ -From 03bc0ee07fb6e293d081ffd8af1654788b434f6a Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Thu, 11 Feb 2021 20:59:25 -0800 -Subject: [PATCH 1/6] libfakeroot.c: define _STAT_VER if not already defined - -Based on patch from Jan Pazdziora: -https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SMQ3RYXEYTVZH6PLQMKNB3NM4XLPMNZO/ - -Signed-off-by: Ilya Lipnitskiy ---- - libfakeroot.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/libfakeroot.c b/libfakeroot.c -index 3e80e38..14cdbc4 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -90,6 +90,16 @@ - #define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b) - #endif - -+#ifndef _STAT_VER -+ #if defined (__aarch64__) -+ #define _STAT_VER 0 -+ #elif defined (__x86_64__) -+ #define _STAT_VER 1 -+ #else -+ #define _STAT_VER 3 -+ #endif -+#endif -+ - /* - These INT_* (which stands for internal) macros should always be used when - the fakeroot library owns the storage of the stat variable. --- -GitLab - - -From feda578ca3608b7fc9a28a3a91293611c0ef47b7 Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Thu, 11 Feb 2021 21:00:04 -0800 -Subject: [PATCH 2/6] libfakeroot.c: add wrappers for new glibc 2.33+ symbols - -Signed-off-by: Ilya Lipnitskiy ---- - libfakeroot.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 48 insertions(+) - -diff --git a/libfakeroot.c b/libfakeroot.c -index 14cdbc4..d75c51f 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -1352,6 +1352,54 @@ int renameat(int olddir_fd, const char *oldpath, - #endif /* HAVE_FSTATAT */ - - -+#if defined(__GLIBC__) && __GLIBC_PREREQ(2,33) -+/* Glibc 2.33 exports symbols for these functions in the shared lib */ -+ int lstat(const char *file_name, struct stat *statbuf) { -+ return WRAP_LSTAT LSTAT_ARG(_STAT_VER, file_name, statbuf); -+ } -+ int stat(const char *file_name, struct stat *st) { -+ return WRAP_STAT STAT_ARG(_STAT_VER, file_name, st); -+ } -+ int fstat(int fd, struct stat *st) { -+ return WRAP_FSTAT FSTAT_ARG(_STAT_VER, fd, st); -+ } -+ -+ #ifdef HAVE_FSTATAT -+ int fstatat(int dir_fd, const char *path, struct stat *st, int flags) { -+ return WRAP_FSTATAT FSTATAT_ARG(_STAT_VER, dir_fd, path, st, flags); -+ } -+ #endif -+ -+ #ifdef STAT64_SUPPORT -+ int lstat64(const char *file_name, struct stat64 *st) { -+ return WRAP_LSTAT64 LSTAT64_ARG(_STAT_VER, file_name, st); -+ } -+ int stat64(const char *file_name, struct stat64 *st) { -+ return WRAP_STAT64 STAT64_ARG(_STAT_VER, file_name, st); -+ } -+ int fstat64(int fd, struct stat64 *st) { -+ return WRAP_FSTAT64 FSTAT64_ARG(_STAT_VER, fd, st); -+ } -+ -+ #ifdef HAVE_FSTATAT -+ int fstatat64(int dir_fd, const char *path, struct stat64 *st, int flags) { -+ return WRAP_FSTATAT64 FSTATAT64_ARG(_STAT_VER, dir_fd, path, st, flags); -+ } -+ #endif -+ #endif -+ -+ int mknod(const char *pathname, mode_t mode, dev_t dev) { -+ return WRAP_MKNOD MKNOD_ARG(_STAT_VER, pathname, mode, &dev); -+ } -+ -+ #if defined(HAVE_FSTATAT) && defined(HAVE_MKNODAT) -+ int mknodat(int dir_fd, const char *pathname, mode_t mode, dev_t dev) { -+ return WRAP_MKNODAT MKNODAT_ARG(_STAT_VER, dir_fd, pathname, mode, &dev); -+ } -+ #endif -+#endif /* GLIBC_PREREQ */ -+ -+ - #ifdef FAKEROOT_FAKENET - pid_t fork(void) - { --- -GitLab - - -From d074aaa34d6928989308a3870738d6b1c28f2bae Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Thu, 11 Feb 2021 21:00:20 -0800 -Subject: [PATCH 3/6] libfakeroot.c: fix compile error with DEBUG enabled - -Signed-off-by: Ilya Lipnitskiy ---- - libfakeroot.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libfakeroot.c b/libfakeroot.c -index d75c51f..31480f8 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -2525,7 +2525,7 @@ int statx (int dirfd, const char *path, int flags, unsigned int mask, struct sta - - #ifdef LIBFAKEROOT_DEBUGGING - if (fakeroot_debug) { -- fprintf(stderr, "statx fd %d\n", fd); -+ fprintf(stderr, "statx fd %d\n", dirfd); - } - #endif /* LIBFAKEROOT_DEBUGGING */ - r=INT_NEXT_FSTATAT(dirfd, path, &st, flags); --- -GitLab - - -From c3eebec293e35b997bb46c22fb5a4e114afb5e7f Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Sat, 13 Feb 2021 19:32:08 -0800 -Subject: [PATCH 4/6] configure.ac: fix __xmknod{,at} pointer argument - -Switch default to assume * and not the absence of *. - -On glibc 2.33+, there is no definition for these functions in header -files, so the compile test doesn't work. But, we can default to using -the pointer (as is the case with newer glibc), and use the header file -on older platforms to fail the test and use no pointer. - -Signed-off-by: Ilya Lipnitskiy ---- - configure.ac | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 73415d2..d85566f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -183,13 +183,13 @@ AC_MSG_CHECKING([for type of arg of __xmknod]) - ]], [[ - int __xmknod ( int ver, - const char *pathname , -- mode_t mode , dev_t dev); -+ mode_t mode , dev_t *dev); - ]])],[ -- AC_DEFINE(XMKNOD_FRTH_ARG,) -- AC_MSG_RESULT([no extra *]) -- ],[ - AC_DEFINE(XMKNOD_FRTH_ARG,[*]) - AC_MSG_RESULT([needs *]) -+ ],[ -+ AC_DEFINE(XMKNOD_FRTH_ARG,) -+ AC_MSG_RESULT([no extra *]) - - ]) - -@@ -210,13 +210,13 @@ AC_MSG_CHECKING([for type of arg of __xmknodat]) - int __xmknodat ( int ver, - int dirfd, - const char *pathname , -- mode_t mode , dev_t dev); -+ mode_t mode , dev_t *dev); - ]])],[ -- AC_DEFINE(XMKNODAT_FIFTH_ARG,) -- AC_MSG_RESULT([no extra *]) -- ],[ - AC_DEFINE(XMKNODAT_FIFTH_ARG,[*]) - AC_MSG_RESULT([needs *]) -+ ],[ -+ AC_DEFINE(XMKNODAT_FIFTH_ARG,) -+ AC_MSG_RESULT([no extra *]) - - ]) - --- -GitLab - - -From 01671986b4ee8eb76dc7f63dfe034a7faf4a4c28 Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Sat, 13 Feb 2021 19:35:31 -0800 -Subject: [PATCH 5/6] libfakeroot.c: fix fts_read and fts_children - -Apply Debian patch from [0], since glibc is usually built without LFS. -__USE_LARGEFILE64 and FTSENT64 should be used anyway for proper support -of this, if needed. See [1] for more details. - -[0]: https://sources.debian.org/patches/fakeroot/1.25.3-1.1/eglibc-fts-without-LFS/ -[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676428 - -Signed-off-by: Ilya Lipnitskiy ---- - libfakeroot.c | 8 -------- - 1 file changed, 8 deletions(-) - -diff --git a/libfakeroot.c b/libfakeroot.c -index 31480f8..169f4da 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -2066,11 +2066,7 @@ FTSENT *fts_read(FTS *ftsp) { - || r->fts_info == FTS_NS || r->fts_info == FTS_NSOK)) - r->fts_statp = NULL; /* Otherwise fts_statp may be a random pointer */ - if(r && r->fts_statp) { /* Should we bother checking fts_info here? */ --# if defined(STAT64_SUPPORT) && !defined(__APPLE__) -- SEND_GET_STAT64(r->fts_statp, _STAT_VER); --# else - SEND_GET_STAT(r->fts_statp, _STAT_VER); --# endif - } - - return r; -@@ -2089,11 +2085,7 @@ FTSENT *fts_children(FTS *ftsp, int options) { - first=next_fts_children(ftsp, options); - for(r = first; r; r = r->fts_link) { - if(r && r->fts_statp) { /* Should we bother checking fts_info here? */ --# if defined(STAT64_SUPPORT) && !defined(__APPLE__) -- SEND_GET_STAT64(r->fts_statp, _STAT_VER); --# else - SEND_GET_STAT(r->fts_statp, _STAT_VER); --# endif - } - } - --- -GitLab - - -From f5e0a89ab6f0024f3d3bec5fd9cf631676b44f6c Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Sat, 13 Feb 2021 20:05:17 -0800 -Subject: [PATCH 6/6] OS X portability - -OS X portability work from OpenWrt. - -Cc: Felix Fietkau -Signed-off-by: Ilya Lipnitskiy ---- - configure.ac | 1 + - libfakeroot.c | 36 ++++++++++++++++++++++++++++++++++-- - wrapawk_macosx | 10 +++++++--- - wrapfunc.inp | 4 ++-- - 4 files changed, 44 insertions(+), 7 deletions(-) - -diff --git a/configure.ac b/configure.ac -index d85566f..35f9ecf 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -146,6 +146,7 @@ for first in size_t int; do - #include - #endif - #include -+#include - #ifdef HAVE_GRP_H - #include - #endif -diff --git a/libfakeroot.c b/libfakeroot.c -index 169f4da..7593dd6 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -122,8 +122,16 @@ - #define INT_SEND_STAT(a,b) SEND_STAT(a,b,_STAT_VER) - #define INT_SEND_GET_XATTR(a,b) SEND_GET_XATTR(a,b,_STAT_VER) - #define INT_SEND_GET_STAT(a,b) SEND_GET_STAT(a,b) -+ -+/* 10.10 uses id_t in getpriority/setpriority calls, so pretend -+ id_t is used everywhere, just happens to be int on some OSes */ -+#ifndef _ID_T -+#define _ID_T -+typedef int id_t; -+#endif - #endif - -+#include - #include - #include - #include -@@ -135,7 +143,6 @@ - #include - #include - #include --#include - #ifdef HAVE_SYS_ACL_H - #include - #endif /* HAVE_SYS_ACL_H */ -@@ -198,6 +205,15 @@ extern int unsetenv (const char *name); - #undef __lxstat64 - #undef _FILE_OFFSET_BITS - -+ -+#ifndef AT_EMPTY_PATH -+#define AT_EMPTY_PATH 0 -+#endif -+ -+#ifndef AT_NO_AUTOMOUNT -+#define AT_NO_AUTOMOUNT 0 -+#endif -+ - /* - // next_wrap_st: - // this structure is used in next_wrap, which is defined in -@@ -1969,7 +1985,7 @@ ssize_t fremovexattr(int fd, const char *name) - } - #endif /* HAVE_FREMOVEXATTR */ - --int setpriority(int which, int who, int prio){ -+int setpriority(int which, id_t who, int prio){ - if (fakeroot_disabled) - return next_setpriority(which, who, prio); - next_setpriority(which, who, prio); -@@ -2570,3 +2586,19 @@ int sysinfo(int command, char *buf, long count) - } - } - #endif -+ -+#ifdef HAVE_OPENAT -+int openat(int dir_fd, const char *pathname, int flags, ...) -+{ -+ mode_t mode; -+ -+ if (flags & O_CREAT) { -+ va_list args; -+ va_start(args, flags); -+ mode = va_arg(args, int); -+ va_end(args); -+ } -+ -+ return next_openat(dir_fd, pathname, flags, mode); -+} -+#endif -diff --git a/wrapawk_macosx b/wrapawk_macosx -index 088a7f4..f783219 100644 ---- a/wrapawk_macosx -+++ b/wrapawk_macosx -@@ -46,26 +46,30 @@ BEGIN{ - argtype=$3; - argname=$4; - MACRO=$5; -+ argtype_def=$6 -+ if(!argtype_def) { -+ argtype_def = argtype -+ } - if(MACRO){ - print "extern " ret " MY_DEF(" name ")" argtype " __attribute__((visibility(\"hidden\")));" > headerfile; - print "INTERPOSE(MY_DEF(" name "_RAW)," name "_RAW);" > structfile; - print "#undef " name > deffile - print "#define " name " MY_DEF(" name "_RAW)" > deffile - -- print "extern " ret, name, argtype ";" > tmpffile; -+ print "extern " ret, name, argtype_def ";" > tmpffile; - print "static __inline__ " ret " NEXT_" MACRO "_NOARG " argtype " __attribute__((always_inline));" > tmpffile; - print "static __inline__ " ret " NEXT_" MACRO "_NOARG " argtype " {" > tmpffile; - print " return " name, argname ";" > tmpffile; - print "}" > tmpffile; - print "" > tmpffile; - } else { -- print "extern " ret " my_" name, argtype " __attribute__((visibility(\"hidden\")));" > headerfile; -+ print "extern " ret " my_" name, argtype_def " __attribute__((visibility(\"hidden\")));" > headerfile; - print "#undef " name > structfile; - print "INTERPOSE(my_" name "," name ");" > structfile; - print "#define " name " my_" name > structfile - print "#define " name " my_" name > deffile - -- print "extern " ret, name, argtype ";" > tmpffile; -+ print "extern " ret, name, argtype_def ";" > tmpffile; - if(argname){ - print "static __inline__ " ret " next_" name, argtype " __attribute__((always_inline));" > tmpffile; - print "static __inline__ " ret " next_" name, argtype " {" > tmpffile; -diff --git a/wrapfunc.inp b/wrapfunc.inp -index f7ad186..556af34 100644 ---- a/wrapfunc.inp -+++ b/wrapfunc.inp -@@ -146,7 +146,7 @@ setfsgid;gid_t;(gid_t fsgid);(fsgid) - initgroups;int;(const char *user, INITGROUPS_SECOND_ARG group);(user, group) - getgroups;int;(int size, gid_t list[]);(size, list) - setgroups;int;(SETGROUPS_SIZE_TYPE size, const gid_t *list);(size, list) --setpriority;int;(int which, int who, int prio);(which, who, prio) -+setpriority;int;(int which, id_t who, int prio);(which, who, prio) - #ifdef HAVE_CAPSET - capset;int;(cap_user_header_t hdrp, const cap_user_data_t datap);(hdrp, datap) - #endif /* HAVE_CAPSET */ -@@ -198,7 +198,7 @@ fchownat;int;(int dir_fd, const char *path, uid_t owner, gid_t group, int flags) - mkdirat;int;(int dir_fd, const char *pathname, mode_t mode);(dir_fd, pathname, mode) - #endif /* HAVE_MKDIRAT */ - #ifdef HAVE_OPENAT --openat;int;(int dir_fd, const char *pathname, int flags);(dir_fd, pathname, flags) -+openat;int;(int dir_fd, const char *pathname, int flags, mode_t mode);(dir_fd, pathname, flags, mode);;(int dir_fd, const char *pathname, int flags, ...) - #endif /* HAVE_OPENAT */ - #ifdef HAVE_RENAMEAT - renameat;int;(int olddir_fd, const char *oldpath, int newdir_fd, const char *newpath);(olddir_fd, oldpath, newdir_fd, newpath) --- -GitLab - From 1430a9ce570a7d09d57668b8f8b8e38ffed95903 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Sat, 17 Apr 2021 02:46:18 +0000 Subject: [PATCH 04/10] boost: update to 1.78.0 --- packages/devel/boost/package.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/devel/boost/package.mk b/packages/devel/boost/package.mk index fc34fa1573..3cc10875f0 100644 --- a/packages/devel/boost/package.mk +++ b/packages/devel/boost/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="boost" -PKG_VERSION="1.75.0" -PKG_SHA256="953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb" +PKG_VERSION="1.78.0" +PKG_SHA256="8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc" PKG_LICENSE="OSS" PKG_SITE="http://www.boost.org/" PKG_URL="https://boostorg.jfrog.io/artifactory/main/release/${PKG_VERSION}/source/${PKG_NAME}_${PKG_VERSION//./_}.tar.bz2" From 9d9f6d2958dc854169da1082577f058dbc4cf2b4 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Thu, 1 Jul 2021 14:09:57 +0000 Subject: [PATCH 05/10] libffi: update to 3.4.2 and PKG_URL --- packages/devel/libffi/package.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/devel/libffi/package.mk b/packages/devel/libffi/package.mk index aafb5f2eae..d3cbcc3982 100644 --- a/packages/devel/libffi/package.mk +++ b/packages/devel/libffi/package.mk @@ -3,11 +3,11 @@ # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="libffi" -PKG_VERSION="3.3" -PKG_SHA256="72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056" +PKG_VERSION="3.4.2" +PKG_SHA256="540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620" PKG_LICENSE="GPL" PKG_SITE="http://sourceware.org/${PKG_NAME}/" -PKG_URL="ftp://sourceware.org/pub/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.gz" +PKG_URL="https://github.com/libffi/libffi/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz" PKG_DEPENDS_HOST="ccache:host autoconf:host automake:host libtool:host pkg-config:host" PKG_DEPENDS_TARGET="toolchain" PKG_LONGDESC="Foreign Function Interface Library." From 0754828d17d332bda6939b481ef4aa88371ec325 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Fri, 24 Sep 2021 22:57:42 +1000 Subject: [PATCH 06/10] fribidi: update to 1.0.11 --- packages/devel/fribidi/package.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/devel/fribidi/package.mk b/packages/devel/fribidi/package.mk index 9b86b4531b..0f2808ecc3 100644 --- a/packages/devel/fribidi/package.mk +++ b/packages/devel/fribidi/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="fribidi" -PKG_VERSION="1.0.10" -PKG_SHA256="7f1c687c7831499bcacae5e8675945a39bacbad16ecaa945e9454a32df653c01" +PKG_VERSION="1.0.11" +PKG_SHA256="30f93e9c63ee627d1a2cedcf59ac34d45bf30240982f99e44c6e015466b4e73d" PKG_LICENSE="LGPL" PKG_SITE="http://fribidi.freedesktop.org/" PKG_URL="https://github.com/fribidi/fribidi/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz" From 1297cd77462d6a607d94e50e28a3e093ab3809c3 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Sat, 30 Oct 2021 13:39:05 +1100 Subject: [PATCH 07/10] glib: update to 2.71.0 and PKG_URL and https update 2.70.0 (2021-09-17) to 2.71.0 (2021-12-16) release notes: - https://gitlab.gnome.org/GNOME/glib/-/releases --- packages/devel/glib/package.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/devel/glib/package.mk b/packages/devel/glib/package.mk index d079470959..9bd3caf169 100644 --- a/packages/devel/glib/package.mk +++ b/packages/devel/glib/package.mk @@ -3,11 +3,11 @@ # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) PKG_NAME="glib" -PKG_VERSION="2.70.0" -PKG_SHA256="200d7df811c5ba634afbf109f14bb40ba7fde670e89389885da14e27c0840742" +PKG_VERSION="2.71.0" +PKG_SHA256="926816526f6e4bba9af726970ff87be7dac0b70d5805050c6207b7bb17ea4fca" PKG_LICENSE="LGPL" -PKG_SITE="http://www.gtk.org/" -PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/$(get_pkg_version_maj_min)/${PKG_NAME}-${PKG_VERSION}.tar.xz" +PKG_SITE="https://www.gtk.org/" +PKG_URL="https://download.gnome.org/sources/glib/$(get_pkg_version_maj_min)/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_DEPENDS_HOST="libffi:host pcre:host Python3:host meson:host ninja:host" PKG_DEPENDS_TARGET="toolchain pcre zlib libffi Python3:host util-linux" PKG_LONGDESC="A library which includes support routines for C such as lists, trees, hashes, memory allocation." From a89d42ead4bda04234b0f55c37ce6d3b5b96c93a Mon Sep 17 00:00:00 2001 From: heitbaum Date: Fri, 3 Dec 2021 10:16:58 +0000 Subject: [PATCH 08/10] libbpf: update to 0.6.1 --- packages/devel/libbpf/package.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/devel/libbpf/package.mk b/packages/devel/libbpf/package.mk index 53f49223aa..24cfe9814e 100644 --- a/packages/devel/libbpf/package.mk +++ b/packages/devel/libbpf/package.mk @@ -2,8 +2,8 @@ # Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv) PKG_NAME="libbpf" -PKG_VERSION="0.5.0" -PKG_SHA256="d5b27980ceab9a80b6f28d3e67b51cea526fda49bd13151ba966e33548feb4f4" +PKG_VERSION="0.6.1" +PKG_SHA256="ce3a8eb32d85ac48490256597736d8b27e0a5e947a0731613b7aba6b4ae43ac0" PKG_LICENSE="LGPL-2.1" PKG_SITE="https://github.com/libbpf/libbpf" PKG_URL="https://github.com/libbpf/libbpf/archive/refs/tags/v${PKG_VERSION}.tar.gz" From cde2407387461082f481295f1e156fb19b33b2c0 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Tue, 25 May 2021 21:55:12 +0000 Subject: [PATCH 09/10] libcap: update to 2.62 and HSTS --- packages/devel/libcap/package.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/devel/libcap/package.mk b/packages/devel/libcap/package.mk index 629f895b86..5356086617 100644 --- a/packages/devel/libcap/package.mk +++ b/packages/devel/libcap/package.mk @@ -4,11 +4,11 @@ # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="libcap" -PKG_VERSION="2.49" -PKG_SHA256="e98bc4d93645082ec787730b0fd1a712b38882465c505777de17c338831ee181" +PKG_VERSION="2.62" +PKG_SHA256="190c5baac9bee06a129eae20d3e827de62f664fe3507f0bf6c50a9a59fbd83a2" PKG_LICENSE="GPL" PKG_SITE="https://git.kernel.org/pub/scm/libs/libcap/libcap.git/log/" -PKG_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${PKG_NAME}-${PKG_VERSION}.tar.xz" +PKG_URL="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_DEPENDS_HOST="ccache:host" PKG_DEPENDS_TARGET="toolchain" PKG_LONGDESC="A library for getting and setting POSIX.1e capabilities." @@ -29,7 +29,7 @@ make_host() { BUILD_CFLAGS="${HOST_CFLAGS} -I${PKG_BUILD}/libcap/include" \ PAM_CAP=no \ lib=/lib \ - BUILD_GPERF=no \ + USE_GPERF=no \ -C libcap libcap.pc libcap.a } @@ -43,7 +43,7 @@ make_target() { BUILD_CFLAGS="${HOST_CFLAGS} -I${PKG_BUILD}/libcap/include" \ PAM_CAP=no \ lib=/lib \ - BUILD_GPERF=no \ + USE_GPERF=no \ -C libcap libcap.pc libcap.a } From de3b8a5a7743ea2b331d16bb7d8e121dd818ff90 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Sun, 29 Aug 2021 18:09:31 +1000 Subject: [PATCH 10/10] libcap: build with -fPIC systemd v247 with updated libcap 2.54 fails to build with: libcap.a(cap_proc.o): requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC This change occured between 2.53 and 2.54 of libcap: - https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.okdn4r9me10 --- packages/devel/libcap/package.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/devel/libcap/package.mk b/packages/devel/libcap/package.mk index 5356086617..6f617c90bd 100644 --- a/packages/devel/libcap/package.mk +++ b/packages/devel/libcap/package.mk @@ -12,6 +12,7 @@ PKG_URL="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${PK PKG_DEPENDS_HOST="ccache:host" PKG_DEPENDS_TARGET="toolchain" PKG_LONGDESC="A library for getting and setting POSIX.1e capabilities." +PKG_BUILD_FLAGS="+pic" post_unpack() { mkdir -p ${PKG_BUILD}/.${HOST_NAME}