public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tnef] f44: Update to v1.5.0 (rhbz#2585603)
@ 2026-11-27 20:26 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-11-27 20:26 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/tnef
            Branch : f44
            Commit : 4270cfc35481a4009acf646688455a9e9a1d400c
            Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
            Date   : 2026-11-27T21:23:43+01:00
            Stats  : +11/-54 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/tnef/c/4270cfc35481a4009acf646688455a9e9a1d400c?branch=f44

            Log:
            Update to v1.5.0 (rhbz#2585603)

Contains security fixes for:
- CVE-2026-103678 (rhbz#2544594)
- CVE-2026-103680 (rhbz#2544597)
- CVE-2026-137726 (rhbz#2585480)
- CVE-2026-137727 (rhbz#2585481)
- CVE-2026-137728 (rhbz#2585482)

---
diff --git a/.gitignore b/.gitignore
index ddbe71b..ae82451 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /tnef-1.4.18.tar.gz
+/tnef-1.5.0.tar.gz

diff --git a/0000-too-many-arguments.patch b/0000-too-many-arguments.patch
deleted file mode 100644
index ea50ae0..0000000
--- a/0000-too-many-arguments.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 86bfa75cfacbe71c8d5282fa0065981b4544c5ad Mon Sep 17 00:00:00 2001
-From: Mark Simpson <verdammelt@gmail.com>
-Date: Thu, 26 Jun 2025 20:24:39 -0400
-Subject: [PATCH] Fix compiler warning
-
-Function declaration was missing argument.
----
- src/attr.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/attr.h b/src/attr.h
-index bf43df0..93ff881 100644
---- a/src/attr.h
-+++ b/src/attr.h
-@@ -69,6 +69,6 @@ typedef struct
- extern void attr_dump (Attr* attr);
- extern void attr_free (Attr* attr);
- extern void copy_date_from_attr (Attr* attr, struct date* dt);
--extern Attr* attr_read ();
-+extern Attr* attr_read (FILE* in);
- 
- #endif /* ATTR_H */

diff --git a/sources b/sources
index fa6f80c..6405c67 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tnef-1.4.18.tar.gz) = bc53daaca9c260a804681c040d01f80bbd8b0d3597678c774975e988cdf83dad6b0d6c66b22e0d40ed2300efddef0bc663236ead4dfe687eb33af7f27dbb6000
+SHA512 (tnef-1.5.0.tar.gz) = 347580e5fb04eb86f5a7ede76abb29b1fc38bc492680c4d6228b569938aacb59f66865597a65e41797d3421b069a038f0ef8362150635ae9c1c8fb55f3b3f7d6

diff --git a/tnef.spec b/tnef.spec
index 65e74d1..487b44b 100644
--- a/tnef.spec
+++ b/tnef.spec
@@ -1,15 +1,6 @@
-%if (0%{?el5} || 0%{?el6})
-%global builddolphin 0
-%else
-%global builddolphin 1
-%endif
-
-#global commit #githash for non releases.
-#global shortcommit #(c=#{commit}; echo ${c:0:7})
-
 Name:      tnef
-Version:   1.4.18
-Release:   17%{?dist}
+Version:   1.5.0
+Release:   1%{?dist}
 Summary:   Extract files from email attachments like WINMAIL.DAT
 
 # Automatically converted from old format: GPLv2+ - review is highly recommended.
@@ -21,19 +12,16 @@ License:   GPL-2.0-or-later
 URL:       https://github.com/verdammelt/tnef
 # For git hub release archives:
 Source0:   https://github.com/verdammelt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
-# For git hub tags:
-#S#ource0:   https://github.com/verdammelt/%#{name}/archive/%#{commit}/%#{name}-%#{commit}.tar.gz
 Source1:   vnd.ms-tnef.desktop
 Source2:   tnef-extract.desktop
 Source3:   tnefextract.desktop
 Source4:   tnef.sh
 
-# Backport from upstream: https://github.com/verdammelt/tnef/commit/86bfa75cfacbe71c8d5282fa0065981b4544c5ad
-Patch0:    0000-too-many-arguments.patch
-
-BuildRequires: make
-BuildRequires: automake autoconf
+BuildRequires: automake
+BuildRequires: autoconf
 BuildRequires: desktop-file-utils
+BuildRequires: make
+BuildRequires: gcc
 
 
 %description
@@ -56,7 +44,6 @@ Requires: nautilus
 Provides a right-click extract menu item for Nautilus to extract TNEF files.
 
 
-%if 0%{builddolphin}
 %package dolphin
 Summary: Provides TNEF extract extension for KDE's Dolphin file manager
 
@@ -68,7 +55,6 @@ Requires: kf5-filesystem
 
 %description dolphin
 Provides a right-click extract menu item for Dolphin to extract TNEF files.
-%endif
 
 
 %prep
@@ -79,7 +65,6 @@ Provides a right-click extract menu item for Dolphin to extract TNEF files.
 autoreconf -vfi
 %configure
 %make_build
-chmod a-x THANKS
 
 
 %install
@@ -88,23 +73,15 @@ chmod a-x THANKS
 mkdir -p %{buildroot}/%{_datadir}/mimelnk/application/
 desktop-file-install                                  \
     --dir=%{buildroot}%{_datadir}/mimelnk/application \
-%if 0%{?el5}
-    --vendor="" \
-%endif
     %{SOURCE1}
 
 mkdir -p %{buildroot}/%{_datadir}/applications/
 desktop-file-install                           \
     --dir=%{buildroot}%{_datadir}/applications \
-%if 0%{?el5}
-    --vendor="" \
-%endif
     %{SOURCE2}
 
-%if 0%{builddolphin}
 mkdir -p %{buildroot}%{_kf5_datadir}/kservices5 
 cp %{SOURCE3} %{buildroot}%{_kf5_datadir}/kservices5
-%endif
 
 install -p -m 755 %{SOURCE4} \
         %{buildroot}%{_bindir}/
@@ -126,13 +103,14 @@ make check DESTDIR=%{buildroot}
 %{_datadir}/mimelnk/application/vnd.ms-tnef.desktop
 
 
-%if 0%{builddolphin}
 %files dolphin
 %{_kf5_datadir}/kservices5/tnefextract.desktop
-%endif
 
 
 %changelog
+* Fri Nov 27 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.5.0-1
+- Update to v1.5.0 (fixes CVE-2026-103678, CVE-2026-103680, CVE-2026-137726, CVE-2026-137727, CVE-2026-137728)
+
 * Sun Feb 22 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1.4.18-17
 - Add a patch to fix build errors
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 20:26 [rpms/tnef] f44: Update to v1.5.0 (rhbz#2585603) Artur Frenszek-Iwicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox