git: badcbf197aa1 - main - net/nats-nsc: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Feb 2022 12:15:20 UTC
The branch main has been updated by olgeni: URL: https://cgit.FreeBSD.org/ports/commit/?id=badcbf197aa13b974ae6c5c41be1a7afe69806dd commit badcbf197aa13b974ae6c5c41be1a7afe69806dd Author: Jimmy Olgeni <olgeni@FreeBSD.org> AuthorDate: 2022-02-26 19:10:45 +0000 Commit: Jimmy Olgeni <olgeni@FreeBSD.org> CommitDate: 2022-02-27 12:13:38 +0000 net/nats-nsc: add new port This is a tool for creating NATS account and user access configurations. --- net/Makefile | 1 + net/nats-nsc/Makefile | 74 +++++++++++++++++++++++++++++++++++++++ net/nats-nsc/distinfo | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++ net/nats-nsc/pkg-descr | 5 +++ 4 files changed, 175 insertions(+) diff --git a/net/Makefile b/net/Makefile index da4bee57f9e8..7b4ff968b8aa 100644 --- a/net/Makefile +++ b/net/Makefile @@ -486,6 +486,7 @@ SUBDIR += nanomsg SUBDIR += nast SUBDIR += nats-nkeys + SUBDIR += nats-nsc SUBDIR += nats-server SUBDIR += nats-streaming-server SUBDIR += nats-top diff --git a/net/nats-nsc/Makefile b/net/nats-nsc/Makefile new file mode 100644 index 000000000000..93acafb8ffe9 --- /dev/null +++ b/net/nats-nsc/Makefile @@ -0,0 +1,74 @@ +PORTNAME= nsc +PORTVERSION= 2.6.1 +CATEGORIES= net +PKGNAMEPREFIX= nats- + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Tool for creating NATS account and user access configurations + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} +USE_GITHUB= yes +GH_ACCOUNT= nats-io +GH_TUPLE= AlecAivazis:survey:v2.0.4:alecaivazis_survey_v2/vendor/github.com/AlecAivazis/survey/v2 \ + blang:semver:v3.5.1:blang_semver/vendor/github.com/blang/semver \ + briandowns:spinner:195c31b675a7:briandowns_spinner/vendor/github.com/briandowns/spinner \ + cpuguy83:go-md2man:v1.0.10:cpuguy83_go_md2man/vendor/github.com/cpuguy83/go-md2man \ + davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ + dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ + fatih:color:v1.9.0:fatih_color/vendor/github.com/fatih/color \ + go-yaml:yaml:9f266ea9e77c:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ + go-yaml:yaml:v2.2.2:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ + golang:appengine:v1.3.0:golang_appengine/vendor/google.golang.org/appengine \ + golang:crypto:5ff15b29337e:golang_crypto/vendor/golang.org/x/crypto \ + golang:net:e18ecbb05110:golang_net/vendor/golang.org/x/net \ + golang:oauth2:d668ce993890:golang_oauth2/vendor/golang.org/x/oauth2 \ + golang:protobuf:v1.4.2:golang_protobuf/vendor/github.com/golang/protobuf \ + golang:sys:69cdffdb9359:golang_sys/vendor/golang.org/x/sys \ + golang:time:89c76fbcd5d1:golang_time/vendor/golang.org/x/time \ + google:go-github:v30.1.0:google_go_github_v30/vendor/github.com/google/go-github/v30 \ + google:go-querystring:v1.0.0:google_go_querystring/vendor/github.com/google/go-querystring \ + inconshreveable:go-update:8152e7eb6ccf:inconshreveable_go_update/vendor/github.com/inconshreveable/go-update \ + inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ + kballard:go-shellquote:95032a82bc51:kballard_go_shellquote/vendor/github.com/kballard/go-shellquote \ + klauspost:compress:v1.13.4:klauspost_compress/vendor/github.com/klauspost/compress \ + mattn:go-colorable:v0.1.4:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ + mattn:go-isatty:v0.0.11:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ + mgutz:ansi:9520e82c474b:mgutz_ansi/vendor/github.com/mgutz/ansi \ + minio:highwayhash:v1.0.1:minio_highwayhash/vendor/github.com/minio/highwayhash \ + mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \ + mitchellh:go-wordwrap:v1.0.0:mitchellh_go_wordwrap/vendor/github.com/mitchellh/go-wordwrap \ + nats-io:cliprompts:372d79b36768:nats_io_cliprompts_v2/vendor/github.com/nats-io/cliprompts \ + nats-io:jwt:v1.2.2:nats_io_jwt/vendor/github.com/nats-io/jwt \ + nats-io:jwt:v2.2.0:nats_io_jwt_v2 \ + nats-io:nats-server:v2.6.4:nats_io_nats_server_v2/vendor/github.com/nats-io/nats-server/v2 \ + nats-io:nats.go:f2416a8b1483:nats_io_nats_go/vendor/github.com/nats-io/nats.go \ + nats-io:nkeys:v0.3.0:nats_io_nkeys/vendor/github.com/nats-io/nkeys \ + nats-io:nuid:v1.0.1:nats_io_nuid/vendor/github.com/nats-io/nuid \ + onsi:gomega:v1.4.3:onsi_gomega/vendor/github.com/onsi/gomega \ + pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ + protocolbuffers:protobuf-go:v1.23.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ + rhysd:go-github-selfupdate:v1.2.2:rhysd_go_github_selfupdate/vendor/github.com/rhysd/go-github-selfupdate \ + russross:blackfriday:v1.5.2:russross_blackfriday/vendor/github.com/russross/blackfriday \ + spf13:cobra:v0.0.3:spf13_cobra/vendor/github.com/spf13/cobra \ + spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \ + stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \ + tcnksm:go-gitconfig:v0.1.2:tcnksm_go_gitconfig/vendor/github.com/tcnksm/go-gitconfig \ + ulikunitz:xz:v0.5.8:ulikunitz_xz/vendor/github.com/ulikunitz/xz \ + xlab:tablewriter:80b567a11ad5:xlab_tablewriter/vendor/github.com/xlab/tablewriter + +PLIST_FILES= bin/nsc \ + share/doc/${PORTNAME}/README.md + +post-extract: + @${RM} -r ${WRKSRC}/vendor/github.com/nats-io/jwt/v2 + @${RLN} ${WRKSRC_nats_io_jwt_v2}/v2 ${WRKSRC}/vendor/github.com/nats-io/jwt/v2 + +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/net/nats-nsc/distinfo b/net/nats-nsc/distinfo new file mode 100644 index 000000000000..e5d8b841cb2f --- /dev/null +++ b/net/nats-nsc/distinfo @@ -0,0 +1,95 @@ +TIMESTAMP = 1645897077 +SHA256 (nats-io-nsc-2.6.1_GH0.tar.gz) = 4e96896fa0e44488af863821cca574462024caa1af7844ce5670503c5af8f6f4 +SIZE (nats-io-nsc-2.6.1_GH0.tar.gz) = 3179325 +SHA256 (AlecAivazis-survey-v2.0.4_GH0.tar.gz) = 6beef8372a03c7461901640ff349214104a27ef36ff8a86416bee01c6794fb1e +SIZE (AlecAivazis-survey-v2.0.4_GH0.tar.gz) = 1324023 +SHA256 (blang-semver-v3.5.1_GH0.tar.gz) = 3d9da53f4c2d3169bfa9b25f2f36f301a37556a47259c870881524c643c69c57 +SIZE (blang-semver-v3.5.1_GH0.tar.gz) = 14831 +SHA256 (briandowns-spinner-195c31b675a7_GH0.tar.gz) = 0f101e31af26106584ed743787d17d9e5198418060b8f299f5cef2f368c10c9e +SIZE (briandowns-spinner-195c31b675a7_GH0.tar.gz) = 199915 +SHA256 (cpuguy83-go-md2man-v1.0.10_GH0.tar.gz) = 76aa56849123b99b95fcea2b15502fd886dead9a5c35be7f78bdc2bad6be8d99 +SIZE (cpuguy83-go-md2man-v1.0.10_GH0.tar.gz) = 43936 +SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e +SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152 +SHA256 (dustin-go-humanize-v1.0.0_GH0.tar.gz) = e4540bd50ac855143b4f2e509313079c50cf5d8774f09cc10dbca5ae9803d8ba +SIZE (dustin-go-humanize-v1.0.0_GH0.tar.gz) = 17260 +SHA256 (fatih-color-v1.9.0_GH0.tar.gz) = f5a6372ff7c87d22baaa2089e5cdd8a218fb3a9be047195c0ab421d5340f6f3f +SIZE (fatih-color-v1.9.0_GH0.tar.gz) = 1230941 +SHA256 (go-yaml-yaml-9f266ea9e77c_GH0.tar.gz) = 63efc9aabcbb56b2c9469927784fd67ecb3a79720c4fa754c511335a04156d04 +SIZE (go-yaml-yaml-9f266ea9e77c_GH0.tar.gz) = 86898 +SHA256 (go-yaml-yaml-v2.2.2_GH0.tar.gz) = 42c3e4ef9eca2860d22b3c6c5582c6c13fb4b417e5ebc1acc56ee5e2c4ddcaff +SIZE (go-yaml-yaml-v2.2.2_GH0.tar.gz) = 70656 +SHA256 (golang-appengine-v1.3.0_GH0.tar.gz) = 95ba88192b1ede71b0b32edef442bef026333cb1e3172fe8bb64c92d19d593be +SIZE (golang-appengine-v1.3.0_GH0.tar.gz) = 323617 +SHA256 (golang-crypto-5ff15b29337e_GH0.tar.gz) = 094d3a6563b4e2d7ce5e4ac2ff5f79bc14a4a7111a3310270e63505705a43cb6 +SIZE (golang-crypto-5ff15b29337e_GH0.tar.gz) = 1732042 +SHA256 (golang-net-e18ecbb05110_GH0.tar.gz) = c30374f6fd34c6b77d53224aa3ba7458e3773d7e6e4fa16d88fb05c7d05e0e89 +SIZE (golang-net-e18ecbb05110_GH0.tar.gz) = 1253124 +SHA256 (golang-oauth2-d668ce993890_GH0.tar.gz) = 2fe03fa2746c131a27950a8d30753bb70c486ed19b4bacc02aa31bcd6879da89 +SIZE (golang-oauth2-d668ce993890_GH0.tar.gz) = 43293 +SHA256 (golang-protobuf-v1.4.2_GH0.tar.gz) = a1e486b3ed6f502c43e10cb28bde4e8f020a420ef9958d3fbe61801492c07c87 +SIZE (golang-protobuf-v1.4.2_GH0.tar.gz) = 171778 +SHA256 (golang-sys-69cdffdb9359_GH0.tar.gz) = dfd2480a49546a3ee1ccc5b9426928bc3ecb15b803a6ebf73c872b2a4d0331f8 +SIZE (golang-sys-69cdffdb9359_GH0.tar.gz) = 1221182 +SHA256 (golang-time-89c76fbcd5d1_GH0.tar.gz) = 376a3855d3a951c848f1d3dc8eddf4b91b035f0e7ec3577359aa490b7b056abb +SIZE (golang-time-89c76fbcd5d1_GH0.tar.gz) = 9605 +SHA256 (google-go-github-v30.1.0_GH0.tar.gz) = c567f346693063e9c8407c04f8721d522b067d6e24d16a9a3d0701afbb91d3cb +SIZE (google-go-github-v30.1.0_GH0.tar.gz) = 289468 +SHA256 (google-go-querystring-v1.0.0_GH0.tar.gz) = 59fdfd4d740c85c60c35d3e09b587cfa2b435e78178ac4a23950afbece7118ed +SIZE (google-go-querystring-v1.0.0_GH0.tar.gz) = 7529 +SHA256 (inconshreveable-go-update-8152e7eb6ccf_GH0.tar.gz) = 507bf16c9e400a4e86954357534d932a18a3c9bbfdd1d6b8f58ddf33b84f7001 +SIZE (inconshreveable-go-update-8152e7eb6ccf_GH0.tar.gz) = 27137 +SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6 +SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290 +SHA256 (kballard-go-shellquote-95032a82bc51_GH0.tar.gz) = dde336eb697f7f9c26cf6d1467f75b6cf559262c1b0b110d28fff29790f76bc5 +SIZE (kballard-go-shellquote-95032a82bc51_GH0.tar.gz) = 4328 +SHA256 (klauspost-compress-v1.13.4_GH0.tar.gz) = e25c9621fd3306e2e2939c8aaf79f74929a6c415e75a34e29536cac2d3ec57ab +SIZE (klauspost-compress-v1.13.4_GH0.tar.gz) = 15446158 +SHA256 (mattn-go-colorable-v0.1.4_GH0.tar.gz) = 157806ad8125e6bef4d9b58c9125ccb98a8343136f93faf442ab0cc6e7c24c11 +SIZE (mattn-go-colorable-v0.1.4_GH0.tar.gz) = 8981 +SHA256 (mattn-go-isatty-v0.0.11_GH0.tar.gz) = 631fab18253998a4e27e9d260c445e9852bd86cf5a42693623d305c3e59c415a +SIZE (mattn-go-isatty-v0.0.11_GH0.tar.gz) = 4396 +SHA256 (mgutz-ansi-9520e82c474b_GH0.tar.gz) = f9203c71aceb8b7ffa87181fd8f51dc69acce3d2161c4c017ea92c6840f85093 +SIZE (mgutz-ansi-9520e82c474b_GH0.tar.gz) = 4876 +SHA256 (minio-highwayhash-v1.0.1_GH0.tar.gz) = aa1fd01cd0c16d362e8e8a522f1bed6ccff76fb55107e6f5478b1b7bd329e951 +SIZE (minio-highwayhash-v1.0.1_GH0.tar.gz) = 22967 +SHA256 (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 646671c73a84a8dfb4a5a76b80c7b63549ffefa906524d45077301bc7da76600 +SIZE (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 3362 +SHA256 (mitchellh-go-wordwrap-v1.0.0_GH0.tar.gz) = 9bcf5c1f8b66594c73f606502bb3d9713d862a71ea66d8641e2a0b7bb66cb252 +SIZE (mitchellh-go-wordwrap-v1.0.0_GH0.tar.gz) = 2777 +SHA256 (nats-io-cliprompts-372d79b36768_GH0.tar.gz) = 1c6b1b1d0114360419faf0ba0ed122d97f91e7570d4c6700153c2fbd7b231c31 +SIZE (nats-io-cliprompts-372d79b36768_GH0.tar.gz) = 12769 +SHA256 (nats-io-jwt-v1.2.2_GH0.tar.gz) = 67de1c53bb1762b67e06cc98fb11141a31d4222c26765e1ba4640ed1b6722069 +SIZE (nats-io-jwt-v1.2.2_GH0.tar.gz) = 71040 +SHA256 (nats-io-jwt-v2.2.0_GH0.tar.gz) = 4a00ee6420463643a1b57bda875583ec6824c19771573daad102d3a0f06d4efc +SIZE (nats-io-jwt-v2.2.0_GH0.tar.gz) = 80501 +SHA256 (nats-io-nats-server-v2.6.4_GH0.tar.gz) = c6712025b9bed326f758954f90d2585b5a505636cc2fd339b0b38776bd74dab0 +SIZE (nats-io-nats-server-v2.6.4_GH0.tar.gz) = 2724308 +SHA256 (nats-io-nats.go-f2416a8b1483_GH0.tar.gz) = 179760c7b7164d93ae9e5bf74ff802dd8a1dd0eba7af0478a20570b9f4b45871 +SIZE (nats-io-nats.go-f2416a8b1483_GH0.tar.gz) = 243383 +SHA256 (nats-io-nkeys-v0.3.0_GH0.tar.gz) = ea281df5dc380b84f61c3712b367f02957cff4cb7802e73b2b0b7588e4f6b809 +SIZE (nats-io-nkeys-v0.3.0_GH0.tar.gz) = 19986 +SHA256 (nats-io-nuid-v1.0.1_GH0.tar.gz) = a0b4fe5b40781add2a9fdb5d723313be5f5d11c1a79ea1dd2671278826ef078d +SIZE (nats-io-nuid-v1.0.1_GH0.tar.gz) = 7529 +SHA256 (onsi-gomega-v1.4.3_GH0.tar.gz) = ee4dc5a8bdcf403b631f9e44b996730a36072f06e9aeeb4c527d3c764db37902 +SIZE (onsi-gomega-v1.4.3_GH0.tar.gz) = 87325 +SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda +SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398 +SHA256 (protocolbuffers-protobuf-go-v1.23.0_GH0.tar.gz) = e7266bedaa4f110216fce52ae533dc5eba475d3829bb0592e8876684e202ae1f +SIZE (protocolbuffers-protobuf-go-v1.23.0_GH0.tar.gz) = 1214648 +SHA256 (rhysd-go-github-selfupdate-v1.2.2_GH0.tar.gz) = 36859283791d8b8f978debb51f8d76c2c8d304e94f4f0627678afeb22a06ae19 +SIZE (rhysd-go-github-selfupdate-v1.2.2_GH0.tar.gz) = 29410 +SHA256 (russross-blackfriday-v1.5.2_GH0.tar.gz) = 626138a08abb8579474a555e9d45cb5260629a2c07e8834428620a650dc9f195 +SIZE (russross-blackfriday-v1.5.2_GH0.tar.gz) = 75779 +SHA256 (spf13-cobra-v0.0.3_GH0.tar.gz) = 7eafb953b58fdd738c4db5202d94a0b6ac0de4f07718fc85a80450c2347c2f9c +SIZE (spf13-cobra-v0.0.3_GH0.tar.gz) = 101526 +SHA256 (spf13-pflag-v1.0.3_GH0.tar.gz) = 9e57f86f493f04d9077fccd04e7139ebf243dd544e917ab83d35729b3e54a124 +SIZE (spf13-pflag-v1.0.3_GH0.tar.gz) = 46002 +SHA256 (stretchr-testify-v1.7.0_GH0.tar.gz) = 560c0984072cb436b17bbce5699b205d5aa2beb58ef7a94530d7724b5739a8d6 +SIZE (stretchr-testify-v1.7.0_GH0.tar.gz) = 91073 +SHA256 (tcnksm-go-gitconfig-v0.1.2_GH0.tar.gz) = 719be614d7ef0c60b6ac2cc745eb67abb0328e9c37c5fc4a30fb8070b9d2ecbc +SIZE (tcnksm-go-gitconfig-v0.1.2_GH0.tar.gz) = 4468 +SHA256 (ulikunitz-xz-v0.5.8_GH0.tar.gz) = 55390974e162efe975940569da7110185ac81a52c3c8f556f289dffc1483600f +SIZE (ulikunitz-xz-v0.5.8_GH0.tar.gz) = 478381 +SHA256 (xlab-tablewriter-80b567a11ad5_GH0.tar.gz) = 2e5155cfc91a39b7b52e79a44764a3ba1701c74cb56f3f970fe2afb72b2a779e +SIZE (xlab-tablewriter-80b567a11ad5_GH0.tar.gz) = 18085 diff --git a/net/nats-nsc/pkg-descr b/net/nats-nsc/pkg-descr new file mode 100644 index 000000000000..fe8117cbdd8a --- /dev/null +++ b/net/nats-nsc/pkg-descr @@ -0,0 +1,5 @@ +NATS is an open-source, cloud-native messaging system. + +This is a tool for creating NATS account and user access configurations. + +WWW: https://github.com/nats-io/nsc