[packages/dqlite] Up to 1.18.8
arekm
arekm at pld-linux.org
Sat Nov 28 18:22:22 CET 2026
commit 975f216694af22edd1a2af79678b14fcb07758cb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 17:27:17 2026 +0100
Up to 1.18.8
cast.patch | 66 -------------------------------------------------------------
dqlite.spec | 26 +++++++++++-------------
2 files changed, 11 insertions(+), 81 deletions(-)
---
diff --git a/dqlite.spec b/dqlite.spec
index 234abc7..db851a6 100644
--- a/dqlite.spec
+++ b/dqlite.spec
@@ -1,25 +1,21 @@
Summary: dqlite library - distributed SQLite engine
Summary(pl.UTF-8): Biblioteka dqlite - rozproszony silnik SQLite
Name: dqlite
-Version: 1.18.5
+Version: 1.18.8
Release: 1
License: LGPL v3 with exception
Group: Libraries
#Source0Download: https://github.com/canonical/dqlite/releases
Source0: https://github.com/canonical/dqlite/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 1d5ce7c3deb1220210768c8b55ff7cf6
-Patch0: cast.patch
+# Source0-md5: 9bc837ef0fb26812f22110f56a85646e
URL: https://github.com/canonical/dqlite
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.11
BuildRequires: libtool >= 2:2
-BuildRequires: libuv-devel >= 1.8.0
+BuildRequires: libuv-devel >= 1.34.0
+BuildRequires: lz4-devel >= 1.7.1
BuildRequires: pkgconfig
-BuildRequires: raft-devel >= 0.14.0
-BuildRequires: sqlite3-devel >= 3.22.0
-Requires: libuv >= 1.8.0
-Requires: raft >= 0.14.0
-Requires: sqlite3 >= 3.22.0
+BuildRequires: sqlite3-devel >= 3.34.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# NDEBUG undefines __assert_fail in glibc assert.h
@@ -40,9 +36,9 @@ Summary: Header files for dqlite development
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dqlite
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: libuv-devel >= 1.8.0
-Requires: raft-devel >= 0.14.0
-Requires: sqlite3-devel >= 3.22.0
+Requires: libuv-devel >= 1.34.0
+Requires: lz4-devel >= 1.7.1
+Requires: sqlite3-devel >= 3.34.0
%description devel
This package contains development files for the dqlite library.
@@ -64,7 +60,6 @@ Ten pakiet zawiera bibliotekę statyczną dqlite.
%prep
%setup -q
-%patch -P0 -p1
%build
%{__libtoolize}
@@ -72,7 +67,8 @@ Ten pakiet zawiera bibliotekę statyczną dqlite.
%{__autoconf}
%{__automake}
%configure \
- --disable-silent-rules
+ --disable-silent-rules \
+ --with-lz4
%{__make}
@@ -95,7 +91,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS LICENSE README.md
%{_libdir}/libdqlite.so.*.*.*
-%ghost %{_libdir}/libdqlite.so.0
+%ghost %{_libdir}/libdqlite.so.1
%files devel
%defattr(644,root,root,755)
diff --git a/cast.patch b/cast.patch
deleted file mode 100644
index e4bf549..0000000
--- a/cast.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-diff -up dqlite-1.18.5/src/server.c.orig dqlite-1.18.5/src/server.c
---- dqlite-1.18.5/src/server.c.orig 2026-01-26 09:03:58.000000000 +0100
-+++ dqlite-1.18.5/src/server.c 2026-04-19 15:16:10.175908177 +0200
-@@ -1111,7 +1111,7 @@ static int parseNodeStore(char *buf, siz
- struct client_node_info info;
-
- version_str = p;
-- nl = memchr(p, '\n', (size_t)(end - version_str));
-+ nl = (char *)memchr(p, '\n', (size_t)(end - version_str));
- if (nl == NULL) {
- return 1;
- }
-@@ -1123,7 +1123,7 @@ static int parseNodeStore(char *buf, siz
-
- while (p != end) {
- addr = p;
-- nl = memchr(p, '\n', (size_t)(end - addr));
-+ nl = (char *)memchr(p, '\n', (size_t)(end - addr));
- if (nl == NULL) {
- return 1;
- }
-@@ -1131,7 +1131,7 @@ static int parseNodeStore(char *buf, siz
- p = nl + 1;
-
- id_str = p;
-- nl = memchr(p, '\n', (size_t)(end - id_str));
-+ nl = (char *)memchr(p, '\n', (size_t)(end - id_str));
- if (nl == NULL) {
- return 1;
- }
-@@ -1150,7 +1150,7 @@ static int parseNodeStore(char *buf, siz
- }
-
- role_str = p;
-- nl = memchr(p, '\n', (size_t)(end - role_str));
-+ nl = (char *)memchr(p, '\n', (size_t)(end - role_str));
- if (nl == NULL) {
- return 1;
- }
-@@ -1247,7 +1247,7 @@ static int parseLocalInfo(char *buf,
- unsigned long long id;
-
- version_str = p;
-- nl = memchr(version_str, '\n', (size_t)(end - version_str));
-+ nl = (char *)memchr(version_str, '\n', (size_t)(end - version_str));
- if (nl == NULL) {
- return 1;
- }
-@@ -1258,7 +1258,7 @@ static int parseLocalInfo(char *buf,
- }
-
- addr = p;
-- nl = memchr(addr, '\n', (size_t)(end - addr));
-+ nl = (char *)memchr(addr, '\n', (size_t)(end - addr));
- if (nl == NULL) {
- return 1;
- }
-@@ -1266,7 +1266,7 @@ static int parseLocalInfo(char *buf,
- p = nl + 1;
-
- id_str = p;
-- nl = memchr(id_str, '\n', (size_t)(end - id_str));
-+ nl = (char *)memchr(id_str, '\n', (size_t)(end - id_str));
- if (nl == NULL) {
- return 1;
- }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dqlite.git/commitdiff/975f216694af22edd1a2af79678b14fcb07758cb
More information about the pld-cvs-commit
mailing list