ChangeLog: https://sqlite.org/releaselog/3_45_0.html
* The SQLITE_DIRECT_OVERFLOW_READ optimization is now enabled by default.
* The use of -DSQLITE_STRICT_SUBTYPE=1 is a recommended compile-time option for
every application that makes use of subtypes.
PR: 276472
Reported by: pavelivolkov@gmail.com (maintainer)
Due to various ports not being prepared for this change (see 20230227
entry), the DQS option of databases/sqlite3 has been reenabled as a
stop gap measure. It is scheduled to be disabled again for good no
earlier than 20240101, giving downstream software authors more time
to fix their queries.
PR: 270064
Fixes: 47912ce2e6
See also: PR 269889, 269966, 269950
ChangeLog: https://www.sqlite.org/releaselog/3_40_1.html
* Fix the --safe command-line option to the CLI such that it correctly
disallows the use of SQL functions like writefile() that can cause harmful
side-effects.
* Fix a potential infinite loop in the memsys5 alternative memory allocator.
This bug was introduced by a performance optimization in version 3.39.0.
* Various other obscure fixes.
PR: 268762
Reported by: pavelivolkov@gmail.com (maintainer)
MFH: 2023Q1 (bugfix release)
ChangeLog: https://www.sqlite.org/releaselog/3_40_0.html
* Add support for compiling SQLite to WASM and running it in web browsers.
* Add the recovery extension that might be able to recover some content from a
corrupt database file.
* Query planner enhancements:
* A new typedef named sqlite3_filename is added and used to represent the name
of a database file.
* Add the sqlite3_value_encoding() interface.
* Security enhancement: SQLITE_DBCONFIG_DEFENSIVE is augmented to prohibit
changing the schema_version.
* Enhancements to the PRAGMA integrity_check statement:
* Enhance the VACUUM INTO statement so that it honors the PRAGMA synchronous
setting.
* Enhance the sqlite3_strglob() and sqlite3_strlike() APIs
* Provide the new SQLITE_MAX_ALLOCATION_SIZE compile-time option for limiting
the size of memory allocations.
* Change the algorithm used by SQLite's built-in pseudo-random number
generator (PRNG) from RC4 to Chacha20.
* Allow two or more indexes to have the same name as long as they are all in
separate schemas.
* Miscellaneous performance optimizations result in about 1% fewer CPU cycles
used on typical workloads.
PR: 268012
Reported by: pavelivolkov@gmail.com (maintainer)
Commit b7f05445c0 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)
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.
This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.
There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.
The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.
Approved by: portmgr (tcberner)
ChangeLog: https://www.sqlite.org/releaselog/3_39_0.html
* Add (long overdue) support for RIGHT and FULL OUTER JOIN.
* Add new binary comparison operators IS NOT DISTINCT FROM and IS DISTINCT FROM
that are equivalent to IS and IS NOT, respective, for compatibility with
PostgreSQL and SQL standards.
* Add a new return code (value "3") from the sqlite3_vtab_distinct() interface
that indicates a query that has both DISTINCT and ORDER BY clauses.
* Added the sqlite3_db_name() interface.
* The unix os interface resolves all symbolic links in database filenames to
create a canonical name for the database before the file is opened.
* Defer materializing views until the materialization is actually needed, thus
avoiding unnecessary work if the materialization turns out to never be used.
* The HAVING clause of a SELECT statement is now allowed on any aggregate
query, even queries that do not have a GROUP BY clause.
* Many microoptimizations collectively reduce CPU cycles by about 2.3%.
PR: 264974
Reported by: pavelivolkov@gmail.com (maintainer)
Although mmap is not in use by default, this option is too specific to
enable in the system sqlite3. There are cases where the
application/developer may wish to use mmap for reads (to minimize the
sqlite pagecache), but go through the well tested (p)write routines.
Enable various FreeBSD API options and go-fasters
The only one of these that raised concern is related to mmap, but this
compile time flag will not enable mmap usage on its own.
There is a test failure on ZFS with posix_fallocate(), leave that off
for now.
PR: 241385
Tested by: kbowling (test harness https://www.sqlite.org/testing.html)
Approved by: maintainer timeout
- Switch to more complete distfile which allows to enable
TCL extensions and sqlite_analyzer
- Switch to pkg-plist
PR: 221735
Reported by: lapo@lapo.it
Approved by: maintainer timeout (pavelivolkov@gmail.com, 3.5 years)
Removed unneeded LIBEDIT_DESC and "USES= ncurses".
In the target "post-install" added list for check used shared libraries.
PR: 248446
Submitted by: maintainer
Sponsored by: Netzkommune GmbH