[Midnightbsd-cvs] mports [21560] trunk/databases/sqlite3: 3.11.1 - matches current right now

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Aug 6 10:10:29 EDT 2016


Revision: 21560
          http://svnweb.midnightbsd.org/mports/?rev=21560
Author:   laffer1
Date:     2016-08-06 10:10:29 -0400 (Sat, 06 Aug 2016)
Log Message:
-----------
3.11.1 - matches current right now

Modified Paths:
--------------
    trunk/databases/sqlite3/Makefile
    trunk/databases/sqlite3/distinfo
    trunk/databases/sqlite3/pkg-descr

Modified: trunk/databases/sqlite3/Makefile
===================================================================
--- trunk/databases/sqlite3/Makefile	2016-08-06 02:16:38 UTC (rev 21559)
+++ trunk/databases/sqlite3/Makefile	2016-08-06 14:10:29 UTC (rev 21560)
@@ -1,9 +1,9 @@
 # $MidnightBSD$
 
 PORTNAME=	sqlite3
-PORTVERSION=	3.9.1
+PORTVERSION=	3.11.1
 CATEGORIES=	databases
-MASTER_SITES=	https://www.sqlite.org/2015/ http://www2.sqlite.org/2015/ http://www3.sqlite.org/2015/
+MASTER_SITES=	https://www.sqlite.org/2016/ http://www2.sqlite.org/2016/ http://www3.sqlite.org/2016/
 DISTNAME=	sqlite-autoconf-${PORTVERSION:C/\.([[:digit:]])[[:>:]]/0\1/g:S/.//g}00
 
 MAINTAINER=	ports at MidnightBSD.org
@@ -11,22 +11,23 @@
 
 LICENSE=	publicdom
 
-CONFLICTS=	sqlite34-[0-9]* sqlcipher-[0-9]*
-
-USES=		pathfix pkgconfig libtool ncurses
-USE_LDCONFIG=	YES
-GNU_CONFIGURE=	YES
+USES=		libtool ncurses pathfix
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
+CFLAGS+=	-Os
+CPPFLAGS+=	-DHAVE_ISNAN=1 -DHAVE_MALLOC_USABLE_SIZE=1
 
 MAKE_JOBS_UNSAFE=	yes
 
-# Compilation Options For SQLite http://www.sqlite.org/compile.html
+# Compilation Options For SQLite https://www.sqlite.org/compile.html
 OPTIONS_DEFINE=	FTS4 UPD_DEL_LIMIT URI URI_AUTHORITY SOUNDEX METADATA \
 		DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS \
-		EXTENSION READLINE ARMOR STMT DBSTAT FTS5 JSON1 RBU
+		EXTENSION ARMOR STMT DBSTAT FTS5 JSON1 RBU \
+		LIKENOTBLOB STSHELL FTS3_TOKEN
 OPTIONS_SINGLE=	RAMT
 OPTIONS_RADIO=	STAT
-OPTIONS_GROUP=	UNICODE RTREEG
+OPTIONS_GROUP=	UNICODE RTREEG RL
 
 UPD_DEL_LIMIT_DESC=	ORDER BY and LIMIT on UPDATE and DELETE
 URI_DESC=		Enable use the URI filename
@@ -38,26 +39,35 @@
 SECURE_DELETE_DESC=	Overwrite deleted information with zeros
 UNLOCK_NOTIFY_DESC=	Enable notification on unlocking
 EXTENSION_DESC=		Allow loadable extensions
+STSHELL_DESC=		Statically link libsqlite3 into shell
 
-# http://www.sqlite.org/compile.html#enable_api_armor
+# https://sqlite.org/compile.html#like_doesnt_match_blobs
+LIKENOTBLOB_DESC=	LIKE does not match blobs
+
+# https://www.sqlite.org/compile.html#enable_api_armor
 ARMOR_DESC=		Detect misuse of the API
 
-# http://www.sqlite.org/fts3.html
+# https://www.sqlite.org/fts3.html
+# https://www.sqlite.org/compile.html#enable_fts3_parenthesis
 FTS4_DESC=		Enable FTS3/4 (Full Text Search) module
 
-# http://www.sqlite.org/fts5.html
+# https://www.sqlite.org/fts5.html
 FTS5_DESC=		Enable version 5 full-text search engine
 
-# http://www.sqlite.org/json1.html
+# https://www.sqlite.org/compile.html#enable_fts3_tokenizer
+# https://www.sqlite.org/fts3.html#f3tknzr
+FTS3_TOKEN_DESC=	Enable two-args version fts3_tokenizer
+
+# https://www.sqlite.org/json1.html
 JSON1_DESC=		Enable the JSON1 extension
 
-# http://www.sqlite.org/rbu.html
+# https://www.sqlite.org/rbu.html
 RBU_DESC=		Enable the Resumable Bulk Update
 
-# http://www.sqlite.org/c3ref/stmt_scanstatus.html
+# https://www.sqlite.org/c3ref/stmt_scanstatus.html
 STMT_DESC=		Prepared Statement Scan Status
 
-# http://www.sqlite.org/tempfiles.html#tempstore
+# https://www.sqlite.org/tempfiles.html#tempstore
 OPTIONS_SINGLE_RAMT=	TS0 TS1 TS2 TS3
 RAMT_DESC=		Where to store temporary file
 TS0_DESC=		Always use temporary file
@@ -65,28 +75,37 @@
 TS2_DESC=		Memory by default, change allowed PRAGMA
 TS3_DESC=		Always use memory
 
-# http://www.sqlite.org/queryplanner-ng.html#qpstab
+# https://www.sqlite.org/queryplanner-ng.html#qpstab
 OPTIONS_RADIO_STAT=	STAT3 STAT4
-STAT_DESC=		Which query planner to use
+STAT_DESC=		Which query planner to use, Stability or ...
 STAT3_DESC=		collect histogram data from leftmost column
 STAT4_DESC=		collect histogram data from all columns
 
-# http://www.sqlite.org/dbstat.html
+# https://www.sqlite.org/dbstat.html
 DBSTAT_DESC=		Enable DBSTAT Virtual Table
 
-# http://www.sqlite.org/fts3.html#tokenizer
+# https://www.sqlite.org/fts3.html#tokenizer
 OPTIONS_GROUP_UNICODE=	ICU UNICODE61
 UNICODE_DESC=		Unicode support
 UNICODE61_DESC=		Unicode Version 6.1 tokenizer
 
-# http://www.sqlite.org/rtree.html
+# https://www.sqlite.org/rtree.html
 OPTIONS_GROUP_RTREEG=	RTREE RTREE_INT
 RTREEG_DESC=		Index type for range queries
 RTREE_DESC=		Enable R*Tree module
 RTREE_INT_DESC=		Store 32-bit sig int (no float) coordinates
 
+OPTIONS_GROUP_RL=	READLINES READLINEP EDITLINE
+RL_DESC=		Which command line editing library to use:
+READLINES_DESC=		the libreadline from system
+READLINEP_DESC=		the GNU libreadline from ports
+EDITLINE_DESC=		the BSD libedit from ports
+READLINES_PREVENTS=	READLINEP EDITLINE
+READLINEP_PREVENTS=	READLINES EDITLINE
+EDITLINE_PREVENTS=	READLINES READLINEP
+
 OPTIONS_DEFAULT=	FTS4 URI METADATA SECURE_DELETE UNLOCK_NOTIFY THREADS \
-			EXTENSION TS1 UNICODE61 RTREE READLINE DBSTAT
+			EXTENSION TS1 UNICODE61 RTREE DBSTAT STSHELL READLINES
 # SECURE_DELETE, UNLOCK_NOTIFY, DBSTAT (since 41.0) used by www/firefox et al.
 # RTREE used by graphics/mapnik, databases/spatialite
 
@@ -102,12 +121,6 @@
 CPPFLAGS+=		-DSQLITE_DEFAULT_FILE_PERMISSIONS=${DEFAULT_FILE_PERMISSIONS}
 .endif
 
-# This macro sets the default size of the page-cache for temporary files
-# created by SQLite to store intermediate results, in pages.
-.ifdef TEMP_CACHE_SIZE
-CPPFLAGS+=		-DSQLITE_DEFAULT_TEMP_CACHE_SIZE=${TEMP_CACHE_SIZE}
-.endif
-
 # Use an in-ram database for temporary tables (never,no,yes,always),
 TS0_CPPFLAGS=	-DSQLITE_TEMP_STORE=0
 TS1_CPPFLAGS=	-DSQLITE_TEMP_STORE=1
@@ -117,10 +130,15 @@
 RTREE_CPPFLAGS=	-DSQLITE_ENABLE_RTREE=1
 RTREE_INT_CPPFLAGS=	-DSQLITE_RTREE_INT_ONLY=1
 
-FTS4_CPPFLAGS=	-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS4=1
+FTS4_CPPFLAGS=	-DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS4=1
+FTS5_CONFIGURE_ENABLE=	fts5
+FTS3_TOKEN_CPPFLAGS=	-DSQLITE_ENABLE_FTS3_TOKENIZER=1
+
 SOUNDEX_CPPFLAGS=	-DSQLITE_SOUNDEX=1
 MEMMAN_CPPFLAGS=	-DSQLITE_ENABLE_MEMORY_MANAGEMENT=1
 UPD_DEL_LIMIT_CPPFLAGS=	-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1
+UPD_DEL_LIMIT_PREVENTS=	UPD_DEL_LIMIT
+UPD_DEL_LIMIT_PREVENTS_MSG=	this option may only be used when the library is built from source, not from the amalgamation. Please, do not select it with this port.
 SECURE_DELETE_CPPFLAGS=	-DSQLITE_SECURE_DELETE=1
 UNLOCK_NOTIFY_CPPFLAGS=	-DSQLITE_ENABLE_UNLOCK_NOTIFY=1
 METADATA_CPPFLAGS=	-DSQLITE_ENABLE_COLUMN_METADATA=1
@@ -145,15 +163,21 @@
 
 UNICODE61_CPPFLAGS_OFF=	-DSQLITE_DISABLE_FTS3_UNICODE=1
 
-READLINE_CONFIGURE_ENABLE=	readline
-READLINE_USES=	readline
+READLINES_CONFIGURE_ON=	--enable-readline
+READLINES_USES=	readline
+READLINEP_CONFIGURE_ON=	--enable-readline
+READLINEP_USES=	readline:port
+EDITLINE_CONFIGURE_ENABLE=	editline
+EDITLINE_USES=	libedit
 
-FTS5_CONFIGURE_ENABLE=	fts5
-
 JSON1_CONFIGURE_ENABLE=	json1
 
 RBU_CPPFLAGS=	-DSQLITE_ENABLE_RBU=1
 
+LIKENOTBLOB_CPPFLAGS=	-DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1
+
+STSHELL_CONFIGURE_ENABLE=	static-shell
+
 .include <bsd.mport.options.mk>
 
 post-configure:
@@ -167,7 +191,4 @@
 	@${ECHO_MSG} "===> WARNING: on ${ARCH} don't pass atof1-* tests"
 .endif
 
-post-install:
-	@${INSTALL_MAN} ${WRKSRC}/sqlite3.1 ${MANPREFIX}/man/man1
-
 .include <bsd.port.mk>

Modified: trunk/databases/sqlite3/distinfo
===================================================================
--- trunk/databases/sqlite3/distinfo	2016-08-06 02:16:38 UTC (rev 21559)
+++ trunk/databases/sqlite3/distinfo	2016-08-06 14:10:29 UTC (rev 21560)
@@ -1,2 +1,2 @@
-SHA256 (sqlite-autoconf-3090100.tar.gz) = d89d0e1d93deafebd0aa067d20d9029d9914ccde244920d9dd09ea51944e1c6c
-SIZE (sqlite-autoconf-3090100.tar.gz) = 2284128
+SHA256 (sqlite-autoconf-3110100.tar.gz) = 533ff1d0271c2e666f01591271cef01a31648563affa0c95e80ef735077d4377
+SIZE (sqlite-autoconf-3110100.tar.gz) = 2359545

Modified: trunk/databases/sqlite3/pkg-descr
===================================================================
--- trunk/databases/sqlite3/pkg-descr	2016-08-06 02:16:38 UTC (rev 21559)
+++ trunk/databases/sqlite3/pkg-descr	2016-08-06 14:10:29 UTC (rev 21560)
@@ -1,6 +1,6 @@
 SQLite is an SQL database engine in a C library. Programs that link the SQLite
 library can have SQL database access without running a separate RDBMS process.
-The distribution comes with a standalone command-line access program (sqlite)
+The distribution comes with a standalone command-line access program (sqlite3)
 that can be used to administer an SQLite database and which serves as an
 example of how to use the SQLite library.
 



More information about the Midnightbsd-cvs mailing list