mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
net/rabbitmq-c: Update to 0.11.0
- Update to 0.11.0
And while here, also:
- Rearrage Makefile to Porter's Handbooks guidelines
- Remove unneeded Python dependency
- Make static library options
- Add support for "make test"
PR: 256842
Approved by: dch (maintainer)
(cherry picked from commit c67a6464ad
)
This commit is contained in:
parent
65b0517571
commit
bf299f1b74
@ -1,8 +1,8 @@
|
||||
# Created by: Geoff Garside
|
||||
|
||||
PORTNAME= rabbitmq-c
|
||||
PORTVERSION= 0.8.0
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.11.0
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= dch@FreeBSD.org
|
||||
@ -11,20 +11,21 @@ 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
|
||||
|
||||
CONFLICTS= rabbitmq-c-devel-[0-9]*
|
||||
|
||||
USES= cmake pathfix python tar:bzip2
|
||||
USES= cmake localbase ssl
|
||||
USE_GITHUB= yes
|
||||
USE_LDCONFIG= yes
|
||||
GH_ACCOUNT= alanxz
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= POPT
|
||||
CMAKE_OFF= BUILD_EXAMPLES
|
||||
TEST_TARGET= test
|
||||
|
||||
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
|
||||
|
||||
STATIC_CMAKE_BOOL= BUILD_STATIC_LIBS
|
||||
TEST_IMPLIES= STATIC
|
||||
TEST_CMAKE_BOOL= BUILD_TESTS
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1510178940
|
||||
SHA256 (alanxz-rabbitmq-c-v0.8.0_GH0.tar.gz) = d8ed9dcb49903d83d79d7b227da35ef68c60e5e0b08d0fc1fb4e4dc577b8802b
|
||||
SIZE (alanxz-rabbitmq-c-v0.8.0_GH0.tar.gz) = 149150
|
||||
TIMESTAMP = 1624699278
|
||||
SHA256 (alanxz-rabbitmq-c-v0.11.0_GH0.tar.gz) = 437d45e0e35c18cf3e59bcfe5dfe37566547eb121e69fca64b98f5d2c1c2d424
|
||||
SIZE (alanxz-rabbitmq-c-v0.11.0_GH0.tar.gz) = 145638
|
||||
|
13
net/rabbitmq-c/files/patch-CMakeLists.txt
Normal file
13
net/rabbitmq-c/files/patch-CMakeLists.txt
Normal file
@ -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})
|
@ -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.2.0
|
||||
lib/librabbitmq.so.4.5.0
|
||||
libdata/pkgconfig/librabbitmq.pc
|
||||
|
Loading…
Reference in New Issue
Block a user