Commit Graph

123 Commits

Author SHA1 Message Date
Pavel Volkov 6b1d30b18d databases/sqlite3: Update to 3.40.1
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)
2023-01-06 17:13:12 +01:00
Pavel Volkov 5e8b3d783d databases/sqlite3: Update to 3.40.0
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)
2022-11-28 17:54:42 +01:00
Pavel Volkov c3997397a0 databases/sqlite3: Update to 3.39.3
PR:	266459
2022-09-19 08:50:05 -07:00
Cy Schubert 87109576c6 databases/sqlite3: Update to 3.39.2
Security:	CVE-2022-35737
ChangeLog:	https://www.sqlite.org/releaselog/3_39_2.html
Reported by:    pavelivolkov@gmail.com (maintainer) via delpij
MFH:		2022Q3
2022-08-30 16:11:58 -07:00
Pavel Volkov 5bf2947fce databases/sqlite3: Update to 3.39
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)
2022-07-07 07:32:47 +02:00
Pavel Volkov 3909ae1d06 databases/sqlite3: Update to 3.38.5
ChangeLog: https://www.sqlite.org/releaselog/3_38_5.html

* Add sqldiff tool to the package

PR:	264173
Reported by:	pavelivolkov@gmail.com (maintainer)
2022-05-23 16:57:23 +02:00
Pavel Volkov 7a7f1f4e84 databases/sqlite3: Update to 3.38.2
ChangeLog: https://www.sqlite.org/releaselog/3_38_3.html

PR:	263718
Reported by:	pavelivolkov@gmail.com (maintainer)
2022-05-12 12:42:49 +02:00
Pavel Volkov f1661bdbba databases/sqlite3: Update to 3.37.2
PR:	261000
Reported by:	pavelivolkov@gmail.com (maintainer)
2022-01-10 16:03:57 +01:00
Pavel Volkov c3f5352877 databases/sqlite3: Update to 3.37.1
PR:	260924
2022-01-04 09:58:44 -08:00
Neel Chauhan 4e00066ccb databases/sqlite3: Update to 3.35.5
Changes: https://www.sqlite.org/releaselog/3_35_5.html

PR:		255392
Submitted by:	Pavel Volkov <pavelivolkov AT gmail DOT com> (maintainer)
2021-04-27 10:03:07 -07:00
Dmitry Marakasov 98731c8c61 Add sqlite_analyzer support
- 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)
2021-03-14 20:33:03 +00:00
Lewis Cook e3803923a4 databases/sqlite3: Update to 3.34.1
Changes:		https://www.sqlite.org/releaselog/3_34_1.html
PR:			252963
Submitted by: 		Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Approved by:		fernape (mentor)
Differential Revision:	https://reviews.freebsd.org/D28327
2021-01-25 17:21:30 +00:00
Pietro Cerutti 1dfc8b9ce8 databases/sqlite3: update to 3.34.0
Release notes: https://sqlite.org/releaselog/3_34_0.html

PR:		251632
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com>
2020-12-11 11:58:14 +00:00
Li-Wen Hsu 2bdaaa340a databases/sqlite3: Update to 3.33.0
PR:		248809
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2020-08-21 13:55:07 +00:00
Li-Wen Hsu 28cee1d96d Update to 3.32.3
PR:		247819
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2020-07-07 11:56:23 +00:00
Cy Schubert a07022d213 Update 3.32.0 --> 3.32.2
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
2020-06-13 04:09:08 +00:00
Cy Schubert bc51631fc3 Update 3.31.1 --> 3.32.0
Address multiple security vulnerabilities.

PR:		247149
Reported by:	spam123@bitbert.com
Reminded by:	emaste
Approved by:    Approved by: portmgr (blanket: security bugfix)
MFH:		2020Q2
Security:	CVE-2020-11655, CVE-2020-13434, CVE-2020-13435,
		CVE-2020-13630, CVE-2020-13631, CVE-2020-13632
2020-06-12 13:02:53 +00:00
Danilo G. Baio 2753f5cbed databases/sqlite3: Update to 3.31.1
Changelog:	https://www.sqlite.org/releaselog/3_31_1.html
ABI:		https://abi-laboratory.pro/tracker/timeline/sqlite/

PR:		243602
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2020-04-21 13:49:25 +00:00
Tobias C. Berner 6aa591c4f3 databases/sqlite3: revert upgrade to 3.31.0
Firefox relied on internals. They changed, which leads to segfaults.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1607902
[2] https://hg.mozilla.org/try/rev/8d7104bac33729b4da67954b07fb08371df39bd8

PR:		243602
Reported by:	Michael Butler <imb@protected-networks.net>, David Wolfskill <david@catwhisker.org>
2020-01-27 05:33:13 +00:00
Tobias C. Berner 60b6d9b1ae databases/sqlite3: Update to 3.31.0
PR:		243602
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2020-01-26 09:03:02 +00:00
Raphael Kubo da Costa 5bfd6d8905 Update to 3.30.1.
PR:		241214
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2019-11-02 17:28:27 +00:00
Steve Wills b1916636e4 databases/sqlite3: Update to 3.29.0
While here, add DQS option

PR:		239201
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2019-07-16 17:26:28 +00:00
Jan Beich 4619a145dd databases/sqlite3: update to 3.28.0
Changes:	https://sqlite.org/releaselog/3_28_0.html
ABI:		https://abi-laboratory.pro/tracker/timeline/sqlite/
PR:		237677
Approved by:	Pavel Volkov (maintainer)
MFH:		2019Q2
2019-05-04 22:27:29 +00:00
Jan Beich 058e96a289 databases/sqlite3: update to 3.27.2
Changes:	https://sqlite.org/releaselog/3_27_2.html
ABI:		https://abi-laboratory.pro/tracker/timeline/sqlite/
PR:		237373
Approved by:	Pavel Volkov (maintainer)
2019-04-20 15:30:33 +00:00
Kurt Jaeger 5d361fd694 databases/sqlite3: update 3.26.0 -> 3.27.1
PR:		235802
Reported by:	Charlie Li <ml+freebsd@vishwin.info>
Approved by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Relnotes:	https://www.sqlite.org/changes.html
2019-02-20 10:26:55 +00:00
Steve Wills 739f9d054a databases/sqlite3: Update to 3.26.0
PR:		233712
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2018-12-04 18:02:14 +00:00
Steve Wills 63f9e877bf databases/sqlite3: update to 3.25.1
While here, UPD_DEL_LIMIT option which didn't work.

PR:		231518
PR:		207383
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2018-09-20 21:05:36 +00:00
Steve Wills 729d59be8b databases/sqlite3: Update to 3.25.0
PR:		231452
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2018-09-19 23:37:16 +00:00
Steve Wills c392d46476 databases/sqlite3: Update to 3.24.0
PR:		228885
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2018-06-14 23:18:08 +00:00
Jochen Neumeister 2bcc40ce27 databases/sqlite3: Update to 3.23.1
Changelog: http://www.sqlite.org/releaselog/3_23_1.html

PR:		227889
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2018-05-03 15:59:50 +00:00
Yuri Victorovich 4240c54084 databases/sqlite3: Update 3.22.0 -> 3.23.0
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)
2018-04-09 07:14:37 +00:00
Yuri Victorovich 45382795c3 databases/sqlite: Update to 3.22.0
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
2018-03-14 08:50:25 +00:00
Jan Beich 49fccfbef7 databases/sqlite3: update to 3.21.0
Changes:	https://www.sqlite.org/releaselog/3_21_0.html
ABI:		https://abi-laboratory.pro/tracker/timeline/sqlite/
PR:		223363
Submitted by:	Pavel Volkov (maintainer)
2017-11-01 22:12:00 +00:00
Sunpoet Po-Chuan Hsieh af04f76367 Update to 3.20.1
- Remove optimization flag [1]
- Update sha1:

Changes:	https://www.sqlite.org/releaselog/3_20_1.html
PR:		221850
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Submitted by:	Anton Sayetsky <vsasjason@gmail.com> [1]
2017-08-27 18:28:44 +00:00
Mark Felder aba80250c5 databases/sqlite3: Update to 3.20.0
This resolves a recent vulnerability

MFH:		2017Q3
Security:	CVE-2017-10989
2017-08-08 13:31:19 +00:00
Richard Gallamore a3c05c0bca * Updated to 3.19.3
- Fix a bug associated with auto_vacuum that can lead to database corruption

PR:	219902
Submitted by:	pavelivolkov@gmail.com (maintainer)
Reviewed by:	lifanov (mentor), matthew (mentor)
Approved by:	pavelivolkov@gmail.com (maintainer), lifanov (mentor), matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D11132
2017-06-10 17:29:57 +00:00
Sunpoet Po-Chuan Hsieh b5b850a0e9 Update to 3.19.2
Changes:	https://www.sqlite.org/releaselog/3_19_2.html
PR:		219592
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2017-05-30 15:21:46 +00:00
Sunpoet Po-Chuan Hsieh eb7ba91767 Update to 3.18.0
Changes:	https://www.sqlite.org/releaselog/3_18_0.html
PR:		218286
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2017-04-01 10:53:29 +00:00
Kirill Ponomarev a43611575e Update databases/sqlite3 to 3.17.0
PR:		217223
Submitted by:	maintainer
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D9669
2017-02-21 14:33:28 +00:00
Dmitry Marakasov edc8d233d3 - Update to 3.16.2
PR:		216107
Submitted by:	pavelivolkov@gmail.com (maintainer)
2017-01-16 12:57:51 +00:00
Jan Beich 6e9da44108 databases/sqlite3: update to 3.15.1
- Add missing deps for `pkg-config sqlite3 --libs --static`

Changes:	https://sqlite.org/releaselog/3_15_1.html
ABI:		https://abi-laboratory.pro/tracker/timeline/sqlite/
PR:		214569
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2016-11-16 18:10:34 +00:00
Adam Weinberger 62626e11a1 Update to 3.15.0.
PR:		214214
Submitted by:	maintainer (Pavel Volkov)
2016-11-15 15:28:57 +00:00
Pawel Pekala 181aaf0c88 - Update to version 3.14.1
- Add UNKNOWN_SQL option

PR:		211724
Submitted by:	Pavel Volkov (maintainer)
2016-08-23 20:26:24 +00:00
Dmitry Marakasov 14c50699e0 - Update to 3.13.0
- Add option for session extension

PR:		209827
Submitted by:	pavelivolkov@gmail.com (maintainer)
2016-05-29 14:14:22 +00:00
Kurt Jaeger 487d975a34 databases/sqlite3: 3.12.1 -> 3.12.2
Changes:
  https://www.sqlite.org/releaselog/3_12_2.html
- change to default on options FTS3_TOKEN, as required by
  audio/clementine-player

PR:		209284
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2016-05-06 11:40:28 +00:00
Kurt Jaeger 2853c6c037 databases/sqlite3: 3.11.1 -> 3.12.1
Changes:
  https://www.sqlite.org/changes.html

PR:		208674
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2016-04-13 15:28:26 +00:00
Mark Felder 580986ca4c databases/sqlite3: Update to 3.11.1
- Update port to version 3.11.1
- Added use of system functions:
     isnan() - added in FreeBSD 5.1
     malloc_usable_size() - first appeared in FreeBSD 7.0
- New option FTS3_TOKEN, added for backwards compatibility, see:
  https://www.sqlite.org/compile.html#enable_fts3_tokenizer
- Added preventing message for option UPT_DEL_LIMIT.
  This port building from amalgamation source and this option actually don't work.
  See http://www.sqlite.org/compile.html#enable_update_delete_limit, and
  PR#207383 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207383).

PR:		207924
2016-03-14 21:31:37 +00:00
Kurt Jaeger e28b68c69e databases/sqlite3: 3.10.0 -> 3.10.2
Changes:
  https://www.sqlite.org/releaselog/3_10_2.html

PR:		206463
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2016-01-21 20:40:07 +00:00
Frederic Culot 8c27d1cc49 - Update to 3.10.0
- Add options to choose the command line library used by shell tools
- Add option for static linking
- Add option to compile sqlite with SQLITE_LIKE_DOESNT_MATCH_BLOBS option
- Remove option TEMP_CACHE_SIZE
- Cosmetic changes

Changes:	http://www.sqlite.org/releaselog/3_10_0.html
PR:		206062
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2016-01-11 13:27:05 +00:00
Thomas Zander 80f82ba9c7 Update to upstream release 3.9.2
PR:		204318
Submitted by:	pavelivolkov@gmail.com (maintainer)
2015-11-07 18:26:02 +00:00