189 Commits

Author SHA1 Message Date
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
Cy Schubert
1ff56b9f93 Fix PowerPC segfault.
The segfault fix was originally developed by our upstream, sqlite.org,
to address S/390 and Sparc segfaults, both of which are big endian.
Our PowerPC is also big endian, which this patch also fixes.

Inspired by:	src r360223
Approved by:	Approved by: portmgr (blanket: run-time bugfix)
Obtained from:	https://www.sqlite.org/src/vinfo/04885763c4cd00cb?diff=1
		https://sqlite.org/forum/forumpost/672291a5b2
2020-04-24 03:53:50 +00:00
Jan Beich
ffb8eb82e5 devel/icu: update to 67.1
Changes:	http://site.icu-project.org/download/67
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
Reported by:	GitHub (watch releases)
2020-04-23 20:14:49 +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
Danilo G. Baio
8a8d8019e4 databases/sqlite3: Set JSON1 option as default
JSON1 is required for net-im/py-matrix-synapse.

PR:		244366
PR:		243602
Submitted by:	Sascha Biberhofer <ports@skyforge.at>
Approved by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
MFH:		2020Q2
2020-04-21 12:48:58 +00:00
Jan Beich
f821cdc347 devel/icu: update to 66.1
Changes:	http://site.icu-project.org/download/66
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
2020-03-13 09:47:16 +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
Jan Beich
4bbb4133b2 devel/icu: update to 65.1
Changes:	http://site.icu-project.org/download/65
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
2019-10-03 20:35:29 +00:00
Mathieu Arnold
daa53ae5ae Thinking about r508819 a bit more, make sure nothing depends on fetch
directly in ports.
2019-08-13 13:45:01 +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
Sunpoet Po-Chuan Hsieh
40c9c7f7eb Update devel/readline to 8.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://tiswww.case.edu/php/chet/readline/CHANGES
PR:		236156
Exp-run by:	antoine
2019-04-09 14:04:49 +00:00
Jan Beich
480c577baa devel/icu: update to 64.1
Changes:	http://site.icu-project.org/download/64
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		236325
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D19479
2019-03-27 21:11:08 +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
Jan Beich
91f9922c6f devel/icu: update to 63.1
Changes:	http://site.icu-project.org/download/63
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		232300
Exp-run by:	antoine
2018-10-23 11:35:03 +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
Sunpoet Po-Chuan Hsieh
c88d80655c Fix configure error when SESSION is enabled
In file included from <built-in>:318:
<command line>:39:28: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions]
#define SQLITE_ENABLE_RTREE-DSQLITE_ENABLE_SESSION 1
                           ^
sqlite3.c:308:5: error: token is not a valid binary operator in a preprocessor subexpression
#if SQLITE_ENABLE_RTREE
    ^~~~~~~~~~~~~~~~~~~
<command line>:39:52: note: expanded from here
#define SQLITE_ENABLE_RTREE-DSQLITE_ENABLE_SESSION 1
                           ~~~~~~~~~~~~~~~~~~~~~~~ ^
1 warning and 1 error generated.
*** Error code 1

Approved by:	portmgr (blanket)
2018-09-20 13:42:10 +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
Jan Beich
bd72161054 databases/sqlite3: document gecko@ also needs FTS3_TOKEN
https://searchfox.org/mozilla-central/rev/c45b9755593c/db/sqlite3/src/moz.build#61-63
https://searchfox.org/comm-central/rev/39cff66145fd/mailnews/extensions/fts3/src/nsFts3Tokenizer.cpp#40
2018-08-24 07:31:59 +00:00
Jan Beich
3beb732dad devel/icu: update to 62.1
Changes:	http://site.icu-project.org/download/62
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		229359
Exp-run by:	antoine (only 10.4)
2018-06-29 14:22:11 +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
Jan Beich
ae60358af5 devel/icu: update to 61.1
Changes:	http://site.icu-project.org/download/61
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		227042
Exp-run by:	antoine
MFH:		2018Q2 (required by Firefox 61)
2018-04-06 15:53:16 +00:00
Yuri Victorovich
5bb45f7194 databases/sqlite3: Patch for CVE-2018-8740
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>
2018-03-22 08:52:58 +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
99b0558e42 devel/icu: update to 60.1
Changes:	http://site.icu-project.org/download/60
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		223373
Exp-run by:	antoine
2017-11-09 02:31:47 +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
Koop Mast
e2a80289fb Enable FTS5 by default.
* add note who is going to use this feature.

PR:		223133
Approved by:	maintainer (Pavel Volkov <pavelivolkov@gmail.com>)
2017-10-23 11:03:26 +00:00
Jan Beich
a382198617 devel/icu: update to 59.1
- Temporarily keep C++98 working in consumers for Clang's default -std=

Changes:	http://site.icu-project.org/download/59
PR:		218788
Submitted by:	takefu@airport.fm, dcarmich@dcarmichael.net (early version)
Exp-run by:	antoine
2017-09-25 00:02:36 +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
Lev A. Serebryakov
ae7e4a3031 Add '-lm' for FTS5 for log() function.
PR:		220660
Submitted by:	pavelivolkov@gmail.com (maintainer)
2017-08-11 14:12:44 +00:00
Guido Falsi
800739d5ca Add explicit SQLITE_ENABLE_FTS3. This fixes the firefox and thunderburd
ports build.

Due to recent changes in sqlite3 even if this flag is actually
implicitly added to the build when the FTS4 option is enabled, it
is not reported as present via the
sqlite3_compileoption_used("SQLITE_ENABLE_FTS3") API call, which
is used by the gecko ports configure script to check for a suitable
sqlite3 library.

Related upstream change: https://sqlite.org/src/info/9a443397a6b110f6

PR:		221361, 219963
Submitted by:	Vladimir Krstulja <vlad-fbsd@acheronmedia.com>,
		jbeich@
Approved by:	portmgr@ (blanket)
MFH:		2017Q3
2017-08-09 14:04:03 +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
Sunpoet Po-Chuan Hsieh
cb037d3c98 Update devel/readline to 7.0 patch 3
- Bump PORTREVISION for shlib change

Changes:	https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
		https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
		https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision:	https://reviews.freebsd.org/D11172
PR:		219947
Exp-run by:	antoine
2017-06-27 13:46:53 +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
Dmitry Marakasov
9d79e7b146 - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-09 13:16:49 +00:00
Raphael Kubo da Costa
dfb7ea9e3f Improve the way CFLAGS and CPPFLAGS are set.
":?" is not supported by fmake from FreeBSD 9, so replace it with an explicit
version check. The end result was still the desired one (-DHAVE_STRCHRNUL=1 was
not passed on FreeBSD 9).

While here, also improve the version check by including DragonFly (which
supports strchrnul(3) according to its online man page) and restricting the
FreeBSD version check to the revision range after strchrnul(3) was added to
base.

Also stop passing -Os when building in debug mode, and set UNICODE61_CPPFLAGS
to pet portlint.

PR:		214608
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
MFH:		2016Q4
2016-12-25 17:17:36 +00:00
Jan Beich
23a96f4a5f devel/icu: update to 58.1
Changes:	http://site.icu-project.org/download/58
PR:		214384
Exp-run by:	antoine
Approved by:	office (bapt)
2016-11-19 18:21:20 +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