From a26f3f8fd38015bd1285921aba50cbaf68dd988f Mon Sep 17 00:00:00 2001 From: Andrew Benton Date: Tue, 3 Apr 2012 13:02:02 +0000 Subject: [PATCH] sqlite-3.7.11 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9840 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 2 +- introduction/welcome/changelog.xml | 3 + server/databases/sqlite.xml | 131 ++++++++++++++++++----------- template/template.xml | 6 +- 4 files changed, 88 insertions(+), 54 deletions(-) diff --git a/general.ent b/general.ent index a8f0bc2668..cdcf30b506 100644 --- a/general.ent +++ b/general.ent @@ -566,7 +566,7 @@ $Date$ - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 7b1e3221ba..f8d4a549e6 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -57,6 +57,9 @@ [dj] - Upate to keyutils-1.5.5. + + [abenton] - SQLite 3.7.11. + diff --git a/server/databases/sqlite.xml b/server/databases/sqlite.xml index 3dfb73a8a2..8e6b136e1c 100644 --- a/server/databases/sqlite.xml +++ b/server/databases/sqlite.xml @@ -7,7 +7,7 @@ - + @@ -34,31 +34,45 @@ Introduction to SQLite - The SQLite package is a software - library that implements a self-contained, serverless, - zero-configuration, transactional SQL database engine. + + The SQLite package is a software library that + implements a self-contained, serverless, zero-configuration, transactional + SQL database engine. + &lfs71_checked; Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &sqlite-md5sum; + + Download MD5 sum: &sqlite-md5sum; + - Download size: &sqlite-size; + + Download size: &sqlite-size; + - Estimated disk space required: &sqlite-buildsize; + + Estimated disk space required: &sqlite-buildsize; + - Estimated build time: &sqlite-time; + + Estimated build time: &sqlite-time; + @@ -66,51 +80,67 @@ Optional Documentation - Download (HTTP): + + Download (HTTP): + - Download MD5 sum: &sqlite-docs-md5sum; + + Download MD5 sum: &sqlite-docs-md5sum; + - Download size: &sqlite-docs-size; + + Download size: &sqlite-docs-size; + SQLite Dependencies Optional - (required to unzip the - documentation) - - User Notes: - + + (required to unzip the documentation). + + + User Notes: + Installation of SQLite - If you downloaded the optional documentation, issue the following - command to install the documentation into the source tree: + + If you downloaded the optional documentation, issue the following command + to install the documentation into the source tree: + unzip -q ../sqlite-doc-&sqlite-dl-version;.zip - Install SQLite by running the following - commands: + + Install SQLite by running the following + commands: + ./configure --prefix=/usr --disable-static \ CFLAGS="-g -O2 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1" && make - This package does not come with a test suite. + + This package does not come with a test suite. + - Now, as the root user: + + Now, as the root user: + make install - If you downloaded the optional documentation, issue the following - commands as the root user to - install it: + + If you downloaded the optional documentation, issue the following commands + as the root user to install it: + install -v -m755 -d /usr/share/doc/sqlite-&sqlite-version; && cp -v -R sqlite-doc-&sqlite-dl-version;/* /usr/share/doc/sqlite-&sqlite-version; @@ -119,23 +149,25 @@ cp -v -R sqlite-doc-&sqlite-dl-version;/* /usr/share/doc/sqlite-&sqlite-version; Command Explanations - CFLAGS="-g -O2 -DSQLITE_SECURE_DELETE - -DSQLITE_ENABLE_UNLOCK_NOTIFY=1": Applications such as - firefox require secure delete and enable unlock - notify to be turned on. The only way to do this is to include them in the - CFLAGS. By default, these are set to "-g -O2" so we - specify that to preserve those settings. You may, of course, wish to omit - the '-g' if you do not wish to create debugging - information. For further information on what can be specified see . + - --disable-static: This parameter stops it - installing a static version of libsqlite3. - - : include this in - the CFLAGS if you want to use this as a system version for - . + + CFLAGS="-g -O2 -DSQLITE_SECURE_DELETE + -DSQLITE_ENABLE_UNLOCK_NOTIFY=1": Applications such as + Firefox require secure delete and enable unlock + notify to be turned on. The only way to do this is to include them in the + CFLAGS. By default, these are set to "-g -O2" so we + specify that to preserve those settings. You may, of course, wish to omit + the '-g' if you do not wish to create debugging + information. For further information on what can be specified see + . + + + : Add this to the CFLAGS + if you want to use this as a system version for . + @@ -144,12 +176,10 @@ cp -v -R sqlite-doc-&sqlite-dl-version;/* /usr/share/doc/sqlite-&sqlite-version; Installed Program Installed Library - Installed Directories sqlite3 libsqlite3.so - None @@ -161,9 +191,11 @@ cp -v -R sqlite-doc-&sqlite-dl-version;/* /usr/share/doc/sqlite-&sqlite-version; sqlite3 - A terminal-based front-end to the SQLite - library that can evaluate queries interactively - and display the results. + + A terminal-based front-end to the SQLite + library that can evaluate queries interactively and display the + results. + sqlite3 @@ -173,8 +205,9 @@ cp -v -R sqlite-doc-&sqlite-dl-version;/* /usr/share/doc/sqlite-&sqlite-version; libsqlite3.so - Contains the SQLite API - functions. + + contains the SQLite API functions. + libsqlite3.so diff --git a/template/template.xml b/template/template.xml index 4928d00c26..f9d30ba851 100644 --- a/template/template.xml +++ b/template/template.xml @@ -188,10 +188,8 @@ make Command Explanations - - : This prevents the installation of - static versions of the libraries. - + COMMAND: This command does something.