Skip to content

Commit

Permalink
Add non-building dstp package. Needs Go help.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmonz committed Nov 15, 2021
1 parent 6201a75 commit 8945378
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 0 deletions.
23 changes: 23 additions & 0 deletions dstp/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
TODO: Adjust the following lines from README.md

<div align="center">
<h1>dstp</h1>

[dstp](https://github.com/ycd/dstp), run common networking tests against your site.

![dstp gif](assets/dstp.png)

</div>


---

## Usage

```
Usage: dstp [OPTIONS] [ARGS]
Options:
-a, --addr <string> The URL or the IP address to run tests against [REQUIRED]
-o, --out <string> The type of the output, either json or plaintext [Default: plaintext]
-c <bool> Run all the tests concurrently. [Default: false]
...
43 changes: 43 additions & 0 deletions dstp/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# $NetBSD$

GITHUB_TAG= refs/tags/v${PKGVERSION_NOREV}
DISTNAME= dstp-0.3.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=ycd/}

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/ycd/dstp/
COMMENT= Run common networking tests against your site
LICENSE= mit

USE_LANGUAGES= # none

WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}

DEPENDS+= go-tools-[0-9]*:../../devel/go-tools

GO_MODULE_FILES+= github.com/fatih/color/@v/v1.13.0.mod
GO_MODULE_FILES+= github.com/fatih/color/@v/v1.13.0.zip
GO_MODULE_FILES+= github.com/go-ping/ping/@v/v0.0.0-20211014180314-6e2b003bffdd.mod
GO_MODULE_FILES+= github.com/go-ping/ping/@v/v0.0.0-20211014180314-6e2b003bffdd.zip
GO_MODULE_FILES+= github.com/google/uuid/@v/v1.2.0.mod
GO_MODULE_FILES+= github.com/google/uuid/@v/v1.2.0.zip
GO_MODULE_FILES+= github.com/mattn/go-colorable/@v/v0.1.9.mod
GO_MODULE_FILES+= github.com/mattn/go-colorable/@v/v0.1.9.zip
GO_MODULE_FILES+= github.com/mattn/go-isatty/@v/v0.0.12.mod
GO_MODULE_FILES+= github.com/mattn/go-isatty/@v/v0.0.14.mod
GO_MODULE_FILES+= github.com/mattn/go-isatty/@v/v0.0.14.zip
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20210316092652-d523dce5a7f4.mod
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20210316092652-d523dce5a7f4.zip
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20210220032951-036812b2e83c.mod
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20210220032951-036812b2e83c.zip
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210630005230-0f9fa26af87c.mod
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210630005230-0f9fa26af87c.zip
GO_MODULE_FILES+= golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.mod
GO_MODULE_FILES+= golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.zip

.include "../../devel/go-sys/buildlink3.mk"
.include "../../net/go-net/buildlink3.mk"
.include "../../textproc/go-text/buildlink3.mk"
.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
4 changes: 4 additions & 0 deletions dstp/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@comment $NetBSD$
@comment TODO: to fill this file with the file listing:
@comment TODO: 1. run "/opt/pkg/bin/bmake package"
@comment TODO: 2. run "/opt/pkg/bin/bmake print-PLIST"
62 changes: 62 additions & 0 deletions dstp/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
$NetBSD$

BLAKE2s (dstp-0.3.0.tar.gz) = 7fcf34c59f85a0fcda2e04361ffe4c680c584fb9f6a521236a89016ba6e4d474
SHA512 (dstp-0.3.0.tar.gz) = 909941c229c82215ba89a6ef6197b1f1f4a90eedb4b83ea96b1e31d255e9844ff5acbcba7b3d64859af9c781949372cd4bf51c9041f462c9a0bee49290668ef7
Size (dstp-0.3.0.tar.gz) = 215221 bytes
BLAKE2s (github.com_fatih_color_@v_v1.13.0.mod) = 208f13b746920e59986201882e8eca856e606ba037caf71225ed5c5ab708d446
SHA512 (github.com_fatih_color_@v_v1.13.0.mod) = 657d9220217da47372f647fee297258a13495d7c10bd75d0645a21e81c41443b7a71f8162178181396129983cb695241056f052412fc2d5c4fefb214a2a82587
Size (github.com_fatih_color_@v_v1.13.0.mod) = 126 bytes
BLAKE2s (github.com_fatih_color_@v_v1.13.0.zip) = 92e88587de3ca35762ef558e7532e7c7cc99d2acba9a9720250fc00ee32493b5
SHA512 (github.com_fatih_color_@v_v1.13.0.zip) = 64a2b414704a06e4b181984ea287a10db68e1a3af0df276da3fb8241ce7a2f5ec501dd1b8a0cb8ae093419378a6ef3b84b4ef197be66ba620ed296e9e99e68e6
Size (github.com_fatih_color_@v_v1.13.0.zip) = 12921 bytes
BLAKE2s (github.com_go-ping_ping_@v_v0.0.0-20211014180314-6e2b003bffdd.mod) = 74c1f2d356e97d801d41692bc088659dfac50a8689aaf8bb20fb59a1f7f578c7
SHA512 (github.com_go-ping_ping_@v_v0.0.0-20211014180314-6e2b003bffdd.mod) = 04d11273e8762033fdbb1e05b6045c39c83460307ed51c049b0a91a0b0cd41e6cf26abe9acf1dace54ee0bf62a7b93fa563dc6a4cc98150f190cc950aeae5dbf
Size (github.com_go-ping_ping_@v_v0.0.0-20211014180314-6e2b003bffdd.mod) = 191 bytes
BLAKE2s (github.com_go-ping_ping_@v_v0.0.0-20211014180314-6e2b003bffdd.zip) = a3dcd6cfb1eb460322ff5c8caeb80861613a6722f57eedb39d40a20f76ff143a
SHA512 (github.com_go-ping_ping_@v_v0.0.0-20211014180314-6e2b003bffdd.zip) = 9a0e087923510c5ee6b0227dd4782dab9e98a1d3474973d0fd3dc891046fd2638140c9d5448432aa63f142ea2d5affaa03024994257f5ea41f1e5e2dcd69b6ad
Size (github.com_go-ping_ping_@v_v0.0.0-20211014180314-6e2b003bffdd.zip) = 21814 bytes
BLAKE2s (github.com_google_uuid_@v_v1.2.0.mod) = 4950daf6c771a2feda754cc244ccb1881f07c2cb2b780da0d81b7f5e991a5c00
SHA512 (github.com_google_uuid_@v_v1.2.0.mod) = 695f3424e0cc247a069fbd6b94820554e003030eb0e208ba7be38f660c5fc29f74a057e60031ec77918b5b320913d6deabdf19a0f0666b0f5bc5e2724e1fddba
Size (github.com_google_uuid_@v_v1.2.0.mod) = 30 bytes
BLAKE2s (github.com_google_uuid_@v_v1.2.0.zip) = 632cf89112a06f6d7e3bb6b32e4013d6e022fbc17b215659235140ad715b4224
SHA512 (github.com_google_uuid_@v_v1.2.0.zip) = eef3b3444dce760fb6cbca5e22f3fcb33fd418e2b54509e80a2150cc644f41a05a59f0acfb7fee386c994dca06d96f4cd023fa192aab368be08ef20eac4a626b
Size (github.com_google_uuid_@v_v1.2.0.zip) = 21941 bytes
BLAKE2s (github.com_mattn_go-colorable_@v_v0.1.9.mod) = 58d00143e20a194aeb7e9d7af6790e28ec6e813b3cc563fa342cba1dcc61b134
SHA512 (github.com_mattn_go-colorable_@v_v0.1.9.mod) = 60840c731813699f19e9a23f3cc0e890c0b0e8228510b0021aa2696f35f3aefa1fc06eb396c5035214ac185816d5757896da1bfaf59e2dd24ca750f5b792e6c5
Size (github.com_mattn_go-colorable_@v_v0.1.9.mod) = 160 bytes
BLAKE2s (github.com_mattn_go-colorable_@v_v0.1.9.zip) = 14af3d5041caff12078f88c1933004c0e357b8f998cf4f4969079906f4450df9
SHA512 (github.com_mattn_go-colorable_@v_v0.1.9.zip) = f4d58021a6eb37c7878f2efd6466cf0395b73426de11d929d4822feb4fc7358ccf7a7b21a5275432f51149c0e8e04dcd74d3558e03bb316b8c8f2486ed8bba0f
Size (github.com_mattn_go-colorable_@v_v0.1.9.zip) = 13700 bytes
BLAKE2s (github.com_mattn_go-isatty_@v_v0.0.12.mod) = bfe9466b5bbed9a985efbf5ea4cdd6a6da9e51c7d1e8f7e354a7c7338a3145c0
SHA512 (github.com_mattn_go-isatty_@v_v0.0.12.mod) = 7bd9f6a38aa9a16c3569142164389d1c4046170f66b5e9044f7aaa3192e9d2e2ccec486e3bc7fbac868c9693b6d333068c1a34ccd9e79dec1746a86348951503
Size (github.com_mattn_go-isatty_@v_v0.0.12.mod) = 104 bytes
BLAKE2s (github.com_mattn_go-isatty_@v_v0.0.14.mod) = 927c4e44c809a70af5d278922fe3bc89f7fb0a7f8642c31c6b91d9b9c463f5b0
SHA512 (github.com_mattn_go-isatty_@v_v0.0.14.mod) = 23b01eb4023ff5018437ff98b55ada053eba49feab2777eed36d033f426c5456b143f3defbc3131dad1251205f3ffb3553e3c10bd98de80f0a462e8450d6d56c
Size (github.com_mattn_go-isatty_@v_v0.0.14.mod) = 104 bytes
BLAKE2s (github.com_mattn_go-isatty_@v_v0.0.14.zip) = 8c839f738b2a9ba146e7277081821411cf1868fc565e71ed60c792428c95599d
SHA512 (github.com_mattn_go-isatty_@v_v0.0.14.zip) = c6401cf5af80ea2495cb63800ff39fb9490f212f3aae0ac1d86b3d37ce6734eb35aea00b35bd26532feab77ef80322e765925f302d77f664dd57163f67a8374e
Size (github.com_mattn_go-isatty_@v_v0.0.14.zip) = 8919 bytes
BLAKE2s (golang.org_x_net_@v_v0.0.0-20210316092652-d523dce5a7f4.mod) = cc66c432e6f6e90b89cb41364cac65334fe4d26bc5e1a89bb9b4ca14a1e195d1
SHA512 (golang.org_x_net_@v_v0.0.0-20210316092652-d523dce5a7f4.mod) = 22eca632a9bff1e24cdbbd1060a6c8a1aaf3bf7e06aa96b40f1848877cab00b8687309b9466f703664c4988264fb5a62ee99bc216038bf1096bc21fa27ef988b
Size (golang.org_x_net_@v_v0.0.0-20210316092652-d523dce5a7f4.mod) = 179 bytes
BLAKE2s (golang.org_x_net_@v_v0.0.0-20210316092652-d523dce5a7f4.zip) = b6c2a6ee87ba9453a303acc7204cd36158ba8df3981ffdc3e602fd330b2776ca
SHA512 (golang.org_x_net_@v_v0.0.0-20210316092652-d523dce5a7f4.zip) = b8f1cf61c9a2d8cf21caae01f8f7a4324f00e36002a95e84deab25d67ea02349dbc02140b8fa266eaa36057d4434c99c439f87b407e661ab95ca26051f2a7815
Size (golang.org_x_net_@v_v0.0.0-20210316092652-d523dce5a7f4.zip) = 1586828 bytes
BLAKE2s (golang.org_x_sync_@v_v0.0.0-20210220032951-036812b2e83c.mod) = 0524d428f3fcb8a923eb2717aacc5f3b26a68c2b9ac636b9505d1820d6b32ede
SHA512 (golang.org_x_sync_@v_v0.0.0-20210220032951-036812b2e83c.mod) = a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
Size (golang.org_x_sync_@v_v0.0.0-20210220032951-036812b2e83c.mod) = 25 bytes
BLAKE2s (golang.org_x_sync_@v_v0.0.0-20210220032951-036812b2e83c.zip) = a0dbb81c68bf5b27eb629e90bd5f496d2dd5c5f5cf90ad310b562e289a4befd6
SHA512 (golang.org_x_sync_@v_v0.0.0-20210220032951-036812b2e83c.zip) = 48b983589bd682ff9275c47733ec73637ebb5e58e1bca0c7744101229237d5cb34170efab63db0061aec857052cce9ef03c3497702b90a86287e6be88e1b33aa
Size (golang.org_x_sync_@v_v0.0.0-20210220032951-036812b2e83c.zip) = 28693 bytes
BLAKE2s (golang.org_x_sys_@v_v0.0.0-20210630005230-0f9fa26af87c.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
SHA512 (golang.org_x_sys_@v_v0.0.0-20210630005230-0f9fa26af87c.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
Size (golang.org_x_sys_@v_v0.0.0-20210630005230-0f9fa26af87c.mod) = 33 bytes
BLAKE2s (golang.org_x_sys_@v_v0.0.0-20210630005230-0f9fa26af87c.zip) = 17efc732b511e875060930a376cebdce1b6a3b9a27a142b448ccf1f38f7a7567
SHA512 (golang.org_x_sys_@v_v0.0.0-20210630005230-0f9fa26af87c.zip) = 6a36b9dd8ab6582abf0721e3fdfd19c2cbf9caf02a2f8aeff8952175553e35ab9f9972c2e524ad947e51e24f5eaee23984fc1670d512c04e50b2d71890c5d392
Size (golang.org_x_sys_@v_v0.0.0-20210630005230-0f9fa26af87c.zip) = 1646674 bytes
BLAKE2s (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = ea6d2006c1c11da8c2174212a63865a04dec1775f98210c17f3a0cb8d4a1a80f
SHA512 (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08
Size (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = 95 bytes
BLAKE2s (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.zip) = 589b6eb654aba7bc8013335ded196de3cc21dccf4805e83602cbef73de8bf376
SHA512 (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.zip) = 267fab133c0ae306a1f484d17a9c3bc7bafb1ae77df3412ea4047de34a940b6425524a93b7b41d010cbf32160482fa3a370f93654e4ff73b6d11e45463bc185a
Size (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.zip) = 23281 bytes

0 comments on commit 8945378

Please sign in to comment.