pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/go-tcplisten: import go-tcplisten-0.0.0
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%n0.is@localhost>
Pushed By: ng0
Date: Tue May 21 13:59:37 2019 +0000
Changeset: 06f30dff56b35b3439da59a7554e1e53d3c1d57c
Modified Files:
Makefile
Added Files:
go-tcplisten/DESCR
go-tcplisten/Makefile
go-tcplisten/PLIST
go-tcplisten/buildlink3.mk
go-tcplisten/distinfo
Log Message:
wip/go-tcplisten: import go-tcplisten-0.0.0
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 see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=06f30dff56b35b3439da59a7554e1e53d3c1d57c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
go-tcplisten/DESCR | 9 +++++++++
go-tcplisten/Makefile | 19 +++++++++++++++++++
go-tcplisten/PLIST | 11 +++++++++++
go-tcplisten/buildlink3.mk | 15 +++++++++++++++
go-tcplisten/distinfo | 6 ++++++
6 files changed, 61 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 722e709ab4..2d2d94474b 100644
--- a/Makefile
+++ b/Makefile
@@ -1187,6 +1187,7 @@ SUBDIR+= go-properties-map
SUBDIR+= go-pty
SUBDIR+= go-rateio
SUBDIR+= go-rest
+SUBDIR+= go-tcplisten
SUBDIR+= go-trie
SUBDIR+= go-upspin
SUBDIR+= go-xxhash
diff --git a/go-tcplisten/DESCR b/go-tcplisten/DESCR
new file mode 100644
index 0000000000..c5d0617d74
--- /dev/null
+++ b/go-tcplisten/DESCR
@@ -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 --git a/go-tcplisten/Makefile b/go-tcplisten/Makefile
new file mode 100644
index 0000000000..6a67a14615
--- /dev/null
+++ b/go-tcplisten/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME= go-tcplisten-${GITHUB_TAG}
+PKGNAME= go-tcplisten-0.0.0
+GITHUB_PROJECT= tcplisten
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=valyala/}
+GITHUB_TAG= ceec8f93295a060cdb565ec25e4ccf17941dbd55
+
+MAINTAINER= ng0%n0.is@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= ${GITHUB_PROJECT}-${GITHUB_TAG}*
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-tcplisten/PLIST b/go-tcplisten/PLIST
new file mode 100644
index 0000000000..4eebaa8758
--- /dev/null
+++ b/go-tcplisten/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+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 --git a/go-tcplisten/buildlink3.mk b/go-tcplisten/buildlink3.mk
new file mode 100644
index 0000000000..36a8d347e3
--- /dev/null
+++ b/go-tcplisten/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+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?= ../../wip/go-tcplisten
+.endif # GO_TCPLISTEN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-tcplisten
diff --git a/go-tcplisten/distinfo b/go-tcplisten/distinfo
new file mode 100644
index 0000000000..fafd4993b3
--- /dev/null
+++ b/go-tcplisten/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-tcplisten-ceec8f93295a060cdb565ec25e4ccf17941dbd55-ceec8f93295a060cdb565ec25e4ccf17941dbd55.tar.gz) = 651663dc71d67afad481f36f3afab28704d58a8a
+RMD160 (go-tcplisten-ceec8f93295a060cdb565ec25e4ccf17941dbd55-ceec8f93295a060cdb565ec25e4ccf17941dbd55.tar.gz) = 128c0fc5e0bf5c9a5358f3b9d2f4964ba4041656
+SHA512 (go-tcplisten-ceec8f93295a060cdb565ec25e4ccf17941dbd55-ceec8f93295a060cdb565ec25e4ccf17941dbd55.tar.gz) = 69f9afd7e71c9dabb851b2592f99d565d83be9dea2ff55ee0208401debf6445e92d74973079f369d4028c64bcf6e9156a9144ba536cef8b6f72685762f28197e
+Size (go-tcplisten-ceec8f93295a060cdb565ec25e4ccf17941dbd55-ceec8f93295a060cdb565ec25e4ccf17941dbd55.tar.gz) = 4579 bytes
Home |
Main Index |
Thread Index |
Old Index