From 15af8d5ae8b22d0d38a98f108f02af6ff91809ca Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 02:42:46 +0000 Subject: [PATCH 01/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 7547a56..dc5b360 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 43%{?dist} +Release: 44%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -81,6 +81,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 0.5.20-44 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 03 2019 Fedora Release Engineering - 0.5.20-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 4b23fee8b8beed9081537ca95073ac4c196ce4ea Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 02:51:04 +0000 Subject: [PATCH 02/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index dc5b360..1ea46fc 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 44%{?dist} +Release: 45%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -81,6 +81,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.5.20-45 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 0.5.20-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From a868319a140b16051fb6ec95ea941df9453e81e3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 13:29:08 +0000 Subject: [PATCH 03/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 1ea46fc..3d0b8e8 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 45%{?dist} +Release: 46%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -81,6 +81,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.5.20-46 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 0.5.20-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 8ce58dcf052f7948b78055d02774efb8cc52dbb0 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 9 Jan 2021 00:32:25 +0000 Subject: [PATCH 04/26] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- uudeview.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/uudeview.spec b/uudeview.spec index 3d0b8e8..7c1534b 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -10,6 +10,7 @@ Patch1: uudeview-format-security.patch Patch2: matherr.patch URL: http://www.fpx.de/fp/Software/UUDeview/ Summary: Applications for uuencoding, uudecoding, ... +BuildRequires: make BuildRequires: inews BuildRequires: texlive-collection-latexextra BuildRequires: transfig, desktop-file-utils From 078c7e64bd8b35f29978425ede30070bd2d862e3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 22:50:55 +0000 Subject: [PATCH 05/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 7c1534b..74cd7c3 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 46%{?dist} +Release: 47%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -82,6 +82,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.5.20-47 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 0.5.20-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From ee67d5c3bf39c8a86fc03314a58e3f8ee350cfe1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 20:14:38 +0000 Subject: [PATCH 06/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 74cd7c3..71e9d3b 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 47%{?dist} +Release: 48%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -82,6 +82,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.5.20-48 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 0.5.20-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 8cb10f733f85b24010abcc3f3b2d21bef80d152e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 03:43:39 +0000 Subject: [PATCH 07/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 71e9d3b..a1c65df 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 48%{?dist} +Release: 49%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -82,6 +82,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 0.5.20-49 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 0.5.20-48 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From d754450b75ce15a55d2e0a2337d702527ef8a4f4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 11:36:41 +0000 Subject: [PATCH 08/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index a1c65df..05a175d 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 49%{?dist} +Release: 50%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -82,6 +82,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.5.20-50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 0.5.20-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 1da2523ea8ad374aefb5584c0455139e36463504 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 06:02:23 +0000 Subject: [PATCH 09/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 05a175d..fd1ffc5 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 50%{?dist} +Release: 51%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -82,6 +82,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.5.20-51 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.5.20-50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From aa5c400efd1d6e5b8df1dc107ed956a6cbe52def Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 26 Apr 2023 10:08:29 +0200 Subject: [PATCH 10/26] Port configure script to C99 (#2189809) Related to: --- uudeview-configure-c99.patch | 63 ++++++++++++++++++++++++++++++++++++ uudeview.spec | 7 +++- 2 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 uudeview-configure-c99.patch diff --git a/uudeview-configure-c99.patch b/uudeview-configure-c99.patch new file mode 100644 index 0000000..38a3a37 --- /dev/null +++ b/uudeview-configure-c99.patch @@ -0,0 +1,63 @@ +Fix historic autoconf-generated C code to be C99-compatible, and +include for a declaration of strerror in the strerror +probe. Prevents build issues with future compilers. + +diff --git a/configure b/configure +index 449f38b531df3e1b..3b3e667993de7fde 100755 +--- a/configure ++++ b/configure +@@ -758,7 +758,7 @@ cat > conftest.$ac_ext << EOF + #line 759 "configure" + #include "confdefs.h" + +-main(){return(0);} ++int main(){return(0);} + EOF + if { (eval echo configure:764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes +@@ -2248,8 +2248,8 @@ else + #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) + #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) + int main () { int i; for (i = 0; i < 256; i++) +-if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); +-exit (0); } ++if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; ++return 0; } + + EOF + if { (eval echo configure:2256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +@@ -2385,8 +2385,8 @@ else + #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) + #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) + int main () { int i; for (i = 0; i < 256; i++) +-if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); +-exit (0); } ++if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; ++return 0; } + + EOF + if { (eval echo configure:2393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +@@ -2647,6 +2647,9 @@ cat > conftest.$ac_ext < ++#endif + char *blubb() { return (char *) strerror (42); } + + int main() { +diff --git a/configure.in b/configure.in +index 78df97b2af450bfc..1f3175b05948db2b 100644 +--- a/configure.in ++++ b/configure.in +@@ -518,6 +518,9 @@ AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,_FP_tempnam)) + # + AC_MSG_CHECKING([for strerror]) + AC_TRY_LINK([ ++#ifdef STDC_HEADERS ++#include ++#endif + char *blubb() { return (char *) strerror (42); } + ],[ + (void) blubb(); diff --git a/uudeview.spec b/uudeview.spec index fd1ffc5..97cc86c 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 51%{?dist} +Release: 52%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -8,6 +8,7 @@ Source1: xdeview.desktop Patch0: uudeview-debian-patches.patch Patch1: uudeview-format-security.patch Patch2: matherr.patch +Patch3: uudeview-configure-c99.patch URL: http://www.fpx.de/fp/Software/UUDeview/ Summary: Applications for uuencoding, uudecoding, ... BuildRequires: make @@ -43,6 +44,7 @@ This package contains header files and static libraries for uulib. %patch0 -p1 %patch1 -p1 %patch2 -p2 +%patch3 -p1 %{__sed} -i -e "s,psfig,epsfig,g" doc/library.ltx %{__sed} -i -e "s,for ff_subdir in lib,for ff_subdir in %{_lib},g" configure @@ -82,6 +84,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Wed Apr 26 2023 Florian Weimer - 0.5.20-52 +- Port configure script to C99 (#2189809) + * Sat Jan 21 2023 Fedora Release Engineering - 0.5.20-51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From f18230b9913ca77089a4cca91e992e8954d64d3a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 17:20:40 +0000 Subject: [PATCH 11/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 97cc86c..884f055 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 52%{?dist} +Release: 53%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -84,6 +84,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 0.5.20-53 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Apr 26 2023 Florian Weimer - 0.5.20-52 - Port configure script to C99 (#2189809) From fffccd83603904e2008b264bf110f878c0d80dbf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 07:22:59 +0000 Subject: [PATCH 12/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 884f055..446a493 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 53%{?dist} +Release: 54%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -84,6 +84,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.5.20-54 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 0.5.20-53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From bb2e919943a5f49361e29bc734ce347698c96d3e Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:49 +0200 Subject: [PATCH 13/26] Eliminate use of obsolete %patchN syntax (#2283636) --- uudeview.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uudeview.spec b/uudeview.spec index 446a493..f359374 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -41,10 +41,10 @@ This package contains header files and static libraries for uulib. %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p2 -%patch3 -p1 +%patch -P0 -p1 +%patch -P1 -p1 +%patch -P2 -p2 +%patch -P3 -p1 %{__sed} -i -e "s,psfig,epsfig,g" doc/library.ltx %{__sed} -i -e "s,for ff_subdir in lib,for ff_subdir in %{_lib},g" configure From 6bab21024802f0f7698aacbec3abc49a9e494163 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 08:29:24 +0000 Subject: [PATCH 14/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index f359374..0c7ebb8 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,6 +1,6 @@ Name: uudeview Version: 0.5.20 -Release: 54%{?dist} +Release: 55%{?dist} License: GPLv2+ Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz @@ -84,6 +84,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.5.20-55 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 0.5.20-54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From c5ac9e9af130bc3e1ab641231fdafa563fc2e791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Fri, 26 Jul 2024 03:29:47 +0200 Subject: [PATCH 15/26] convert GPLv2+ license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- uudeview.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/uudeview.spec b/uudeview.spec index 0c7ebb8..8696b16 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,8 +1,9 @@ Name: uudeview Version: 0.5.20 -Release: 55%{?dist} +Release: 56%{?dist} -License: GPLv2+ +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz Source1: xdeview.desktop Patch0: uudeview-debian-patches.patch @@ -84,6 +85,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Fri Jul 26 2024 Miroslav Suchý - 0.5.20-56 +- convert license to SPDX + * Sat Jul 20 2024 Fedora Release Engineering - 0.5.20-55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 87efe6c2ca16b25fe344c62e7d05fbe4a6b97228 Mon Sep 17 00:00:00 2001 From: "Charles R. Anderson" Date: Fri, 3 Jan 2025 13:21:56 -0500 Subject: [PATCH 16/26] Update to git snapshot to resolve FTBFS with Tcl_CreateCommand --- .gitignore | 1 + matherr.patch | 17 -- sources | 2 +- uudeview-configure-c99.patch | 63 ------ uudeview-debian-patches.patch | 372 --------------------------------- uudeview-format-security.patch | 22 -- uudeview.spec | 39 ++-- 7 files changed, 28 insertions(+), 488 deletions(-) delete mode 100644 matherr.patch delete mode 100644 uudeview-configure-c99.patch delete mode 100644 uudeview-debian-patches.patch delete mode 100644 uudeview-format-security.patch diff --git a/.gitignore b/.gitignore index 5a1df18..6061536 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ uudeview-0.5.20.tar.gz +/uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd.tar.gz diff --git a/matherr.patch b/matherr.patch deleted file mode 100644 index c80f52b..0000000 --- a/matherr.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/uudeview-0.5.20/tcl/uutcl.c 2018-03-15 20:53:21.698000000 +0000 -+++ b/uudeview-0.5.20/tcl/uutcl.c 2018-03-15 20:53:32.646000000 +0000 -@@ -48,14 +48,6 @@ - #include - #endif - --/* -- * The following variable is a special hack that is needed in order for -- * Sun shared libraries to be used for Tcl. -- */ -- --extern int matherr(); --int *tclDummyMathPtr = (int *) matherr; -- - #include - #include - #include diff --git a/sources b/sources index 6300e06..c17897a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0161abaec3658095044601eae82bbc5b uudeview-0.5.20.tar.gz +SHA512 (uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd.tar.gz) = b35d149088e6af034bee6cc41ae1e785dc064d9da792c92629838dd48559d94479f8c6cb327efc8add56508b858d0d6256c27609f07dac2a47d0ecd765597f95 diff --git a/uudeview-configure-c99.patch b/uudeview-configure-c99.patch deleted file mode 100644 index 38a3a37..0000000 --- a/uudeview-configure-c99.patch +++ /dev/null @@ -1,63 +0,0 @@ -Fix historic autoconf-generated C code to be C99-compatible, and -include for a declaration of strerror in the strerror -probe. Prevents build issues with future compilers. - -diff --git a/configure b/configure -index 449f38b531df3e1b..3b3e667993de7fde 100755 ---- a/configure -+++ b/configure -@@ -758,7 +758,7 @@ cat > conftest.$ac_ext << EOF - #line 759 "configure" - #include "confdefs.h" - --main(){return(0);} -+int main(){return(0);} - EOF - if { (eval echo configure:764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes -@@ -2248,8 +2248,8 @@ else - #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) - #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) - int main () { int i; for (i = 0; i < 256; i++) --if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); --exit (0); } -+if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; -+return 0; } - - EOF - if { (eval echo configure:2256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -@@ -2385,8 +2385,8 @@ else - #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) - #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) - int main () { int i; for (i = 0; i < 256; i++) --if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); --exit (0); } -+if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; -+return 0; } - - EOF - if { (eval echo configure:2393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -@@ -2647,6 +2647,9 @@ cat > conftest.$ac_ext < -+#endif - char *blubb() { return (char *) strerror (42); } - - int main() { -diff --git a/configure.in b/configure.in -index 78df97b2af450bfc..1f3175b05948db2b 100644 ---- a/configure.in -+++ b/configure.in -@@ -518,6 +518,9 @@ AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,_FP_tempnam)) - # - AC_MSG_CHECKING([for strerror]) - AC_TRY_LINK([ -+#ifdef STDC_HEADERS -+#include -+#endif - char *blubb() { return (char *) strerror (42); } - ],[ - (void) blubb(); diff --git a/uudeview-debian-patches.patch b/uudeview-debian-patches.patch deleted file mode 100644 index b5165c3..0000000 --- a/uudeview-debian-patches.patch +++ /dev/null @@ -1,372 +0,0 @@ ---- uudeview-0.5.20.orig/uulib/uulib.c -+++ uudeview-0.5.20/uulib/uulib.c -@@ -872,7 +872,10 @@ - } - - /* -- * decode file first to temp file, then copy it to a final location -+ * Decode file first to temp file, then copy it to a final location. -+ * A move is preferable to a copy. If the file is on the same -+ * partition, no copy is performed. This is important for large -+ * files. - */ - - int UUEXPORT -@@ -978,6 +981,12 @@ - return UURET_IOERR; - } - -+ if (rename(thefile->binfile, uugen_fnbuffer) == 0) { -+ fclose(source); -+ close(fildes); -+ goto finish_ok; -+ } -+ - if ((target = fdopen (fildes, "wb")) == NULL) { - progress.action = 0; - UUMessage (uulib_id, __LINE__, UUMSG_ERROR, -@@ -1042,6 +1051,8 @@ - thefile->binfile, - strerror (uu_errno = errno)); - } -+ -+ finish_ok: - _FP_free (thefile->binfile); - thefile->binfile = NULL; - thefile->state &= ~UUFILE_TMPFILE; -@@ -1103,9 +1114,9 @@ - - while (!feof (inpfile) && - (uu_fast_scanning || ftell(inpfile) < maxpos)) { -- if (_FP_fgets (uugen_inbuffer, 511, inpfile) == NULL) -+ if (_FP_fgets (uugen_inbuffer, 1023, inpfile) == NULL) - break; -- uugen_inbuffer[511] = '\0'; -+ uugen_inbuffer[1023] = '\0'; - - if (ferror (inpfile)) - break; ---- uudeview-0.5.20.orig/uulib/uuscan.c -+++ uudeview-0.5.20/uulib/uuscan.c -@@ -387,10 +387,10 @@ - *attribute != '(' && *attribute != ')' && - *attribute != '<' && *attribute != '>' && - *attribute != '@' && *attribute != ',' && -- /* *attribute != ';' && */ *attribute != ':' && -- *attribute != '\\' &&*attribute != '"' && -- *attribute != '/' && /* *attribute != '[' && -- *attribute != ']' && */ *attribute != '?' && -+ *attribute != ';' && *attribute != ':' && -+ *attribute != '\\' && *attribute != '"' && -+ *attribute != '/' && *attribute != '[' && -+ *attribute != ']' && *attribute != '?' && - *attribute != '=' && length < 255) { - *ptr++ = *attribute++; - length++; ---- uudeview-0.5.20.orig/uulib/uustring.h -+++ uudeview-0.5.20/uulib/uustring.h -@@ -36,3 +36,4 @@ - #define S_MIME_B_NOT_FOUND 35 - #define S_MIME_MULTI_DEPTH 36 - #define S_MIME_PART_MULTI 37 -+#define S_OPEN_FILE 38 ---- uudeview-0.5.20.orig/uulib/uunconc.c -+++ uudeview-0.5.20/uulib/uunconc.c -@@ -1311,6 +1311,12 @@ - char *mode, *ntmp; - uufile *iter; - size_t bytes; -+#define HAVE_MKSTEMP -+#ifdef HAVE_MKSTEMP -+ int tmpfd; -+ const char *tmpprefix = "uuXXXXXX"; -+ char *tmpdir = NULL; -+#endif /* HAVE_MKSTEMP */ - - if (data == NULL || data->thisfile == NULL) - return UURET_ILLVAL; -@@ -1325,17 +1331,39 @@ - return UURET_NODATA; - - if (data->uudet == PT_ENCODED) -- mode = "wt"; /* open text files in text mode */ -+ mode = "wtx"; /* open text files in text mode */ - else -- mode = "wb"; /* otherwise in binary */ -+ mode = "wbx"; /* otherwise in binary */ - -+#ifdef HAVE_MKSTEMP -+ if ((getuid()==geteuid()) && (getgid()==getegid())) { -+ tmpdir=getenv("TMPDIR"); -+ } -+ -+ if (!tmpdir) { -+ tmpdir = "/tmp"; -+ } -+ data->binfile = malloc(strlen(tmpdir)+strlen(tmpprefix)+2); -+ -+ if (!data->binfile) { -+#else - if ((data->binfile = tempnam (NULL, "uu")) == NULL) { -+#endif /* HAVE_MKSTEMP */ - UUMessage (uunconc_id, __LINE__, UUMSG_ERROR, - uustring (S_NO_TEMP_NAME)); - return UURET_NOMEM; - } - -+#ifdef HAVE_MKSTEMP -+ strcpy(data->binfile, tmpdir); -+ strcat(data->binfile, "/"); -+ strcat(data->binfile, tmpprefix); -+ -+ if ((tmpfd = mkstemp(data->binfile)) == -1 || -+ (dataout = fdopen(tmpfd, mode)) == NULL) { -+#else - if ((dataout = fopen (data->binfile, mode)) == NULL) { -+#endif /* HAVE_MKSTEMP */ - /* - * we couldn't create a temporary file. Usually this means that TMP - * and TEMP aren't set -@@ -1343,6 +1371,12 @@ - UUMessage (uunconc_id, __LINE__, UUMSG_ERROR, - uustring (S_WR_ERR_TARGET), - data->binfile, strerror (uu_errno = errno)); -+#ifdef HAVE_MKSTEMP -+ if (tmpfd != -1) { -+ unlink(data->binfile); -+ close(tmpfd); -+ } -+#endif /* HAVE_MKSTEMP */ - _FP_free (data->binfile); - data->binfile = NULL; - uu_errno = errno; -@@ -1437,6 +1471,9 @@ - res = UURET_IOERR; - break; - } -+ UUMessage (uunconc_id, __LINE__, UUMSG_MESSAGE, -+ uustring (S_OPEN_FILE), -+ iter->data->sfname); - _FP_strncpy (uugen_fnbuffer, iter->data->sfname, 1024); - } - -@@ -1496,13 +1533,19 @@ - */ - - if (data->uudet == BH_ENCODED && data->binfile) { -+#ifdef HAVE_MKSTEMP -+ ntmp = malloc(strlen(tmpdir)+strlen(tmpprefix)+2); -+ -+ if (ntmp == NULL) { -+#else - if ((ntmp = tempnam (NULL, "uu")) == NULL) { -+#endif /* HAVE_MKSTEMP */ - UUMessage (uunconc_id, __LINE__, UUMSG_ERROR, - uustring (S_NO_TEMP_NAME)); - progress.action = 0; - return UURET_NOMEM; - } -- if ((datain = fopen (data->binfile, "rb")) == NULL) { -+ if ((datain = fopen (data->binfile, "rbx")) == NULL) { - UUMessage (uunconc_id, __LINE__, UUMSG_ERROR, - uustring (S_NOT_OPEN_FILE), - data->binfile, strerror (uu_errno = errno)); -@@ -1510,12 +1553,27 @@ - free (ntmp); - return UURET_IOERR; - } -+ -+#ifdef HAVE_MKSTEMP -+ strcpy(ntmp, tmpdir); -+ strcat(ntmp, "/"); -+ strcat(ntmp, tmpprefix); -+ if ((tmpfd = mkstemp(ntmp)) == -1 || -+ (dataout = fdopen(tmpfd, "wb")) == NULL) { -+#else - if ((dataout = fopen (ntmp, "wb")) == NULL) { -+#endif /* HAVE_MKSTEMP */ - UUMessage (uunconc_id, __LINE__, UUMSG_ERROR, - uustring (S_NOT_OPEN_TARGET), - ntmp, strerror (uu_errno = errno)); - progress.action = 0; - fclose (datain); -+#ifdef HAVE_MKSTEMP -+ if (tmpfd != -1) { -+ unlink(ntmp); -+ close(tmpfd); -+ } -+#endif /* HAVE_MKSTEMP */ - free (ntmp); - return UURET_IOERR; - } ---- uudeview-0.5.20.orig/uulib/uustring.c -+++ uudeview-0.5.20/uulib/uustring.c -@@ -107,6 +107,7 @@ - { S_MIME_B_NOT_FOUND, "Boundary expected on Multipart message but found EOF" }, - { S_MIME_MULTI_DEPTH, "Multipart message nested too deep" }, - { S_MIME_PART_MULTI, "Handling partial multipart message as plain text" }, -+ { S_OPEN_FILE, "Opened file %s" }, - - { 0, "" } - }; ---- uudeview-0.5.20.orig/unix/uudeview.c -+++ uudeview-0.5.20/unix/uudeview.c -@@ -443,18 +443,46 @@ - FILE *target; - size_t bytes; - int res; -+#define HAVE_MKSTEMP -+#ifdef HAVE_MKSTEMP -+ int tmpfd; -+ const char *tmpprefix = "uuXXXXXX"; -+ char *tmpdir = NULL; -+#endif /* HAVE_MKSTEMP */ - - if (stdinput) { - fprintf (stderr, "proc_stdin: cannot process stdin twice\n"); - return 0; - } - -+#ifdef HAVE_MKSTEMP -+ if ((getuid()==geteuid()) && (getgid()==getegid())) { -+ tmpdir=getenv("TMPDIR"); -+ } -+ -+ if (!tmpdir) { -+ tmpdir = "/tmp"; -+ } -+ stdfile = malloc(strlen(tmpdir)+strlen(tmpprefix)+2); -+ -+ if (!stdfile) { -+#else - if ((stdfile = tempnam (NULL, "uu")) == NULL) { -+#endif - fprintf (stderr, "proc_stdin: cannot get temporary file\n"); - return 0; - } - -- if ((target = fopen (stdfile, "wb")) == NULL) { -+#ifdef HAVE_MKSTEMP -+ strcpy(stdfile, tmpdir); -+ strcat(stdfile, "/"); -+ strcat(stdfile, tmpprefix); -+ -+ if ((tmpfd = mkstemp(stdfile)) == -1 || -+ (target = fdopen(tmpfd, "wbx")) == NULL) { -+#else -+ if ((target = fopen (stdfile, "wbx")) == NULL) { -+#endif - fprintf (stderr, "proc_stdin: cannot open temp file %s for writing: %s\n", - stdfile, strerror (errno)); - _FP_free (stdfile); -@@ -657,9 +685,6 @@ - else switch (*(argv[number] + 1)) { - case '\0': - interact = 0; -- if (overwrite == 0) { -- overwrite = 1; -- } - proc_stdin (); - break; - case 'a': -@@ -699,10 +724,7 @@ - fprintf (stderr, "WARNING: cannot interact when reading from stdin\n"); - } - else { -- interact = (*argv[number] == '+') ? 1 : 0; -- if (overwrite == 0 && *argv[number] == '-') { -- overwrite = 1; -- } -+ interact = (*argv[number] == '+') ? 1 : 0; - } - break; - case 'm': -@@ -773,6 +795,8 @@ - break; - } - } -+ if (overwrite == 0 && interact == 0 && autoren == 0) -+ overwrite = 1; - - return 1; - } ---- uudeview-0.5.20.orig/man/uudeview.1 -+++ uudeview-0.5.20/man/uudeview.1 -@@ -164,6 +164,16 @@ - verbosity. Normally, the program prints some status messages - while reading the input files, which can be very helpful if something - should go wrong. Use if these messages disturb you. -+Disables progress bars. See -+.B -n -+option. -+.TP -+.B -v -+(disables Verbosity) Disables verbose messages, i.e. notes are not -+displayed, but does not remove warnings and errors. Is not as quiet as -+the -+.B -q -+(Quiet) option. - .TP - .B -n - No progress bars. Normally, UUDeview prints ASCII bars crawling up ---- uudeview-0.5.20.orig/tcl/xdeview -+++ uudeview-0.5.20/tcl/xdeview -@@ -59,8 +59,8 @@ - # MIME configuration - # - --ifndef MIMEGlobalTypes "" --ifndef MIMEGlobalCap "" -+ifndef MIMEGlobalTypes "/etc/mime.types" -+ifndef MIMEGlobalCap "/etc/mailcap" - if { ! [ catch { set env(HOME) } ] } { - ifndef MIMELocalTypes $env(HOME)/.mime.types - ifndef MIMELocalCap $env(HOME)/.mailcap ---- uudeview-0.5.20.orig/man/uuwish.1 -+++ uudeview-0.5.20/man/uuwish.1 -@@ -0,0 +1,45 @@ -+.\" Copyright (c) 1999 Roland Rosenfeld -+.\" changes Copyright (c) 2001 Chris Hanson -+.\" -+.\" This program is free software; you can redistribute it and/or modify -+.\" it under the terms of the GNU General Public License as published by -+.\" the Free Software Foundation; either version 2 of the License, or -+.\" (at your option) any later version. -+.\" -+.\" This program is distributed in the hope that it will be useful, -+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+.\" GNU General Public License for more details. -+.\" -+.\" You should have received a copy of the GNU General Public License -+.\" along with this program; if not, write to the Free Software -+.\" Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -+.\" -+.\" This manual page is written especially for Debian Linux. -+.\" -+.TH UUWISH 1 "February 2001" "Debian Project" "Debian GNU/Linux" -+.SH NAME -+uuwish \- A minimal wish extended by the UU commands -+.SH SYNOPSIS -+.B uuwish -+is a minimal -+.BR wish (1) -+extended by the UU commands that are available in -+.BR uudeview (1) -+and -+.BR uuenview (1). -+.B uuwish -+isn't meant to be called directly; it is a Tcl/Tk script interpreter, -+which is meant to be used by -+.BR xdeview (1). -+.SH "SEE ALSO" -+.BR xdeview (1), -+.BR uudeview (1), -+.BR uuenview (1), -+.BR wish (1). -+.SH AUTHOR -+.B uuwish -+was written by Frank Pilhofer . -+.PP -+This manual page was written by Roland Rosenfeld , -+for the Debian GNU/Linux system (but may be used by others). diff --git a/uudeview-format-security.patch b/uudeview-format-security.patch deleted file mode 100644 index 42d9f9f..0000000 --- a/uudeview-format-security.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/unix/uuenview.c b/unix/uuenview.c -index 7acfd3b..726a2a6 100644 ---- a/unix/uuenview.c -+++ b/unix/uuenview.c -@@ -310,7 +310,7 @@ SendMkCommand (char **rcptlist, char *towhom, char *subject, int isemail) - } - - if ((*rcptlist = (char *) malloc (strlen (towhom) + 16)) == NULL) { -- fprintf (stderr, "error: Out of memory allocating %d bytes\n", -+ fprintf (stderr, "error: Out of memory allocating %zd bytes\n", - strlen (towhom)+16); - _FP_free (command); - return NULL; -@@ -483,7 +483,7 @@ AttachFiles (char *towhom, char *subject, - if (_FP_stristr (input, "multipart") != NULL) { - /* it is already a multipart posting. grab the boundary */ - if ((ptr = _FP_stristr (input, "boundary=")) != NULL) { -- fprintf(thepipe, input); -+ fprintf(thepipe, "%s", input); - strcpy (boundary, ParseValue (ptr)); - hadmulti = 1; - } diff --git a/uudeview.spec b/uudeview.spec index 8696b16..8d071a3 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -1,15 +1,25 @@ +%global _hardened_build 1 +%global snapshot 1 +%global OWNER hannob +%global PROJECT uudeview +%global commit 7ef9e26532b39bdcedd319c07b6b77fc70e270dd +%global commitdate 20241111 +#global gittag 0.5.20 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + Name: uudeview -Version: 0.5.20 -Release: 56%{?dist} +Version: 0.5.20%{?snapshot:^%{commitdate}git%{shortcommit}} +Release: 1%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later -Source: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz +%if 0%{?snapshot} +Source0: https://github.com/%{OWNER}/%{PROJECT}/archive/%{commit}/%{name}-%{commit}.tar.gz +BuildRequires: autoconf +%else +Source0: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-%{version}.tar.gz +%endif Source1: xdeview.desktop -Patch0: uudeview-debian-patches.patch -Patch1: uudeview-format-security.patch -Patch2: matherr.patch -Patch3: uudeview-configure-c99.patch URL: http://www.fpx.de/fp/Software/UUDeview/ Summary: Applications for uuencoding, uudecoding, ... BuildRequires: make @@ -41,12 +51,12 @@ This package contains header files and static libraries for uulib. %prep -%setup -q -%patch -P0 -p1 -%patch -P1 -p1 -%patch -P2 -p2 -%patch -P3 -p1 -%{__sed} -i -e "s,psfig,epsfig,g" doc/library.ltx +%if 0%{?snapshot} +%autosetup -p1 -n %{name}-%{commit} +autoreconf -i +%else +%autosetup -p1 +%endif %{__sed} -i -e "s,for ff_subdir in lib,for ff_subdir in %{_lib},g" configure %build @@ -85,6 +95,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Fri Jan 03 2025 Charles R. Anderson - 0.5.20^20241111git7ef9e26-1 +- Update to git snapshot to resolve FTBFS with Tcl_CreateCommand + * Fri Jul 26 2024 Miroslav Suchý - 0.5.20-56 - convert license to SPDX From 72084330609b477e79e99402275f5043b1bde4e8 Mon Sep 17 00:00:00 2001 From: "Charles R. Anderson" Date: Wed, 15 Jan 2025 12:05:59 -0500 Subject: [PATCH 17/26] Rebuilt for Tcl/Tk 9.0 (#2337805) --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 8d071a3..17e6e88 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -9,7 +9,7 @@ Name: uudeview Version: 0.5.20%{?snapshot:^%{commitdate}git%{shortcommit}} -Release: 1%{?dist} +Release: 2%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later @@ -95,6 +95,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Wed Jan 15 2025 Charles R. Anderson - 0.5.20^20241111git7ef9e26-2 +- Rebuilt for Tcl/Tk 9.0 (#2337805) + * Fri Jan 03 2025 Charles R. Anderson - 0.5.20^20241111git7ef9e26-1 - Update to git snapshot to resolve FTBFS with Tcl_CreateCommand From 0a169ccddfc1887eabc0f7763cf582ed2b5a2f5e Mon Sep 17 00:00:00 2001 From: "Charles R. Anderson" Date: Wed, 15 Jan 2025 13:43:24 -0500 Subject: [PATCH 18/26] Rebuilt for Tcl/Tk 9.0 (#2337805) Patch to always set -D_REENTRANT since Tcl 9.0 no longer sets TCL_THREADS --- uudeview-threads.patch | 16 ++++++++++++++++ uudeview.spec | 4 +++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 uudeview-threads.patch diff --git a/uudeview-threads.patch b/uudeview-threads.patch new file mode 100644 index 0000000..6b4881c --- /dev/null +++ b/uudeview-threads.patch @@ -0,0 +1,16 @@ +diff -up uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd/configure.ac.threads uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd/configure.ac +--- uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd/configure.in.threads 2025-01-15 12:34:54.094758034 -0500 ++++ uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd/configure.in 2025-01-15 13:24:04.313395808 -0500 +@@ -171,11 +171,7 @@ if test "x$have_tcl" != "xno" ; then + AC_MSG_RESULT(found in $tcl_lib_dir) + fi + +- case $TCL_DEFS in +- *TCL_THREADS*) +- CFLAGS="-D_REENTRANT $CFLAGS" +- ;; +- esac ++ CFLAGS="-D_REENTRANT $CFLAGS" + fi + + # diff --git a/uudeview.spec b/uudeview.spec index 17e6e88..49415ab 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -20,9 +20,10 @@ BuildRequires: autoconf Source0: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-%{version}.tar.gz %endif Source1: xdeview.desktop +Patch0: uudeview-threads.patch URL: http://www.fpx.de/fp/Software/UUDeview/ Summary: Applications for uuencoding, uudecoding, ... -BuildRequires: make +BuildRequires: make BuildRequires: inews BuildRequires: texlive-collection-latexextra BuildRequires: transfig, desktop-file-utils @@ -97,6 +98,7 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %changelog * Wed Jan 15 2025 Charles R. Anderson - 0.5.20^20241111git7ef9e26-2 - Rebuilt for Tcl/Tk 9.0 (#2337805) +- Patch to always set -D_REENTRANT since Tcl 9.0 no longer sets TCL_THREADS * Fri Jan 03 2025 Charles R. Anderson - 0.5.20^20241111git7ef9e26-1 - Update to git snapshot to resolve FTBFS with Tcl_CreateCommand From 7c2c4a2e4a23349ed9e5dc5110b901cbf1848388 Mon Sep 17 00:00:00 2001 From: "Charles R. Anderson" Date: Wed, 15 Jan 2025 14:06:53 -0500 Subject: [PATCH 19/26] Rebuilt for Tcl/Tk 9.0 (#2337805) and GCC 15 Patch to always set -D_REENTRANT since Tcl 9.0 no longer sets TCL_THREADS, and add -std=gnu17 to CFLAGS since GCC 15 changed to gnu23 which fails. --- uudeview-threads.patch | 4 ++-- uudeview.spec | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/uudeview-threads.patch b/uudeview-threads.patch index 6b4881c..91f9e04 100644 --- a/uudeview-threads.patch +++ b/uudeview-threads.patch @@ -1,6 +1,6 @@ diff -up uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd/configure.ac.threads uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd/configure.ac --- uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd/configure.in.threads 2025-01-15 12:34:54.094758034 -0500 -+++ uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd/configure.in 2025-01-15 13:24:04.313395808 -0500 ++++ uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd/configure.in 2025-01-15 14:03:10.795382171 -0500 @@ -171,11 +171,7 @@ if test "x$have_tcl" != "xno" ; then AC_MSG_RESULT(found in $tcl_lib_dir) fi @@ -10,7 +10,7 @@ diff -up uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd/configure.ac.threads - CFLAGS="-D_REENTRANT $CFLAGS" - ;; - esac -+ CFLAGS="-D_REENTRANT $CFLAGS" ++ CFLAGS="-std=gnu17 -D_REENTRANT $CFLAGS" fi # diff --git a/uudeview.spec b/uudeview.spec index 49415ab..3044ae3 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -98,7 +98,8 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %changelog * Wed Jan 15 2025 Charles R. Anderson - 0.5.20^20241111git7ef9e26-2 - Rebuilt for Tcl/Tk 9.0 (#2337805) -- Patch to always set -D_REENTRANT since Tcl 9.0 no longer sets TCL_THREADS +- Patch to always set -D_REENTRANT since Tcl 9.0 no longer sets TCL_THREADS, + and add -std=gnu17 to CFLAGS since GCC 15 changed to gnu23 which fails. * Fri Jan 03 2025 Charles R. Anderson - 0.5.20^20241111git7ef9e26-1 - Update to git snapshot to resolve FTBFS with Tcl_CreateCommand From b28a9218314ba2dba5dac5d51380fed3d4322a57 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 14:01:02 +0000 Subject: [PATCH 20/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 3044ae3..7c88609 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -9,7 +9,7 @@ Name: uudeview Version: 0.5.20%{?snapshot:^%{commitdate}git%{shortcommit}} -Release: 2%{?dist} +Release: 3%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later @@ -96,6 +96,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 0.5.20^20241111git7ef9e26-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Jan 15 2025 Charles R. Anderson - 0.5.20^20241111git7ef9e26-2 - Rebuilt for Tcl/Tk 9.0 (#2337805) - Patch to always set -D_REENTRANT since Tcl 9.0 no longer sets TCL_THREADS, From a6191ee9d84d9adc79efb92bbe2131a312b19df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 3 Feb 2025 17:50:57 +0100 Subject: [PATCH 21/26] Rebuilt for tcl/tk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 7c88609..d73c25d 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -9,7 +9,7 @@ Name: uudeview Version: 0.5.20%{?snapshot:^%{commitdate}git%{shortcommit}} -Release: 3%{?dist} +Release: 4%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later @@ -96,6 +96,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Mon Feb 3 2025 Jaroslav Škarvada - 0.5.20^20241111git7ef9e26-4 +- Rebuilt for tcl/tk + * Sun Jan 19 2025 Fedora Release Engineering - 0.5.20^20241111git7ef9e26-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 59ce74d3eebeaa512cdbb9ad94e38c4459ff01b6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:55:00 +0000 Subject: [PATCH 22/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index d73c25d..3748a82 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -9,7 +9,7 @@ Name: uudeview Version: 0.5.20%{?snapshot:^%{commitdate}git%{shortcommit}} -Release: 4%{?dist} +Release: 5%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later @@ -96,6 +96,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.5.20^20241111git7ef9e26-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Feb 3 2025 Jaroslav Škarvada - 0.5.20^20241111git7ef9e26-4 - Rebuilt for tcl/tk From 53350f659e8181bf41e7008e64773aa20f0b0c55 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:44:12 +0000 Subject: [PATCH 23/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 3748a82..058703a 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -9,7 +9,7 @@ Name: uudeview Version: 0.5.20%{?snapshot:^%{commitdate}git%{shortcommit}} -Release: 5%{?dist} +Release: 6%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later @@ -96,6 +96,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 0.5.20^20241111git7ef9e26-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 0.5.20^20241111git7ef9e26-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 7e58a9e8d6f6fc9cf8fc5e4b9cdef234c8daec9c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:18:52 +0000 Subject: [PATCH 24/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- uudeview.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uudeview.spec b/uudeview.spec index 058703a..ac4dd84 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -9,7 +9,7 @@ Name: uudeview Version: 0.5.20%{?snapshot:^%{commitdate}git%{shortcommit}} -Release: 6%{?dist} +Release: 7%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later @@ -96,6 +96,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0.5.20^20241111git7ef9e26-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 0.5.20^20241111git7ef9e26-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 200649ea4e8fec9f7c3af78fcde1533d050aca2e Mon Sep 17 00:00:00 2001 From: "Charles R. Anderson" Date: Wed, 22 Jul 2026 22:36:35 -0400 Subject: [PATCH 25/26] Update to latest git snapshot Fix rhbz#2505082 --- .gitignore | 1 + sources | 2 +- uudeview.spec | 16 +++++++++++----- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 6061536..e976c88 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ uudeview-0.5.20.tar.gz /uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd.tar.gz +/uudeview-7640bc56aa5016cdc9c139eb1ab3ec874e47c744.tar.gz diff --git a/sources b/sources index c17897a..a0ef2ee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uudeview-7ef9e26532b39bdcedd319c07b6b77fc70e270dd.tar.gz) = b35d149088e6af034bee6cc41ae1e785dc064d9da792c92629838dd48559d94479f8c6cb327efc8add56508b858d0d6256c27609f07dac2a47d0ecd765597f95 +SHA512 (uudeview-7640bc56aa5016cdc9c139eb1ab3ec874e47c744.tar.gz) = ae307e7b2488c3b61462dadfc45c80e98b0e0eb7387f1ce1b7ba5501d64b29ab19de4b4a4f5e3c148682de5d244b3c4b775b92b6b8c642346c6eb1325c1ec20b diff --git a/uudeview.spec b/uudeview.spec index ac4dd84..617b78d 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -2,14 +2,14 @@ %global snapshot 1 %global OWNER hannob %global PROJECT uudeview -%global commit 7ef9e26532b39bdcedd319c07b6b77fc70e270dd -%global commitdate 20241111 +%global commit 7640bc56aa5016cdc9c139eb1ab3ec874e47c744 +%global commitdate 20250320 #global gittag 0.5.20 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: uudeview Version: 0.5.20%{?snapshot:^%{commitdate}git%{shortcommit}} -Release: 7%{?dist} +Release: 1%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later @@ -23,10 +23,13 @@ Source1: xdeview.desktop Patch0: uudeview-threads.patch URL: http://www.fpx.de/fp/Software/UUDeview/ Summary: Applications for uuencoding, uudecoding, ... +BuildRequires: desktop-file-utils BuildRequires: make BuildRequires: inews BuildRequires: texlive-collection-latexextra -BuildRequires: transfig, desktop-file-utils +BuildRequires: texlive-courier +BuildRequires: texlive-times +BuildRequires: transfig BuildRequires: tk-devel BuildRequires: gcc Requires: %{_sbindir}/sendmail @@ -82,7 +85,7 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %files -%doc COPYING HISTORY IAFA-PACKAGE README uudeview.lsm +%doc COPYING HISTORY IAFA-PACKAGE README.md uudeview.lsm %{_mandir}/man1/*.1* %{_bindir}/uudeview %{_bindir}/uuenview @@ -96,6 +99,9 @@ install -p -m 0644 uulib/libuu.a $RPM_BUILD_ROOT/%{_libdir}/ %{_libdir}/*.a %changelog +* Wed Jul 22 2026 Charles R. Anderson - 0.5.20^20250320git7640bc5-1 +- Update to latest git snapshot + * Fri Jul 17 2026 Fedora Release Engineering - 0.5.20^20241111git7ef9e26-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From b3b84002cbe809f73fdfee8bc1b29d98ff4b188e Mon Sep 17 00:00:00 2001 From: Filipe Rosset Date: Wed, 5 Aug 2026 14:04:51 -0300 Subject: [PATCH 26/26] drop ix86 support --- uudeview.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/uudeview.spec b/uudeview.spec index 617b78d..d660dc7 100644 --- a/uudeview.spec +++ b/uudeview.spec @@ -20,6 +20,7 @@ BuildRequires: autoconf Source0: http://www.fpx.de/fp/Software/UUDeview/download/uudeview-%{version}.tar.gz %endif Source1: xdeview.desktop +ExcludeArch: %{ix86} Patch0: uudeview-threads.patch URL: http://www.fpx.de/fp/Software/UUDeview/ Summary: Applications for uuencoding, uudecoding, ...