dff18427ff
wslay v1.1.0: * Fix compilation of examples Since 3.4 nettle defines base64_encode_raw like this: void base64_encode_raw(char *dst, size_t length, const uint8_t *src); * check for 0 length before memcpy: * Skip UTF-8 validation for PMCE fragments If the message was marked with rsv1 on the initial frame then we should skip utf-8 validation on subsequent continuation frames as well. * Allow RSV1 bit in event-based API for PMCE - RFC 7692 Add a new function wslay_event_set_allowed_rsv_bits which only accpet RSV1 for now (or 0 to disable). Skip UTF-8 validation on frames with RSV1 set as it is too early for that. Add extended versions of wslay_event_queue_msg functions which also take the reserved bits to set for this message. * fixed missing malloc guard * Fix argc check. * CMake support
19 lines
485 B
Makefile
19 lines
485 B
Makefile
# $NetBSD: Makefile,v 1.2 2018/06/24 09:15:44 adam Exp $
|
|
|
|
DISTNAME= wslay-1.1.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=tatsuhiro-t/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
GITHUB_RELEASE= release-${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/tatsuhiro-t/wslay/
|
|
COMMENT= WebSocket library written in C
|
|
LICENSE= mit
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
GNU_CONFIGURE= yes
|
|
PKGCONFIG_OVERRIDE+= lib/libwslay.pc.in
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|