[packages/fapolicyd] - up to 1.3.3

qboosh qboosh at pld-linux.org
Sat Sep 28 16:53:05 CEST 2024


commit f8430875f27f12afd4bb2ed6e79e9b14d8514084
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 28 16:56:09 2024 +0200

    - up to 1.3.3

 fapolicyd-ldso.patch | 11 +++++++++++
 fapolicyd.spec       | 16 +++++++++++-----
 2 files changed, 22 insertions(+), 5 deletions(-)
---
diff --git a/fapolicyd.spec b/fapolicyd.spec
index fcb7969..6081a34 100644
--- a/fapolicyd.spec
+++ b/fapolicyd.spec
@@ -7,21 +7,21 @@
 Summary:	Application allow listing daemon
 Summary(pl.UTF-8):	Demon do obsługi listy dozwolonych aplikacji
 Name:		fapolicyd
-Version:	1.1.4
+Version:	1.3.3
 Release:	0.1
 License:	GPL v2+
 Group:		Daemons
 Source0:	https://people.redhat.com/sgrubb/fapolicyd/%{name}-%{version}.tar.gz
-# Source0-md5:	3c69b4dba81eb0459de12a6a6435c951
+# Source0-md5:	072f3e281662838f608b3da6e1061a9e
 Patch0:		%{name}-ldso.patch
 URL:		https://people.redhat.com/sgrubb/fapolicyd/
-BuildRequires:	autoconf >= 2.50
+BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
 BuildRequires:	file
 BuildRequires:	libcap-ng-devel
 BuildRequires:	libmagic-devel
 BuildRequires:	libseccomp-devel
-BuildRequires:	libtool
+BuildRequires:	libtool >= 2:2
 BuildRequires:	linux-libc-headers >= 7:4.20
 BuildRequires:	lmdb-devel
 BuildRequires:	openssl-devel
@@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__mv} $RPM_BUILD_ROOT%{bash_compdir}/fapolicyd{.bash_completion,}
 
+# no API exported
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfapolicyd.{a,la}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -84,12 +87,15 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_sysconfdir}/fapolicyd
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fapolicyd/fapolicyd.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fapolicyd/fapolicyd.trust
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fapolicyd/fapolicyd-filter.conf
 %{_datadir}/fapolicyd
 %{systemdunitdir}/fapolicyd.service
 %{bash_compdir}/fapolicyd
-%{_mandir}/man1/fapolicyd-cli.1*
 %{_mandir}/man5/fapolicyd.conf.5*
 %{_mandir}/man5/fapolicyd.rules.5*
 %{_mandir}/man5/fapolicyd.trust.5*
+%{_mandir}/man5/fapolicyd-filter.conf.5*
+%{_mandir}/man5/rpm-filter.conf.5*
 %{_mandir}/man8/fagenrules.8*
 %{_mandir}/man8/fapolicyd.8*
+%{_mandir}/man8/fapolicyd-cli.8*
diff --git a/fapolicyd-ldso.patch b/fapolicyd-ldso.patch
new file mode 100644
index 0000000..1393309
--- /dev/null
+++ b/fapolicyd-ldso.patch
@@ -0,0 +1,11 @@
+--- fapolicyd-1.3.3/m4/dyn_linker.m4.orig	2024-09-28 16:34:26.886232756 +0200
++++ fapolicyd-1.3.3/m4/dyn_linker.m4	2024-09-28 16:45:06.032770202 +0200
+@@ -1,7 +1,7 @@
+ AC_DEFUN([LD_SO_PATH],
+ [
+   bash_path=`command -v bash`
+-  xpath1=`readelf -e $bash_path | grep Requesting | sed 's/.$//' | rev | cut -d" " -f1 | rev`
++  xpath1=`LC_ALL=C readelf -e $bash_path | grep Requesting | sed 's/.$//' | rev | cut -d" " -f1 | rev`
+   xpath=`realpath $xpath1`
+   if test ! -f "$xpath" ; then
+     AC_MSG_ERROR([Cant find the dynamic linker])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fapolicyd.git/commitdiff/f8430875f27f12afd4bb2ed6e79e9b14d8514084



More information about the pld-cvs-commit mailing list