Commit graph

159 commits

Author SHA1 Message Date
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
Adam Weinberger
62626e11a1 Update to 3.15.0.
PR:		214214
Submitted by:	maintainer (Pavel Volkov)
2016-11-15 15:28:57 +00:00
Tijl Coosemans
48f4591035 - Update devel/icu to 57.1.
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
  --disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
  aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU.  The code wanted to use BYTE_ORDER
  defined in machine/endian.h, but this isn't visible because ICU is
  compiled with _XOPEN_SOURCE.  Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
  without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
  pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
  a C++11 runtime library now.  Add this to all ports that depend on it
  so their executables load the right libstdc++.so on FreeBSD 9.

PR:		205120
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-24 11:06: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
Mathieu Arnold
7acca7e902 Bump PORTREVISION for the icu revert.
This time not bumping lang/php70, but devel/php70-intl which is the one
really depending on icu.

PR:		205120
With hat:	portmgr
Sponsored by:	Absolight
2016-07-06 22:10:14 +00:00
Pietro Cerutti
fb8d8ab5f9 devel/icu: bump PORTREVISION on dependent ports 2016-07-06 07:34:12 +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
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +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
9349bac673 databases/sqlite3: Enable one of the command line editing options
- The last update to sqlite3 disabled readline support
- Now several variants can be selected.

PR:		206944
Submitted by:	Tobias Kortkamp <t@tobik.me>
Approved by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2016-02-11 20:00:35 +00:00
Kurt Jaeger
d1279a2a1b databases/sqlite3: remove CONFLICTS=sqlcipher-[0-9]*, no longer true
PR:		206860
Submitted by:	yuri@rawbw.com
Approved by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2016-02-05 20:42:38 +00:00
Antoine Brodin
ab7d59d5da libtool --finish is a nop on FreeBSD, remove faulty pkg-install script
With hat:	portmgr
2016-01-21 21:03:21 +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
Dmitry Marakasov
94817f0784 Add Public Domain support to ports license framework. You can now use
LICENSE=  PD

Note that although Public Domain is not technically a license, it's
handled in the same way as licenses here, which is a common practice
(Arch, Gentoo, Fedora, Debian, even FOSSology do the same).

Convert all ports which redefine Public Domain LICENSE to LICENSE=PD.

Approved by:	portmgr (bapt)
Differential Revision:	D4149
2016-01-12 14:33:21 +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
Mathieu Arnold
89226726da Update to 3.9.1.
PR:		203892
Submitted by:	maintainer
Sponsored by:	Absolight
2015-10-20 14:47:12 +00:00
Jan Beich
84eec79bd5 databases/sqlite3: enable DBSTAT by default for firefox 41+
PR:		200853
Reviewed by:	milios@ccsys.com
Approved by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2015-09-27 21:58:43 +00:00
Sunpoet Po-Chuan Hsieh
604086dd2e - Update to 3.8.11.1
- Update MASTER_SITES
- Sort USES
- Cosmetic change

Changes:	https://www.sqlite.org/releaselog/3_8_11_1.html
PR:		202568
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2015-08-23 15:18:55 +00:00
Frederic Culot
e7b19abe80 - Update to 3.8.10.2
Changes:	http://www.sqlite.org/releaselog/3_8_10_2.html
PR:		200669
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2015-06-09 07:54:29 +00:00
Jan Beich
c7faea1a4e databases/sqlite3, databases/tcl-sqlite3: update to 3.8.10.1
- Add option SQLITE_ENABLE_DBSTAT_VTAB
- Create patches for port with 'makepatch'

Changes:	https://sqlite.org/releaselog/3_8_10_1.html
ACC report:	http://upstream-tracker.org/compat_reports/sqlite/3080900_to_3081001/abi_compat_report.html
PR:		200150
PR:		200151
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2015-05-12 17:22:26 +00:00
Jan Beich
37b8fa80ac Backout r384095 for breaking databases/tcl-sqlite3
PACKAGE_VERSION is 3.8.9, not 3.8.9.0. tcl-sqlite3 uses it for
naming shared library. Also saved in pkg-config --modversion.

Bump PORTREVISION to make sure both ports are on the same PORTVERSION.

PR:		199312
PR:		199313
Reported by:	pkg-fallout
Requested by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
Pointy hat:	jbeich
2015-04-17 04:39:23 +00:00
Jan Beich
f9832a88f9 Revert DISTNAME change by using proper PORTVERSION
$ pkg version --test-version 3.8.9 3.8.9.0
  =

PR:		199312 (fixup)
PR:		199313 (fixup)
Submitted by:	mat
2015-04-16 10:57:54 +00:00
Jan Beich
4c143e4fe2 Update to version 3.8.9
Changes:	https://sqlite.org/releaselog/3_8_9.html
ACC report:	http://upstream-tracker.org/compat_reports/sqlite/3080803_to_3080900/abi_compat_report.html
PR:		199312
PR:		199313
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2015-04-16 07:16:24 +00:00
Pawel Pekala
caf28e6cec Update to version 3.8.8.3
PR:		198786
Submitted by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2015-03-27 17:02:30 +00:00
John Marino
8f3cf904a9 databases category: Remove $PTHREAD_LIBS
Note: virtuoso did not pass check-plist from before, so it was fixed.

approved by:	PTHREAD blanket
2015-03-25 09:33:52 +00:00
Pawel Pekala
d6d7f4a53b Update to version 3.8.8.2
PR:		197285
Submitted by:	rsimmons0@gmail.com
Approved by:	Pavel Volkov <pavelivolkov@gmail.com> (maintainer)
2015-02-11 18:45:18 +00:00
Guido Falsi
fcd0b8b533 Update to 3.8.8.1
PR:		197082
Submitted by:	rsimmons0 at gmail.com
Approved by:	Pavel Volkov <pavelivolkov at gmail.com> (maintainer)
2015-01-28 08:37:39 +00:00
John Marino
f06cf1bdc4 databases/sqlite3: Upgrade version 3.8.7.4 => 3.8.8
PR:		196872
Submitted by:	maintainer (Pavel Volkov)
2015-01-20 23:17:11 +00:00