Debian Patches

Status for fapolicyd/2.0-1.1

Patch Description Author Forwarded Bugs Origin Last update
0001-Install-service-file-to-usr-lib-systemd.patch [PATCH 1/4] Install service file to /usr/lib/systemd/ Nobuhiro Iwamatsu <iwamatsu@nigauri.org> no 2025-04-12
0002-fapolicyd.conf-Drop-rpmdb-from-trust-variable.patch fapolicyd.conf: Drop rpmdb from trust variable
Rpmdb is not used because RPM is basically used in Debian.
So delete rpmdb from the default settings, and set debdb instead of.
Nobuhiro Iwamatsu <iwamatsu@debian.org> not-needed 2023-10-02
0003-configure.ac-Swap-checkong-libmd-and-libdpkg.patch [PATCH 3/4] configure.ac: Swap checkong libmd and libdpkg
The library may not be able to link depending on the specified order of the
library. This can be changed in the order of the library check.
This swap checkong libmd and libdpkg for fixing FTBFS.

```
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libdpkg.a(buffer.o): in function `buffer_md5_done.isra.0':
(.text+0x3e): undefined reference to `MD5Final'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libdpkg.a(buffer.o): in function `buffer_copy':
(.text+0x1e2): undefined reference to `MD5Update'
/usr/bin/ld/usr/bin/ld: (: .text+0x2d2): undefined reference to `MD5Init'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libdpkg.a(buffer.o): in function `buffer_digest':
(.text+0x44b): undefined reference to `MD5Init'
/usr/bin/ld: (.text+0x459): undefined reference to `MD5Update'
/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libdpkg.a(buffer.o): in function `buffer_md5_done.isra.0':
(.text+0x3e): undefined reference to `MD5Final'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libdpkg.a(buffer.o): in function `buffer_copy':
(.text+0x1e2): undefined reference to `MD5Update'
/usr/bin/ld: (.text+0x2d2): undefined reference to `MD5Init'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libdpkg.a(buffer.o): in function `buffer_digest':
(.text+0x44b): undefined reference to `MD5Init'
/usr/bin/ld: (.text+0x459): undefined reference to `MD5Update'
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
```
Nobuhiro Iwamatsu <iwamatsu@nigauri.org> no 2023-10-02
0004-Fix-section-number-of-man-files.patch [PATCH 4/4] Fix section number of man files Nobuhiro Iwamatsu <iwamatsu@nigauri.org> no 2023-11-06
0006-Fix-large-file-support-on-32-bit-builds.patch Fix large-file support on 32-bit builds

The build did not request a large-file ABI, and several translation units did not include the generated config header before system headers. On i686 this left off_t at 32 bits and exposed an incorrect trustdb_lmdb_test assumption that bulk import parses record sizes.

Enable AC_SYS_LARGEFILE and consistently include config.h first so configure-selected feature macros apply to every C translation unit. Update the LMDB regression to import the ABI-independent record first, then verify that size-integrity lookup accepts the 4 GiB value with wide off_t and rejects it with narrow off_t.

The database wire representation is unchanged, so existing LMDB files do not require migration and 64-bit builds retain their existing large-file ABI.
Steve Grubb <ausearch.1@gmail.com> no upstream, https://github.com/linux-application-whitelisting/fapolicyd/commit/3e851ff5518cd0e4d7e95654b45159056e7f13f4 2026-07-23

All known versions for source package 'fapolicyd'

Links