Bug 284949 - databases/sqlite3: support new sqlite3_rsync
Summary: databases/sqlite3: support new sqlite3_rsync
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-21 14:18 UTC by Dave Cottlehuber
Modified: 2025-12-13 14:03 UTC (History)
6 users (show)

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


Attachments
v1 (3.65 KB, patch)
2025-11-03 11:01 UTC, Dave Cottlehuber
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Cottlehuber freebsd_committer freebsd_triage 2025-02-21 14:18:48 UTC
appreciate that with tooling changes this might be more complicated than normal

- https://sqlite.org/releaselog/3_49_1.html
- https://msteveb.github.io/autosetup/ now required
- https://sqlite.org/rsync.html very nice new replication tool
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2025-02-22 10:50:04 UTC
Given the direction in terms of building process upstream takes I'm starting to wonder if Turso/libsql is worth considering.
Comment 2 Duane 2025-08-15 03:34:15 UTC
A comment on-topic regarding `sqlite3_rsync`:

I was able to do the following without any problems, so presumably updating the port to create this executable and install it should be fine:

    cd /usr/ports/databases/sqlite3
    sudo make build
    cd work*/sqlite*
    sudo make sqlite3_rsync
    sudo cp sqlite3_rsync /usr/local/bin

Much appreciated if this could be added to the official package.  Thanks.
Comment 3 Dave Cottlehuber freebsd_committer freebsd_triage 2025-11-03 11:01:59 UTC
Created attachment 265129 [details]
v1

rebased for 3.50 SQLITE3, adds new default option for https://sqlite.org/rsync.html

This is such a handy tool for doing backups or sync, that it's worth either a default
option (as here), or a flavor. The disadvantage of a flavor is that other flavors
would not have access to the tool, so I chose a default option.

The various TEA/NO_TEA branches aren't clear to me, I hope the cases are covered
correctly.
Comment 4 Matthias Andree freebsd_committer freebsd_triage 2025-11-07 17:20:14 UTC
TEA is used if the databases/tcl-sqlite3 port gets built, which is the sqlite3 extension for the venerable Tcl programming language. 

Please check if this needs revision; we've updated sqlite3 to 3.50.4 to collect security fixes, and there the new 3.51.0 release has been out since Tuesday this week.
Comment 5 Matthias Andree freebsd_committer freebsd_triage 2025-11-07 17:30:41 UTC
oh and don't forget to update the "Summary" of the bug or ask someone to do that next time.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2025-11-13 00:50:14 UTC
^Triage: note that in general, we use "maintainer-feedback?" to notify maintainers,
and do not assign the PR to them, on the theory that if they are not a committer,
they cannot do the commit.

Hat: bugmeister
Comment 7 Bart Louwers 2025-12-13 14:03:09 UTC
+1 to enable this by default.

It is a tiny helpful tool.