From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 3.x development tree branch, master, updated. e9c5740f476cb2543caf792716ef33f899c34c3e Date: Thu, 19 Jan 2023 17:30:41 +0000 Message-ID: <4NyV5Y4YZGz2y24@people01.haj.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2107792162337894620==" List-Id: --===============2107792162337894620== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 3.x development tree". The branch, master has been updated via e9c5740f476cb2543caf792716ef33f899c34c3e (commit) via 61c1880c0f0e4c7da7d5016212d8d055e490ca44 (commit) via 113fe5ef033039c3be229fbf0d935c914d1df862 (commit) via a239c48536053d973d272af8b9377159ade0c647 (commit) via 1f922318086d656874e8105be8ee58db198523c2 (commit) via 62c04d4fb1a50a0877eeb09554fabf65fabbb8df (commit) from bf76244de09121886272eddde4bd81caa2480400 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e9c5740f476cb2543caf792716ef33f899c34c3e Author: Michael Tremer Date: Thu Jan 19 17:28:52 2023 +0000 cifs-utils: Drop package =20 I have no idea what is using this at the moment. =20 Signed-off-by: Michael Tremer commit 61c1880c0f0e4c7da7d5016212d8d055e490ca44 Author: Michael Tremer Date: Thu Jan 19 13:41:07 2023 +0000 jsoncpp: Update to 1.9.5 =20 Signed-off-by: Michael Tremer commit 113fe5ef033039c3be229fbf0d935c914d1df862 Author: Michael Tremer Date: Thu Jan 19 13:40:42 2023 +0000 iproute2: Don't build libnetlink =20 Signed-off-by: Michael Tremer commit a239c48536053d973d272af8b9377159ade0c647 Author: Michael Tremer Date: Thu Jan 19 13:35:52 2023 +0000 duktape: New package =20 Required by polkit. =20 Signed-off-by: Michael Tremer commit 1f922318086d656874e8105be8ee58db198523c2 Author: Michael Tremer Date: Thu Jan 19 13:35:24 2023 +0000 readline: Actually add patch that fixes the crash =20 Signed-off-by: Michael Tremer commit 62c04d4fb1a50a0877eeb09554fabf65fabbb8df Author: Michael Tremer Date: Thu Jan 19 13:34:15 2023 +0000 binutils: Update to 2.40 =20 Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: binutils/binutils.nm | 39 ++++++++++++++------------- cifs-utils/cifs-utils.nm | 42 ---------------------------= -- pixman/pixman.nm =3D> duktape/duktape.nm | 27 ++++++++++--------- iproute2/iproute2.nm | 19 +++---------- jsoncpp/jsoncpp.nm | 6 +++-- readline/patches/readline-8.2-patch-1.patch | 33 +++++++++++++++++++++++ 6 files changed, 77 insertions(+), 89 deletions(-) delete mode 100644 cifs-utils/cifs-utils.nm copy pixman/pixman.nm =3D> duktape/duktape.nm (55%) create mode 100644 readline/patches/readline-8.2-patch-1.patch Difference in files: diff --git a/binutils/binutils.nm b/binutils/binutils.nm index 93b673334..8ac94fde4 100644 --- a/binutils/binutils.nm +++ b/binutils/binutils.nm @@ -4,14 +4,14 @@ ############################################################################= ### =20 name =3D binutils -version =3D 2.39 +version =3D 2.40 release =3D 1 =20 maintainer =3D Michael Tremer groups =3D Development/Tools -url =3D http://www.gnu.org/software/binutils/ +url =3D https://www.gnu.org/software/binutils/ license =3D GPLv2+ -summary =3D The GNU Binutils are a collection of binary tools. +summary =3D The GNU Binutils are a collection of binary tools =20 description The GNU Binary Utilities, or binutils, is a collection of programming @@ -31,8 +31,11 @@ build perl texinfo zlib-devel + zstd-devel end =20 + LDFLAGS +=3D -Wl,--enable-new-dtags + prepare_cmds mkdir -pv %{DIR_SRC}/binutils-build end @@ -43,11 +46,18 @@ build --target=3D%{DISTRO_BUILDTARGET} \ --disable-werror \ --disable-static \ + --enable-shared \ --enable-64-bit-bfd \ --enable-plugins \ --with-bugurl=3D"https://bugzilla.ipfire.org/" \ --enable-relro=3Dyes \ - --enable-lto + --enable-ld \ + --disable-gold \ + --enable-lto \ + --with-system-zlib \ + --enable-new-dtags \ + --disable-rpath \ + --enable-separate-code =20 build cd %{DIR_SRC}/binutils-build @@ -78,33 +88,26 @@ build # Remove Windows/Novell only man pages. rm -vf %{BUILDROOT}%{mandir}/man1/{dlltool,nlmconv,windres}* end - - # Keep static version of libiberty. - keep_libraries - %{libdir}/libiberty.a - end end =20 packages package %{name} - provides - bundled(libiberty) - end + + package %{name}-libs + template LIBS + + files +=3D %{libdir}/*-%{version}.so end =20 package %{name}-devel template DEVEL =20 requires - binutils =3D %{thisver} + binutils-libs =3D %{thisver} zlib-devel end =20 - # Don't package libbfd and libopcodes in the -devel package. - files - /usr/include - %{libdir}/*.a - end + files +=3D !%{libdir}/*-%{version}.so end =20 package %{name}-debuginfo diff --git a/cifs-utils/cifs-utils.nm b/cifs-utils/cifs-utils.nm deleted file mode 100644 index 191afdfeb..000000000 --- a/cifs-utils/cifs-utils.nm +++ /dev/null @@ -1,42 +0,0 @@ -############################################################################= ### -# IPFire.org - An Open Source Firewall Solution = # -# Copyright (C) - IPFire Development Team = # -############################################################################= ### - -name =3D cifs-utils -version =3D 6.6 -release =3D 1 - -groups =3D System/Tools -url =3D https://wiki.samba.org/index.php/LinuxCIFS_utils -license =3D GPL -summary =3D A utility for the Common Internet File System - -description - This package of tools is called cifs-utils. Although not really part - of Samba proper, these tools were originally part of the Samba package. - For several reasons, shipping these tools as part of Samba was - problematic and it was deemed better to split them off into their own - package. -end - -source_dl =3D http://download.samba.org/pub/linux-cifs/cifs-utils/ -sources =3D %{thisapp}.tar.bz2 - -build - test - make check - end -end - -packages - package %{name} - - package %{name}-devel - template DEVEL - end - - package %{name}-debuginfo - template DEBUGINFO - end -end diff --git a/duktape/duktape.nm b/duktape/duktape.nm new file mode 100644 index 000000000..e8ca7609f --- /dev/null +++ b/duktape/duktape.nm @@ -0,0 +1,45 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D duktape +version =3D 2.7.0 +release =3D 1 + +groups =3D System/Libraries +url =3D https://duktape.org/ +license =3D MIT +summary =3D Embeddable Javascript engine + +description + Duktape is an embeddable Javascript engine, with a focus on + portability and compact footprint. +end + +source_dl =3D https://duktape.org/ +sources =3D %{thisapp}.tar.xz + +build + make =3D make -f Makefile.sharedlibrary INSTALL_PREFIX=3D%{prefix} LIBDIR= =3D/%{lib} + + build + %{make} %{PARALLELISMFLAGS} + end + + install + %{make} install DESTDIR=3D%{BUILDROOT} + end +end + +packages + package %{name} + + package %{name}-devel + template DEVEL + end + + package %{name}-debuginfo + template DEBUGINFO + end +end diff --git a/iproute2/iproute2.nm b/iproute2/iproute2.nm index 33b6d99c9..12764f296 100644 --- a/iproute2/iproute2.nm +++ b/iproute2/iproute2.nm @@ -5,7 +5,7 @@ =20 name =3D iproute2 version =3D 6.0.0 -release =3D 1 +release =3D 2 =20 groups =3D Networking/Tools url =3D https://git.kernel.org/pub/scm/network/iproute2/iproute2.git @@ -24,29 +24,18 @@ sources =3D %{thisapp}.tar.xz build requires bison + elfutils-devel flex - libdb-devel + libcap-devel libmnl-devel libnl-devel - libcap-devel + libtirpc-devel linux-atm-devel >=3D 2.5.1 end =20 export RPM_OPT_FLAGS =3D %{CFLAGS} %{LDFLAGS} export LIBDIR =3D %{libdir} export SBINDIR =3D %{sbindir} - export IPT_LIB_DIR =3D %{libdir}/xtables - - install_cmds - # libnetlink - install -v -m 644 include/libnetlink.h %{BUILDROOT}%{includedir} - install -v -m 644 lib/libnetlink.a %{BUILDROOT}%{libdir} - end - - # Keep libnetlink.a - keep_libraries - %{libdir}/libnetlink.a - end end =20 packages diff --git a/jsoncpp/jsoncpp.nm b/jsoncpp/jsoncpp.nm index 933bd70d9..5ff2f5c28 100644 --- a/jsoncpp/jsoncpp.nm +++ b/jsoncpp/jsoncpp.nm @@ -4,7 +4,7 @@ ############################################################################= ### =20 name =3D jsoncpp -version =3D 1.7.2 +version =3D 1.9.5 release =3D 1 =20 groups =3D System/Libraries @@ -23,12 +23,14 @@ end source_dl =3D https://github.com/open-source-parsers/%{name}/archive/%{vers= ion}.tar.gz#/ =20 build + BUILD_DIR =3D build + requires cmake end =20 build - CMAKE_CXX_FLAGS=3D"-Wno-error" %{cmake} . + %{cmake} .. make %{PARALLELISMFLAGS} end end diff --git a/readline/patches/readline-8.2-patch-1.patch b/readline/patches/r= eadline-8.2-patch-1.patch new file mode 100644 index 000000000..16a7d62f3 --- /dev/null +++ b/readline/patches/readline-8.2-patch-1.patch @@ -0,0 +1,33 @@ +From 7274faabe97ce53d6b464272d7e6ab6c1392837b Mon Sep 17 00:00:00 2001 +From: Chet Ramey +Date: Wed, 5 Oct 2022 10:41:16 -0400 +Subject: [PATCH] Readline-8.2 patch 1: fix crash when readline is started wi= th + an invalid locale specification + +diff --git a/nls.c b/nls.c +index 5c6a13b..8c027d6 100644 +--- a/nls.c ++++ b/nls.c +@@ -141,6 +141,10 @@ _rl_init_locale (void) + if (lspec =3D=3D 0) + lspec =3D ""; + ret =3D setlocale (LC_CTYPE, lspec); /* ok, since it does not change loca= le */ ++ if (ret =3D=3D 0 || *ret =3D=3D 0) ++ ret =3D setlocale (LC_CTYPE, (char *)NULL); ++ if (ret =3D=3D 0 || *ret =3D=3D 0) ++ ret =3D RL_DEFAULT_LOCALE; + #else + ret =3D (lspec =3D=3D 0 || *lspec =3D=3D 0) ? RL_DEFAULT_LOCALE : lspec; + #endif +diff --git a/patchlevel b/patchlevel +index d8c9df7..fdf4740 100644 +--- a/patchlevel ++++ b/patchlevel +@@ -1,3 +1,3 @@ + # Do not edit -- exists only for use by patch +=20 +-0 ++1 +--=20 +2.30.2 + hooks/post-receive -- IPFire 3.x development tree --===============2107792162337894620==--