Bug 281386

Summary: security/libfprint: Update to version 1.94.8
Product: Ports & Packages Reporter: Harald Eilertsen <haraldei-freebsdbugz>
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Only Me CC: 0mp, leres, lwhsu
Priority: --- Flags: bugzilla: maintainer-feedback? (danfe)
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280749
Bug Depends on:    
Bug Blocks: 282009, 281387    
Attachments:
Description Flags
Patch to update security/libfprint to version 1.94.8
none
Patch removing security/fprint_demo replacing it with security/libfprint none

Description Harald Eilertsen 2024-09-09 10:33:01 UTC
Created attachment 253453 [details]
Patch to update security/libfprint to version 1.94.8

Upstream has been updated so it builds on FreeBSD again. With the patch included in this updated port, it has been confirmed to work.

A separate diff for security/fprintd will also be submitted.
Comment 1 Harald Eilertsen 2024-09-10 10:57:15 UTC
Created attachment 253482 [details]
Patch removing security/fprint_demo replacing it with security/libfprint

The fprint_demo upstream project is discontinued and replaced by the example apps included in the libfprint project.

Unsure if this should have been a separate issue, but including it here as it is related to the updated libfprint port.
Comment 2 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-09-12 11:27:05 UTC
Thanks for the patches!
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-10-11 10:44:52 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b44e3f6b6b24cba2cb0da23b87a6a1c3102cd67

commit 5b44e3f6b6b24cba2cb0da23b87a6a1c3102cd67
Author:     Harald Eilertsen <haraldei-freebsdbugz@anduin.net>
AuthorDate: 2024-10-10 12:42:21 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-10-11 10:42:17 +0000

    security/libfprint: Update from 0.7.0 to 1.94.8

    Upstream has been updated so it builds on FreeBSD again.

    PR:             281386
    Reviewed by:    0mp
    Tested by:      Eirik Øverby <ltning@anduin.net>
    Approved by:    maintainer timeout
    Sponsored by:   Entersekt (previously Modirum MDpay)

 security/libfprint/Makefile                        |  38 +++--
 security/libfprint/distinfo                        |   6 +-
 security/libfprint/files/patch-config.h.in (gone)  |  11 --
 .../files/patch-libfprint-drivers-vfs301.c (gone)  |  11 --
 .../patch-libfprint-drivers-vfs301_proto.c (gone)  |  11 --
 .../patch-libfprint-drivers-vfs301_proto.h (gone)  |  11 --
 .../files/patch-libfprint_Makefile.in (gone)       |  11 --
 .../files/patch-libfprint_fp-device.c (new)        |  17 ++
 .../files/patch-libfprint_fpi-device.c (new)       |  40 +++++
 security/libfprint/pkg-plist                       | 181 ++++++++++++++++++++-
 10 files changed, 261 insertions(+), 76 deletions(-)
Comment 4 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-10-11 10:53:27 UTC
Thanks to Eirik Øverby for doing the extra testing of the patch.

I've committed the slightly modified version of the update for libfprint and I opened a separate PR for the removal of fprint_demo. The removal should go through the standard deprecation procedure.