From 184056cf6a688b20b01998b5bcb4c3ad4659c0ff Mon Sep 17 00:00:00 2001 From: Liav A Date: Sat, 12 Aug 2023 02:58:46 +0300 Subject: [PATCH] Ports/cpio: Update to version 2.14 We can also remove a patch that is no longer needed. --- Ports/AvailablePorts.md | 2 +- Ports/cpio/package.sh | 4 +-- ...l-program_name-variable-from-gnu-dir.patch | 34 ------------------- Ports/cpio/patches/ReadMe.md | 8 ----- 4 files changed, 3 insertions(+), 45 deletions(-) delete mode 100644 Ports/cpio/patches/0001-Use-global-program_name-variable-from-gnu-dir.patch delete mode 100644 Ports/cpio/patches/ReadMe.md diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 58c64c26b20..e8e8c97b518 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -44,7 +44,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`composer`](composer/) | Composer | 2.4.3 | https://getcomposer.org/ | | [`coreutils`](coreutils/) | GNU core utilities | 9.1 | https://www.gnu.org/software/coreutils/ | | [`cowsay`](cowsay/) | cowsay | 3.04 | https://github.com/tnalpgge/rank-amateur-cowsay | -| [`cpio`](cpio/) | GNU cpio archive utility | 2.13 | https://www.gnu.org/software/cpio/ | +| [`cpio`](cpio/) | GNU cpio archive utility | 2.14 | https://www.gnu.org/software/cpio/ | | [`curl`](curl/) | curl | 8.2.0 | https://curl.se/ | | [`dash`](dash/) | DASH | 0.5.10.2 | http://gondor.apana.org.au/~herbert/dash | | [`deutex`](deutex/) | DeuTex | 5.2.2 | https://github.com/Doom-Utils/deutex | diff --git a/Ports/cpio/package.sh b/Ports/cpio/package.sh index c37e7805fc8..3b2d8894777 100755 --- a/Ports/cpio/package.sh +++ b/Ports/cpio/package.sh @@ -1,9 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='cpio' -version='2.13' +version='2.14' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('build-aux/config.sub') files=( - "https://ftpmirror.gnu.org/gnu/cpio/cpio-${version}.tar.gz e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88" + "https://ftpmirror.gnu.org/gnu/cpio/cpio-${version}.tar.gz 145a340fd9d55f0b84779a44a12d5f79d77c99663967f8cfa168d7905ca52454" ) diff --git a/Ports/cpio/patches/0001-Use-global-program_name-variable-from-gnu-dir.patch b/Ports/cpio/patches/0001-Use-global-program_name-variable-from-gnu-dir.patch deleted file mode 100644 index e8adc2b9014..00000000000 --- a/Ports/cpio/patches/0001-Use-global-program_name-variable-from-gnu-dir.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Liav A -Date: Sat, 25 Jun 2022 05:45:29 +0300 -Subject: [PATCH] Use global program_name variable from gnu dir - -Without this patch being applied, there would be a conflict between the -variables between the 2 locations, so it will not compile otherwise. - ---- - src/global.c | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/src/global.c b/src/global.c -index fb3abe9..9ea63aa 100644 ---- a/src/global.c -+++ b/src/global.c -@@ -20,6 +20,7 @@ - #include - - #include -+#include "gnu/progname.h" - #include "cpiohdr.h" - #include "dstring.h" - #include "extern.h" -@@ -184,9 +185,6 @@ unsigned int warn_option = 0; - /* Extract to standard output? */ - bool to_stdout_option = false; - --/* The name this program was run with. */ --char *program_name; -- - /* A pointer to either lstat or stat, depending on whether - dereferencing of symlinks is done for input files. */ - int (*xstat) (); diff --git a/Ports/cpio/patches/ReadMe.md b/Ports/cpio/patches/ReadMe.md deleted file mode 100644 index d4a47c47147..00000000000 --- a/Ports/cpio/patches/ReadMe.md +++ /dev/null @@ -1,8 +0,0 @@ -# Patches for cpio on SerenityOS - -## `0001-Use-global-program_name-variable-from-gnu-dir.patch` - -Use global program_name variable from gnu dir - -Without this patch being applied, there would be a conflict between the -variables between the 2 locations, so it will not compile otherwise.