From owner-svn-ports-head@FreeBSD.ORG Wed Oct 23 19:10:39 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 39790A41; Wed, 23 Oct 2013 19:10:39 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1939826F2; Wed, 23 Oct 2013 19:10:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9NJAc22008132; Wed, 23 Oct 2013 19:10:38 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9NJAc3g008071; Wed, 23 Oct 2013 19:10:38 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201310231910.r9NJAc3g008071@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Wed, 23 Oct 2013 19:10:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331414 - in head/www: . spdylay X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 19:10:39 -0000 Author: sunpoet Date: Wed Oct 23 19:10:37 2013 New Revision: 331414 URL: http://svnweb.freebsd.org/changeset/ports/331414 Log: - Add spdylay 1.1.0 Spdylay - SPDY C Library This is an experimental implementation of Google's SPDY protocol in C. This library provides SPDY version 2 and 3 framing layer implementation. It does not perform any I/O operations. When the library needs them, it calls the callback functions provided by the application. It also does not include any event polling mechanism, so the application can freely choose the way of handling events. This library code does not depend on any particular SSL library (except for example programs which depend on OpenSSL 1.0.1 or later). This project also develops SPDY client, server and proxy on top of Spdylay library. WWW: http://spdylay.sourceforge.net/ Added: head/www/spdylay/ head/www/spdylay/Makefile (contents, props changed) head/www/spdylay/distinfo (contents, props changed) head/www/spdylay/pkg-descr (contents, props changed) head/www/spdylay/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Wed Oct 23 19:09:17 2013 (r331413) +++ head/www/Makefile Wed Oct 23 19:10:37 2013 (r331414) @@ -1868,6 +1868,7 @@ SUBDIR += snarf SUBDIR += snownews SUBDIR += spawn-fcgi + SUBDIR += spdylay SUBDIR += speedtest-mini SUBDIR += spreadlogd SUBDIR += sqstat Added: head/www/spdylay/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/spdylay/Makefile Wed Oct 23 19:10:37 2013 (r331414) @@ -0,0 +1,60 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= spdylay +PORTVERSION= 1.1.0 +CATEGORIES= www net +MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= SPDY protocol version 2 and 3 implementation in C + +LICENSE= MIT + +OPTIONS_DEFINE= SHRPX +OPTIONS_SUB= yes +SHRPX_DESC= Build shrpx (HTTP reverse proxy), requires OpenSSL 1.0.1+ + +CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ + OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" \ + ZLIB_CFLAGS="-I${INCLUDEDIR}" \ + ZLIB_LIBS="-L${LIBDIR} -lz" +GNU_CONFIGURE= yes +USE_CXXSTD= c++11 +USE_GNOME= libxml2 +USE_LDCONFIG= yes +USE_OPENSSL= yes +USE_XZ= yes +USES= compiler:c++11-lang pathfix pkgconfig + +PORTDOCS= README.rst + +.include + +# Only build shrpx on FreeBSD 10 and above +.if ${PORT_OPTIONS:MSHRPX} && ${OSVERSION} < 1000000 && !defined(WITH_OPENSSL_PORT) +IGNORE= shrpx requires libevent_openssl.so (devel/libevent2) built with OpenSSL 1.0.1+ +.endif + +# spdylay requires OpenSSL 1.0.1+ +.if ${OSVERSION} < 1000000 +WITH_OPENSSL_PORT= yes +.endif + +.if ${PORT_OPTIONS:MSHRPX} +LIB_DEPENDS+= libevent_openssl.so:${PORTSDIR}/devel/libevent2 +CONFIGURE_ARGS+=--enable-examples +CONFIGURE_ENV+= LIBEVENT_OPENSSL_CFLAGS="-I${LOCALBASE}" \ + LIBEVENT_OPENSSL_LIBS="-L${LOCALBASE}/lib/event2 -levent_openssl" +.endif + +post-build: + @${STRIP_CMD} ${WRKSRC}/lib/.libs/libspdylay.so.6 + +post-install: + @${INSTALL_SCRIPT} ${WRKSRC}/examples/spdycli ${STAGEDIR}${PREFIX}/bin/ +.if ${PORT_OPTIONS:MSHRPX} + @${INSTALL_DATA} ${WRKSRC}/shrpx.conf.sample ${STAGEDIR}${PREFIX}/etc/ +.endif + +.include Added: head/www/spdylay/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/spdylay/distinfo Wed Oct 23 19:10:37 2013 (r331414) @@ -0,0 +1,2 @@ +SHA256 (spdylay-1.1.0.tar.xz) = f6382926fc42031bc01b9402be606356430ec122db0ff9bbeac895cc84085ec7 +SIZE (spdylay-1.1.0.tar.xz) = 411900 Added: head/www/spdylay/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/spdylay/pkg-descr Wed Oct 23 19:10:37 2013 (r331414) @@ -0,0 +1,14 @@ +Spdylay - SPDY C Library + +This is an experimental implementation of Google's SPDY protocol in C. This +library provides SPDY version 2 and 3 framing layer implementation. It does not +perform any I/O operations. When the library needs them, it calls the callback +functions provided by the application. It also does not include any event +polling mechanism, so the application can freely choose the way of handling +events. This library code does not depend on any particular SSL library (except +for example programs which depend on OpenSSL 1.0.1 or later). + +This project also develops SPDY client, server and proxy on top of Spdylay +library. + +WWW: http://spdylay.sourceforge.net/ Added: head/www/spdylay/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/spdylay/pkg-plist Wed Oct 23 19:10:37 2013 (r331414) @@ -0,0 +1,13 @@ +%%SHRPX%%bin/shrpx +bin/spdycat +bin/spdycli +bin/spdyd +%%SHRPX%%etc/shrpx.conf.sample +include/spdylay/spdylay.h +include/spdylay/spdylayver.h +lib/libspdylay.a +lib/libspdylay.la +lib/libspdylay.so +lib/libspdylay.so.6 +libdata/pkgconfig/libspdylay.pc +@dirrm include/spdylay