Date: Sun, 8 Jan 2017 20:42:57 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430886 - in head/www/libhpack: . files Message-ID: <201701082042.v08KgvRO071747@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Jan 8 20:42:57 2017 New Revision: 430886 URL: https://svnweb.freebsd.org/changeset/ports/430886 Log: Update to 0.0.20140710 - Change MASTER_SITES to GitHub - Add LICENSE_FILE Changes: https://github.com/alobbs/libhpack/commits/master Added: head/www/libhpack/files/patch-libchula-test-util_test.c (contents, props changed) head/www/libhpack/files/patch-libhpack-CMakeLists.txt (contents, props changed) Modified: head/www/libhpack/Makefile head/www/libhpack/distinfo head/www/libhpack/files/patch-CMakeLists.txt head/www/libhpack/pkg-plist Modified: head/www/libhpack/Makefile ============================================================================== --- head/www/libhpack/Makefile Sun Jan 8 20:42:52 2017 (r430885) +++ head/www/libhpack/Makefile Sun Jan 8 20:42:57 2017 (r430886) @@ -2,25 +2,42 @@ # $FreeBSD$ PORTNAME= libhpack -PORTVERSION= 0.0.20140329 +PORTVERSION= 0.0.20140710 CATEGORIES= www -MASTER_SITES= LOCAL/sunpoet +MASTER_SITES= GH:libhpack \ + https://raw.github.com/http2/http2-spec/master/:ec_xml +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:libhpack \ + draft-ietf-httpbis-header-compression.xml:ec_xml +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Implementation of HPACK (Header compression for HTTP/2.0) LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcheck.so:devel/libcheck CMAKE_ARGS= -DBUILD_DOCS=OFF \ -DBUILD_TESTS=OFF \ -DENABLE_GCOV=OFF \ + -DLINUX=ON \ -DUSE_VALGRIND=OFF +MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes -USES= cmake pkgconfig python:2,build shebangfix tar:xz +USES= cmake pathfix pkgconfig python:2,build shebangfix -SHEBANG_FILES= gen-config.py libhpack/huffman-gen.py +GH_ACCOUNT= alobbs +GH_TAGNAME= b0ade19 +USE_GITHUB= yes + +SHEBANG_FILES= gen-config.py \ + libhpack/huffman-gen.py \ + tools/auto-ret.py \ + CI/src-check.py + +post-extract: + @${CP} ${DISTDIR}/draft-ietf-httpbis-header-compression.xml ${WRKSRC}/libhpack/ post-patch: @${REINPLACE_CMD} -e 's|STATIC|SHARED|' ${WRKSRC}/libchula/CMakeLists.txt ${WRKSRC}/libhpack/CMakeLists.txt Modified: head/www/libhpack/distinfo ============================================================================== --- head/www/libhpack/distinfo Sun Jan 8 20:42:52 2017 (r430885) +++ head/www/libhpack/distinfo Sun Jan 8 20:42:57 2017 (r430886) @@ -1,2 +1,7 @@ -SHA256 (libhpack-0.0.20140329.tar.xz) = e357a06cf783bd2f4a537bf2acb163aacc39d82e5f5ab1d3910f3b71b9148f49 -SIZE (libhpack-0.0.20140329.tar.xz) = 666520 +TIMESTAMP = 1483892979 +SHA256 (alobbs-libhpack-0.0.20140710-b0ade19_GH0.tar.gz) = a48edb42809d1d195602feb3d899b595cd600446870086217dae03b31c9bef7d +SIZE (alobbs-libhpack-0.0.20140710-b0ade19_GH0.tar.gz) = 231445 +SHA256 (draft-ietf-httpbis-header-compression.xml) = 5451d3af357557b4852ec8ba45ef838ca16adb38e8b023d6a6e1173028fefac2 +SIZE (draft-ietf-httpbis-header-compression.xml) = 152574 +SHA256 (alobbs-libhpack-0.0.20140710-b0ade19_GH0.tar.gz) = a48edb42809d1d195602feb3d899b595cd600446870086217dae03b31c9bef7d +SIZE (alobbs-libhpack-0.0.20140710-b0ade19_GH0.tar.gz) = 231445 Modified: head/www/libhpack/files/patch-CMakeLists.txt ============================================================================== --- head/www/libhpack/files/patch-CMakeLists.txt Sun Jan 8 20:42:52 2017 (r430885) +++ head/www/libhpack/files/patch-CMakeLists.txt Sun Jan 8 20:42:57 2017 (r430886) @@ -1,11 +1,11 @@ ---- CMakeLists.txt.orig 2014-02-06 23:24:37.000000000 +0800 -+++ CMakeLists.txt 2014-02-07 00:29:15.339541948 +0800 -@@ -19,6 +19,8 @@ +--- CMakeLists.txt.orig 2014-07-09 21:59:50 UTC ++++ CMakeLists.txt +@@ -19,6 +19,8 @@ math(EXPR hpack_SOVERSION_PATCH "${hpack set(hpack_VERSION ${hpack_SOVERSION_MAJOR}.${hpack_SOVERSION_MINOR}.${hpack_SOVERSION_PATCH}) set(hpack_SOVERSION ${hpack_SOVERSION_MAJOR}) +set(chula_VERSION ${hpack_VERSION}) +set(chula_SOVERSION ${hpack_SOVERSION}) - # Options - option(BUILD_TESTS "Build the test suite" ON) + # Standard replacements + set(prefix ${CMAKE_INSTALL_PREFIX}) Added: head/www/libhpack/files/patch-libchula-test-util_test.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/libhpack/files/patch-libchula-test-util_test.c Sun Jan 8 20:42:57 2017 (r430886) @@ -0,0 +1,13 @@ +--- libchula/test/util_test.c.orig 2014-07-09 21:59:50 UTC ++++ libchula/test/util_test.c +@@ -40,6 +40,10 @@ + # include <syslog.h> + #endif + ++#ifdef HAVE_NETINET_IN_H ++# include <netinet/in.h> ++#endif ++ + #ifdef HAVE_ARPA_INET_H + # include <arpa/inet.h> + #endif Added: head/www/libhpack/files/patch-libhpack-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/libhpack/files/patch-libhpack-CMakeLists.txt Sun Jan 8 20:42:57 2017 (r430886) @@ -0,0 +1,11 @@ +--- libhpack/CMakeLists.txt.orig 2014-07-09 21:59:50 UTC ++++ libhpack/CMakeLists.txt +@@ -27,7 +27,7 @@ set_target_properties ( + add_custom_command ( + OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/huffman_tables.c + COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/huffman-gen.py +- ARGS -v -o ${CMAKE_CURRENT_SOURCE_DIR}/huffman_tables.c ++ ARGS -v -i draft-ietf-httpbis-header-compression.xml -o ${CMAKE_CURRENT_SOURCE_DIR}/huffman_tables.c + COMMENT "Generating the huffman_tables.c file..." + ) + Modified: head/www/libhpack/pkg-plist ============================================================================== --- head/www/libhpack/pkg-plist Sun Jan 8 20:42:52 2017 (r430885) +++ head/www/libhpack/pkg-plist Sun Jan 8 20:42:57 2017 (r430886) @@ -1,26 +1,37 @@ +include/libchula-qa/libchula-qa.h +include/libchula-qa/mem_mgr.h +include/libchula-qa/testing_macros-internal.h include/libchula/avl.h include/libchula/avl_generic.h include/libchula/buffer.h +include/libchula/chula-ret.h include/libchula/common-internal.h include/libchula/common.h include/libchula/crc32.h +include/libchula/cstrings.h include/libchula/debug.h +include/libchula/libchula.h include/libchula/list.h +include/libchula/log.h +include/libchula/logger_fd.h include/libchula/macros.h include/libchula/md5.h -include/libchula/missing_sysfuncs.h include/libchula/sha1.h include/libchula/sha512.h -include/libchula/testing_macros.h include/libchula/util.h +include/libhpack/bitmap_set.h +include/libhpack/header_encoder.h include/libhpack/header_field.h include/libhpack/header_parser.h include/libhpack/header_store.h include/libhpack/header_table.h +include/libhpack/hpack-ret.h include/libhpack/huffman.h include/libhpack/huffman_tables.h include/libhpack/integer.h +include/libhpack/libhpack.h include/libhpack/macros.h +lib/libchula-qa.a lib/libchula.so lib/libchula.so.1 lib/libchula.so.1.0.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701082042.v08KgvRO071747>