Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2024 00:46:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282716] net-im/gurk-rs: Update to 0.5.2
Message-ID:  <bug-282716-7788-tIHOmdrOSG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282716-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-282716-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282716

--- Comment #13 from Herbert J. Skuhra <herbert@gojira.at> ---
My bad. Too many open terminals and I was building in the wrong directory.

gurk-rs also needs sqlite3_unlock_notify (-DSQLITE_ENABLE_UNLOCK_NOTIFY) so=
 I
had to rebuild database/sqlcipher with the following patch instead:

diff --git a/databases/sqlcipher/Makefile b/databases/sqlcipher/Makefile
index d83f369394dd..1f7a46105c83 100644
--- a/databases/sqlcipher/Makefile
+++ b/databases/sqlcipher/Makefile
@@ -17,7 +17,8 @@ USE_GITHUB=3D   yes

 GNU_CONFIGURE=3D yes
 CONFIGURE_ARGS+=3D--enable-tempstore=3Dyes --disable-tcl --disable-readline
-CPPFLAGS+=3D     -DSQLITE_HAS_CODEC
+CPPFLAGS+=3D     -DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA=3D1 \
+               -DSQLITE_ENABLE_UNLOCK_NOTIFY
 LDFLAGS+=3D      -L${LOCALBASE}/lib -L${OPENSSLLIB}
 CFLAGS+=3D       -I${LOCALBASE}/include -I${OPENSSLINC}


I think to unbundle openssl the follow change in Cargo.toml is sufficient:

 libsqlite3-sys =3D { version =3D "0.30.1", features =3D [
-    "bundled-sqlcipher-vendored-openssl",
+    "sqlcipher",
 ] }

(and I also removed openssl-(src|sys) from Cargo.lock.)
But I am still not sure if sqlcipher is actually working. More testing.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282716-7788-tIHOmdrOSG>