pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gurk: add patch + TODO



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Tue Oct 28 07:50:52 2025 +0100
Changeset:	7bb792506dfb031397a4b59ba49d614177b50932

Modified Files:
	gurk/Makefile
	gurk/distinfo
Added Files:
	gurk/TODO
	gurk/patches/patch-Cargo.toml

Log Message:
gurk: add patch + TODO

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7bb792506dfb031397a4b59ba49d614177b50932

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gurk/Makefile                 |  4 ----
 gurk/TODO                     |  8 ++++++++
 gurk/distinfo                 |  1 +
 gurk/patches/patch-Cargo.toml | 23 +++++++++++++++++++++++
 4 files changed, 32 insertions(+), 4 deletions(-)

diffs:
diff --git a/gurk/Makefile b/gurk/Makefile
index 579996454c..808316d660 100644
--- a/gurk/Makefile
+++ b/gurk/Makefile
@@ -30,12 +30,8 @@ SITES.presage-${PRESAGE_REV}.tar.gz=			-${MASTER_SITE_GITHUB:=whisperfish/}presa
 SITES.poksho-${POKSHO_REV}.tar.gz=			-${MASTER_SITE_GITHUB:=signalapp/}libsignal/archive/${POKSHO_REV}.tar.gz
 SITES.curve25519-dalek-${CURVE25519-DALEK_REV}.tar.gz=	-${MASTER_SITE_GITHUB:=signalapp/}curve25519-dalek/archive/${CURVE25519-DALEK_REV}.tar.gz
 
-#MAKE_ENV+=	OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
-#RUSTFLAGS+=	-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
-
 .include "cargo-depends.mk"
 
 .include "../../lang/rust/cargo.mk"
-#.include "../../security/openssl/buildlink3.mk"
 .include "../../devel/protobuf/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/gurk/TODO b/gurk/TODO
new file mode 100644
index 0000000000..e0b4d5b133
--- /dev/null
+++ b/gurk/TODO
@@ -0,0 +1,8 @@
+===> Building for gurk-0.7.1
+error: failed to load source for dependency `curve25519-dalek`
+
+Caused by:
+  Unable to update /usr/pkgsrc/wip/gurk/work/curve25519-dalek-fa033980129e3d7b806803b3f1a2a04399ea6fb7
+
+Caused by:
+  found a virtual manifest at `/usr/pkgsrc/wip/gurk/work/curve25519-dalek-fa033980129e3d7b806803b3f1a2a04399ea6fb7/Cargo.toml` instead of a package manifest
diff --git a/gurk/distinfo b/gurk/distinfo
index b8bb68c1fd..7097ef31e7 100644
--- a/gurk/distinfo
+++ b/gurk/distinfo
@@ -1731,3 +1731,4 @@ Size (zvariant_derive-4.2.0.crate) = 11057 bytes
 BLAKE2s (zvariant_utils-2.1.0.crate) = b142d63425365aedf109bafac551bf52a32897836b938d4835a415a0444db92c
 SHA512 (zvariant_utils-2.1.0.crate) = 345b70d1106b37df41426efdb1ba49bf270e00898381c2a8021b5761c59efdea55def45cb2e2598b130b6cba8733503f3997a55578bca90867ab3e8f2346f80e
 Size (zvariant_utils-2.1.0.crate) = 7043 bytes
+SHA1 (patch-Cargo.toml) = e349f6cf0ab7269f356fc7257e18fc95e7b614ec
diff --git a/gurk/patches/patch-Cargo.toml b/gurk/patches/patch-Cargo.toml
new file mode 100644
index 0000000000..db752cc5d7
--- /dev/null
+++ b/gurk/patches/patch-Cargo.toml
@@ -0,0 +1,23 @@
+$NetBSD$
+
+Depends on unpublished crates. Can't use cargo.mk to fetch it.
+
+--- Cargo.toml.orig	2025-10-28 06:41:49.452398627 +0000
++++ Cargo.toml
+@@ -28,8 +28,8 @@ debug = true
+ dev = ["prost", "base64"]
+ 
+ [dependencies]
+-presage = { git = "https://github.com/whisperfish/presage";, rev = "0da7b5774" }
+-presage-store-sqlite = { git = "https://github.com/whisperfish/presage";, rev = "0da7b5774" }
++presage = { path = "../presage-0da7b57746b827bfb310f98a10a29e73d508e742" }
++presage-store-sqlite = { path = "../presage-0da7b57746b827bfb310f98a10a29e73d508e742" }
+ 
+ # dev feature dependencies
+ prost = { version = "0.13.4", optional = true }
+@@ -128,4 +128,4 @@ harness = false
+ [patch.crates-io]
+ # signal-protocol uses a fork of this library via the patch mechanism of cargo.
+ # Since it is not transitive, we have to add the patch here explicitly.
+-"curve25519-dalek" = { git = 'https://github.com/signalapp/curve25519-dalek', tag = 'signal-curve25519-4.1.3' }
++"curve25519-dalek" = { path = '../curve25519-dalek-fa033980129e3d7b806803b3f1a2a04399ea6fb7' }


Home | Main Index | Thread Index | Old Index