Bug 298195 - [NEW PORT] databases/libnusqlite3: SQLite3 extension with Unicode collation, case mapping, and unaccent
Summary: [NEW PORT] databases/libnusqlite3: SQLite3 extension with Unicode collation, ...
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: Michael Osipov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-09-04 23:27 UTC by Michael Johnson
Modified: 2026-09-08 18:32 UTC (History)
1 user (show)

See Also:


Attachments
libnusqlite3 (2.23 KB, patch)
2026-09-04 23:27 UTC, Michael Johnson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Johnson 2026-09-04 23:27:41 UTC
Created attachment 274423 [details]
libnusqlite3

New port: databases/libnusqlite3

Loadable SQLite3 extension built from the nunicode library
(https://bitbucket.org/alekseyt/nunicode, MIT). Registers Unicode-aware
NU1700/NU1700_NOCASE collations and overrides upper(), lower(), like()
plus adds unaccent().

--

port tested on aarch64 & amd64.

poudriere tested on aarch64.
Comment 1 Michael Osipov freebsd_committer freebsd_triage 2026-09-08 14:53:08 UTC
Looking into this and the patch looks almost perfect. One question: What is the purpose of USE_LDCONFIG=	yes here since it lands in ${PREFIX}/lib and not in another location?
Comment 2 Michael Johnson 2026-09-08 15:11:34 UTC
I originally didn't have USE_LDCONFIG and portlint warned, so I added it.  Is this not correct -- happy to remove it?

[ahze@saturn /usr/ports/databases/libnusqlite3]$ portlint 
WARN: PLIST_FILES: installing shared libraries, please define USE_LDCONFIG as appropriate
0 fatal errors and 1 warning found.
Comment 3 Michael Osipov freebsd_committer freebsd_triage 2026-09-08 18:05:01 UTC
(In reply to Michael Johnson from comment #2)

Agreed, others do as well. Let's keep it consistent.
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-09-08 18:32:05 UTC
A commit in branch main references this bug:

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

commit 07bfccc126c06ff58d7b177e77dc8f9a0dd610f7
Author:     Michael Johnson <michaeljohnson@ahze.net>
AuthorDate: 2026-09-08 18:08:48 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2026-09-08 18:31:31 +0000

    [NEW PORT] databases/libnusqlite3: SQLite3 extension with Unicode support

    Co-authored-by: Michael Osipov <michaelo@FreeBSD.org>
    PR:             298195

 databases/Makefile                     |  1 +
 databases/libnusqlite3/Makefile (new)  | 31 +++++++++++++++++++++++++++++++
 databases/libnusqlite3/distinfo (new)  |  3 +++
 databases/libnusqlite3/pkg-descr (new) |  5 +++++
 4 files changed, 40 insertions(+)