[packages/bfs] Up to 4.1.7

arekm arekm at pld-linux.org
Thu Nov 12 20:45:42 CET 2026


commit c127debfb3351b1416c9c939a58d4d3c8e5e14f7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 12 18:24:11 2026 +0100

    Up to 4.1.7

 bfs-getfilecon-leak.patch | 22 ----------------------
 bfs.spec                  |  7 ++-----
 2 files changed, 2 insertions(+), 27 deletions(-)
---
diff --git a/bfs.spec b/bfs.spec
index ecc1267..e4e9c01 100644
--- a/bfs.spec
+++ b/bfs.spec
@@ -9,15 +9,13 @@
 
 Summary:	Breadth-first version of the UNIX find command
 Name:		bfs
-Version:	4.1.4
+Version:	4.1.7
 Release:	1
 License:	0BSD
 Group:		Applications/File
 #Source0Download: https://github.com/tavianator/bfs/releases
 Source0:	https://github.com/tavianator/bfs/releases/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	2647c6dd6f4f9bec2a367bc1081f1027
-# https://github.com/tavianator/bfs/commit/568c1bd03a723df7585b293b18d0f43d0b051295
-Patch0:		%{name}-getfilecon-leak.patch
+# Source0-md5:	5a57218b31ac901ac21948b23fd0d239
 URL:		https://bfs.tavianator.com/
 BuildRequires:	pkgconfig >= 1:0.9.0
 BuildRequires:	rpm-build >= 4.6
@@ -67,7 +65,6 @@ zsh-completion for bfs.
 
 %prep
 %setup -qc -n %{name}-%{version}
-%patch -P0 -p1
 
 %build
 ./configure \
diff --git a/bfs-getfilecon-leak.patch b/bfs-getfilecon-leak.patch
deleted file mode 100644
index 960ac9f..0000000
--- a/bfs-getfilecon-leak.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 568c1bd03a723df7585b293b18d0f43d0b051295 Mon Sep 17 00:00:00 2001
-From: Tavian Barnes <tavianator at tavianator.com>
-Date: Thu, 9 Jul 2026 14:09:17 -0400
-Subject: [PATCH] fsade: Fix memory leak in bfs_getfilecon()
-
----
- src/fsade.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/fsade.c b/src/fsade.c
-index 3d4c8ba9..0c450c04 100644
---- a/src/fsade.c
-+++ b/src/fsade.c
-@@ -501,6 +501,8 @@ char *bfs_getfilecon(const struct BFTW *ftwbuf) {
- 		ret = getfilecon(path, &con);
- 	}
- 
-+	free_fake_at(ftwbuf, path);
-+
- 	if (ret >= 0) {
- 		return con;
- 	} else {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bfs.git/commitdiff/c127debfb3351b1416c9c939a58d4d3c8e5e14f7



More information about the pld-cvs-commit mailing list