Github messages for voidlinux
 help / color / mirror / Atom feed
From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] rabbitmq-c: update to 0.13.0
Date: Tue, 14 Feb 2023 19:01:03 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42258@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

There is a new pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages O3rab
https://github.com/void-linux/void-packages/pull/42258

rabbitmq-c: update to 0.13.0
- I tested the changes in this PR: no
- I built this PR locally for my native architecture, (x86_64-musl)

Update so that it builds with openssl 3 #37681

A patch file from https://github.com/void-linux/void-packages/pull/42258.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-O3rab-42258.patch --]
[-- Type: text/x-diff, Size: 5165 bytes --]

From 1fe1d1d0f0a49981717c6cd063b5742140b22e3d Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Tue, 14 Feb 2023 12:57:59 -0500
Subject: [PATCH] rabbitmq-c: update to 0.13.0

---
 srcpkgs/rabbitmq-c/patches/test.patch | 89 ---------------------------
 srcpkgs/rabbitmq-c/template           |  8 +--
 2 files changed, 4 insertions(+), 93 deletions(-)
 delete mode 100644 srcpkgs/rabbitmq-c/patches/test.patch

diff --git a/srcpkgs/rabbitmq-c/patches/test.patch b/srcpkgs/rabbitmq-c/patches/test.patch
deleted file mode 100644
index 0f10d8210906..000000000000
--- a/srcpkgs/rabbitmq-c/patches/test.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From 26ecf6d3012be81f5dfb8a2d822c722e916a86cb Mon Sep 17 00:00:00 2001
-From: Simon Lepasteur <simon.lepasteur@swissdotnet.ch>
-Date: Wed, 11 Mar 2020 15:13:29 +0100
-Subject: [PATCH] Add option to run system tests (disabled by default).
-
-System tests require a RabbitMQ or other AMQP server to be running on
-`localhost` at TCP port number 5672 and therefore fails if no such
-server is running on the build machine.
-
-This is surprising for everyone running the standard `make test`
-to ensure the library is built correctly.
----
- .travis.yml          | 2 +-
- CMakeLists.txt       | 1 +
- README.md            | 2 ++
- appveyor.yml         | 2 +-
- tests/CMakeLists.txt | 8 +++++---
- 5 files changed, 10 insertions(+), 5 deletions(-)
-
-diff --git .travis.yml .travis.yml
-index 52a66b9c..5f56cb03 100644
---- a/.travis.yml
-+++ b/.travis.yml
-@@ -19,7 +19,7 @@ addons:
-       name: "alanxz/rabbitmq-c"
-       description: "C AMQP client for RabbitMQ"
-     notification_email: alan.antonuk@gmail.com
--    build_command_prepend: mkdir build && pushd build && cmake .. && popd
-+    build_command_prepend: mkdir build && pushd build && cmake .. -DRUN_SYSTEM_TESTS=ON && popd
-     build_command: cmake --build ./build
-     branch_pattern: coverity_scan
- 
-diff --git CMakeLists.txt CMakeLists.txt
-index f620ddc8..a39645f4 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -266,6 +266,7 @@ option(BUILD_TOOLS "Build Tools (requires POPT Library)" ${POPT_FOUND})
- option(BUILD_TOOLS_DOCS "Build man pages for Tools (requires xmlto)" ${DO_DOCS})
- option(BUILD_TESTS "Build tests (run tests with make test)" ON)
- option(BUILD_API_DOCS "Build Doxygen API docs" ${DOXYGEN_FOUND})
-+option(RUN_SYSTEM_TESTS "Run system tests (i.e. tests requiring an accessible RabbitMQ server instance on localhost)" OFF)
- 
- if (NOT BUILD_SHARED_LIBS AND NOT BUILD_STATIC_LIBS)
-     message(FATAL_ERROR "One or both of BUILD_SHARED_LIBS or BUILD_STATIC_LIBS must be set to ON to build")
-diff --git README.md README.md
-index b7776c65..31347b15 100644
---- a/README.md
-+++ b/README.md
-@@ -84,6 +84,8 @@ Other interesting flags that can be passed to CMake:
-    default this is ON if the OpenSSL headers and library can be found.
- * `BUILD_API_DOCS=ON/OFF` - toggles building the Doxygen API documentation, by
-    default this is OFF
-+* `RUN_SYSTEM_TESTS=ON/OFF` toggles building the system tests (i.e. tests requiring 
-+   an accessible RabbitMQ server instance on localhost), by default this is OFF
- 
- ## Running the examples
- 
-diff --git appveyor.yml appveyor.yml
-index 7e41c099..af315227 100644
---- a/appveyor.yml
-+++ b/appveyor.yml
-@@ -30,7 +30,7 @@ install:
-   - "Win%BITS%OpenSSL-%OPENSSL_VER%.exe /SP- /SILENT /SUPPRESSMSGBOXES /NORESTART"
- 
- before_build:
--  - cmake -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=ON -DENABLE_SSL_SUPPORT=True -G"%GENERATOR%" .
-+  - cmake -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=ON -DRUN_SYSTEM_TESTS=ON -DENABLE_SSL_SUPPORT=True -G"%GENERATOR%" .
- 
- build:
-   project: ALL_BUILD.vcxproj
-diff --git tests/CMakeLists.txt tests/CMakeLists.txt
-index cf042b04..320a73d7 100644
---- a/tests/CMakeLists.txt
-+++ b/tests/CMakeLists.txt
-@@ -33,9 +33,11 @@ add_executable(test_basic
-                test_basic.c)
- target_link_libraries(test_basic rabbitmq-static)
- 
--if (NOT APPLE)
--  add_test(basic test_basic)
--endif()
-+if (RUN_SYSTEM_TESTS)
-+  if (NOT APPLE)
-+    add_test(basic test_basic)
-+  endif()
-+endif(RUN_SYSTEM_TESTS)
- 
- add_executable(test_sasl_mechanism test_sasl_mechanism.c)
- target_link_libraries(test_sasl_mechanism rabbitmq-static)
diff --git a/srcpkgs/rabbitmq-c/template b/srcpkgs/rabbitmq-c/template
index 95ad7a333435..cfb5b6999ebf 100644
--- a/srcpkgs/rabbitmq-c/template
+++ b/srcpkgs/rabbitmq-c/template
@@ -1,7 +1,7 @@
 # Template file for 'rabbitmq-c'
 pkgname=rabbitmq-c
-version=0.10.0
-revision=2
+version=0.13.0
+revision=1
 build_style=cmake
 make_check_target=test
 hostmakedepends="popt xmlto doxygen"
@@ -11,10 +11,10 @@ maintainer="Hans-J. Schmid <knock@myopendoor.de>"
 license="MIT"
 homepage="https://github.com/alanxz/rabbitmq-c"
 distfiles="https://github.com/alanxz/${pkgname}/archive/v${version}.tar.gz"
-checksum=6455efbaebad8891c59f274a852b75b5cc51f4d669dfc78d2ae7e6cc97fcd8c0
+checksum=8b224e41bba504fc52b02f918d8df7e4bf5359d493cbbff36c06078655c676e6
 
 post_install() {
-	vlicense LICENSE-MIT LICENSE
+	vlicense LICENSE
 }
 
 rabbitmq-c-devel_package() {

             reply	other threads:[~2023-02-14 18:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-14 18:01 dkwo [this message]
2023-02-16  1:59 ` [PR REVIEW] " classabbyamp
2023-02-16 15:20 ` [PR PATCH] [Updated] " dkwo
2023-02-16 15:20 ` [PR REVIEW] " dkwo
2023-05-18  1:53 ` github-actions
2023-05-18 13:14 ` [PR PATCH] [Updated] " dkwo
2023-06-24 14:31 ` [PR PATCH] [Merged]: " Duncaen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42258@inbox.vuxu.org \
    --to=dkwo@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).