1*4882a593Smuzhiyun# Copyright (C) 2020 Khem Raj <raj.khem@gmail.com>
2*4882a593Smuzhiyun# Released under the MIT license (see COPYING.MIT for the terms)
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunSUMMARY = "Kronosnet, often referred to as knet, is a network abstraction layer \
5*4882a593Smuzhiyun           designed for High Availability use cases, where redundancy, security, \
6*4882a593Smuzhiyun           fault tolerance and fast fail-over are the core requirements of your application."
7*4882a593SmuzhiyunHOMEPAGE = "https://kronosnet.org/"
8*4882a593SmuzhiyunLICENSE = "GPL-2.0-or-later & LGPL-2.1-only"
9*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING.applications;md5=751419260aa954499f7abaabaa882bbe \
10*4882a593Smuzhiyun                    file://COPYING.libraries;md5=2d5025d4aa3495befef8f17206a5b0a1"
11*4882a593SmuzhiyunSECTION = "libs"
12*4882a593SmuzhiyunDEPENDS = "doxygen-native libqb-native libxml2-native bzip2 libqb libxml2 libnl lksctp-tools lz4 lzo openssl nss xz zlib zstd"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunSRCREV = "0123ecebce0ad6aba3cdb320027192e15fd71e23"
15*4882a593SmuzhiyunSRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1 \
16*4882a593Smuzhiyun           file://0001-libknet-tests-Correct-include-path-for-poll.h.patch \
17*4882a593Smuzhiyun           "
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://github.com/kronosnet/kronosnet/releases"
20*4882a593Smuzhiyun
21*4882a593Smuzhiyuninherit autotools pkgconfig
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunS = "${WORKDIR}/git"
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun# libknet/transport_udp.c:326:48: error: comparison of integers of different signs: 'unsigned long' and 'int' [-Werror,-Wsign-compare]
26*4882a593Smuzhiyun# for (cmsg = CMSG_FIRSTHDR(&msg);cmsg; cmsg = CMSG_NXTHDR(&msg, cmsg)) {
27*4882a593Smuzhiyun#                                                             ^~~~~~~~~~~~~~~~~~~~~~~
28*4882a593SmuzhiyunCFLAGS:append:toolchain-clang = " -Wno-sign-compare"
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunPACKAGECONFIG[man] = "enable_man="yes", --disable-man, "
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunPACKAGECONFIG:remove = "man"
33