pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/spdylay Import spdylay-1.3.2 as www/spdylay.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92f917eb5497
branches:  trunk
changeset: 652474:92f917eb5497
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Jun 03 11:00:15 2015 +0000

description:
Import spdylay-1.3.2 as www/spdylay.

This is an experimental implementation of Google's SPDY protocol in C. This
library provides SPDY version 2, 3 and 3.1 framing layer implementation.

diffstat:

 www/spdylay/DESCR                      |   2 +
 www/spdylay/Makefile                   |  42 ++++++++++++++++++++++++++++++++++
 www/spdylay/PLIST                      |   9 +++++++
 www/spdylay/buildlink3.mk              |  18 ++++++++++++++
 www/spdylay/distinfo                   |   6 ++++
 www/spdylay/patches/patch-src_shrpx.cc |  15 ++++++++++++
 6 files changed, 92 insertions(+), 0 deletions(-)

diffs (116 lines):

diff -r 40de39b133bb -r 92f917eb5497 www/spdylay/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/spdylay/DESCR Wed Jun 03 11:00:15 2015 +0000
@@ -0,0 +1,2 @@
+This is an experimental implementation of Google's SPDY protocol in C. This
+library provides SPDY version 2, 3 and 3.1 framing layer implementation.
diff -r 40de39b133bb -r 92f917eb5497 www/spdylay/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/spdylay/Makefile      Wed Jun 03 11:00:15 2015 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1 2015/06/03 11:00:15 fhajny Exp $
+
+DISTNAME=      spdylay-1.3.2
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=tatsuhiro-t/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/tatsuhiro-t/spdylay/
+COMMENT=       Experimental SPDY protocol version 2, 3 and 3.1 implementation in C
+LICENSE=       mit
+
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+
+PKGCONFIG_OVERRIDE+=   lib/libspdylay.pc.in
+
+CONFIGURE_ARGS=        --enable-examples --enable-src
+CONFIGURE_ENV+=        LIBEVENT_OPENSSL_CFLAGS="-I${BUILDLINK_PREFIX.libevent}/include"
+CONFIGURE_ENV+=        LIBEVENT_OPENSSL_LIBS="-L${BUILDLINK_PREFIX.libevent}/lib -levent_openssl -levent"
+
+.include "../../mk/bsd.prefs.mk"
+
+LIBS.SunOS+=   -lsocket
+
+# bin/spdyd requires epoll or kqueue
+PLIST_VARS+=   spdyd
+.if ${OPSYS} != "SunOS"
+PLIST.spdyd=   yes
+.endif
+
+BUILDLINK_API_DEPENDS.libevent+=       libevent>=2.0.8
+BUILDLINK_API_DEPENDS.openssl+=                openssl>=1.0.1
+
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 40de39b133bb -r 92f917eb5497 www/spdylay/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/spdylay/PLIST Wed Jun 03 11:00:15 2015 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2015/06/03 11:00:15 fhajny Exp $
+bin/shrpx
+bin/spdycat
+${PLIST.spdyd}bin/spdyd
+include/spdylay/spdylay.h
+include/spdylay/spdylayver.h
+lib/libspdylay.la
+lib/pkgconfig/libspdylay.pc
+share/doc/spdylay/README.rst
diff -r 40de39b133bb -r 92f917eb5497 www/spdylay/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/spdylay/buildlink3.mk Wed Jun 03 11:00:15 2015 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/06/03 11:00:15 fhajny Exp $
+
+BUILDLINK_TREE+=       spdylay
+
+.if !defined(SPDYLAY_BUILDLINK3_MK)
+SPDYLAY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.spdylay+=        spdylay>=1.3.2
+BUILDLINK_ABI_DEPENDS.spdylay+=        spdylay>=1.3.2
+BUILDLINK_PKGSRCDIR.spdylay?=  ../../www/spdylay
+
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.endif # SPDYLAY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -spdylay
diff -r 40de39b133bb -r 92f917eb5497 www/spdylay/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/spdylay/distinfo      Wed Jun 03 11:00:15 2015 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/06/03 11:00:15 fhajny Exp $
+
+SHA1 (spdylay-1.3.2.tar.gz) = 3b6b1c3d0df223d826c06e72456c74a2e97cf7c4
+RMD160 (spdylay-1.3.2.tar.gz) = 8cda3f2e8130c68e0addfc4368b52f08597c2379
+Size (spdylay-1.3.2.tar.gz) = 936830 bytes
+SHA1 (patch-src_shrpx.cc) = 035a348dfcce942003d9c518001ad816ac04c8a7
diff -r 40de39b133bb -r 92f917eb5497 www/spdylay/patches/patch-src_shrpx.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/spdylay/patches/patch-src_shrpx.cc    Wed Jun 03 11:00:15 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_shrpx.cc,v 1.1 2015/06/03 11:00:15 fhajny Exp $
+
+Fixes SSIZE_MAX not declared.
+
+--- src/shrpx.cc.orig  2015-03-12 15:39:31.000000000 +0000
++++ src/shrpx.cc
+@@ -36,7 +36,7 @@
+ #include <getopt.h>
+ #include <syslog.h>
+ 
+-#include <limits>
++#include <limits.h>
+ #include <cstdlib>
+ #include <iostream>
+ #include <fstream>



Home | Main Index | Thread Index | Old Index