* [PR PATCH] Libsignal protocol c update
@ 2020-04-01 9:45 teldra
2020-04-01 10:11 ` [PR PATCH] [Updated] " teldra
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: teldra @ 2020-04-01 9:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
There is a new pull request by teldra against master on the void-packages repository
https://github.com/teldra/void-packages libsignal-protocol-c-update
https://github.com/void-linux/void-packages/pull/20542
Libsignal protocol c update
A patch file from https://github.com/void-linux/void-packages/pull/20542.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libsignal-protocol-c-update-20542.patch --]
[-- Type: text/x-diff, Size: 6271 bytes --]
From 1efb15760ec10a83a08289728e55eb5742815c6c Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 11:43:49 +0200
Subject: [PATCH 1/3] libsignal-protocol-c: update to 2.3.3
---
srcpkgs/libsignal-protocol-c/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/libsignal-protocol-c/template b/srcpkgs/libsignal-protocol-c/template
index 2df9268c33f..2f60b284e44 100644
--- a/srcpkgs/libsignal-protocol-c/template
+++ b/srcpkgs/libsignal-protocol-c/template
@@ -1,7 +1,7 @@
# Template file for 'libsignal-protocol-c'
pkgname=libsignal-protocol-c
-version=2.3.2
-revision=2
+version=2.3.3
+revision=1
build_style=cmake
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
makedepends="libressl-devel"
@@ -11,7 +11,7 @@ maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later"
homepage="https://www.whispersystems.org/"
distfiles="https://github.com/signalapp/libsignal-protocol-c/archive/v${version}.tar.gz"
-checksum=f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
+checksum=c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -DBUILD_TESTING=1"
From f20327d3361019ee51a2154458d56fc907c83e48 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 11:43:54 +0200
Subject: [PATCH 2/3] dino: revbump for libsignal-protocol-c
---
srcpkgs/dino/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/dino/template b/srcpkgs/dino/template
index e80f36a9785..2b51a06331a 100644
--- a/srcpkgs/dino/template
+++ b/srcpkgs/dino/template
@@ -1,7 +1,7 @@
# Template file for 'dino'
pkgname=dino
version=0.1.0
-revision=1
+revision=2
build_style=cmake
configure_args="-GNinja -DDINO_PLUGIN_ENABLED_notification-sound=ON"
make_cmd=ninja
From 5da39f2f94fd9a912377e9ad1398f075d58cbd9a Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 11:43:54 +0200
Subject: [PATCH 3/3] profanity: revbump for libsignal-protocol-c
---
.../patches/00-new-commits.patch | 98 -------------------
srcpkgs/profanity/template | 2 +-
2 files changed, 1 insertion(+), 99 deletions(-)
delete mode 100644 srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
diff --git a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch b/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
deleted file mode 100644
index 76666f81c44..00000000000
--- a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-diff --git CMakeLists.txt CMakeLists.txt
-index b31796d..d95fd3f 100644
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -19,6 +19,7 @@ SET(INSTALL_PKGCONFIG_DIR "${LIB_INSTALL_DIR}/pkgconfig" CACHE PATH "Installatio
-
- INCLUDE(CheckSymbolExists)
- INCLUDE(CheckCCompilerFlag)
-+INCLUDE(TestBigEndian)
-
- CHECK_SYMBOL_EXISTS(memset_s "string.h" HAVE_MEMSET_S)
-
-@@ -50,6 +51,11 @@ IF(HAVE_MEMSET_S)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_MEMSET_S=1")
- ENDIF(HAVE_MEMSET_S)
-
-+TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
-+IF(WORDS_BIGENDIAN)
-+ ADD_DEFINITIONS(-DWORDS_BIGENDIAN)
-+ENDIF(WORDS_BIGENDIAN)
-+
- IF(COVERAGE)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
- SET(LINK_FLAGS "${LINK_FLAGS} -fprofile-arcs -ftest-coverage")
-diff --git tests/test_common.c tests/test_common.c
-index f15003c..03f95ee 100644
---- tests/test_common.c
-+++ tests/test_common.c
-@@ -845,3 +845,11 @@ void setup_test_sender_key_store(signal_protocol_store_context *context, signal_
-
- signal_protocol_store_context_set_sender_key_store(context, &store);
- }
-+
-+#ifndef __OpenBSD__
-+void srand_deterministic(unsigned int seed)
-+{
-+ srand(seed);
-+}
-+#endif
-+
-diff --git tests/test_common.h tests/test_common.h
-index 66ddc6a..db54c12 100644
---- tests/test_common.h
-+++ tests/test_common.h
-@@ -84,4 +84,10 @@ int test_sender_key_store_load_sender_key(signal_buffer **record, signal_buffer
- void test_sender_key_store_destroy(void *user_data);
- void setup_test_sender_key_store(signal_protocol_store_context *context, signal_context *global_context);
-
-+/* Portability */
-+#ifndef __OpenBSD__
-+/* OpenBSD extension */
-+void srand_deterministic(unsigned int seed);
-+#endif
-+
- #endif /* TEST_COMMON_H */
-diff --git tests/test_common_openssl.c tests/test_common_openssl.c
-index abcb208..ab5dc9b 100644
---- tests/test_common_openssl.c
-+++ tests/test_common_openssl.c
-@@ -1,5 +1,6 @@
- #include "test_common.h"
-
-+#include <limits.h>
- #include <openssl/opensslv.h>
- #include <openssl/evp.h>
- #include <openssl/hmac.h>
-diff --git tests/test_session_builder.c tests/test_session_builder.c
-index 5c475c6..cc388cd 100644
---- tests/test_session_builder.c
-+++ tests/test_session_builder.c
-@@ -1426,9 +1426,9 @@ void run_interaction(signal_protocol_store_context *alice_store, signal_protocol
- }
-
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_plaintext, 10);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_ciphertext, 10);
- fprintf(stderr, "Shuffled Alice->Bob messages created\n");
-
-diff --git tests/test_session_cipher.c tests/test_session_cipher.c
-index e761fda..419f87a 100644
---- tests/test_session_cipher.c
-+++ tests/test_session_cipher.c
-@@ -206,9 +206,9 @@ void generate_test_message_collections(session_cipher *cipher, signal_buffer **p
-
- /* Randomize the two arrays using the same seed */
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(plaintext_messages, size);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(ciphertext_messages, size);
- }
-
diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2dccec1bd38..a034dcc59dc 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,7 +1,7 @@
# Template file for 'profanity'
pkgname=profanity
version=0.8.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
$(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] Libsignal protocol c update
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
@ 2020-04-01 10:11 ` teldra
2020-04-01 14:43 ` teldra
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: teldra @ 2020-04-01 10:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
There is an updated pull request by teldra against master on the void-packages repository
https://github.com/teldra/void-packages libsignal-protocol-c-update
https://github.com/void-linux/void-packages/pull/20542
Libsignal protocol c update
A patch file from https://github.com/void-linux/void-packages/pull/20542.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libsignal-protocol-c-update-20542.patch --]
[-- Type: text/x-diff, Size: 6256 bytes --]
From 4b15ff2a563164ab3ff127526ec8a60e4d94c8bc Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:10:31 +0200
Subject: [PATCH 1/3] libsignal-protocol-c: update to 2.3.3
---
.../patches/00-new-commits.patch | 98 -------------------
srcpkgs/libsignal-protocol-c/template | 6 +-
2 files changed, 3 insertions(+), 101 deletions(-)
delete mode 100644 srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
diff --git a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch b/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
deleted file mode 100644
index 76666f81c44..00000000000
--- a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-diff --git CMakeLists.txt CMakeLists.txt
-index b31796d..d95fd3f 100644
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -19,6 +19,7 @@ SET(INSTALL_PKGCONFIG_DIR "${LIB_INSTALL_DIR}/pkgconfig" CACHE PATH "Installatio
-
- INCLUDE(CheckSymbolExists)
- INCLUDE(CheckCCompilerFlag)
-+INCLUDE(TestBigEndian)
-
- CHECK_SYMBOL_EXISTS(memset_s "string.h" HAVE_MEMSET_S)
-
-@@ -50,6 +51,11 @@ IF(HAVE_MEMSET_S)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_MEMSET_S=1")
- ENDIF(HAVE_MEMSET_S)
-
-+TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
-+IF(WORDS_BIGENDIAN)
-+ ADD_DEFINITIONS(-DWORDS_BIGENDIAN)
-+ENDIF(WORDS_BIGENDIAN)
-+
- IF(COVERAGE)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
- SET(LINK_FLAGS "${LINK_FLAGS} -fprofile-arcs -ftest-coverage")
-diff --git tests/test_common.c tests/test_common.c
-index f15003c..03f95ee 100644
---- tests/test_common.c
-+++ tests/test_common.c
-@@ -845,3 +845,11 @@ void setup_test_sender_key_store(signal_protocol_store_context *context, signal_
-
- signal_protocol_store_context_set_sender_key_store(context, &store);
- }
-+
-+#ifndef __OpenBSD__
-+void srand_deterministic(unsigned int seed)
-+{
-+ srand(seed);
-+}
-+#endif
-+
-diff --git tests/test_common.h tests/test_common.h
-index 66ddc6a..db54c12 100644
---- tests/test_common.h
-+++ tests/test_common.h
-@@ -84,4 +84,10 @@ int test_sender_key_store_load_sender_key(signal_buffer **record, signal_buffer
- void test_sender_key_store_destroy(void *user_data);
- void setup_test_sender_key_store(signal_protocol_store_context *context, signal_context *global_context);
-
-+/* Portability */
-+#ifndef __OpenBSD__
-+/* OpenBSD extension */
-+void srand_deterministic(unsigned int seed);
-+#endif
-+
- #endif /* TEST_COMMON_H */
-diff --git tests/test_common_openssl.c tests/test_common_openssl.c
-index abcb208..ab5dc9b 100644
---- tests/test_common_openssl.c
-+++ tests/test_common_openssl.c
-@@ -1,5 +1,6 @@
- #include "test_common.h"
-
-+#include <limits.h>
- #include <openssl/opensslv.h>
- #include <openssl/evp.h>
- #include <openssl/hmac.h>
-diff --git tests/test_session_builder.c tests/test_session_builder.c
-index 5c475c6..cc388cd 100644
---- tests/test_session_builder.c
-+++ tests/test_session_builder.c
-@@ -1426,9 +1426,9 @@ void run_interaction(signal_protocol_store_context *alice_store, signal_protocol
- }
-
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_plaintext, 10);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_ciphertext, 10);
- fprintf(stderr, "Shuffled Alice->Bob messages created\n");
-
-diff --git tests/test_session_cipher.c tests/test_session_cipher.c
-index e761fda..419f87a 100644
---- tests/test_session_cipher.c
-+++ tests/test_session_cipher.c
-@@ -206,9 +206,9 @@ void generate_test_message_collections(session_cipher *cipher, signal_buffer **p
-
- /* Randomize the two arrays using the same seed */
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(plaintext_messages, size);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(ciphertext_messages, size);
- }
-
diff --git a/srcpkgs/libsignal-protocol-c/template b/srcpkgs/libsignal-protocol-c/template
index 2df9268c33f..2f60b284e44 100644
--- a/srcpkgs/libsignal-protocol-c/template
+++ b/srcpkgs/libsignal-protocol-c/template
@@ -1,7 +1,7 @@
# Template file for 'libsignal-protocol-c'
pkgname=libsignal-protocol-c
-version=2.3.2
-revision=2
+version=2.3.3
+revision=1
build_style=cmake
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
makedepends="libressl-devel"
@@ -11,7 +11,7 @@ maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later"
homepage="https://www.whispersystems.org/"
distfiles="https://github.com/signalapp/libsignal-protocol-c/archive/v${version}.tar.gz"
-checksum=f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
+checksum=c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -DBUILD_TESTING=1"
From 6fdfffc9207eb439b8e1cfdc0984f133521fc327 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:11:22 +0200
Subject: [PATCH 2/3] dino: revbump for libsignal-protocol-c
---
srcpkgs/dino/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/dino/template b/srcpkgs/dino/template
index e80f36a9785..2b51a06331a 100644
--- a/srcpkgs/dino/template
+++ b/srcpkgs/dino/template
@@ -1,7 +1,7 @@
# Template file for 'dino'
pkgname=dino
version=0.1.0
-revision=1
+revision=2
build_style=cmake
configure_args="-GNinja -DDINO_PLUGIN_ENABLED_notification-sound=ON"
make_cmd=ninja
From 24d36bc7438487336ae64271a704167cc01862a1 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:11:22 +0200
Subject: [PATCH 3/3] profanity: revbump for libsignal-protocol-c
---
srcpkgs/profanity/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2dccec1bd38..a034dcc59dc 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,7 +1,7 @@
# Template file for 'profanity'
pkgname=profanity
version=0.8.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
$(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] Libsignal protocol c update
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
2020-04-01 10:11 ` [PR PATCH] [Updated] " teldra
@ 2020-04-01 14:43 ` teldra
2020-04-22 8:52 ` teldra
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: teldra @ 2020-04-01 14:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
There is an updated pull request by teldra against master on the void-packages repository
https://github.com/teldra/void-packages libsignal-protocol-c-update
https://github.com/void-linux/void-packages/pull/20542
Libsignal protocol c update
A patch file from https://github.com/void-linux/void-packages/pull/20542.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libsignal-protocol-c-update-20542.patch --]
[-- Type: text/x-diff, Size: 6256 bytes --]
From 4b15ff2a563164ab3ff127526ec8a60e4d94c8bc Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:10:31 +0200
Subject: [PATCH 1/3] libsignal-protocol-c: update to 2.3.3
---
.../patches/00-new-commits.patch | 98 -------------------
srcpkgs/libsignal-protocol-c/template | 6 +-
2 files changed, 3 insertions(+), 101 deletions(-)
delete mode 100644 srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
diff --git a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch b/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
deleted file mode 100644
index 76666f81c44..00000000000
--- a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-diff --git CMakeLists.txt CMakeLists.txt
-index b31796d..d95fd3f 100644
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -19,6 +19,7 @@ SET(INSTALL_PKGCONFIG_DIR "${LIB_INSTALL_DIR}/pkgconfig" CACHE PATH "Installatio
-
- INCLUDE(CheckSymbolExists)
- INCLUDE(CheckCCompilerFlag)
-+INCLUDE(TestBigEndian)
-
- CHECK_SYMBOL_EXISTS(memset_s "string.h" HAVE_MEMSET_S)
-
-@@ -50,6 +51,11 @@ IF(HAVE_MEMSET_S)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_MEMSET_S=1")
- ENDIF(HAVE_MEMSET_S)
-
-+TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
-+IF(WORDS_BIGENDIAN)
-+ ADD_DEFINITIONS(-DWORDS_BIGENDIAN)
-+ENDIF(WORDS_BIGENDIAN)
-+
- IF(COVERAGE)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
- SET(LINK_FLAGS "${LINK_FLAGS} -fprofile-arcs -ftest-coverage")
-diff --git tests/test_common.c tests/test_common.c
-index f15003c..03f95ee 100644
---- tests/test_common.c
-+++ tests/test_common.c
-@@ -845,3 +845,11 @@ void setup_test_sender_key_store(signal_protocol_store_context *context, signal_
-
- signal_protocol_store_context_set_sender_key_store(context, &store);
- }
-+
-+#ifndef __OpenBSD__
-+void srand_deterministic(unsigned int seed)
-+{
-+ srand(seed);
-+}
-+#endif
-+
-diff --git tests/test_common.h tests/test_common.h
-index 66ddc6a..db54c12 100644
---- tests/test_common.h
-+++ tests/test_common.h
-@@ -84,4 +84,10 @@ int test_sender_key_store_load_sender_key(signal_buffer **record, signal_buffer
- void test_sender_key_store_destroy(void *user_data);
- void setup_test_sender_key_store(signal_protocol_store_context *context, signal_context *global_context);
-
-+/* Portability */
-+#ifndef __OpenBSD__
-+/* OpenBSD extension */
-+void srand_deterministic(unsigned int seed);
-+#endif
-+
- #endif /* TEST_COMMON_H */
-diff --git tests/test_common_openssl.c tests/test_common_openssl.c
-index abcb208..ab5dc9b 100644
---- tests/test_common_openssl.c
-+++ tests/test_common_openssl.c
-@@ -1,5 +1,6 @@
- #include "test_common.h"
-
-+#include <limits.h>
- #include <openssl/opensslv.h>
- #include <openssl/evp.h>
- #include <openssl/hmac.h>
-diff --git tests/test_session_builder.c tests/test_session_builder.c
-index 5c475c6..cc388cd 100644
---- tests/test_session_builder.c
-+++ tests/test_session_builder.c
-@@ -1426,9 +1426,9 @@ void run_interaction(signal_protocol_store_context *alice_store, signal_protocol
- }
-
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_plaintext, 10);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_ciphertext, 10);
- fprintf(stderr, "Shuffled Alice->Bob messages created\n");
-
-diff --git tests/test_session_cipher.c tests/test_session_cipher.c
-index e761fda..419f87a 100644
---- tests/test_session_cipher.c
-+++ tests/test_session_cipher.c
-@@ -206,9 +206,9 @@ void generate_test_message_collections(session_cipher *cipher, signal_buffer **p
-
- /* Randomize the two arrays using the same seed */
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(plaintext_messages, size);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(ciphertext_messages, size);
- }
-
diff --git a/srcpkgs/libsignal-protocol-c/template b/srcpkgs/libsignal-protocol-c/template
index 2df9268c33f..2f60b284e44 100644
--- a/srcpkgs/libsignal-protocol-c/template
+++ b/srcpkgs/libsignal-protocol-c/template
@@ -1,7 +1,7 @@
# Template file for 'libsignal-protocol-c'
pkgname=libsignal-protocol-c
-version=2.3.2
-revision=2
+version=2.3.3
+revision=1
build_style=cmake
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
makedepends="libressl-devel"
@@ -11,7 +11,7 @@ maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later"
homepage="https://www.whispersystems.org/"
distfiles="https://github.com/signalapp/libsignal-protocol-c/archive/v${version}.tar.gz"
-checksum=f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
+checksum=c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -DBUILD_TESTING=1"
From 6fdfffc9207eb439b8e1cfdc0984f133521fc327 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:11:22 +0200
Subject: [PATCH 2/3] dino: revbump for libsignal-protocol-c
---
srcpkgs/dino/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/dino/template b/srcpkgs/dino/template
index e80f36a9785..2b51a06331a 100644
--- a/srcpkgs/dino/template
+++ b/srcpkgs/dino/template
@@ -1,7 +1,7 @@
# Template file for 'dino'
pkgname=dino
version=0.1.0
-revision=1
+revision=2
build_style=cmake
configure_args="-GNinja -DDINO_PLUGIN_ENABLED_notification-sound=ON"
make_cmd=ninja
From 9504b6b4228c67c83e832b8928b536463f6a4e30 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:11:22 +0200
Subject: [PATCH 3/3] profanity: revbump for libsignal-protocol-c
---
srcpkgs/profanity/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2dccec1bd38..a034dcc59dc 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,7 +1,7 @@
# Template file for 'profanity'
pkgname=profanity
version=0.8.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
$(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] Libsignal protocol c update
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
2020-04-01 10:11 ` [PR PATCH] [Updated] " teldra
2020-04-01 14:43 ` teldra
@ 2020-04-22 8:52 ` teldra
2020-04-24 0:43 ` teldra
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: teldra @ 2020-04-22 8:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
There is an updated pull request by teldra against master on the void-packages repository
https://github.com/teldra/void-packages libsignal-protocol-c-update
https://github.com/void-linux/void-packages/pull/20542
Libsignal protocol c update
A patch file from https://github.com/void-linux/void-packages/pull/20542.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libsignal-protocol-c-update-20542.patch --]
[-- Type: text/x-diff, Size: 6256 bytes --]
From 48fbabe35fc65168a696e0748384c371e7044146 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:10:31 +0200
Subject: [PATCH 1/3] libsignal-protocol-c: update to 2.3.3
---
.../patches/00-new-commits.patch | 98 -------------------
srcpkgs/libsignal-protocol-c/template | 6 +-
2 files changed, 3 insertions(+), 101 deletions(-)
delete mode 100644 srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
diff --git a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch b/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
deleted file mode 100644
index 76666f81c44..00000000000
--- a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-diff --git CMakeLists.txt CMakeLists.txt
-index b31796d..d95fd3f 100644
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -19,6 +19,7 @@ SET(INSTALL_PKGCONFIG_DIR "${LIB_INSTALL_DIR}/pkgconfig" CACHE PATH "Installatio
-
- INCLUDE(CheckSymbolExists)
- INCLUDE(CheckCCompilerFlag)
-+INCLUDE(TestBigEndian)
-
- CHECK_SYMBOL_EXISTS(memset_s "string.h" HAVE_MEMSET_S)
-
-@@ -50,6 +51,11 @@ IF(HAVE_MEMSET_S)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_MEMSET_S=1")
- ENDIF(HAVE_MEMSET_S)
-
-+TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
-+IF(WORDS_BIGENDIAN)
-+ ADD_DEFINITIONS(-DWORDS_BIGENDIAN)
-+ENDIF(WORDS_BIGENDIAN)
-+
- IF(COVERAGE)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
- SET(LINK_FLAGS "${LINK_FLAGS} -fprofile-arcs -ftest-coverage")
-diff --git tests/test_common.c tests/test_common.c
-index f15003c..03f95ee 100644
---- tests/test_common.c
-+++ tests/test_common.c
-@@ -845,3 +845,11 @@ void setup_test_sender_key_store(signal_protocol_store_context *context, signal_
-
- signal_protocol_store_context_set_sender_key_store(context, &store);
- }
-+
-+#ifndef __OpenBSD__
-+void srand_deterministic(unsigned int seed)
-+{
-+ srand(seed);
-+}
-+#endif
-+
-diff --git tests/test_common.h tests/test_common.h
-index 66ddc6a..db54c12 100644
---- tests/test_common.h
-+++ tests/test_common.h
-@@ -84,4 +84,10 @@ int test_sender_key_store_load_sender_key(signal_buffer **record, signal_buffer
- void test_sender_key_store_destroy(void *user_data);
- void setup_test_sender_key_store(signal_protocol_store_context *context, signal_context *global_context);
-
-+/* Portability */
-+#ifndef __OpenBSD__
-+/* OpenBSD extension */
-+void srand_deterministic(unsigned int seed);
-+#endif
-+
- #endif /* TEST_COMMON_H */
-diff --git tests/test_common_openssl.c tests/test_common_openssl.c
-index abcb208..ab5dc9b 100644
---- tests/test_common_openssl.c
-+++ tests/test_common_openssl.c
-@@ -1,5 +1,6 @@
- #include "test_common.h"
-
-+#include <limits.h>
- #include <openssl/opensslv.h>
- #include <openssl/evp.h>
- #include <openssl/hmac.h>
-diff --git tests/test_session_builder.c tests/test_session_builder.c
-index 5c475c6..cc388cd 100644
---- tests/test_session_builder.c
-+++ tests/test_session_builder.c
-@@ -1426,9 +1426,9 @@ void run_interaction(signal_protocol_store_context *alice_store, signal_protocol
- }
-
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_plaintext, 10);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_ciphertext, 10);
- fprintf(stderr, "Shuffled Alice->Bob messages created\n");
-
-diff --git tests/test_session_cipher.c tests/test_session_cipher.c
-index e761fda..419f87a 100644
---- tests/test_session_cipher.c
-+++ tests/test_session_cipher.c
-@@ -206,9 +206,9 @@ void generate_test_message_collections(session_cipher *cipher, signal_buffer **p
-
- /* Randomize the two arrays using the same seed */
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(plaintext_messages, size);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(ciphertext_messages, size);
- }
-
diff --git a/srcpkgs/libsignal-protocol-c/template b/srcpkgs/libsignal-protocol-c/template
index 2df9268c33f..2f60b284e44 100644
--- a/srcpkgs/libsignal-protocol-c/template
+++ b/srcpkgs/libsignal-protocol-c/template
@@ -1,7 +1,7 @@
# Template file for 'libsignal-protocol-c'
pkgname=libsignal-protocol-c
-version=2.3.2
-revision=2
+version=2.3.3
+revision=1
build_style=cmake
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
makedepends="libressl-devel"
@@ -11,7 +11,7 @@ maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later"
homepage="https://www.whispersystems.org/"
distfiles="https://github.com/signalapp/libsignal-protocol-c/archive/v${version}.tar.gz"
-checksum=f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
+checksum=c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -DBUILD_TESTING=1"
From 8f546e4ed729d5e65a62908ad971872c460198eb Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:11:22 +0200
Subject: [PATCH 2/3] dino: revbump for libsignal-protocol-c
---
srcpkgs/dino/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/dino/template b/srcpkgs/dino/template
index e80f36a9785..2b51a06331a 100644
--- a/srcpkgs/dino/template
+++ b/srcpkgs/dino/template
@@ -1,7 +1,7 @@
# Template file for 'dino'
pkgname=dino
version=0.1.0
-revision=1
+revision=2
build_style=cmake
configure_args="-GNinja -DDINO_PLUGIN_ENABLED_notification-sound=ON"
make_cmd=ninja
From 56945b2931230abd9fdc6208c0e5213b101816ba Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:11:22 +0200
Subject: [PATCH 3/3] profanity: revbump for libsignal-protocol-c
---
srcpkgs/profanity/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2dccec1bd38..a034dcc59dc 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,7 +1,7 @@
# Template file for 'profanity'
pkgname=profanity
version=0.8.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
$(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] Libsignal protocol c update
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
` (2 preceding siblings ...)
2020-04-22 8:52 ` teldra
@ 2020-04-24 0:43 ` teldra
2020-04-24 1:13 ` teldra
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: teldra @ 2020-04-24 0:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
There is an updated pull request by teldra against master on the void-packages repository
https://github.com/teldra/void-packages libsignal-protocol-c-update
https://github.com/void-linux/void-packages/pull/20542
Libsignal protocol c update
A patch file from https://github.com/void-linux/void-packages/pull/20542.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libsignal-protocol-c-update-20542.patch --]
[-- Type: text/x-diff, Size: 5618 bytes --]
From c31f6516dcf6d72844aaebc99fa9dea6255263be Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:10:31 +0200
Subject: [PATCH 1/2] libsignal-protocol-c: update to 2.3.3
---
.../patches/00-new-commits.patch | 98 -------------------
srcpkgs/libsignal-protocol-c/template | 6 +-
2 files changed, 3 insertions(+), 101 deletions(-)
delete mode 100644 srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
diff --git a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch b/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
deleted file mode 100644
index 76666f81c44..00000000000
--- a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-diff --git CMakeLists.txt CMakeLists.txt
-index b31796d..d95fd3f 100644
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -19,6 +19,7 @@ SET(INSTALL_PKGCONFIG_DIR "${LIB_INSTALL_DIR}/pkgconfig" CACHE PATH "Installatio
-
- INCLUDE(CheckSymbolExists)
- INCLUDE(CheckCCompilerFlag)
-+INCLUDE(TestBigEndian)
-
- CHECK_SYMBOL_EXISTS(memset_s "string.h" HAVE_MEMSET_S)
-
-@@ -50,6 +51,11 @@ IF(HAVE_MEMSET_S)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_MEMSET_S=1")
- ENDIF(HAVE_MEMSET_S)
-
-+TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
-+IF(WORDS_BIGENDIAN)
-+ ADD_DEFINITIONS(-DWORDS_BIGENDIAN)
-+ENDIF(WORDS_BIGENDIAN)
-+
- IF(COVERAGE)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
- SET(LINK_FLAGS "${LINK_FLAGS} -fprofile-arcs -ftest-coverage")
-diff --git tests/test_common.c tests/test_common.c
-index f15003c..03f95ee 100644
---- tests/test_common.c
-+++ tests/test_common.c
-@@ -845,3 +845,11 @@ void setup_test_sender_key_store(signal_protocol_store_context *context, signal_
-
- signal_protocol_store_context_set_sender_key_store(context, &store);
- }
-+
-+#ifndef __OpenBSD__
-+void srand_deterministic(unsigned int seed)
-+{
-+ srand(seed);
-+}
-+#endif
-+
-diff --git tests/test_common.h tests/test_common.h
-index 66ddc6a..db54c12 100644
---- tests/test_common.h
-+++ tests/test_common.h
-@@ -84,4 +84,10 @@ int test_sender_key_store_load_sender_key(signal_buffer **record, signal_buffer
- void test_sender_key_store_destroy(void *user_data);
- void setup_test_sender_key_store(signal_protocol_store_context *context, signal_context *global_context);
-
-+/* Portability */
-+#ifndef __OpenBSD__
-+/* OpenBSD extension */
-+void srand_deterministic(unsigned int seed);
-+#endif
-+
- #endif /* TEST_COMMON_H */
-diff --git tests/test_common_openssl.c tests/test_common_openssl.c
-index abcb208..ab5dc9b 100644
---- tests/test_common_openssl.c
-+++ tests/test_common_openssl.c
-@@ -1,5 +1,6 @@
- #include "test_common.h"
-
-+#include <limits.h>
- #include <openssl/opensslv.h>
- #include <openssl/evp.h>
- #include <openssl/hmac.h>
-diff --git tests/test_session_builder.c tests/test_session_builder.c
-index 5c475c6..cc388cd 100644
---- tests/test_session_builder.c
-+++ tests/test_session_builder.c
-@@ -1426,9 +1426,9 @@ void run_interaction(signal_protocol_store_context *alice_store, signal_protocol
- }
-
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_plaintext, 10);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_ciphertext, 10);
- fprintf(stderr, "Shuffled Alice->Bob messages created\n");
-
-diff --git tests/test_session_cipher.c tests/test_session_cipher.c
-index e761fda..419f87a 100644
---- tests/test_session_cipher.c
-+++ tests/test_session_cipher.c
-@@ -206,9 +206,9 @@ void generate_test_message_collections(session_cipher *cipher, signal_buffer **p
-
- /* Randomize the two arrays using the same seed */
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(plaintext_messages, size);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(ciphertext_messages, size);
- }
-
diff --git a/srcpkgs/libsignal-protocol-c/template b/srcpkgs/libsignal-protocol-c/template
index 2df9268c33f..2f60b284e44 100644
--- a/srcpkgs/libsignal-protocol-c/template
+++ b/srcpkgs/libsignal-protocol-c/template
@@ -1,7 +1,7 @@
# Template file for 'libsignal-protocol-c'
pkgname=libsignal-protocol-c
-version=2.3.2
-revision=2
+version=2.3.3
+revision=1
build_style=cmake
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
makedepends="libressl-devel"
@@ -11,7 +11,7 @@ maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later"
homepage="https://www.whispersystems.org/"
distfiles="https://github.com/signalapp/libsignal-protocol-c/archive/v${version}.tar.gz"
-checksum=f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
+checksum=c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -DBUILD_TESTING=1"
From 9394d44b931ebc1949962bb8b1b161f254512fb3 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:11:22 +0200
Subject: [PATCH 2/2] profanity: revbump for libsignal-protocol-c
---
srcpkgs/profanity/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2dccec1bd38..a034dcc59dc 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,7 +1,7 @@
# Template file for 'profanity'
pkgname=profanity
version=0.8.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
$(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] Libsignal protocol c update
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
` (3 preceding siblings ...)
2020-04-24 0:43 ` teldra
@ 2020-04-24 1:13 ` teldra
2020-04-24 1:32 ` teldra
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: teldra @ 2020-04-24 1:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
There is an updated pull request by teldra against master on the void-packages repository
https://github.com/teldra/void-packages libsignal-protocol-c-update
https://github.com/void-linux/void-packages/pull/20542
Libsignal protocol c update
A patch file from https://github.com/void-linux/void-packages/pull/20542.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libsignal-protocol-c-update-20542.patch --]
[-- Type: text/x-diff, Size: 7478 bytes --]
From c31f6516dcf6d72844aaebc99fa9dea6255263be Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:10:31 +0200
Subject: [PATCH 1/3] libsignal-protocol-c: update to 2.3.3
---
.../patches/00-new-commits.patch | 98 -------------------
srcpkgs/libsignal-protocol-c/template | 6 +-
2 files changed, 3 insertions(+), 101 deletions(-)
delete mode 100644 srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
diff --git a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch b/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
deleted file mode 100644
index 76666f81c44..00000000000
--- a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-diff --git CMakeLists.txt CMakeLists.txt
-index b31796d..d95fd3f 100644
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -19,6 +19,7 @@ SET(INSTALL_PKGCONFIG_DIR "${LIB_INSTALL_DIR}/pkgconfig" CACHE PATH "Installatio
-
- INCLUDE(CheckSymbolExists)
- INCLUDE(CheckCCompilerFlag)
-+INCLUDE(TestBigEndian)
-
- CHECK_SYMBOL_EXISTS(memset_s "string.h" HAVE_MEMSET_S)
-
-@@ -50,6 +51,11 @@ IF(HAVE_MEMSET_S)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_MEMSET_S=1")
- ENDIF(HAVE_MEMSET_S)
-
-+TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
-+IF(WORDS_BIGENDIAN)
-+ ADD_DEFINITIONS(-DWORDS_BIGENDIAN)
-+ENDIF(WORDS_BIGENDIAN)
-+
- IF(COVERAGE)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
- SET(LINK_FLAGS "${LINK_FLAGS} -fprofile-arcs -ftest-coverage")
-diff --git tests/test_common.c tests/test_common.c
-index f15003c..03f95ee 100644
---- tests/test_common.c
-+++ tests/test_common.c
-@@ -845,3 +845,11 @@ void setup_test_sender_key_store(signal_protocol_store_context *context, signal_
-
- signal_protocol_store_context_set_sender_key_store(context, &store);
- }
-+
-+#ifndef __OpenBSD__
-+void srand_deterministic(unsigned int seed)
-+{
-+ srand(seed);
-+}
-+#endif
-+
-diff --git tests/test_common.h tests/test_common.h
-index 66ddc6a..db54c12 100644
---- tests/test_common.h
-+++ tests/test_common.h
-@@ -84,4 +84,10 @@ int test_sender_key_store_load_sender_key(signal_buffer **record, signal_buffer
- void test_sender_key_store_destroy(void *user_data);
- void setup_test_sender_key_store(signal_protocol_store_context *context, signal_context *global_context);
-
-+/* Portability */
-+#ifndef __OpenBSD__
-+/* OpenBSD extension */
-+void srand_deterministic(unsigned int seed);
-+#endif
-+
- #endif /* TEST_COMMON_H */
-diff --git tests/test_common_openssl.c tests/test_common_openssl.c
-index abcb208..ab5dc9b 100644
---- tests/test_common_openssl.c
-+++ tests/test_common_openssl.c
-@@ -1,5 +1,6 @@
- #include "test_common.h"
-
-+#include <limits.h>
- #include <openssl/opensslv.h>
- #include <openssl/evp.h>
- #include <openssl/hmac.h>
-diff --git tests/test_session_builder.c tests/test_session_builder.c
-index 5c475c6..cc388cd 100644
---- tests/test_session_builder.c
-+++ tests/test_session_builder.c
-@@ -1426,9 +1426,9 @@ void run_interaction(signal_protocol_store_context *alice_store, signal_protocol
- }
-
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_plaintext, 10);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_ciphertext, 10);
- fprintf(stderr, "Shuffled Alice->Bob messages created\n");
-
-diff --git tests/test_session_cipher.c tests/test_session_cipher.c
-index e761fda..419f87a 100644
---- tests/test_session_cipher.c
-+++ tests/test_session_cipher.c
-@@ -206,9 +206,9 @@ void generate_test_message_collections(session_cipher *cipher, signal_buffer **p
-
- /* Randomize the two arrays using the same seed */
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(plaintext_messages, size);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(ciphertext_messages, size);
- }
-
diff --git a/srcpkgs/libsignal-protocol-c/template b/srcpkgs/libsignal-protocol-c/template
index 2df9268c33f..2f60b284e44 100644
--- a/srcpkgs/libsignal-protocol-c/template
+++ b/srcpkgs/libsignal-protocol-c/template
@@ -1,7 +1,7 @@
# Template file for 'libsignal-protocol-c'
pkgname=libsignal-protocol-c
-version=2.3.2
-revision=2
+version=2.3.3
+revision=1
build_style=cmake
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
makedepends="libressl-devel"
@@ -11,7 +11,7 @@ maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later"
homepage="https://www.whispersystems.org/"
distfiles="https://github.com/signalapp/libsignal-protocol-c/archive/v${version}.tar.gz"
-checksum=f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
+checksum=c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -DBUILD_TESTING=1"
From 78cb7c2df5d9543210326fb721c3f424e9defb41 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:11:22 +0200
Subject: [PATCH 2/3] profanity: revbump for libsignal-protocol-c-2.3.3
---
srcpkgs/profanity/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2dccec1bd38..a034dcc59dc 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,7 +1,7 @@
# Template file for 'profanity'
pkgname=profanity
version=0.8.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
$(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
From ead64f13292048affe5dcad02ef985d65136d653 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Fri, 24 Apr 2020 03:11:05 +0200
Subject: [PATCH 3/3] dino: revbump for libsignal-protocol-c-2.3.3
---
.../patches/fix-minimal-libsignal-version.patch | 13 +++++++++++++
srcpkgs/dino/template | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/dino/patches/fix-minimal-libsignal-version.patch
diff --git a/srcpkgs/dino/patches/fix-minimal-libsignal-version.patch b/srcpkgs/dino/patches/fix-minimal-libsignal-version.patch
new file mode 100644
index 00000000000..05e07678920
--- /dev/null
+++ b/srcpkgs/dino/patches/fix-minimal-libsignal-version.patch
@@ -0,0 +1,13 @@
+diff --git plugins/signal-protocol/CMakeLists.txt plugins/signal-protocol/CMakeLists.txt
+index 0ae8411..a687c79 100644
+--- plugins/signal-protocol/CMakeLists.txt
++++ plugins/signal-protocol/CMakeLists.txt
+@@ -32,7 +32,7 @@ if(NOT BUILD_LIBSIGNAL_IN_TREE)
+ # libsignal-protocol-c has a history of breaking compatibility on the patch level
+ # we'll have to check compatibility for every new release
+ # distro maintainers may update this dependency after compatibility tests
+- find_package(SignalProtocol 2.3.2 EXACT REQUIRED)
++ find_package(SignalProtocol 2.3.3 EXACT REQUIRED)
+ else()
+ add_subdirectory(libsignal-protocol-c EXCLUDE_FROM_ALL)
+ set_property(TARGET curve25519 PROPERTY POSITION_INDEPENDENT_CODE ON)
diff --git a/srcpkgs/dino/template b/srcpkgs/dino/template
index e80f36a9785..2b51a06331a 100644
--- a/srcpkgs/dino/template
+++ b/srcpkgs/dino/template
@@ -1,7 +1,7 @@
# Template file for 'dino'
pkgname=dino
version=0.1.0
-revision=1
+revision=2
build_style=cmake
configure_args="-GNinja -DDINO_PLUGIN_ENABLED_notification-sound=ON"
make_cmd=ninja
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Libsignal protocol c update
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
` (4 preceding siblings ...)
2020-04-24 1:13 ` teldra
@ 2020-04-24 1:32 ` teldra
2020-04-24 8:46 ` [PR PATCH] [Updated] " teldra
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: teldra @ 2020-04-24 1:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 748 bytes --]
New comment by teldra on void-packages repository
https://github.com/void-linux/void-packages/pull/20542#issuecomment-618752945
Comment:
`dino` has this lib as dependency, but can not build because:
> Could NOT find SignalProtocol: Found unsuitable version "2.3.3", but
> required is exact version "2.3.2" (found /usr/lib/libsignal-protocol-c.a)
from `dino`s: plugins/signal-protocol/CMakeLists.txt:
> libsignal-protocol-c has a history of breaking compatibility on the patch level
> we'll have to check compatibility for every new release
> distro maintainers may update this dependency after compatibility tests
https://travis-ci.org/github/void-linux/void-packages/jobs/678071680
Reported upstream, that it seems to work fine.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] Libsignal protocol c update
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
` (5 preceding siblings ...)
2020-04-24 1:32 ` teldra
@ 2020-04-24 8:46 ` teldra
2020-04-24 8:47 ` teldra
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: teldra @ 2020-04-24 8:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
There is an updated pull request by teldra against master on the void-packages repository
https://github.com/teldra/void-packages libsignal-protocol-c-update
https://github.com/void-linux/void-packages/pull/20542
Libsignal protocol c update
A patch file from https://github.com/void-linux/void-packages/pull/20542.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libsignal-protocol-c-update-20542.patch --]
[-- Type: text/x-diff, Size: 7472 bytes --]
From c31f6516dcf6d72844aaebc99fa9dea6255263be Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:10:31 +0200
Subject: [PATCH 1/3] libsignal-protocol-c: update to 2.3.3
---
.../patches/00-new-commits.patch | 98 -------------------
srcpkgs/libsignal-protocol-c/template | 6 +-
2 files changed, 3 insertions(+), 101 deletions(-)
delete mode 100644 srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
diff --git a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch b/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
deleted file mode 100644
index 76666f81c44..00000000000
--- a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-diff --git CMakeLists.txt CMakeLists.txt
-index b31796d..d95fd3f 100644
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -19,6 +19,7 @@ SET(INSTALL_PKGCONFIG_DIR "${LIB_INSTALL_DIR}/pkgconfig" CACHE PATH "Installatio
-
- INCLUDE(CheckSymbolExists)
- INCLUDE(CheckCCompilerFlag)
-+INCLUDE(TestBigEndian)
-
- CHECK_SYMBOL_EXISTS(memset_s "string.h" HAVE_MEMSET_S)
-
-@@ -50,6 +51,11 @@ IF(HAVE_MEMSET_S)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_MEMSET_S=1")
- ENDIF(HAVE_MEMSET_S)
-
-+TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
-+IF(WORDS_BIGENDIAN)
-+ ADD_DEFINITIONS(-DWORDS_BIGENDIAN)
-+ENDIF(WORDS_BIGENDIAN)
-+
- IF(COVERAGE)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
- SET(LINK_FLAGS "${LINK_FLAGS} -fprofile-arcs -ftest-coverage")
-diff --git tests/test_common.c tests/test_common.c
-index f15003c..03f95ee 100644
---- tests/test_common.c
-+++ tests/test_common.c
-@@ -845,3 +845,11 @@ void setup_test_sender_key_store(signal_protocol_store_context *context, signal_
-
- signal_protocol_store_context_set_sender_key_store(context, &store);
- }
-+
-+#ifndef __OpenBSD__
-+void srand_deterministic(unsigned int seed)
-+{
-+ srand(seed);
-+}
-+#endif
-+
-diff --git tests/test_common.h tests/test_common.h
-index 66ddc6a..db54c12 100644
---- tests/test_common.h
-+++ tests/test_common.h
-@@ -84,4 +84,10 @@ int test_sender_key_store_load_sender_key(signal_buffer **record, signal_buffer
- void test_sender_key_store_destroy(void *user_data);
- void setup_test_sender_key_store(signal_protocol_store_context *context, signal_context *global_context);
-
-+/* Portability */
-+#ifndef __OpenBSD__
-+/* OpenBSD extension */
-+void srand_deterministic(unsigned int seed);
-+#endif
-+
- #endif /* TEST_COMMON_H */
-diff --git tests/test_common_openssl.c tests/test_common_openssl.c
-index abcb208..ab5dc9b 100644
---- tests/test_common_openssl.c
-+++ tests/test_common_openssl.c
-@@ -1,5 +1,6 @@
- #include "test_common.h"
-
-+#include <limits.h>
- #include <openssl/opensslv.h>
- #include <openssl/evp.h>
- #include <openssl/hmac.h>
-diff --git tests/test_session_builder.c tests/test_session_builder.c
-index 5c475c6..cc388cd 100644
---- tests/test_session_builder.c
-+++ tests/test_session_builder.c
-@@ -1426,9 +1426,9 @@ void run_interaction(signal_protocol_store_context *alice_store, signal_protocol
- }
-
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_plaintext, 10);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_ciphertext, 10);
- fprintf(stderr, "Shuffled Alice->Bob messages created\n");
-
-diff --git tests/test_session_cipher.c tests/test_session_cipher.c
-index e761fda..419f87a 100644
---- tests/test_session_cipher.c
-+++ tests/test_session_cipher.c
-@@ -206,9 +206,9 @@ void generate_test_message_collections(session_cipher *cipher, signal_buffer **p
-
- /* Randomize the two arrays using the same seed */
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(plaintext_messages, size);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(ciphertext_messages, size);
- }
-
diff --git a/srcpkgs/libsignal-protocol-c/template b/srcpkgs/libsignal-protocol-c/template
index 2df9268c33f..2f60b284e44 100644
--- a/srcpkgs/libsignal-protocol-c/template
+++ b/srcpkgs/libsignal-protocol-c/template
@@ -1,7 +1,7 @@
# Template file for 'libsignal-protocol-c'
pkgname=libsignal-protocol-c
-version=2.3.2
-revision=2
+version=2.3.3
+revision=1
build_style=cmake
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
makedepends="libressl-devel"
@@ -11,7 +11,7 @@ maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later"
homepage="https://www.whispersystems.org/"
distfiles="https://github.com/signalapp/libsignal-protocol-c/archive/v${version}.tar.gz"
-checksum=f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
+checksum=c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -DBUILD_TESTING=1"
From 78cb7c2df5d9543210326fb721c3f424e9defb41 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:11:22 +0200
Subject: [PATCH 2/3] profanity: revbump for libsignal-protocol-c-2.3.3
---
srcpkgs/profanity/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2dccec1bd38..a034dcc59dc 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,7 +1,7 @@
# Template file for 'profanity'
pkgname=profanity
version=0.8.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
$(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
From 8090ad18be32c1d6951a0f438cf9a188ca928a3b Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Fri, 24 Apr 2020 03:11:05 +0200
Subject: [PATCH 3/3] dino: revbump for libsignal-protocol-c-2.3.3
---
.../patches/fix-minimal-libsignal-version.patch | 13 +++++++++++++
srcpkgs/dino/template | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/dino/patches/fix-minimal-libsignal-version.patch
diff --git a/srcpkgs/dino/patches/fix-minimal-libsignal-version.patch b/srcpkgs/dino/patches/fix-minimal-libsignal-version.patch
new file mode 100644
index 00000000000..0f6465437ee
--- /dev/null
+++ b/srcpkgs/dino/patches/fix-minimal-libsignal-version.patch
@@ -0,0 +1,13 @@
+diff --git plugins/signal-protocol/CMakeLists.txt plugins/signal-protocol/CMakeLists.txt
+index 0ae8411..a687c79 100644
+--- plugins/signal-protocol/CMakeLists.txt
++++ plugins/signal-protocol/CMakeLists.txt
+@@ -32,7 +32,7 @@ if(NOT BUILD_LIBSIGNAL_IN_TREE)
+ # libsignal-protocol-c has a history of breaking compatibility on the patch level
+ # we'll have to check compatibility for every new release
+ # distro maintainers may update this dependency after compatibility tests
+- find_package(SignalProtocol 2.3.2 EXACT REQUIRED)
++ find_package(SignalProtocol 2.3.2 REQUIRED)
+ else()
+ add_subdirectory(libsignal-protocol-c EXCLUDE_FROM_ALL)
+ set_property(TARGET curve25519 PROPERTY POSITION_INDEPENDENT_CODE ON)
diff --git a/srcpkgs/dino/template b/srcpkgs/dino/template
index e80f36a9785..2b51a06331a 100644
--- a/srcpkgs/dino/template
+++ b/srcpkgs/dino/template
@@ -1,7 +1,7 @@
# Template file for 'dino'
pkgname=dino
version=0.1.0
-revision=1
+revision=2
build_style=cmake
configure_args="-GNinja -DDINO_PLUGIN_ENABLED_notification-sound=ON"
make_cmd=ninja
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Libsignal protocol c update
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
` (6 preceding siblings ...)
2020-04-24 8:46 ` [PR PATCH] [Updated] " teldra
@ 2020-04-24 8:47 ` teldra
2020-05-03 12:36 ` [PR PATCH] [Updated] " teldra
2020-05-05 8:10 ` [PR PATCH] [Closed]: " teldra
9 siblings, 0 replies; 11+ messages in thread
From: teldra @ 2020-04-24 8:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
New comment by teldra on void-packages repository
https://github.com/void-linux/void-packages/pull/20542#issuecomment-618887348
Comment:
Patch is now backported from upstream/master.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] Libsignal protocol c update
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
` (7 preceding siblings ...)
2020-04-24 8:47 ` teldra
@ 2020-05-03 12:36 ` teldra
2020-05-05 8:10 ` [PR PATCH] [Closed]: " teldra
9 siblings, 0 replies; 11+ messages in thread
From: teldra @ 2020-05-03 12:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
There is an updated pull request by teldra against master on the void-packages repository
https://github.com/teldra/void-packages libsignal-protocol-c-update
https://github.com/void-linux/void-packages/pull/20542
Libsignal protocol c update
A patch file from https://github.com/void-linux/void-packages/pull/20542.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libsignal-protocol-c-update-20542.patch --]
[-- Type: text/x-diff, Size: 7472 bytes --]
From e64528f790806f0fa6c307a0feca7737a55e4966 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:10:31 +0200
Subject: [PATCH 1/3] libsignal-protocol-c: update to 2.3.3
---
.../patches/00-new-commits.patch | 98 -------------------
srcpkgs/libsignal-protocol-c/template | 6 +-
2 files changed, 3 insertions(+), 101 deletions(-)
delete mode 100644 srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
diff --git a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch b/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
deleted file mode 100644
index 76666f81c44..00000000000
--- a/srcpkgs/libsignal-protocol-c/patches/00-new-commits.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-diff --git CMakeLists.txt CMakeLists.txt
-index b31796d..d95fd3f 100644
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -19,6 +19,7 @@ SET(INSTALL_PKGCONFIG_DIR "${LIB_INSTALL_DIR}/pkgconfig" CACHE PATH "Installatio
-
- INCLUDE(CheckSymbolExists)
- INCLUDE(CheckCCompilerFlag)
-+INCLUDE(TestBigEndian)
-
- CHECK_SYMBOL_EXISTS(memset_s "string.h" HAVE_MEMSET_S)
-
-@@ -50,6 +51,11 @@ IF(HAVE_MEMSET_S)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_MEMSET_S=1")
- ENDIF(HAVE_MEMSET_S)
-
-+TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
-+IF(WORDS_BIGENDIAN)
-+ ADD_DEFINITIONS(-DWORDS_BIGENDIAN)
-+ENDIF(WORDS_BIGENDIAN)
-+
- IF(COVERAGE)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
- SET(LINK_FLAGS "${LINK_FLAGS} -fprofile-arcs -ftest-coverage")
-diff --git tests/test_common.c tests/test_common.c
-index f15003c..03f95ee 100644
---- tests/test_common.c
-+++ tests/test_common.c
-@@ -845,3 +845,11 @@ void setup_test_sender_key_store(signal_protocol_store_context *context, signal_
-
- signal_protocol_store_context_set_sender_key_store(context, &store);
- }
-+
-+#ifndef __OpenBSD__
-+void srand_deterministic(unsigned int seed)
-+{
-+ srand(seed);
-+}
-+#endif
-+
-diff --git tests/test_common.h tests/test_common.h
-index 66ddc6a..db54c12 100644
---- tests/test_common.h
-+++ tests/test_common.h
-@@ -84,4 +84,10 @@ int test_sender_key_store_load_sender_key(signal_buffer **record, signal_buffer
- void test_sender_key_store_destroy(void *user_data);
- void setup_test_sender_key_store(signal_protocol_store_context *context, signal_context *global_context);
-
-+/* Portability */
-+#ifndef __OpenBSD__
-+/* OpenBSD extension */
-+void srand_deterministic(unsigned int seed);
-+#endif
-+
- #endif /* TEST_COMMON_H */
-diff --git tests/test_common_openssl.c tests/test_common_openssl.c
-index abcb208..ab5dc9b 100644
---- tests/test_common_openssl.c
-+++ tests/test_common_openssl.c
-@@ -1,5 +1,6 @@
- #include "test_common.h"
-
-+#include <limits.h>
- #include <openssl/opensslv.h>
- #include <openssl/evp.h>
- #include <openssl/hmac.h>
-diff --git tests/test_session_builder.c tests/test_session_builder.c
-index 5c475c6..cc388cd 100644
---- tests/test_session_builder.c
-+++ tests/test_session_builder.c
-@@ -1426,9 +1426,9 @@ void run_interaction(signal_protocol_store_context *alice_store, signal_protocol
- }
-
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_plaintext, 10);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(alice_ooo_ciphertext, 10);
- fprintf(stderr, "Shuffled Alice->Bob messages created\n");
-
-diff --git tests/test_session_cipher.c tests/test_session_cipher.c
-index e761fda..419f87a 100644
---- tests/test_session_cipher.c
-+++ tests/test_session_cipher.c
-@@ -206,9 +206,9 @@ void generate_test_message_collections(session_cipher *cipher, signal_buffer **p
-
- /* Randomize the two arrays using the same seed */
- time_t seed = time(0);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(plaintext_messages, size);
-- srand(seed);
-+ srand_deterministic(seed);
- shuffle_buffers(ciphertext_messages, size);
- }
-
diff --git a/srcpkgs/libsignal-protocol-c/template b/srcpkgs/libsignal-protocol-c/template
index 2df9268c33f..2f60b284e44 100644
--- a/srcpkgs/libsignal-protocol-c/template
+++ b/srcpkgs/libsignal-protocol-c/template
@@ -1,7 +1,7 @@
# Template file for 'libsignal-protocol-c'
pkgname=libsignal-protocol-c
-version=2.3.2
-revision=2
+version=2.3.3
+revision=1
build_style=cmake
configure_args="-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
makedepends="libressl-devel"
@@ -11,7 +11,7 @@ maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later"
homepage="https://www.whispersystems.org/"
distfiles="https://github.com/signalapp/libsignal-protocol-c/archive/v${version}.tar.gz"
-checksum=f3826f3045352e14027611c95449bfcfe39bfd3d093d578c70f70eee0c85000d
+checksum=c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d
if [ "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -DBUILD_TESTING=1"
From ef6c8f78eb43e799a6e9ff28e890177d61fb644f Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Wed, 1 Apr 2020 12:11:22 +0200
Subject: [PATCH 2/3] profanity: revbump for libsignal-protocol-c-2.3.3
---
srcpkgs/profanity/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template
index 2dccec1bd38..a034dcc59dc 100644
--- a/srcpkgs/profanity/template
+++ b/srcpkgs/profanity/template
@@ -1,7 +1,7 @@
# Template file for 'profanity'
pkgname=profanity
version=0.8.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
$(vopt_enable pgp) $(vopt_enable python python-plugins) $(vopt_enable plugins)
From ee9d0c2c34a9ddd44c6836d45687d678a34c8429 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Fri, 24 Apr 2020 03:11:05 +0200
Subject: [PATCH 3/3] dino: revbump for libsignal-protocol-c-2.3.3
---
.../patches/fix-minimal-libsignal-version.patch | 13 +++++++++++++
srcpkgs/dino/template | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/dino/patches/fix-minimal-libsignal-version.patch
diff --git a/srcpkgs/dino/patches/fix-minimal-libsignal-version.patch b/srcpkgs/dino/patches/fix-minimal-libsignal-version.patch
new file mode 100644
index 00000000000..0f6465437ee
--- /dev/null
+++ b/srcpkgs/dino/patches/fix-minimal-libsignal-version.patch
@@ -0,0 +1,13 @@
+diff --git plugins/signal-protocol/CMakeLists.txt plugins/signal-protocol/CMakeLists.txt
+index 0ae8411..a687c79 100644
+--- plugins/signal-protocol/CMakeLists.txt
++++ plugins/signal-protocol/CMakeLists.txt
+@@ -32,7 +32,7 @@ if(NOT BUILD_LIBSIGNAL_IN_TREE)
+ # libsignal-protocol-c has a history of breaking compatibility on the patch level
+ # we'll have to check compatibility for every new release
+ # distro maintainers may update this dependency after compatibility tests
+- find_package(SignalProtocol 2.3.2 EXACT REQUIRED)
++ find_package(SignalProtocol 2.3.2 REQUIRED)
+ else()
+ add_subdirectory(libsignal-protocol-c EXCLUDE_FROM_ALL)
+ set_property(TARGET curve25519 PROPERTY POSITION_INDEPENDENT_CODE ON)
diff --git a/srcpkgs/dino/template b/srcpkgs/dino/template
index e80f36a9785..2b51a06331a 100644
--- a/srcpkgs/dino/template
+++ b/srcpkgs/dino/template
@@ -1,7 +1,7 @@
# Template file for 'dino'
pkgname=dino
version=0.1.0
-revision=1
+revision=2
build_style=cmake
configure_args="-GNinja -DDINO_PLUGIN_ENABLED_notification-sound=ON"
make_cmd=ninja
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Closed]: Libsignal protocol c update
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
` (8 preceding siblings ...)
2020-05-03 12:36 ` [PR PATCH] [Updated] " teldra
@ 2020-05-05 8:10 ` teldra
9 siblings, 0 replies; 11+ messages in thread
From: teldra @ 2020-05-05 8:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
There's a closed pull request on the void-packages repository
Libsignal protocol c update
https://github.com/void-linux/void-packages/pull/20542
Description:
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-05-05 8:10 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 9:45 [PR PATCH] Libsignal protocol c update teldra
2020-04-01 10:11 ` [PR PATCH] [Updated] " teldra
2020-04-01 14:43 ` teldra
2020-04-22 8:52 ` teldra
2020-04-24 0:43 ` teldra
2020-04-24 1:13 ` teldra
2020-04-24 1:32 ` teldra
2020-04-24 8:46 ` [PR PATCH] [Updated] " teldra
2020-04-24 8:47 ` teldra
2020-05-03 12:36 ` [PR PATCH] [Updated] " teldra
2020-05-05 8:10 ` [PR PATCH] [Closed]: " teldra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).