pkgsrc-Changes archive

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

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   ng0
Date:           Wed Nov  6 11:54:50 UTC 2019

Modified Files:
        pkgsrc/net: Makefile
Added Files:
        pkgsrc/net/go-tcplisten: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1276 -r1.1277 pkgsrc/net/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/go-tcplisten/DESCR \
    pkgsrc/net/go-tcplisten/Makefile pkgsrc/net/go-tcplisten/PLIST \
    pkgsrc/net/go-tcplisten/buildlink3.mk pkgsrc/net/go-tcplisten/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/Makefile
diff -u pkgsrc/net/Makefile:1.1276 pkgsrc/net/Makefile:1.1277
--- pkgsrc/net/Makefile:1.1276  Tue Nov  5 02:21:22 2019
+++ pkgsrc/net/Makefile Wed Nov  6 11:54:49 2019
@@ -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-framestream
 SUBDIR+=       go-grpc
 SUBDIR+=       go-net
 SUBDIR+=       go-ovh
+SUBDIR+=       go-tcplisten
 SUBDIR+=       go-websocket
 SUBDIR+=       gofish
 SUBDIR+=       gopher

Added files:

Index: pkgsrc/net/go-tcplisten/DESCR
diff -u /dev/null pkgsrc/net/go-tcplisten/DESCR:1.1
--- /dev/null   Wed Nov  6 11:54:50 2019
+++ pkgsrc/net/go-tcplisten/DESCR       Wed Nov  6 11:54:49 2019
@@ -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.
Index: pkgsrc/net/go-tcplisten/Makefile
diff -u /dev/null pkgsrc/net/go-tcplisten/Makefile:1.1
--- /dev/null   Wed Nov  6 11:54:50 2019
+++ pkgsrc/net/go-tcplisten/Makefile    Wed Nov  6 11:54:49 2019
@@ -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"
Index: pkgsrc/net/go-tcplisten/PLIST
diff -u /dev/null pkgsrc/net/go-tcplisten/PLIST:1.1
--- /dev/null   Wed Nov  6 11:54:50 2019
+++ pkgsrc/net/go-tcplisten/PLIST       Wed Nov  6 11:54:49 2019
@@ -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
Index: pkgsrc/net/go-tcplisten/buildlink3.mk
diff -u /dev/null pkgsrc/net/go-tcplisten/buildlink3.mk:1.1
--- /dev/null   Wed Nov  6 11:54:50 2019
+++ pkgsrc/net/go-tcplisten/buildlink3.mk       Wed Nov  6 11:54:49 2019
@@ -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
Index: pkgsrc/net/go-tcplisten/distinfo
diff -u /dev/null pkgsrc/net/go-tcplisten/distinfo:1.1
--- /dev/null   Wed Nov  6 11:54:50 2019
+++ pkgsrc/net/go-tcplisten/distinfo    Wed Nov  6 11:54:49 2019
@@ -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