pkgsrc-WIP-changes archive

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

Import go-httpsnoop-20200910 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Sun Jan 10 15:41:10 2021 +0100
Changeset:	94edd74f903bd34e03a021477b3788dab9512ef0

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

Log Message:
Import go-httpsnoop-20200910 to wip

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

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

diffstat:
 Makefile                   |  1 +
 go-httpsnoop/DESCR         |  4 ++++
 go-httpsnoop/Makefile      | 19 +++++++++++++++++++
 go-httpsnoop/PLIST         | 18 ++++++++++++++++++
 go-httpsnoop/buildlink3.mk | 15 +++++++++++++++
 go-httpsnoop/distinfo      |  6 ++++++
 6 files changed, 63 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 88f17b77e7..72b332a85f 100644
--- a/Makefile
+++ b/Makefile
@@ -1202,6 +1202,7 @@ SUBDIR+=	go-goquery
 SUBDIR+=	go-goreferrer
 SUBDIR+=	go-gorilla-securecookie
 SUBDIR+=	go-gtk2
+SUBDIR+=	go-httpsnoop
 SUBDIR+=	go-ole
 SUBDIR+=	go-opentracing
 SUBDIR+=	go-humanize
diff --git a/go-httpsnoop/DESCR b/go-httpsnoop/DESCR
new file mode 100644
index 0000000000..b5a39c5b18
--- /dev/null
+++ b/go-httpsnoop/DESCR
@@ -0,0 +1,4 @@
+Package httpsnoop provides an easy way to capture
+http related metrics (i.e. response time, bytes
+written, and http status code) from your application's
+http.Handlers.
diff --git a/go-httpsnoop/Makefile b/go-httpsnoop/Makefile
new file mode 100644
index 0000000000..61cf6be35f
--- /dev/null
+++ b/go-httpsnoop/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	httpsnoop-20200910
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	httpsnoop
+GITHUB_TAG=	80c3c2123b72a19bf86e424759ce61a51b0f5f1b
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=felixge/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/felixge/httpsnoop/
+COMMENT=	Httpsnoop provides an easy way to capture http related metrics
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=	github.com/bradfitz/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-httpsnoop/PLIST b/go-httpsnoop/PLIST
new file mode 100644
index 0000000000..c363357a3e
--- /dev/null
+++ b/go-httpsnoop/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+bin/codegen
+gopkg/pkg/${GO_PLATFORM}/github.com/bradfitz/httpsnoop.a
+gopkg/src/github.com/bradfitz/httpsnoop/LICENSE.txt
+gopkg/src/github.com/bradfitz/httpsnoop/Makefile
+gopkg/src/github.com/bradfitz/httpsnoop/README.md
+gopkg/src/github.com/bradfitz/httpsnoop/bench_test.go
+gopkg/src/github.com/bradfitz/httpsnoop/capture_metrics.go
+gopkg/src/github.com/bradfitz/httpsnoop/capture_metrics_test.go
+gopkg/src/github.com/bradfitz/httpsnoop/codegen/main.go
+gopkg/src/github.com/bradfitz/httpsnoop/docs.go
+gopkg/src/github.com/bradfitz/httpsnoop/go.mod
+gopkg/src/github.com/bradfitz/httpsnoop/unwrap_test.go
+gopkg/src/github.com/bradfitz/httpsnoop/wrap_generated_gteq_1.8.go
+gopkg/src/github.com/bradfitz/httpsnoop/wrap_generated_gteq_1.8_test.go
+gopkg/src/github.com/bradfitz/httpsnoop/wrap_generated_lt_1.8.go
+gopkg/src/github.com/bradfitz/httpsnoop/wrap_generated_lt_1.8_test.go
+gopkg/src/github.com/bradfitz/httpsnoop/wrap_test.go
diff --git a/go-httpsnoop/buildlink3.mk b/go-httpsnoop/buildlink3.mk
new file mode 100644
index 0000000000..60c7f512af
--- /dev/null
+++ b/go-httpsnoop/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-httpsnoop
+
+.if !defined(GO_HTTPSNOOP_BUILDLINK3_MK)
+GO_HTTPSNOOP_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-httpsnoop=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-httpsnoop?=	build
+
+BUILDLINK_API_DEPENDS.go-httpsnoop+=	go-httpsnoop>=20200910
+BUILDLINK_PKGSRCDIR.go-httpsnoop?=	../../wip/go-httpsnoop
+.endif	# GO_HTTPSNOOP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-httpsnoop
diff --git a/go-httpsnoop/distinfo b/go-httpsnoop/distinfo
new file mode 100644
index 0000000000..98c6db812d
--- /dev/null
+++ b/go-httpsnoop/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (httpsnoop-20200910-80c3c2123b72a19bf86e424759ce61a51b0f5f1b.tar.gz) = 954d65204d84ae1f38b34455b06b69eb2b25e265
+RMD160 (httpsnoop-20200910-80c3c2123b72a19bf86e424759ce61a51b0f5f1b.tar.gz) = 1841d20377de55484bf7f3374ff2bca89de85a0b
+SHA512 (httpsnoop-20200910-80c3c2123b72a19bf86e424759ce61a51b0f5f1b.tar.gz) = 1353d097f55e848d1d8ea10012ba832f4c090ad0931a6ff7ad07ff5eb5b28ebf2b27c30db82ccb1cd9eb078b1f736a76ef1444b939f9aabce1e0c847188289c7
+Size (httpsnoop-20200910-80c3c2123b72a19bf86e424759ce61a51b0f5f1b.tar.gz) = 11595 bytes


Home | Main Index | Thread Index | Old Index