pkgsrc-WIP-changes archive

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

Import go-zeroconf-1.0.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Wed Jan 13 15:46:30 2021 +0100
Changeset:	3c5e603343b6fdd685a2fec712ae86e4ce8c9190

Modified Files:
	Makefile
Added Files:
	go-zeroconf/DESCR
	go-zeroconf/Makefile
	go-zeroconf/PLIST
	go-zeroconf/buildlink3.mk
	go-zeroconf/distinfo

Log Message:
Import go-zeroconf-1.0.0 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3c5e603343b6fdd685a2fec712ae86e4ce8c9190

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

diffstat:
 Makefile                  |  1 +
 go-zeroconf/DESCR         |  4 ++++
 go-zeroconf/Makefile      | 21 +++++++++++++++++++++
 go-zeroconf/PLIST         | 23 +++++++++++++++++++++++
 go-zeroconf/buildlink3.mk | 19 +++++++++++++++++++
 go-zeroconf/distinfo      |  6 ++++++
 6 files changed, 74 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 75c18dc068..3e7174f48b 100644
--- a/Makefile
+++ b/Makefile
@@ -1266,6 +1266,7 @@ SUBDIR+=	go-uilive
 SUBDIR+=	go-upspin
 SUBDIR+=	go-uuid
 SUBDIR+=	go-uuid-myesui
+SUBDIR+=	go-zeroconf
 SUBDIR+=	goattracker
 SUBDIR+=	godura
 SUBDIR+=	goldendict
diff --git a/go-zeroconf/DESCR b/go-zeroconf/DESCR
new file mode 100644
index 0000000000..cd36d0da47
--- /dev/null
+++ b/go-zeroconf/DESCR
@@ -0,0 +1,4 @@
+ZeroConf is a pure Golang library that employs Multicast DNS-SD for
+* browsing and resolving services in your network
+* registering own services
+in the local network.
diff --git a/go-zeroconf/Makefile b/go-zeroconf/Makefile
new file mode 100644
index 0000000000..3945a7b6ef
--- /dev/null
+++ b/go-zeroconf/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	go-zeroconf-1.0.0
+GITHUB_PROJECT=	zeroconf
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=grandcat/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/grandcat/zeroconf/
+COMMENT=	Is a pure Golang library that employs Multicast DNS-SD
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/grandcat/zeroconf
+
+.include "../../net/go-dns/buildlink3.mk"
+.include "../../net/go-net/buildlink3.mk"
+.include "../../wip/go-backoff/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-zeroconf/PLIST b/go-zeroconf/PLIST
new file mode 100644
index 0000000000..5b9d96267d
--- /dev/null
+++ b/go-zeroconf/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD$
+bin/proxyservice
+bin/register
+bin/resolv
+gopkg/pkg/${GO_PLATFORM}/github.com/grandcat/zeroconf.a
+gopkg/src/github.com/grandcat/zeroconf/LICENSE
+gopkg/src/github.com/grandcat/zeroconf/README.md
+gopkg/src/github.com/grandcat/zeroconf/client.go
+gopkg/src/github.com/grandcat/zeroconf/connection.go
+gopkg/src/github.com/grandcat/zeroconf/doc.go
+gopkg/src/github.com/grandcat/zeroconf/examples/proxyservice/.gitignore
+gopkg/src/github.com/grandcat/zeroconf/examples/proxyservice/server.go
+gopkg/src/github.com/grandcat/zeroconf/examples/register/.gitignore
+gopkg/src/github.com/grandcat/zeroconf/examples/register/server.go
+gopkg/src/github.com/grandcat/zeroconf/examples/resolv/.gitignore
+gopkg/src/github.com/grandcat/zeroconf/examples/resolv/README.md
+gopkg/src/github.com/grandcat/zeroconf/examples/resolv/client.go
+gopkg/src/github.com/grandcat/zeroconf/go.mod
+gopkg/src/github.com/grandcat/zeroconf/go.sum
+gopkg/src/github.com/grandcat/zeroconf/server.go
+gopkg/src/github.com/grandcat/zeroconf/service.go
+gopkg/src/github.com/grandcat/zeroconf/service_test.go
+gopkg/src/github.com/grandcat/zeroconf/utils.go
diff --git a/go-zeroconf/buildlink3.mk b/go-zeroconf/buildlink3.mk
new file mode 100644
index 0000000000..88bdbe62a2
--- /dev/null
+++ b/go-zeroconf/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-zeroconf
+
+.if !defined(GO_ZEROCONF_BUILDLINK3_MK)
+GO_ZEROCONF_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-zeroconf=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-zeroconf?=	build
+
+BUILDLINK_API_DEPENDS.go-zeroconf+=	go-zeroconf>=1.0.0
+BUILDLINK_PKGSRCDIR.go-zeroconf?=	../../category/go-zeroconf
+
+.include "../../net/go-dns/buildlink3.mk"
+.include "../../net/go-net/buildlink3.mk"
+.include "../../wip/go-backoff/buildlink3.mk"
+.endif	# GO_ZEROCONF_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-zeroconf
diff --git a/go-zeroconf/distinfo b/go-zeroconf/distinfo
new file mode 100644
index 0000000000..fcf56f0eb0
--- /dev/null
+++ b/go-zeroconf/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-zeroconf-1.0.0.tar.gz) = 145080dc868971701d6f1399a461f3035fbe25a5
+RMD160 (go-zeroconf-1.0.0.tar.gz) = be6547315aaea3e7c0703682d781fb1c71a9072b
+SHA512 (go-zeroconf-1.0.0.tar.gz) = 769cc5eee8d3fe27cd4348491ad8d1d06c8042b29e096244275ac44bb96f76b5a85e31ffc77fbee26dffbe38dae5e4a976ec9467e2f385a085f034b65879f58c
+Size (go-zeroconf-1.0.0.tar.gz) = 16115 bytes


Home | Main Index | Thread Index | Old Index