diff -udNr databases/sqlite3.orig/Makefile databases/sqlite3/Makefile --- databases/sqlite3.orig/Makefile 2019-11-16 11:36:57.660095000 +0300 +++ databases/sqlite3/Makefile 2020-01-25 11:06:31.391062000 +0300 @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= sqlite3 -DISTVERSION= 3.30.1 +DISTVERSION= 3.31.0 CATEGORIES= databases -MASTER_SITES= https://www.sqlite.org/2019/ http://www2.sqlite.org/2019/ http://www3.sqlite.org/2019/ +MASTER_SITES= https://www.sqlite.org/2020/ http://www2.sqlite.org/2020/ http://www3.sqlite.org/2020/ DISTNAME= sqlite-autoconf-${PORTVERSION:C/\.([[:digit:]])[[:>:]]/0\1/g:S/.//g}00 MAINTAINER= pavelivolkov@gmail.com @@ -24,7 +24,7 @@ DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS \ EXTENSION ARMOR STMT DBPAGE DBSTAT FTS5 RBU NULL_TRIM \ LIKENOTBLOB STSHELL FTS3_TOKEN UNKNOWN_SQL SORT_REF \ - NORMALIZE DQS + NORMALIZE DQS TRUSTED_SCHEMA OPTIONS_SINGLE= RAMT OPTIONS_RADIO= STAT OPTIONS_GROUP= OPT_EXT OPT_FUNC UNICODE RTREEG RL @@ -93,6 +93,9 @@ # https://www.sqlite.org/compile.html#enable_sorter_references SORT_REF_DESC= To use references in the sorter +# https://www.sqlite.org/compile.html#trusted_schema +TRUSTED_SCHEMA_DESC= SQL functions & virtual tables are considered unsafe + # https://www.sqlite.org/tempfiles.html#tempstore OPTIONS_SINGLE_RAMT= TS0 TS1 TS2 TS3 RAMT_DESC= Where to store temporary file @@ -190,6 +193,8 @@ THREADS_CONFIGURE_ENABLE= threadsafe THREADS_LIBS= -lpthread + +TRUSTED_SCHEMA_CPPFLAGS= -DSQLITE_TRUSTED_SCHEMA=0 ICU_BUILD_DEPENDS= ${LOCALBASE}/bin/icu-config:devel/icu ICU_LIB_DEPENDS= libicudata.so:devel/icu diff -udNr databases/sqlite3.orig/distinfo databases/sqlite3/distinfo --- databases/sqlite3.orig/distinfo 2019-11-16 11:36:57.662310000 +0300 +++ databases/sqlite3/distinfo 2020-01-25 11:05:09.364905000 +0300 @@ -1,3 +1,3 @@ -TIMESTAMP = 1570883162 -SHA256 (sqlite-autoconf-3300100.tar.gz) = 8c5a50db089bd2a1b08dbc5b00d2027602ca7ff238ba7658fabca454d4298e60 -SIZE (sqlite-autoconf-3300100.tar.gz) = 2848951 +TIMESTAMP = 1579931964 +SHA256 (sqlite-autoconf-3310000.tar.gz) = 7c9d6e6d95751b2dd5cdc8c3e40f9883a89c2f0ac1ef6c54695227324849f1f0 +SIZE (sqlite-autoconf-3310000.tar.gz) = 2887038