BSD Ports

databases/sqlite3 3.50.4_3,1 MidnightBSD

SQL database engine in a C library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
2f48ba41c2
License
publicdom
Categories
databases

Description

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 (sqlite3) that can be used to administer an SQLite database and which serves as an example of how to use the SQLite library.

In the other systems

SystemPortVersion
MidnightBSDdatabases/sqlite33.50.4_3,1
FreeBSDdatabases/sqlite33.53.4,1
OpenBSDdatabases/sqlite33.53.2
NetBSDdatabases/sqlite33.53.4
DragonFlydatabases/sqlite33.46.1_1,1

Install

Binary package:

mport install sqlite3

From mports:

cd /usr/mports/databases/sqlite3 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sqlite3>0:databases/sqlite3
LIB_DEPENDS=	libsqlite3.so:databases/sqlite3

Dependencies

Configuration

Options name: databases_sqlite3

OptionDefaultDescription
EXAMPLESoff
GEOPOLYoffUses the GeoJSON notation (RFC-7946)
ICUoff
LIBEDITon
OFFSEToffEnable sqlite_offset() returning records file offset
READLINEoff
RTREEonEnable R*Tree module
RTREE_INToffStore 32-bit sig int (no float) coordinates
SESSIONonEnable the session extension
SOUNDEXoffEnable the soundex() SQL function
STAT3offCollect histogram data from leftmost column
STAT4offCollect histogram data from all columns
STRIPon
TCLoffEnable tcl extension and sqlite_analyzer
THREADSon
TS0offAlways use temporary file
TS1onFile by default, change allowed PRAGMA
TS2offMemory by default, change allowed PRAGMA
TS3offAlways use memory
UNICODE61onUnicode Version 6.1 tokenizer
USES
libtool ncurses zip cpe
Service scripts
none
Conflicts with
sqlite3 sqlite3-icu sqlite3-tcl tcl-sqlite3

Files

Manual pages 2
  • sqlite3(1)
  • sqlite3.(n)
pkg-plist 17
  • bin/sqlite3
  • bin/sqldiff
  • bin/sqlite3_analyzer
  • include/sqlite_cfg.h
  • include/sqlite3.h
  • include/sqlite3ext.h
  • lib/libsqlite3.a
  • lib/libsqlite3.so
  • lib/libsqlite3.so.0
  • lib/libsqlite3.so.
  • libdata/pkgconfig/sqlite3.pc
  • share/man/man1/sqlite3.1.gz
  • share/man/mann/sqlite3..n.gz
  • lib/%%TCLVER%%/sqlite3/libtclsqlite3.so
  • lib/%%TCLVER%%/sqlite3/pkgIndex.tcl
  • share/examples/sqlite3/example.tcl
  • share/examples/sqlite3/sqlitecon.tcl
distinfo 1
FileSizeSHA256
sqlite-src-3500400.zip1.4393367e+07b7b4dc060f36053902fb65b344bbbed592e64b2291a26ac06fe77eec097850e9
Master sites 3
  • https://www.sqlite.org/${_YEAR}/
  • https://www2.sqlite.org/${_YEAR}/
  • https://www3.sqlite.org/${_YEAR}/

Commit history 2

DateCommitCreditsLog message
2f48ba41c2 Lucas Holt */*: fix CPE identifiers that resolved to nothing
These ports declared USES=cpe but the resulting vendor/product matched no NVD entry, so mport audit stayed silent for them exactly as if no CPE had been set. Most were cases where CPE_PRODUCT was left to default to PORTNAME, which carries a version suffix or a linux-c7-/linux-rl9- prefix that upstream does not use. Corrected, with the CVE count each now reports at the version currently in the tree: www/linux-chrome google:chrome 1932 security/linux-c7-openssl-devel openssl:openssl 89 lang/linux-rl9-python3 python:python 21 print/linux-c7-cups-libs apple:cups 12 security/wpa_supplicant29 w1.fi:wpa_supplicant 4 editors/kate kde:kate 1 …
22173208f1 Lucas Holt */*: add CPE identifiers from the matching FreeBSD ports
mport audit matches installed packages against sec.midnightbsd.org by CPE, so a port without one is invisible to it regardless of how vulnerable it is. These 126 ports had no CPE while the corresponding FreeBSD port did, so the vendor and product were copied from there rather than guessed. Sampled against the audit API to confirm the identifiers resolve, e.g. cad/gtkwave tonybybell:gtkwave 82 CVEs archivers/libunrar rarlab:unrar 12 audio/espeak-ng espeak-ng:espeak-ng 5 archivers/minizip-ng zlib-ng:minizip-ng 3 audio/faust grame:faust 3 cad/admesh admesh_project:admesh 3 Three ports were deliberately skipped: archivers/p5-Archive-Tar, …