pkgsrc/net/go-tcplisten/buildlink3.mk
ng0 8a05534ad1 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.
2019-11-06 11:54:49 +00:00

15 lines
445 B
Makefile

# $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