Bug 261667 - devel/libnfc: update to 1.8.0
Summary: devel/libnfc: update to 1.8.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tilman Keskinoz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-01 22:49 UTC by Stefan Ehmann
Modified: 2022-11-14 14:07 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (romain)


Attachments
update libnfc to 1.8.0 (2.35 KB, patch)
2022-02-01 22:49 UTC, Stefan Ehmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Ehmann 2022-02-01 22:49:06 UTC
Created attachment 231511 [details]
update libnfc to 1.8.0

Update libnfc to 1.8.0.

Other changes:

Switch mastersite to github.

Also fix the following problem with ACR_122_USB:
# nfc-scan-device 
nfc-scan-device uses libnfc 1.8.0
1 NFC device(s) found:
error   libnfc.driver.acr122_usb        Unable to write to USB (Operation not permitted)
nfc_open failed for acr122_usb:/dev/usb:/dev/ugen0.2


usb_reset() closes the USB handle (see comment in lib/libusb/libusb01.c) -> call usb_open() again.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-11-14 14:07:14 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=80ccb4096cf564c09f65cba6e0900f33b4bc8a08

commit 80ccb4096cf564c09f65cba6e0900f33b4bc8a08
Author:     Tilman Keskinoz <arved@FreeBSD.org>
AuthorDate: 2022-11-14 14:06:02 +0000
Commit:     Tilman Keskinoz <arved@FreeBSD.org>
CommitDate: 2022-11-14 14:06:43 +0000

    devel/libnfc: Update to 1.8.0

    * Switch mastersite to github
    * Fix nfc-scan-device for ACR_122_USB
    * Bump PORTREVISION of dependencies because of shared library bump

    PR:             261667
    Submitted by:   Stefan Ehmann
    Approved by:    maintainer timeout (ca. 9 months)

 devel/libfreefare/Makefile                                  |  2 +-
 devel/libnfc/Makefile                                       |  8 +++-----
 devel/libnfc/distinfo                                       |  5 +++--
 devel/libnfc/files/patch-libnfc_drivers_acr122__usb.c (new) | 12 ++++++++++++
 devel/libnfc/pkg-plist                                      |  6 ++++--
 sysutils/nfcutils/Makefile                                  |  1 +
 6 files changed, 24 insertions(+), 10 deletions(-)
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2022-11-14 14:07:55 UTC
Committed, thanks