mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
10ce696ea9
This is only compile tested, not run-tested as I don't use this software. Rather than patching the nested libssh, it switches to using libssh from security/libssh. There is then an additional patch to support OpenSSL 1.1. PR: 228938 Approved by: lwhsu Differential Revision: https://reviews.freebsd.org/D20844
43 lines
1006 B
Makefile
43 lines
1006 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= api
|
|
PORTVERSION= 0.5.0
|
|
PORTREVISION= 7
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/razorbacktm/API
|
|
PKGNAMEPREFIX= razorback-
|
|
DIST_SUBDIR= razorback
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Framework for an intelligence driven security solution - API
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libconfig.so:devel/libconfig \
|
|
libssh.so:security/libssh \
|
|
libuuid.so:misc/e2fsprogs-libuuid \
|
|
libcurl.so:ftp/curl \
|
|
libjson-c.so:devel/json-c
|
|
|
|
OPTIONS_DEFINE= DEBUG ASSERT CNC_DEBUG STOMP_DEBUG
|
|
|
|
CNC_DEBUG_DESC= Enable Command and Control Debug
|
|
STOMP_DEBUG_DESC= Enable STOMP Debug
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= libtool pathfix pkgconfig
|
|
USE_LDCONFIG= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
|
ASSERT_CONFIGURE_ENABLE= assert
|
|
CNC_DEBUG_CONFIGURE_ENABLE= cnc-debug
|
|
STOMP_DEBUG_CONFIGURE_ENABLE= stomp-debug
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e s/json/json-c/ -e s/-Werror// ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|