Bug 261879 - devel/cctz: update to 2.3
Summary: devel/cctz: update to 2.3
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: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-11 02:19 UTC by Piotr Kubaj
Modified: 2024-10-23 22:50 UTC (History)
3 users (show)

See Also:


Attachments
patch (795 bytes, patch)
2022-02-11 02:19 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2022-02-11 02:19:38 UTC
Created attachment 231738 [details]
patch

Pretty simple update.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2022-02-11 02:19:38 UTC
Maintainer informed via mail
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2022-02-14 03:19:59 UTC
submitter is committer.
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2022-02-14 10:49:18 UTC
We probably want to bump this to latest commit to get up to date zoneinfo files?
https://github.com/google/cctz/commit/793f7933ea294e8411c5cdd2029f5820da64fe44
..and there's a fix for ARM 32-bit that might be of interest?
https://github.com/google/cctz/commit/02918d62329ef440935862719829d061a5f4beba

It would also be nice if we could convert this to CMake and possibly hook up unit tests (make test).

Best regards,
Daniel
Comment 4 Alexander Vereeken freebsd_triage 2024-09-19 09:13:41 UTC
Friendly reminder.
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-10-23 22:49:03 UTC
A commit in branch main references this bug:

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

commit 24b34d074090c834304d83740d22994c83c02ab8
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-10-23 22:44:56 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-10-23 22:45:02 +0000

    devel/cctz: Update to 2.4

    * Switch to CMake
    * Backport upstream commit 64d12062183e2fa01f8c0127c4b9f91afaeee46c
    * Import patches from Debian
    * Build shared library instead of static
    * Rework Makefile to follow Porters Handbook more closely

    References:
    https://github.com/google/cctz/commit/64d12062183e2fa01f8c0127c4b9f91afaeee46c

    Sources:
    https://salsa.debian.org/science-team/cctz/-/blob/master/debian/patches/0001-Compile-shared-lib-and-install-it.patch?ref_type=heads
    https://salsa.debian.org/science-team/cctz/-/blob/master/debian/patches/use_system_zoneinfo.patch?ref_type=heads

    PR:             261879
    Approved by:    portmgr (maintainer timeout, 2+ years)

 devel/cctz/Makefile                         | 32 ++++++++++++++++-------------
 devel/cctz/distinfo                         |  8 +++++---
 devel/cctz/files/patch-CMakeLists.txt (new) | 32 +++++++++++++++++++++++++++++
 devel/cctz/pkg-plist (new)                  | 10 +++++++++
 4 files changed, 65 insertions(+), 17 deletions(-)