FreeBSD Bugzilla – Attachment 226061 Details for
Bug 256842
net/rabbitmq-c: Update to 0.11.0 and various fixes to Makefile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for rabbitmq-c v2
rabbitmq-c-0110v2.patch (text/plain), 3.22 KB, created by
Daniel Engberg
on 2021-06-26 16:46:53 UTC
(
hide
)
Description:
Patch for rabbitmq-c v2
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2021-06-26 16:46:53 UTC
Size:
3.22 KB
patch
obsolete
>diff --git a/net/rabbitmq-c/Makefile b/net/rabbitmq-c/Makefile >index 407f1b6b96b3..cb1e0e738c42 100644 >--- a/net/rabbitmq-c/Makefile >+++ b/net/rabbitmq-c/Makefile >@@ -1,8 +1,8 @@ > # Created by: Geoff Garside > > PORTNAME= rabbitmq-c >-PORTVERSION= 0.10.0 > DISTVERSIONPREFIX= v >+DISTVERSION= 0.11.0 > CATEGORIES= net > > MAINTAINER= dch@FreeBSD.org >@@ -11,18 +11,22 @@ COMMENT= RabbitMQ C AMQP client library > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE-MIT > >-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:devel/py-simplejson@${PY_FLAVOR} >+LIB_DEPENDS= libpopt.so:devel/popt > >-USES= cmake pathfix python tar:bzip2 >+USES= cmake localbase ssl > USE_GITHUB= yes >-USE_LDCONFIG= yes > GH_ACCOUNT= alanxz >+USE_LDCONFIG= yes >+ >+CMAKE_OFF= BUILD_EXAMPLES >+TEST_TARGET= test > >-OPTIONS_DEFINE= POPT >+OPTIONS_DEFINE= STATIC TEST > OPTIONS_SUB= yes >-POPT_DESC= Popt support in tools >-POPT_LIB_DEPENDS= libpopt.so:devel/popt >-POPT_CFLAGS= -I${LOCALBASE}/include >-POPT_LDFLAGS= -L${LOCALBASE}/lib >+ >+TEST_IMPLIES= STATIC >+TEST_CMAKE_BOOL= BUILD_TESTS >+ >+STATIC_CMAKE_BOOL= BUILD_STATIC_LIBS > > .include <bsd.port.mk> >diff --git a/net/rabbitmq-c/distinfo b/net/rabbitmq-c/distinfo >index b0604e6fa924..7e4754df70c0 100644 >--- a/net/rabbitmq-c/distinfo >+++ b/net/rabbitmq-c/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1623921575 >-SHA256 (alanxz-rabbitmq-c-v0.10.0_GH0.tar.gz) = 6455efbaebad8891c59f274a852b75b5cc51f4d669dfc78d2ae7e6cc97fcd8c0 >-SIZE (alanxz-rabbitmq-c-v0.10.0_GH0.tar.gz) = 145361 >+TIMESTAMP = 1624699278 >+SHA256 (alanxz-rabbitmq-c-v0.11.0_GH0.tar.gz) = 437d45e0e35c18cf3e59bcfe5dfe37566547eb121e69fca64b98f5d2c1c2d424 >+SIZE (alanxz-rabbitmq-c-v0.11.0_GH0.tar.gz) = 145638 >diff --git a/net/rabbitmq-c/files/patch-CMakeLists.txt b/net/rabbitmq-c/files/patch-CMakeLists.txt >new file mode 100644 >index 000000000000..4a45c9ad5b6e >--- /dev/null >+++ b/net/rabbitmq-c/files/patch-CMakeLists.txt >@@ -0,0 +1,13 @@ >+--- CMakeLists.txt.orig 2021-06-26 16:16:31 UTC >++++ CMakeLists.txt >+@@ -319,8 +319,8 @@ foreach (lib ${SOCKET_LIBRARIES}) >+ endforeach(lib) >+ set(libs_private "${libs_private} -l${LIBRT}") >+ if (ENABLE_SSL_SUPPORT) >+- set(requires_private "openssl") >+- set(libs_private "${libs_private} ${CMAKE_THREAD_LIBS_INIT}") >++# set(requires_private "openssl") >++ set(libs_private "${libs_private} -lssl -lcrypto ${CMAKE_THREAD_LIBS_INIT}") >+ endif() >+ >+ set(prefix ${CMAKE_INSTALL_PREFIX}) >diff --git a/net/rabbitmq-c/pkg-plist b/net/rabbitmq-c/pkg-plist >index b2f6907e765a..db0e02d7fa1b 100644 >--- a/net/rabbitmq-c/pkg-plist >+++ b/net/rabbitmq-c/pkg-plist >@@ -1,14 +1,18 @@ >-%%POPT%%bin/amqp-consume >-%%POPT%%bin/amqp-declare-queue >-%%POPT%%bin/amqp-delete-queue >-%%POPT%%bin/amqp-get >-%%POPT%%bin/amqp-publish >+bin/amqp-consume >+bin/amqp-declare-queue >+bin/amqp-delete-queue >+bin/amqp-get >+bin/amqp-publish > include/amqp.h > include/amqp_framing.h > include/amqp_ssl_socket.h > include/amqp_tcp_socket.h >-lib/librabbitmq.a >+lib/cmake/rabbitmq-c/rabbitmq-c-config-version.cmake >+lib/cmake/rabbitmq-c/rabbitmq-c-config.cmake >+lib/cmake/rabbitmq-c/rabbitmq-targets-%%CMAKE_BUILD_TYPE%%.cmake >+lib/cmake/rabbitmq-c/rabbitmq-targets.cmake >+%%STATIC%%lib/librabbitmq.a > lib/librabbitmq.so > lib/librabbitmq.so.4 >-lib/librabbitmq.so.4.4.0 >+lib/librabbitmq.so.4.5.0 > libdata/pkgconfig/librabbitmq.pc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 256842
:
226059
| 226061