From owner-svn-ports-head@freebsd.org Mon Feb 20 15:15:10 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EE02CE560B; Mon, 20 Feb 2017 15:15:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DD8D41C2E; Mon, 20 Feb 2017 15:15:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1KFF9FA041625; Mon, 20 Feb 2017 15:15:09 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1KFF8Vh041620; Mon, 20 Feb 2017 15:15:08 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201702201515.v1KFF8Vh041620@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 20 Feb 2017 15:15:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434467 - in head/devel: . go-crc32 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.23 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: Mon, 20 Feb 2017 15:15:10 -0000 Author: sunpoet Date: Mon Feb 20 15:15:08 2017 New Revision: 434467 URL: https://svnweb.freebsd.org/changeset/ports/434467 Log: Add go-crc32 1.1 CRC32 hash with x64 optimizations This package is a drop-in replacement for the standard library hash/crc32 package, that features SSE 4.2 optimizations on x64 platforms, for a 10x speedup. WWW: https://github.com/klauspost/crc32 - While I'm here: - Use DISTVERSIONPREFIX - Add LICENSE_FILE - Add missing RUN_DEPENDS - Remove GH_PROJECT PR: 217211 Submitted by: Guy Tabrar Added: head/devel/go-crc32/ head/devel/go-crc32/Makefile (contents, props changed) head/devel/go-crc32/distinfo (contents, props changed) head/devel/go-crc32/pkg-descr (contents, props changed) head/devel/go-crc32/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Feb 20 15:14:38 2017 (r434466) +++ head/devel/Makefile Mon Feb 20 15:15:08 2017 (r434467) @@ -752,6 +752,7 @@ SUBDIR += go-cobra SUBDIR += go-codec SUBDIR += go-cpuid + SUBDIR += go-crc32 SUBDIR += go-faker SUBDIR += go-form SUBDIR += go-glide Added: head/devel/go-crc32/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/go-crc32/Makefile Mon Feb 20 15:15:08 2017 (r434467) @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= crc32 +PORTVERSION= 1.1 +DISTVERSIONPREFIX= v +CATEGORIES= devel +PKGNAMEPREFIX= go- + +MAINTAINER= guy.tabrar@me.com +COMMENT= CRC32 hash with x64 optimizations for go + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= klauspost +USES= go +GO_PKGNAME= github.com/klauspost/crc32 + +.include Added: head/devel/go-crc32/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/go-crc32/distinfo Mon Feb 20 15:15:08 2017 (r434467) @@ -0,0 +1,3 @@ +TIMESTAMP = 1487477094 +SHA256 (klauspost-crc32-v1.1_GH0.tar.gz) = 4f48f442a3d79e936dc558843d5bcbeb9f1081c4553cb24167d035dc35abd8e4 +SIZE (klauspost-crc32-v1.1_GH0.tar.gz) = 16086 Added: head/devel/go-crc32/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/go-crc32/pkg-descr Mon Feb 20 15:15:08 2017 (r434467) @@ -0,0 +1,7 @@ +CRC32 hash with x64 optimizations + +This package is a drop-in replacement for the standard library +hash/crc32 package, that features SSE 4.2 optimizations on x64 +platforms, for a 10x speedup. + +WWW: https://github.com/klauspost/crc32 Added: head/devel/go-crc32/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/go-crc32/pkg-plist Mon Feb 20 15:15:08 2017 (r434467) @@ -0,0 +1,14 @@ +%%GO_LIBDIR%%/%%GO_PKGNAME%%.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE +%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_amd64.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_amd64.s +%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_amd64p32.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_amd64p32.s +%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_generic.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_otherarch.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_s390x.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_s390x.s +%%GO_SRCDIR%%/%%GO_PKGNAME%%/crc32_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/example_test.go