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
option work after r542047 [1]
- Also add back options descriptions [1]
- While here make STAT3 and STAT4 options descriptions start with
uppercase letter [1]
- Since in r542047 OPTIONS_GROUP_RL was changed to OPTIONS_RADIO_RL
also bug 239228 can be closed [2]
PR: 248323 [1], 239228 [2]
Submitted by: myself [1], Dennis Clarke <dclarke@blastwave.org> [2]
Approved by: maintainer [1]
Fix two long-standing bugs that allow malicious SQL statements to crash
the process that is running SQLite. These bugs were announced by a
third-party approximately 24 hours after the 3.32.0 release but are not
specific to the 3.32.0 release.
Fix a long-standing bug in the byte-code engine that can cause a COMMIT
command report as success when in fact it failed to commit. Ticket
810dc8038872e212.
Approved by: portmgr (blanket: run-time bugfix)
MFH: 2020Q2
Changelog:
https://www.sqlite.org/releaselog/3_23_0.html
Port changes:
* Add SER1 option for the new optional sqlite3_serialize()/sqlite3_deserialize() functions
* Remove security patches that are now in the release
PR: 227365
Submitted by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Detect databases whose schema is corrupted using
a CREATE TABLE AS statement and issue an appropriate error message.
CVE-2018-8740 will be entered into VuXML when SQLite will make
a release, because CVE-2018-8740 says that versions up to and including
the current version 3.22.0 are vulnerable.
Submitted by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Reported by: tj <tj@mrsk.me>
Changelog:
https://www.sqlite.org/releaselog/3_22_0.html
Port changes:
* Added the OFFSET option for the new sqlite_offset() function
* Added 'Optional extensions' and 'Optional functions' option
groups for better options readability
* Deleted patches from files/ because they were disabling certain
options in the command-line utility that the upstream keeps
always enabled there
* Changed capitalization in some options according to
common spelling rules
PR: 225627
Submitted by: Charlie Li <ml+freebsd@vishwin.info> (original version)
Submitted by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer, later version)
Approved by: Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Differential Revision: https://reviews.freebsd.org/D14216