pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net Add net/go-tcplisten version 0.0.0.20161114



details:   https://anonhg.NetBSD.org/pkgsrc/rev/290accb85042
branches:  trunk
changeset: 404090:290accb85042
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Wed Nov 06 11:54:49 2019 +0000

description:
Add net/go-tcplisten version 0.0.0.20161114

go-tcplisten provides customizable TCP net.Listener with various
performance-related options:
* SO_REUSEPORT. This option allows linear scaling server performance
  on multi-CPU servers.
  See https://www.nginx.com/blog/socket-sharding-nginx-release-1-9-1/
  for details.
* TCP_DEFER_ACCEPT. This option expects the server reads from the
  accepted connection before writing to them.
* TCP_FASTOPEN. See https://lwn.net/Articles/508865/ for details.

diffstat:

 net/Makefile                   |   3 ++-
 net/go-tcplisten/DESCR         |   9 +++++++++
 net/go-tcplisten/Makefile      |  18 ++++++++++++++++++
 net/go-tcplisten/PLIST         |  11 +++++++++++
 net/go-tcplisten/buildlink3.mk |  15 +++++++++++++++
 net/go-tcplisten/distinfo      |   6 ++++++
 6 files changed, 61 insertions(+), 1 deletions(-)

diffs (96 lines):

diff -r 7d93117a2d03 -r 290accb85042 net/Makefile
--- a/net/Makefile      Wed Nov 06 11:27:15 2019 +0000
+++ b/net/Makefile      Wed Nov 06 11:54:49 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1276 2019/11/05 02:21:22 gdt Exp $
+# $NetBSD: Makefile,v 1.1277 2019/11/06 11:54:49 ng0 Exp $
 #
 
 COMMENT=       Networking tools
@@ -200,6 +200,7 @@
 SUBDIR+=       go-grpc
 SUBDIR+=       go-net
 SUBDIR+=       go-ovh
+SUBDIR+=       go-tcplisten
 SUBDIR+=       go-websocket
 SUBDIR+=       gofish
 SUBDIR+=       gopher
diff -r 7d93117a2d03 -r 290accb85042 net/go-tcplisten/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-tcplisten/DESCR    Wed Nov 06 11:54:49 2019 +0000
@@ -0,0 +1,9 @@
+go-tcplisten provides customizable TCP net.Listener with various
+performance-related options:
+* SO_REUSEPORT. This option allows linear scaling server performance
+  on multi-CPU servers.
+  See https://www.nginx.com/blog/socket-sharding-nginx-release-1-9-1/
+  for details.
+* TCP_DEFER_ACCEPT. This option expects the server reads from the
+  accepted connection before writing to them.
+* TCP_FASTOPEN. See https://lwn.net/Articles/508865/ for details.
diff -r 7d93117a2d03 -r 290accb85042 net/go-tcplisten/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-tcplisten/Makefile Wed Nov 06 11:54:49 2019 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2019/11/06 11:54:49 ng0 Exp $
+
+GITHUB_TAG=            ceec8f93295a060cdb565ec25e4ccf17941dbd55
+DISTNAME=              go-tcplisten-0.0.0.20161114
+CATEGORIES=            net
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=valyala/}
+GITHUB_PROJECT=                tcplisten
+
+MAINTAINER=            ng0%NetBSD.org@localhost
+HOMEPAGE=              https://github.com/valyala/tcplisten/
+COMMENT=               Customizable TCP net.Listener for Go
+LICENSE=               mit
+
+GO_SRCPATH=            github.com/valyala/tcplisten
+GO_DIST_BASE=          tcplisten-${GITHUB_TAG}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7d93117a2d03 -r 290accb85042 net/go-tcplisten/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-tcplisten/PLIST    Wed Nov 06 11:54:49 2019 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/06 11:54:49 ng0 Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/tcplisten.a
+gopkg/src/github.com/valyala/tcplisten/LICENSE
+gopkg/src/github.com/valyala/tcplisten/README.md
+gopkg/src/github.com/valyala/tcplisten/socket.go
+gopkg/src/github.com/valyala/tcplisten/socket_darwin.go
+gopkg/src/github.com/valyala/tcplisten/socket_other.go
+gopkg/src/github.com/valyala/tcplisten/tcplisten.go
+gopkg/src/github.com/valyala/tcplisten/tcplisten_bsd.go
+gopkg/src/github.com/valyala/tcplisten/tcplisten_linux.go
+gopkg/src/github.com/valyala/tcplisten/tcplisten_test.go
diff -r 7d93117a2d03 -r 290accb85042 net/go-tcplisten/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-tcplisten/buildlink3.mk    Wed Nov 06 11:54:49 2019 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/11/06 11:54:49 ng0 Exp $
+
+BUILDLINK_TREE+=       go-tcplisten
+
+.if !defined(GO_TCPLISTEN_BUILDLINK3_MK)
+GO_TCPLISTEN_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-tcplisten=        ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-tcplisten?=     build
+
+BUILDLINK_API_DEPENDS.go-tcplisten+=   go-tcplisten>=0.0.0
+BUILDLINK_PKGSRCDIR.go-tcplisten?=     ../../net/go-tcplisten
+.endif # GO_TCPLISTEN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-tcplisten
diff -r 7d93117a2d03 -r 290accb85042 net/go-tcplisten/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-tcplisten/distinfo Wed Nov 06 11:54:49 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/11/06 11:54:49 ng0 Exp $
+
+SHA1 (go-tcplisten-0.0.0.20161114-ceec8f93295a060cdb565ec25e4ccf17941dbd55.tar.gz) = 651663dc71d67afad481f36f3afab28704d58a8a
+RMD160 (go-tcplisten-0.0.0.20161114-ceec8f93295a060cdb565ec25e4ccf17941dbd55.tar.gz) = 128c0fc5e0bf5c9a5358f3b9d2f4964ba4041656
+SHA512 (go-tcplisten-0.0.0.20161114-ceec8f93295a060cdb565ec25e4ccf17941dbd55.tar.gz) = 
69f9afd7e71c9dabb851b2592f99d565d83be9dea2ff55ee0208401debf6445e92d74973079f369d4028c64bcf6e9156a9144ba536cef8b6f72685762f28197e
+Size (go-tcplisten-0.0.0.20161114-ceec8f93295a060cdb565ec25e4ccf17941dbd55.tar.gz) = 4579 bytes



Home | Main Index | Thread Index | Old Index