pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/wslay wslay: updated to 1.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8455cca8ed9
branches:  trunk
changeset: 382185:c8455cca8ed9
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jun 24 09:15:44 2018 +0000

description:
wslay: updated to 1.1.0

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

diffstat:

 www/wslay/Makefile |  23 +++++------------------
 www/wslay/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 23 deletions(-)

diffs (56 lines):

diff -r f8991f279492 -r c8455cca8ed9 www/wslay/Makefile
--- a/www/wslay/Makefile        Sun Jun 24 09:13:38 2018 +0000
+++ b/www/wslay/Makefile        Sun Jun 24 09:15:44 2018 +0000
@@ -1,32 +1,19 @@
-# $NetBSD: Makefile,v 1.1 2016/04/23 18:32:09 adam Exp $
+# $NetBSD: Makefile,v 1.2 2018/06/24 09:15:44 adam Exp $
 
-DISTNAME=      wslay-1.0.0
+DISTNAME=      wslay-1.1.0
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tatsuhiro-t/}
-GITHUB_TAG=    release-${PKGVERSION_NOREV}
+EXTRACT_SUFX=  .tar.xz
+GITHUB_RELEASE=        release-${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/tatsuhiro-t/wslay/
 COMMENT=       WebSocket library written in C
 LICENSE=       mit
 
-# parallel build fails when building man-pages with sphinx
-MAKE_JOBS_SAFE=                no
-
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx>=1.3.4:../../textproc/py-sphinx
-
-USE_LANGUAGES=         c
 USE_LIBTOOL=           yes
-USE_TOOLS+=            autoconf automake pkg-config
+USE_TOOLS+=            pkg-config
 GNU_CONFIGURE=         yes
-CONFIGURE_ENV+=                SPHINX_BUILD=${PREFIX}/bin/sphinx-build${PYVERSSUFFIX}
 PKGCONFIG_OVERRIDE+=   lib/libwslay.pc.in
 
-pre-configure:
-       cd ${WRKSRC} && autoreconf -i && automake && autoconf
-
-# Only needed for examples
-#.include "../../devel/cunit/buildlink3.mk"
-#.include "../../security/nettle/buildlink3.mk"
-.include "../../lang/python/pyversion.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f8991f279492 -r c8455cca8ed9 www/wslay/distinfo
--- a/www/wslay/distinfo        Sun Jun 24 09:13:38 2018 +0000
+++ b/www/wslay/distinfo        Sun Jun 24 09:15:44 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2016/04/23 18:32:09 adam Exp $
+$NetBSD: distinfo,v 1.2 2018/06/24 09:15:44 adam Exp $
 
-SHA1 (wslay-1.0.0.tar.gz) = 1c8b4a765787a96dd32512d399ba4a1df06fa0a3
-RMD160 (wslay-1.0.0.tar.gz) = cfbb20bf7520aafa24ae7d874c61e1f5fc905e35
-SHA512 (wslay-1.0.0.tar.gz) = 12aadf5a36a38efcbec68f42bc49f6fdc272be44b986e2ca26d6bf0660bf39437a400a7f33de9d8abfad0b2fde64ffef32cea5a586868aa33fa685e257e39a35
-Size (wslay-1.0.0.tar.gz) = 45846 bytes
+SHA1 (wslay-1.1.0.tar.xz) = dab83f59ccb52628f33372f81a7bd58a9a50c3ba
+RMD160 (wslay-1.1.0.tar.xz) = e6f4366e62964fdcb5cf938c91786c5c72a9aadd
+SHA512 (wslay-1.1.0.tar.xz) = 2f90a38690cd9b4e810696b1ad0ce56d6966f0b21051bfb3e9765240df4f5f8d5e1b7ce3e841296354186378cd866943f90c00834a1bf8c3a2e78bf5eddfa417
+Size (wslay-1.1.0.tar.xz) = 278988 bytes



Home | Main Index | Thread Index | Old Index