Bug 268544 - dns/libpsl: Update to 0.21.2 and switch to Meson
Summary: dns/libpsl: Update to 0.21.2 and switch to Meson
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: Po-Chuan Hsieh
URL: https://github.com/rockdaboot/libpsl/...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-24 17:43 UTC by Daniel Engberg
Modified: 2023-01-14 18:48 UTC (History)
1 user (show)

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


Attachments
Patch for libpsl (23.54 KB, patch)
2022-12-24 17:43 UTC, Daniel Engberg
no flags Details | Diff
Patch for libpsl v2 (23.66 KB, patch)
2022-12-26 14:10 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2022-12-24 17:43:27 UTC
Created attachment 239004 [details]
Patch for libpsl

* Switch to Meson (simplifies patching and is faster)
* Drop IDN option, only allow IDNA2008 compatible libraries
* Switch default library to (lib)ICU as its a more common dependency
* Enable "make test"
* Install psl-make-dafsa binary not just manpage
* Modernize Makefile to follow Porters Handbook more closely

Compile and runtime tested on FreeBSD 13.1-STABLE (amd64) (make, make check-plist, make test)
Poudriere testport OK 12.3-RELEASE (amd64)
Poudriere testport OK 13.1-RELEASE (i386)
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2022-12-24 17:44:20 UTC
Current version in tree fails unit tests, see https://github.com/rockdaboot/libpsl/issues/190#issuecomment-1364554764
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2022-12-26 14:10:01 UTC
Created attachment 239032 [details]
Patch for libpsl v2

Update to release version
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2023-01-06 07:05:31 UTC
Tested with following users in Poudriere, FreeBSD 13.1-RELEASE (aarch64):
devel/libsoup
devel/libsoup3
ftp/curl
sysutils/libdnf
www/wget2
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-01-14 18:48:31 UTC
A commit in branch main references this bug:

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

commit f9ff6b1f784d8ee02c33343303fde91073e008ed
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-01-14 18:31:49 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-01-14 18:38:23 +0000

    dns/libpsl: Update to 0.21.2 and switch to Meson

    * Switch to Meson (simplifies patching and is faster)
    * Drop IDN option, only allow IDNA2008 compatible libraries
    * Switch default library to (lib)ICU as its a more common dependency
    * Enable "make test"
    * Install psl-make-dafsa binary not just manpage
    * Modernize Makefile to follow Porters Handbook more closely

    Changelog: https://github.com/rockdaboot/libpsl/releases/tag/0.21.2

    PR:             268544
    Approved by:    portmgr (maintainer timeout, 2+ weeks)

 dns/libpsl/Makefile                       |  43 +--
 dns/libpsl/distinfo                       |   6 +-
 dns/libpsl/files/patch-Makefile.in (gone) |  20 -
 dns/libpsl/files/patch-configure (gone)   | 593 ------------------------------
 dns/libpsl/pkg-plist                      |   3 +-
 5 files changed, 22 insertions(+), 643 deletions(-)