ports/177499: [MAINTAINER] databases/sqlite3: update to 3.7.16.1
Pavel I Volkov
pavelivolkov at gmail.com
Sat Mar 30 10:00:00 UTC 2013
>Number: 177499
>Category: ports
>Synopsis: [MAINTAINER] databases/sqlite3: update to 3.7.16.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 30 10:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Pavel I Volkov
>Release: FreeBSD 9.1-RELEASE-p1 amd64
>Organization:
>Environment:
System: FreeBSD fb1.local 9.1-RELEASE-p1 FreeBSD 9.1-RELEASE-p1 #0 r248477: Tue Mar 19 17:35:01 MSK
>Description:
- Update to 3.7.16.1 bug fix release
- Add SQLITE_CONFIG_SQLLOG for nss-3.14.2 and other (see PR#175656)
- Add warning for i386 platform
- Please close PR#177388
Generated with FreeBSD Port Tools 0.99_7 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:
--- sqlite3-3.7.16.1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 315577)
+++ Makefile (working copy)
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= sqlite3
-PORTVERSION= 3.7.14.1
+PORTVERSION= 3.7.16.1
CATEGORIES= databases
-MASTER_SITES= http://www.sqlite.org/ http://www2.sqlite.org/ http://www3.sqlite.org/
-DISTNAME= sqlite-autoconf-3071401
+MASTER_SITES= http://www.sqlite.org/2013/ http://www2.sqlite.org/2013/ http://www3.sqlite.org/2013/
+DISTNAME= sqlite-autoconf-3071601
MAINTAINER= pavelivolkov at gmail.com
COMMENT= An SQL database engine in a C library
@@ -15,7 +15,7 @@
LICENSE_TEXT= Description of the license can be obtained from the following URL: http://www.sqlite.org/copyright.html
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-CONFLICTS= sqlite34-[0-9]* sqlcipher-*
+CONFLICTS= sqlite34-[0-9]* sqlcipher-[0-9]*
USE_PKGCONFIG= build
USE_LDCONFIG= YES
@@ -25,7 +25,7 @@
# Compilation Options For SQLite http://www.sqlite.org/compile.html
OPTIONS_DEFINE= FTS3 ICU RTREE RAMTABLE UPD_DEL_LIMIT URI SOUNDEX METADATA \
- STAT3 DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADSAFE \
+ STAT3 DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY SQLLOG THREADSAFE \
EXTENSION
OPTIONS_DEFAULT= FTS3 URI METADATA SECURE_DELETE UNLOCK_NOTIFY THREADSAFE EXTENSION
FTS3_DESC= Enable FTS3/4 (Full Text Search) module
@@ -41,6 +41,7 @@
MEMMAN_DESC= Allows it to release unused memory
SECURE_DELETE_DESC= Overwrite deleted information with zeros
UNLOCK_NOTIFY_DESC= Enable notification on unlocking
+SQLLOG_DESC= Allow logging operations
THREADSAFE_DESC= Build thread-safe library
EXTENSION_DESC= Allow loadable extensions
@@ -136,6 +137,10 @@
CPPFLAGS+= -DSQLITE_ENABLE_UNLOCK_NOTIFY=1
.endif
+.if ${PORT_OPTIONS:MSQLLOG}
+CPPFLAGS+= -DSQLITE_ENABLE_SQLLOG=1
+.endif
+
.if ${PORT_OPTIONS:MMETADATA}
CPPFLAGS+= -DSQLITE_ENABLE_COLUMN_METADATA=1
.endif
@@ -153,6 +158,17 @@
CONFIGURE_ARGS+= --disable-dynamic-extensions
.endif
+post-patch:
+ @${REINPLACE_CMD} '/^pkgconf/s,$${libdir},$${prefix}/libdata,' ${WRKSRC}/Makefile.in
+.if ${PORT_OPTIONS:MSQLLOG}
+ @${ECHO_CMD} "void sqlite3_init_sqllog(void) { /* fake function */ }" >> ${WRKSRC}/shell.c
+.endif
+
+post-build:
+.if ${ARCH}=="i386"
+ @${ECHO_MSG} "===> WARNING: on ${ARCH} don't pass atof1-* tests"
+.endif
+
post-install:
.if !defined(NO_INSTALL_MANPAGES)
@${INSTALL_MAN} ${WRKSRC}/sqlite3.1 ${MANPREFIX}/man/man1
Index: distinfo
===================================================================
--- distinfo (revision 315577)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (sqlite-autoconf-3071401.tar.gz) = d46d302a63b23d9c3b80e519be12cb7d6a8d3da57bd9c119341a0aa8b3b28692
-SIZE (sqlite-autoconf-3071401.tar.gz) = 1832051
+SHA256 (sqlite-autoconf-3071601.tar.gz) = 4af5ea8cbb1b0b0b53c67cef0b32d86f76e84c912228954e8577224150184a68
+SIZE (sqlite-autoconf-3071601.tar.gz) = 1854392
--- sqlite3-3.7.16.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list