diff --git a/packages/s/sqlite3/abi_used_libs32 b/packages/s/sqlite3/abi_used_libs32
index 0b7acb551439..0c1c5354550e 100644
--- a/packages/s/sqlite3/abi_used_libs32
+++ b/packages/s/sqlite3/abi_used_libs32
@@ -1,2 +1,3 @@
libc.so.6
+libgcc_s.so.1
libm.so.6
diff --git a/packages/s/sqlite3/abi_used_symbols b/packages/s/sqlite3/abi_used_symbols
index d4d9b4243013..829360e6e0e7 100644
--- a/packages/s/sqlite3/abi_used_symbols
+++ b/packages/s/sqlite3/abi_used_symbols
@@ -29,7 +29,9 @@ libc.so.6:fdatasync
libc.so.6:fflush
libc.so.6:fgetc
libc.so.6:fgets
+libc.so.6:fopen
libc.so.6:fopen64
+libc.so.6:fprintf
libc.so.6:fputc
libc.so.6:fputs
libc.so.6:fread
@@ -51,6 +53,7 @@ libc.so.6:isatty
libc.so.6:localtime_r
libc.so.6:lstat64
libc.so.6:malloc
+libc.so.6:malloc_usable_size
libc.so.6:memchr
libc.so.6:memcmp
libc.so.6:memcpy
@@ -65,8 +68,8 @@ libc.so.6:open64
libc.so.6:opendir
libc.so.6:pclose
libc.so.6:popen
-libc.so.6:posix_fallocate64
libc.so.6:pread64
+libc.so.6:printf
libc.so.6:pthread_create
libc.so.6:pthread_join
libc.so.6:pthread_mutex_destroy
@@ -77,6 +80,7 @@ libc.so.6:pthread_mutex_unlock
libc.so.6:pthread_mutexattr_destroy
libc.so.6:pthread_mutexattr_init
libc.so.6:pthread_mutexattr_settype
+libc.so.6:putc
libc.so.6:pwrite64
libc.so.6:qsort
libc.so.6:raise
@@ -88,15 +92,16 @@ libc.so.6:rewind
libc.so.6:rmdir
libc.so.6:setvbuf
libc.so.6:signal
+libc.so.6:sprintf
libc.so.6:stat64
libc.so.6:stderr
libc.so.6:stdin
libc.so.6:stdout
libc.so.6:strchr
+libc.so.6:strchrnul
libc.so.6:strcmp
libc.so.6:strcspn
libc.so.6:strdup
-libc.so.6:strerror_r
libc.so.6:strlen
libc.so.6:strncmp
libc.so.6:strrchr
@@ -109,7 +114,9 @@ libc.so.6:sysconf
libc.so.6:system
libc.so.6:time
libc.so.6:unlink
+libc.so.6:utime
libc.so.6:utimes
+libc.so.6:vfprintf
libc.so.6:write
libm.so.6:acos
libm.so.6:acosh
diff --git a/packages/s/sqlite3/abi_used_symbols32 b/packages/s/sqlite3/abi_used_symbols32
index e788360c87b0..41fe8bd72740 100644
--- a/packages/s/sqlite3/abi_used_symbols32
+++ b/packages/s/sqlite3/abi_used_symbols32
@@ -24,6 +24,7 @@ libc.so.6:gettimeofday
libc.so.6:localtime_r
libc.so.6:lstat64
libc.so.6:malloc
+libc.so.6:malloc_usable_size
libc.so.6:memchr
libc.so.6:memcmp
libc.so.6:memcpy
@@ -35,7 +36,6 @@ libc.so.6:mremap
libc.so.6:munmap
libc.so.6:nanosleep
libc.so.6:open64
-libc.so.6:posix_fallocate64
libc.so.6:pread64
libc.so.6:pthread_create
libc.so.6:pthread_join
@@ -54,9 +54,9 @@ libc.so.6:readlink
libc.so.6:realloc
libc.so.6:rmdir
libc.so.6:stat64
+libc.so.6:strchrnul
libc.so.6:strcmp
libc.so.6:strcspn
-libc.so.6:strerror_r
libc.so.6:strlen
libc.so.6:strncmp
libc.so.6:strrchr
@@ -64,8 +64,12 @@ libc.so.6:strspn
libc.so.6:sysconf
libc.so.6:time
libc.so.6:unlink
-libc.so.6:utimes
+libc.so.6:utime
libc.so.6:write
+libgcc_s.so.1:__divdi3
+libgcc_s.so.1:__moddi3
+libgcc_s.so.1:__udivdi3
+libgcc_s.so.1:__umoddi3
libm.so.6:acos
libm.so.6:acosh
libm.so.6:asin
diff --git a/packages/s/sqlite3/files/sqlite-lemon-system-template.patch b/packages/s/sqlite3/files/sqlite-lemon-system-template.patch
new file mode 100644
index 000000000000..d4ed6c0b994b
--- /dev/null
+++ b/packages/s/sqlite3/files/sqlite-lemon-system-template.patch
@@ -0,0 +1,13 @@
+diff --git a/tool/lemon.c b/tool/lemon.c
+index 54c8946..ac14a06 100644
+--- a/tool/lemon.c
++++ b/tool/lemon.c
+@@ -3668,6 +3668,8 @@ PRIVATE FILE *tplt_open(struct lemon *lemp)
+ tpltname = buf;
+ }else if( access(templatename,004)==0 ){
+ tpltname = templatename;
++ }else if( access("/usr/share/lemon/lempar.c", R_OK)==0){
++ tpltname = "/usr/share/lemon/lempar.c";
+ }else{
+ toFree = tpltname = pathsearch(lemp->argv0,templatename,0);
+ }
diff --git a/packages/s/sqlite3/package.yml b/packages/s/sqlite3/package.yml
index 81d4749d633d..aa5429659664 100644
--- a/packages/s/sqlite3/package.yml
+++ b/packages/s/sqlite3/package.yml
@@ -1,33 +1,35 @@
name : sqlite3
-version : 3.47.2
-release : 60
+version : 3.48.0
+release : 61
source :
- - https://www.sqlite.org/2024/sqlite-autoconf-3470200.tar.gz : f1b2ee412c28d7472bc95ba996368d6f0cdcf00362affdadb27ed286c179540b
+ - https://sqlite.org/2025/sqlite-src-3480000.zip : 2d7b032b6fdfe8c442aa809f850687a81d06381deecd7be3312601d28612e640
license : Public-Domain
-component : system.base
+component :
+ - system.base
+ - lemon : programming.tools
emul32 : yes
homepage : https://www.sqlite.org
-summary : Self contained SQL package
-description: |
- The SQLite package is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.
+summary :
+ - Self contained SQL package
+ - lemon : A parser generator
+description:
+ - The SQLite package is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.
+ - lemon : The Lemon program is an LALR(1) parser generator. It takes a context free grammar and converts it into a subroutine that will parse a file using that grammar.
clang : yes
optimize :
- speed
- thin-lto
setup : |
- ex_opts=""
- if [[ -z "${EMUL32BUILD}" ]]; then
- ex_opts="--enable-readline"
- fi
+ %patch -p1 -i $pkgfiles/sqlite-lemon-system-template.patch
%configure --disable-static \
- --enable-dynamic-extensions \
--enable-fts3 \
--enable-fts4 \
--enable-fts5 \
--enable-rtree \
--enable-threadsafe \
- $ex_opts \
+ --disable-tcl \
+ --soname=legacy \
CFLAGS="$CFLAGS \
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_ENABLE_DBPAGE_VTAB=1 \
@@ -36,11 +38,23 @@ setup : |
-DSQLITE_ENABLE_STMTVTAB=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
-DSQLITE_SECURE_DELETE=1 \
- -DSQLITE_ENABLE_SESSION=1 \
+ -DSQLITE_ENABLE_SESSION \
-DSQLITE_ENABLE_PREUPDATE_HOOK=1 \
-DSQLITE_ENABLE_STAT4=1"
build : |
%make
+ pushd tool
+ clang lemon.c -o lemon
+ popd
install : |
%make_install
- install -D -m00644 sqlite3.1 $installdir/usr/share/man/man1/sqlite3.1
+ install -Dm00644 sqlite3.1 $installdir/usr/share/man/man1/sqlite3.1
+ pushd tool
+ install -Dm00644 lempar.c -t $installdir/usr/share/lemon/
+ install -Dm00755 lemon $installdir/usr/bin
+ popd
+
+patterns :
+ - lemon :
+ - /usr/bin/lemon
+ - /usr/share/lemon
diff --git a/packages/s/sqlite3/pspec_x86_64.xml b/packages/s/sqlite3/pspec_x86_64.xml
index 030a5c611e5f..300018b0a29d 100644
--- a/packages/s/sqlite3/pspec_x86_64.xml
+++ b/packages/s/sqlite3/pspec_x86_64.xml
@@ -3,52 +3,48 @@
sqlite3
https://www.sqlite.org
- Reilly Brogan
- solus@reillybrogan.com
+ Robert Gonzalez
+ uni.dos12@outlook.com
Public-Domain
system.base
Self contained SQL package
- 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.
https://sources.getsol.us/README.Solus
sqlite3
Self contained SQL package
- 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.
system.base
/usr/bin/sqlite3
/usr/lib64/libsqlite3.so.0
- /usr/lib64/libsqlite3.so.0.8.6
+ /usr/lib64/libsqlite3.so.3.48.0
/usr/share/man/man1/sqlite3.1
sqlite3-32bit
32-bit libraries for sqlite3
- 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.
emul32
- sqlite3
+ sqlite3
/usr/lib32/libsqlite3.so.0
- /usr/lib32/libsqlite3.so.0.8.6
+ /usr/lib32/libsqlite3.so.3.48.0
sqlite3-32bit-devel
Development files for 32-bit sqlite3
- 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.
programming.devel
- sqlite3-devel
- sqlite3-32bit
+ sqlite3-devel
+ sqlite3-32bit
/usr/lib32/libsqlite3.so
@@ -58,11 +54,10 @@
sqlite3-devel
Development files for sqlite3
- 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.
programming.devel
- sqlite3
+ sqlite3
/usr/include/sqlite3.h
@@ -71,13 +66,23 @@
/usr/lib64/pkgconfig/sqlite3.pc
+
+ sqlite3-lemon
+ A parser generator
+ The Lemon program is an LALR(1) parser generator. It takes a context free grammar and converts it into a subroutine that will parse a file using that grammar.
+ programming.tools
+
+ /usr/bin/lemon
+ /usr/share/lemon/lempar.c
+
+
-
- 2024-12-18
- 3.47.2
+
+ 2025-01-23
+ 3.48.0
Packaging update
- Reilly Brogan
- solus@reillybrogan.com
+ Robert Gonzalez
+ uni.dos12@outlook.com
\ No newline at end of file