diff --git a/files/security/cve-2018-8740.patch b/files/security/cve-2018-8740.patch deleted file mode 100644 --- a/files/security/cve-2018-8740.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/sqlite3.c b/sqlite3.c -index 73c69ef..1589fc7 100644 ---- a/sqlite3.c -+++ b/sqlite3.c -@@ -103486,6 +103486,10 @@ SQLITE_PRIVATE void sqlite3EndTable( - ** table itself. So mark it read-only. - */ - if( db->init.busy ){ -+ if( pSelect ){ -+ sqlite3ErrorMsg(pParse, ""); -+ return; -+ } - p->tnum = db->init.newTnum; - if( p->tnum==1 ) p->tabFlags |= TF_Readonly; - } -@@ -117813,7 +117817,7 @@ static void corruptSchema( - char *z; - if( zObj==0 ) zObj = "?"; - z = sqlite3MPrintf(db, "malformed database schema (%s)", zObj); -- if( zExtra ) z = sqlite3MPrintf(db, "%z - %s", z, zExtra); -+ if( zExtra && zExtra[0] ) z = sqlite3MPrintf(db, "%z - %s", z, zExtra); - sqlite3DbFree(db, *pData->pzErrMsg); - *pData->pzErrMsg = z; - } - diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : sqlite3 -version : 3.22.0 -release : 23 +version : 3.23.0 +release : 24 source : - - https://www.sqlite.org/2018/sqlite-autoconf-3220000.tar.gz : 2824ab1238b706bc66127320afbdffb096361130e23291f26928a027b885c612 + - https://www.sqlite.org/2018/sqlite-autoconf-3230000.tar.gz : b7711a1800a071674c2bf76898ae8584fc6c9643cfe933cfc1bc54361e3a6e49 license : Public-Domain component : system.base optimize : speed @@ -12,8 +12,6 @@ The SQLite package is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. setup : | - %patch -p1 < $pkgfiles/security/cve-2018-8740.patch - ex_opts="" if [[ -z "${EMUL32BUILD}" ]]; then ex_opts="--enable-readline" @@ -38,4 +36,4 @@ %make install : | %make_install - install -D -m0644 sqlite3.1 $installdir/usr/share/man/man1/sqlite3.1 + install -D -m00644 sqlite3.1 $installdir/usr/share/man/man1/sqlite3.1 diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -2,8 +2,8 @@ sqlite3 - Joey Riches - josephriches@gmail.com + Pierre-Yves + pyu@riseup.net Public-Domain system.base @@ -34,7 +34,7 @@ emul32 - sqlite3 + sqlite3 /usr/lib32/lib*.so.* @@ -48,8 +48,8 @@ programming.devel - sqlite3-32bit - sqlite3-devel + sqlite3-32bit + sqlite3-devel /usr/lib32/lib*.so @@ -64,7 +64,7 @@ programming.devel - sqlite3 + sqlite3 /usr/include/ @@ -73,12 +73,12 @@ - - 2018-03-31 - 3.22.0 + + 2018-04-03 + 3.23.0 Packaging update - Joey Riches - josephriches@gmail.com + Pierre-Yves + pyu@riseup.net \ No newline at end of file