Date: Mon, 14 Jun 2010 04:19:19 +0400 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/147841: [patch] databases/sqlite3: add SECURE_DELETE option Message-ID: <86d3vuzcs8.fsf@gmail.com> Resent-Message-ID: <201006140020.o5E0K2ct076058@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 147841 >Category: ports >Synopsis: [patch] databases/sqlite3: add SECURE_DELETE option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 14 00:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: Recent versions of firefox (such as 3.7a4) require secure_delete presence when compiling with --enable-system-sqlite. >How-To-Repeat: >Fix: --- a.diff begins here --- Index: databases/sqlite3/Makefile =================================================================== RCS file: /a/.cvsup/ports/databases/sqlite3/Makefile,v retrieving revision 1.42 diff -u -p -r1.42 Makefile --- databases/sqlite3/Makefile 22 Apr 2010 15:29:12 -0000 1.42 +++ databases/sqlite3/Makefile 13 Jun 2010 23:12:41 -0000 @@ -7,7 +7,7 @@ PORTNAME= sqlite3 PORTVERSION= 3.6.23.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= http://www.sqlite.org/ DISTNAME= sqlite-${PORTVERSION} @@ -33,6 +33,7 @@ OPTIONS= DEBUG "Enable debugging & verb FTS3 "Enable FTS3 (Full Text Search) module" off \ RTREE "Enable R*Tree module" off \ RAMTABLE "Store temporary tables in RAM" off \ + SECURE_DELETE "Overwrite deleted information with zeros" off \ TCLWRAPPER "Enable TCL wrapper" off \ METADATA "Enable column metadata" on \ THREADSAFE "Build thread-safe library" on \ @@ -60,6 +61,10 @@ CFLAGS+= -DSQLITE_ENABLE_RTREE=1 CONFIGURE_ARGS+= --enable-tempstore=yes .endif +.if defined(WITH_SECURE_DELETE) +CFLAGS+= -DSQLITE_SECURE_DELETE=1 +.endif + .if defined(WITH_TCLWRAPPER) CATEGORIES+= lang tcl COMMENT+= with TCL Wrapper --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d3vuzcs8.fsf>