Received: by mail.netbsd.org (Postfix, from userid 605) id D2FB184D40; Wed, 6 Nov 2019 10:56:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5A89B84D28 for ; Wed, 6 Nov 2019 10:56:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id tnzm1NEdX71E for ; Wed, 6 Nov 2019 10:56:14 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8D26484D20 for ; Wed, 6 Nov 2019 10:56:14 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 878F6FA93; Wed, 6 Nov 2019 10:56:14 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1573037774294260" MIME-Version: 1.0 Date: Wed, 6 Nov 2019 10:56:14 +0000 From: "ng0" Subject: CVS commit: pkgsrc/devel To: pkgsrc-changes@NetBSD.org Reply-To: ng0@netbsd.org X-Mailer: log_accum Message-Id: <20191106105614.878F6FA93@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1573037774294260 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: ng0 Date: Wed Nov 6 10:56:14 UTC 2019 Modified Files: pkgsrc/devel: Makefile Added Files: pkgsrc/devel/go-bytebufferpool: DESCR Makefile PLIST buildlink3.mk distinfo Log Message: Add devel/go-bytebufferpool version 1.0.0 go-bytebufferpool is an implementation of a pool of byte buffers with anti-memory-waste protection. The pool may waste limited amount of memory due to fragmentation. This amount equals to the maximum total size of the byte buffers in concurrent use. To generate a diff of this commit: cvs rdiff -u -r1.2940 -r1.2941 pkgsrc/devel/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-bytebufferpool/DESCR \ pkgsrc/devel/go-bytebufferpool/Makefile \ pkgsrc/devel/go-bytebufferpool/PLIST \ pkgsrc/devel/go-bytebufferpool/buildlink3.mk \ pkgsrc/devel/go-bytebufferpool/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1573037774294260 Content-Disposition: inline Content-Length: 4233 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/Makefile diff -u pkgsrc/devel/Makefile:1.2940 pkgsrc/devel/Makefile:1.2941 --- pkgsrc/devel/Makefile:1.2940 Wed Nov 6 10:45:25 2019 +++ pkgsrc/devel/Makefile Wed Nov 6 10:56:14 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2940 2019/11/06 10:45:25 ng0 Exp $ +# $NetBSD: Makefile,v 1.2941 2019/11/06 10:56:14 ng0 Exp $ # COMMENT= Development utilities @@ -367,6 +367,7 @@ SUBDIR+= go-argv SUBDIR+= go-assert SUBDIR+= go-blackfriday SUBDIR+= go-buffruneio +SUBDIR+= go-bytebufferpool SUBDIR+= go-cast SUBDIR+= go-check SUBDIR+= go-cli Added files: Index: pkgsrc/devel/go-bytebufferpool/DESCR diff -u /dev/null pkgsrc/devel/go-bytebufferpool/DESCR:1.1 --- /dev/null Wed Nov 6 10:56:14 2019 +++ pkgsrc/devel/go-bytebufferpool/DESCR Wed Nov 6 10:56:14 2019 @@ -0,0 +1,5 @@ +go-bytebufferpool is an implementation of a pool of byte buffers +with anti-memory-waste protection. +The pool may waste limited amount of memory due to fragmentation. +This amount equals to the maximum total size of the +byte buffers in concurrent use. Index: pkgsrc/devel/go-bytebufferpool/Makefile diff -u /dev/null pkgsrc/devel/go-bytebufferpool/Makefile:1.1 --- /dev/null Wed Nov 6 10:56:14 2019 +++ pkgsrc/devel/go-bytebufferpool/Makefile Wed Nov 6 10:56:14 2019 @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2019/11/06 10:56:14 ng0 Exp $ + +GITHUB_TAG= v${PKGVERSION_NOREV} +DISTNAME= go-bytebufferpool-1.0.0 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=valyala/} +GITHUB_PROJECT= bytebufferpool + +MAINTAINER= ng0@NetBSD.org +HOMEPAGE= https://github.com/valyala/bytebufferpool/ +COMMENT= Implementation of a pool of byte buffers with anti-memory-waste protection for Go +LICENSE= mit + +GO_SRCPATH= github.com/valyala/bytebufferpool +GO_DIST_BASE= bytebufferpool-${PKGVERSION_NOREV} + +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/go-bytebufferpool/PLIST diff -u /dev/null pkgsrc/devel/go-bytebufferpool/PLIST:1.1 --- /dev/null Wed Nov 6 10:56:14 2019 +++ pkgsrc/devel/go-bytebufferpool/PLIST Wed Nov 6 10:56:14 2019 @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1 2019/11/06 10:56:14 ng0 Exp $ +gopkg/pkg/${GO_PLATFORM}/github.com/valyala/bytebufferpool.a +gopkg/src/github.com/valyala/bytebufferpool/LICENSE +gopkg/src/github.com/valyala/bytebufferpool/README.md +gopkg/src/github.com/valyala/bytebufferpool/bytebuffer.go +gopkg/src/github.com/valyala/bytebufferpool/bytebuffer_example_test.go +gopkg/src/github.com/valyala/bytebufferpool/bytebuffer_test.go +gopkg/src/github.com/valyala/bytebufferpool/bytebuffer_timing_test.go +gopkg/src/github.com/valyala/bytebufferpool/doc.go +gopkg/src/github.com/valyala/bytebufferpool/pool.go +gopkg/src/github.com/valyala/bytebufferpool/pool_test.go Index: pkgsrc/devel/go-bytebufferpool/buildlink3.mk diff -u /dev/null pkgsrc/devel/go-bytebufferpool/buildlink3.mk:1.1 --- /dev/null Wed Nov 6 10:56:14 2019 +++ pkgsrc/devel/go-bytebufferpool/buildlink3.mk Wed Nov 6 10:56:14 2019 @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/11/06 10:56:14 ng0 Exp $ + +BUILDLINK_TREE+= go-bytebufferpool + +.if !defined(GO_BYTEBUFFERPOOL_BUILDLINK3_MK) +GO_BYTEBUFFERPOOL_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-bytebufferpool= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-bytebufferpool?= build + +BUILDLINK_API_DEPENDS.go-bytebufferpool+= go-bytebufferpool>=1.0.0 +BUILDLINK_PKGSRCDIR.go-bytebufferpool?= ../../devel/go-bytebufferpool +.endif # GO_BYTEBUFFERPOOL_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-bytebufferpool Index: pkgsrc/devel/go-bytebufferpool/distinfo diff -u /dev/null pkgsrc/devel/go-bytebufferpool/distinfo:1.1 --- /dev/null Wed Nov 6 10:56:14 2019 +++ pkgsrc/devel/go-bytebufferpool/distinfo Wed Nov 6 10:56:14 2019 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/11/06 10:56:14 ng0 Exp $ + +SHA1 (go-bytebufferpool-1.0.0.tar.gz) = 27429ff5ce492f74caf300dcc1520f656c8a6ca8 +RMD160 (go-bytebufferpool-1.0.0.tar.gz) = 465f36e20a1f677e6fcfc5cfe670879d90a111dd +SHA512 (go-bytebufferpool-1.0.0.tar.gz) = 241a561726adb230a6f158e9f39127993d45217ee788c0ba17ec554f71e7cc6a1a83a799d1fb0df29b449b3827ef6c9eb22b41664103e36dec9c7fb716adc21f +Size (go-bytebufferpool-1.0.0.tar.gz) = 5025 bytes --_----------=_1573037774294260--