libphonenumberLibrary for parsing, formatting, and validating phone numbers
9.0.40develΣ=0 9.0.39_1Version of this port present on the latest quarterly branch.upstream: v9.0.43A newer version was found upstream by portscout, first on 2026-11-07.
Google's common Java, C++ and JavaScript library for parsing, formatting, and
validating international phone numbers. The Java version is optimized for
running on smartphones, and is used by the Android framework since 4.0 (Ice
Cream Sandwich).
This package contains the C++ part.
*/*: Bump all devel/protobuf consumers
They must always be bumped after devel/protobuf because it include
following files whose filenames contain %%PORTVERSION%%. Consequently,
the shlib will always change when PORTVERSION is increased.
lib/libprotobuf-lite.so.%%PORTVERSION%%.0
lib/libprotobuf.so.%%PORTVERSION%%.0
lib/libprotoc.so.%%PORTVERSION%%.0
Approved by: portmgr (blanket; fixing consumers)
devel/libphonenumber: Restore header patches
Fixes issue with net/kitinerary
/usr/local/include/phonenumbers/base/thread_checker.h:29:2:
error: Building without Boost, please provide
-DI18N_PHONENUMBERS_NO_THREAD_SAFETY
PR: 285187
Reported by: Chad Jacob Milios <milios@ccsys.com>
Fixes: a7845f82f019 devel/libphonenumber: Update to 9.0.0
devel/libphonenumber: Update to 9.0.0
Despite the major version bump, the C++ library (this) just contains
metadata updates in this release and is API/ABI compatible with the
previous 8.13.x releases, thus the shlib version remains the same.
Still, do some deeper digging on this occasion:
Switch to ninja build system and deem jobs safe. These standards haven't
been reevaluated in quite a few years, but it seems to build fine in both
cases.
Add support for regression tests. All currently pass.
Remove all of our local patches. The same result can be achieved by
simply setting CMAKE_ON=USE_POSIX_THREAD.
Make portclippy(1) happy.
https://github.com/google/libphonenumber/releases/tag/v9.0.0
devel/abseil: Update to 20230125.3
- Bump PORTREVISION of dependent ports for shlib change
some ports are skipped due to re2 shlib change
Changes: https://github.com/abseil/abseil-cpp/releases
PR: 270233
Approved by: danfe (maintainer)
devel/libphonenumber: update to 8.13.7
Feb 23, 2023: v8.13.7
Metadata changes:
- Updated phone metadata for region code(s):
AG, AI, AS, AU, BB, BM, BS, CC, CN, CX, DM, FR, GD, GG, GU, IM, JE, KN, KY,
LC, LI, MG, MK, MP, MQ, MS, RE, RO, SX, TC, TG, TT, US, VC, VG, VI, YT
- Updated short number metadata for region code(s): FR
- New geocoding data for country calling code(s): 1472 (en), 1557 (en)
- Updated geocoding data for country calling code(s): 57 (en)
- Updated carrier data for country calling code(s):
33 (en), 34 (en), 41 (en), 228 (en), 370 (en), 389 (en), 1246 (en)
- Updated / refreshed time zone meta data.
devel/libphonenumber: update to 8.13.6, latest upstream
Release notes are at
https://github.com/google/libphonenumber/releases/tag/v8.13.6
This change to ports is a little larger than usual: the newer releases
want to regenerate metadata (which in turn is needed to run the tests)
but the (re)generation code is Java, so building that would pull in
an entire JRE. I claim that we have enough big things in the build
chain already, so that means disabling building-the-tests and
not regenerating the metadata. It's a bit unclear whether this
is sustainable: the metadata looks like it is transitioning to CSV,
which I would expect to be *simpler* in use, rather than requiring
even more heavyweight tools.
devel/libphonenumber: update to 8.12.56
Metadata changes:
- Updated phone metadata for region code(s): HR, MK, PT, SG, TT
- Updated short number metadata for region code(s): BZ
- Updated carrier data for country calling code(s):
31 (en), 65 (en), 385 (en), 389 (en)
devel/libphonenumber: update to 8.12.55
Sep 08, 2022: v8.12.55
Metadata changes:
- Updated phone metadata for region code(s):
AU, CA, CC, CI, CO, CX, DE, HK, KW, LV, MV, PA, PL, TZ, US
- Updated short number metadata for region code(s): CO, TZ
- New geocoding data for country calling code(s): 1742 (en), 1753 (en)
- Updated geocoding data for country calling code(s):
57 (en), 225 (en), 960 (en)
- New carrier data for country calling code(s): 371 (en)
- Updated carrier data for country calling code(s):
47 (en), 57 (en), 61 (en), 90 (en), 255 (en), 297 (en), 381 (en), 420 (en),
972 (en), 974 (en)
- Updated / refreshed time zone meta data.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/libphonenumber: update to latest upstream, 8.12.54
libphonenumber updates every two weeks, so here we are again.
Just metadata changes for various country codes.
Release notes are always at
https://github.com/google/libphonenumber/blob/master/release_notes.txt
Reported by: portscout
devel/libphonenumber: update to latest upstream release
This skips over a handful of releases. Mostly metadata updates,
but there are also internal code- and data-format changes (which
do not leak to consumers).
devel/libphonenumber: update to 8.12.47, altest upstream
Seems we missed some of the (bi)weekly updates to jump
over a couple of versions. Detailed release notes live in
https://github.com/google/libphonenumber/blob/master/release_notes.txt
but are entirely metadata / data updates (which is kind of the
point of the library).