From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 26 02:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 28AA041D for ; Tue, 26 Mar 2013 02:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0BDE217A for ; Tue, 26 Mar 2013 02:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2Q2o0WJ093220 for ; Tue, 26 Mar 2013 02:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2Q2o082093219; Tue, 26 Mar 2013 02:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 26 Mar 2013 02:50:00 GMT Resent-Message-Id: <201303260250.r2Q2o082093219@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pavel I Volkov Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8E5ED409 for ; Tue, 26 Mar 2013 02:48:25 +0000 (UTC) (envelope-from pol@dns4soho.net) Received: from be.dns4soho.net (be.dns4soho.net [IPv6:2a01:230:2::30]) by mx1.freebsd.org (Postfix) with ESMTP id ED8CA16E for ; Tue, 26 Mar 2013 02:48:24 +0000 (UTC) Received: from test.lan (broadband-5-228-115-228.nationalcablenetworks.ru [5.228.115.228]) by be.dns4soho.net (8.14.5/8.14.5) with ESMTP id r2Q2mKk2017596 for ; Tue, 26 Mar 2013 02:48:21 GMT (envelope-from pol@dns4soho.net) Received: from test.lan (localhost [127.0.0.1]) by test.lan (8.14.5/8.14.5) with ESMTP id r2Q2X6XZ001759; Tue, 26 Mar 2013 06:33:06 +0400 (MSK) (envelope-from pol@test.lan) Received: (from root@localhost) by test.lan (8.14.5/8.14.5/Submit) id r2Q2X6oN001758; Tue, 26 Mar 2013 06:33:06 +0400 (MSK) (envelope-from pol) Message-Id: <201303260233.r2Q2X6oN001758@test.lan> Date: Tue, 26 Mar 2013 06:33:06 +0400 (MSK) From: Pavel I Volkov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/177388: [PATCH] databases/sqlite3: update to 3.7.16 Cc: pavelivolkov@gmail.com X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 02:50:01 -0000 >Number: 177388 >Category: ports >Synopsis: [PATCH] databases/sqlite3: update to 3.7.16 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Mar 26 02:50: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 - Add SQLITE_CONFIG_SQLLOG for nss-3.14.2 and other (see PR#175656) - Add warning for i386 platform Port maintainer (pavelivolkov@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: suffix) >How-To-Repeat: >Fix: --- sqlite3-3.7.16.patch begins here --- diff -ruN --exclude=CVS ../sqlite3.orig/Makefile ./Makefile --- ../sqlite3.orig/Makefile 2013-03-25 09:47:47.000000000 +0400 +++ ./Makefile 2013-03-25 16:19:34.000000000 +0400 @@ -2,10 +2,10 @@ # $FreeBSD: head/databases/sqlite3/Makefile 314924 2013-03-22 13:13:50Z bapt $ PORTNAME= sqlite3 -PORTVERSION= 3.7.14.1 +PORTVERSION= 3.7.16 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-3071600 MAINTAINER= pavelivolkov@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 diff -ruN --exclude=CVS ../sqlite3.orig/distinfo ./distinfo --- ../sqlite3.orig/distinfo 2013-03-25 09:47:47.000000000 +0400 +++ ./distinfo 2013-03-25 10:28:53.000000000 +0400 @@ -1,2 +1,2 @@ -SHA256 (sqlite-autoconf-3071401.tar.gz) = d46d302a63b23d9c3b80e519be12cb7d6a8d3da57bd9c119341a0aa8b3b28692 -SIZE (sqlite-autoconf-3071401.tar.gz) = 1832051 +SHA256 (sqlite-autoconf-3071600.tar.gz) = 3509c20fa2b1725734997b1dbb3dbfc825cfa7a09194cbac8f6fe33ed187ad34 +SIZE (sqlite-autoconf-3071600.tar.gz) = 1854055 --- sqlite3-3.7.16.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: