Date: Wed, 21 Aug 2019 20:52:24 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509563 - in head/devel: . goswagger Message-ID: <201908212052.x7LKqOP6057418@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Wed Aug 21 20:52:23 2019 New Revision: 509563 URL: https://svnweb.freebsd.org/changeset/ports/509563 Log: New port: devel/goswagger: Swagger 2.0 implementation for Go Submitted by: Dmitri Goutnik <dg@syrec.org> Added: head/devel/goswagger/ head/devel/goswagger/Makefile (contents, props changed) head/devel/goswagger/distinfo (contents, props changed) head/devel/goswagger/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Aug 21 20:43:23 2019 (r509562) +++ head/devel/Makefile Wed Aug 21 20:52:23 2019 (r509563) @@ -881,6 +881,7 @@ SUBDIR += googletest SUBDIR += goprotobuf SUBDIR += gorm + SUBDIR += goswagger SUBDIR += govendor SUBDIR += gperf SUBDIR += gperf31 Added: head/devel/goswagger/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/goswagger/Makefile Wed Aug 21 20:52:23 2019 (r509563) @@ -0,0 +1,77 @@ +# $FreeBSD$ + +PORTNAME= goswagger +DISTVERSIONPREFIX= v +DISTVERSION= 0.20.1 +CATEGORIES= devel + +MAINTAINER= dg@syrec.org +COMMENT= Swagger 2.0 implementation for Go + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +USE_GITHUB= yes +GH_ACCOUNT= go-swagger +GH_PROJECT= go-swagger +GH_TUPLE= \ + PuerkitoBio:purell:v1.1.1:puerkitobio_purell/vendor/github.com/PuerkitoBio/purell \ + PuerkitoBio:urlesc:de5bf2ad4578:puerkitobio_urlesc/vendor/github.com/PuerkitoBio/urlesc \ + asaskevich:govalidator:f61b66f89f4a:asaskevich_govalidator/vendor/github.com/asaskevich/govalidator \ + corbym:gocrest:v1.0.3:corbym_gocrest/vendor/github.com/corbym/gocrest \ + coreos:go-oidc:v2.1.0:coreos_go_oidc/vendor/github.com/coreos/go-oidc \ + davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ + dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \ + docker:go-units:v0.4.0:docker_go_units/vendor/github.com/docker/go-units \ + fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ + go-openapi:analysis:v0.19.4:go_openapi_analysis/vendor/github.com/go-openapi/analysis \ + go-openapi:errors:v0.19.2:go_openapi_errors/vendor/github.com/go-openapi/errors \ + go-openapi:inflect:v0.19.0:go_openapi_inflect/vendor/github.com/go-openapi/inflect \ + go-openapi:jsonpointer:v0.19.2:go_openapi_jsonpointer/vendor/github.com/go-openapi/jsonpointer \ + go-openapi:jsonreference:v0.19.2:go_openapi_jsonreference/vendor/github.com/go-openapi/jsonreference \ + go-openapi:loads:v0.19.2:go_openapi_loads/vendor/github.com/go-openapi/loads \ + go-openapi:runtime:v0.19.4:go_openapi_runtime/vendor/github.com/go-openapi/runtime \ + go-openapi:spec:v0.19.2:go_openapi_spec/vendor/github.com/go-openapi/spec \ + go-openapi:strfmt:v0.19.2:go_openapi_strfmt/vendor/github.com/go-openapi/strfmt \ + go-openapi:swag:v0.19.5:go_openapi_swag/vendor/github.com/go-openapi/swag \ + go-openapi:validate:v0.19.2:go_openapi_validate/vendor/github.com/go-openapi/validate \ + go-stack:stack:v1.8.0:go_stack_stack/vendor/github.com/go-stack/stack \ + go-swagger:scan-repo-boundary:973b3573c013:go_swagger_scan_repo_boundary/vendor/github.com/go-swagger/scan-repo-boundary \ + go-yaml:yaml:v2.2.2:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ + golang:appengine:v1.6.1:golang_appengine/vendor/google.golang.org/appengine \ + golang:crypto:4def268fd1a4:golang_crypto/vendor/golang.org/x/crypto \ + golang:net:74dc4d7220e7:golang_net/vendor/golang.org/x/net \ + golang:oauth2:0f29369cfe45:golang_oauth2/vendor/golang.org/x/oauth2 \ + golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \ + golang:sys:fde4db37ae7a:golang_sys/vendor/golang.org/x/sys \ + golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \ + golang:tools:85edb9ef3283:golang_tools/vendor/golang.org/x/tools \ + gorilla:handlers:v1.4.2:gorilla_handlers/vendor/github.com/gorilla/handlers \ + hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ + jessevdk:go-flags:v1.4.0:jessevdk_go_flags/vendor/github.com/jessevdk/go-flags \ + kr:pretty:v0.1.0:kr_pretty/vendor/github.com/kr/pretty \ + kr:text:v0.1.0:kr_text/vendor/github.com/kr/text \ + magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \ + mailru:easyjson:b2ccc519800e:mailru_easyjson/vendor/github.com/mailru/easyjson \ + mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ + mongodb:mongo-go-driver:v1.1.0:mongodb_mongo_go_driver/vendor/go.mongodb.org/mongo-driver \ + pelletier:go-toml:v1.4.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ + pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \ + pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ + pquerna:cachecontrol:1555304b9b35:pquerna_cachecontrol/vendor/github.com/pquerna/cachecontrol \ + spf13:afero:v1.2.2:spf13_afero/vendor/github.com/spf13/afero \ + spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \ + spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ + spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \ + spf13:viper:v1.4.0:spf13_viper/vendor/github.com/spf13/viper \ + square:go-jose:v2.3.1:square_go_jose/vendor/gopkg.in/square/go-jose.v2 \ + stretchr:testify:v1.4.0:stretchr_testify/vendor/github.com/stretchr/testify \ + toqueteos:webbrowser:v1.2.0:toqueteos_webbrowser/vendor/github.com/toqueteos/webbrowser + +GO_TARGET= ./cmd/swagger + +PLIST_FILES= bin/swagger + +.include <bsd.port.mk> Added: head/devel/goswagger/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/goswagger/distinfo Wed Aug 21 20:52:23 2019 (r509563) @@ -0,0 +1,107 @@ +TIMESTAMP = 1566404646 +SHA256 (go-swagger-go-swagger-v0.20.1_GH0.tar.gz) = f4add538fdbd5d9d766244bb5d1db038326c9ed6de87e2fa934123bde466226f +SIZE (go-swagger-go-swagger-v0.20.1_GH0.tar.gz) = 2847345 +SHA256 (PuerkitoBio-purell-v1.1.1_GH0.tar.gz) = 93e2ae2b12fc656ecc7ca28336009d24431247d2af59949c59fdef26ecc9a971 +SIZE (PuerkitoBio-purell-v1.1.1_GH0.tar.gz) = 11604 +SHA256 (PuerkitoBio-urlesc-de5bf2ad4578_GH0.tar.gz) = e1d470b13efcab6d4dea96a3cdb986b8a29a06c05d1b80399f0e58caef5ca932 +SIZE (PuerkitoBio-urlesc-de5bf2ad4578_GH0.tar.gz) = 6796 +SHA256 (asaskevich-govalidator-f61b66f89f4a_GH0.tar.gz) = 7e241314ac30b59d9dc6ead8e902de94e07135486694e4e7ef0dc97eaf42c40e +SIZE (asaskevich-govalidator-f61b66f89f4a_GH0.tar.gz) = 51800 +SHA256 (corbym-gocrest-v1.0.3_GH0.tar.gz) = a24765dceb5b6c209cee0d4ce8f6af9641c1261969954f3cc5c788525a660caf +SIZE (corbym-gocrest-v1.0.3_GH0.tar.gz) = 11199 +SHA256 (coreos-go-oidc-v2.1.0_GH0.tar.gz) = 8173234f7f4b525907bcc6fb9e3c0a0c0f89be02156c563e1955ff9ac018085b +SIZE (coreos-go-oidc-v2.1.0_GH0.tar.gz) = 22842 +SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e +SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152 +SHA256 (dgrijalva-jwt-go-v3.2.0_GH0.tar.gz) = 197465ef53219f3aeb1a6940b70e16d288fe4e4108d4831b91ea101118440e63 +SIZE (dgrijalva-jwt-go-v3.2.0_GH0.tar.gz) = 36960 +SHA256 (docker-go-units-v0.4.0_GH0.tar.gz) = b411f15ca9b419880006f3944b8ec87dc3fe15cbba3beb6e04f2c03f9ea8370b +SIZE (docker-go-units-v0.4.0_GH0.tar.gz) = 11514 +SHA256 (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = b7530d973d0ab0e58ad8ce1b9a4b963d6f57b3d72f2f9e13d49846976361b1cd +SIZE (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = 31139 +SHA256 (go-openapi-analysis-v0.19.4_GH0.tar.gz) = 3997d234103b30c20eaec8627f9c67f296696b71c01c8910961552b6a0eb1093 +SIZE (go-openapi-analysis-v0.19.4_GH0.tar.gz) = 145847 +SHA256 (go-openapi-errors-v0.19.2_GH0.tar.gz) = 9de2d613f203fcdafacb58385dcddca02af8ad98575ffbf65f0cd2c326b31f81 +SIZE (go-openapi-errors-v0.19.2_GH0.tar.gz) = 16875 +SHA256 (go-openapi-inflect-v0.19.0_GH0.tar.gz) = f9305b7742a53f07083f156a7e83c4ebfac25871d2c080119dee57f7a1526341 +SIZE (go-openapi-inflect-v0.19.0_GH0.tar.gz) = 9730 +SHA256 (go-openapi-jsonpointer-v0.19.2_GH0.tar.gz) = 58d9cb74c4f5a3b254e68310cb37c84c1c224de8fedb098327c1514e5cb5e5ae +SIZE (go-openapi-jsonpointer-v0.19.2_GH0.tar.gz) = 15303 +SHA256 (go-openapi-jsonreference-v0.19.2_GH0.tar.gz) = 5dbdcb4f8c7bf2a39b206099d5f050b888e81dbb8a09fb30e81ea95f65bd89ab +SIZE (go-openapi-jsonreference-v0.19.2_GH0.tar.gz) = 13662 +SHA256 (go-openapi-loads-v0.19.2_GH0.tar.gz) = d02a1fac9a6a58ff45366f093326e965e3653d5adfdb58893bf4d5d5a6345730 +SIZE (go-openapi-loads-v0.19.2_GH0.tar.gz) = 43427 +SHA256 (go-openapi-runtime-v0.19.4_GH0.tar.gz) = a40d2f8367e1dd33498ad2c6cd99869002c0f1467ea734bcd16786d6530f5476 +SIZE (go-openapi-runtime-v0.19.4_GH0.tar.gz) = 119324 +SHA256 (go-openapi-spec-v0.19.2_GH0.tar.gz) = fc460d2db23c1ced74e548ded720df92ef4232d0671c8ed48770b9e8b2fb34d9 +SIZE (go-openapi-spec-v0.19.2_GH0.tar.gz) = 217440 +SHA256 (go-openapi-strfmt-v0.19.2_GH0.tar.gz) = 722eeb1c7cbeffda971a075717c5b486aeb538a568e51429c877fabad35c158f +SIZE (go-openapi-strfmt-v0.19.2_GH0.tar.gz) = 34224 +SHA256 (go-openapi-swag-v0.19.5_GH0.tar.gz) = 943b187c67d847b899245ca969223586f457f92b77d0bcce9790877471838eea +SIZE (go-openapi-swag-v0.19.5_GH0.tar.gz) = 33023 +SHA256 (go-openapi-validate-v0.19.2_GH0.tar.gz) = 06c1a8ce68587fc05934e6a369638dca98e8d418fe7c6dd6c75fc5343bba0b29 +SIZE (go-openapi-validate-v0.19.2_GH0.tar.gz) = 449005 +SHA256 (go-stack-stack-v1.8.0_GH0.tar.gz) = 3b8987e137d76f4f35db1e8005ec7fb766b68eed8cac0ca0b795ac43cd72b319 +SIZE (go-stack-stack-v1.8.0_GH0.tar.gz) = 8039 +SHA256 (go-swagger-scan-repo-boundary-973b3573c013_GH0.tar.gz) = 6dca1922828a88b7cc9fd9ae85b167a94be9c1ed54df086dba661ad56485906e +SIZE (go-swagger-scan-repo-boundary-973b3573c013_GH0.tar.gz) = 4521 +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.6.1_GH0.tar.gz) = 1755aaf4c6246579337bf1bc4f834ef00c56216da87b20456863ca91985b5afa +SIZE (golang-appengine-v1.6.1_GH0.tar.gz) = 333353 +SHA256 (golang-crypto-4def268fd1a4_GH0.tar.gz) = eaf2ba9df95911f41a340478d1fbb540d7bc21939e4688273995dabf58e8c7b0 +SIZE (golang-crypto-4def268fd1a4_GH0.tar.gz) = 1693117 +SHA256 (golang-net-74dc4d7220e7_GH0.tar.gz) = e974b081e105d9c61374fd026aa89bff010cc58b676dddf67a319dbba8df35fa +SIZE (golang-net-74dc4d7220e7_GH0.tar.gz) = 1099877 +SHA256 (golang-oauth2-0f29369cfe45_GH0.tar.gz) = 468421ddfe905216454006b309ebda6e97aa6089265b995bce4259d6a9efd141 +SIZE (golang-oauth2-0f29369cfe45_GH0.tar.gz) = 45498 +SHA256 (golang-protobuf-v1.3.2_GH0.tar.gz) = c9cda622857a17cf0877c5ba76688a931883e505f40744c9495638b6e3da1f65 +SIZE (golang-protobuf-v1.3.2_GH0.tar.gz) = 312285 +SHA256 (golang-sys-fde4db37ae7a_GH0.tar.gz) = b6aab4e92d5d8fe85ca0dd229bfb75c91290951a3bf3b95087459e5a4eae86a4 +SIZE (golang-sys-fde4db37ae7a_GH0.tar.gz) = 1455218 +SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22 +SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069 +SHA256 (golang-tools-85edb9ef3283_GH0.tar.gz) = cf2640175008c9ad5a50cd66ff20fdd6bc553b2062ef580699a0f09ca31bf285 +SIZE (golang-tools-85edb9ef3283_GH0.tar.gz) = 2218395 +SHA256 (gorilla-handlers-v1.4.2_GH0.tar.gz) = e92c18b1f074e359a072939e6f5bbef6a2d9472088f05623cb6084ea3672d3b4 +SIZE (gorilla-handlers-v1.4.2_GH0.tar.gz) = 20309 +SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2 +SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658 +SHA256 (jessevdk-go-flags-v1.4.0_GH0.tar.gz) = 3be7e8fb4b63887e8aeb55878244c04b7dcbe5ac77211c73ee35e38ca681e611 +SIZE (jessevdk-go-flags-v1.4.0_GH0.tar.gz) = 55452 +SHA256 (kr-pretty-v0.1.0_GH0.tar.gz) = 3aeb5d90b719765781befb9f156d0d0b8e5a7aafbcf15321e9eabbd35df31358 +SIZE (kr-pretty-v0.1.0_GH0.tar.gz) = 8550 +SHA256 (kr-text-v0.1.0_GH0.tar.gz) = b67f2744020b25f9298153af0992db252d195edd7ca5afa3b19d6ac300c2d14e +SIZE (kr-text-v0.1.0_GH0.tar.gz) = 8686 +SHA256 (magiconair-properties-v1.8.1_GH0.tar.gz) = 4449df3d2be86608bfc997228f66f1cff57bf620cc5bf9ba44339c7e4c5612dd +SIZE (magiconair-properties-v1.8.1_GH0.tar.gz) = 29735 +SHA256 (mailru-easyjson-b2ccc519800e_GH0.tar.gz) = 73bb6de76adeef10ca058b1a4ef8ebcf045eab25f72075f62bf26158eaae43d3 +SIZE (mailru-easyjson-b2ccc519800e_GH0.tar.gz) = 75658 +SHA256 (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 53fbc06b125ff1c9c73a4eb1764346932671a29c67a45a92e2ebc6855635069b +SIZE (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 20980 +SHA256 (mongodb-mongo-go-driver-v1.1.0_GH0.tar.gz) = efa95ebece5904b1d8d5aeca8ff43d96afd805a60aaa29c89d2ff7562989a7be +SIZE (mongodb-mongo-go-driver-v1.1.0_GH0.tar.gz) = 5223805 +SHA256 (pelletier-go-toml-v1.4.0_GH0.tar.gz) = 04fb4855a64495c0c055c83b8a3446cabc6bfa4830eb458816370db38c0e67b0 +SIZE (pelletier-go-toml-v1.4.0_GH0.tar.gz) = 73274 +SHA256 (pkg-errors-v0.8.1_GH0.tar.gz) = 7a428967c6fc2e80cd84a0d9469ab6bd4dbe6b13493ba6294322a933a5a7e356 +SIZE (pkg-errors-v0.8.1_GH0.tar.gz) = 11009 +SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda +SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398 +SHA256 (pquerna-cachecontrol-1555304b9b35_GH0.tar.gz) = 3611cc14c2de3c0f2df51d98d440673b32f6a906de213098abbdb0bb5eed6919 +SIZE (pquerna-cachecontrol-1555304b9b35_GH0.tar.gz) = 18998 +SHA256 (spf13-afero-v1.2.2_GH0.tar.gz) = b577afca7e9839aa7cf0ddd712af553aec671b74f97fe0c88c63f911d1020570 +SIZE (spf13-afero-v1.2.2_GH0.tar.gz) = 46157 +SHA256 (spf13-cast-v1.3.0_GH0.tar.gz) = e685282ea33f89e9354d148ad1886f532bcebe86b0b60a167988f7c6d081085f +SIZE (spf13-cast-v1.3.0_GH0.tar.gz) = 11085 +SHA256 (spf13-jwalterweatherman-v1.1.0_GH0.tar.gz) = 4fd850a792c5738954c4801cf549d8d0bf53edd17139cd39d179aa5abf7ec68d +SIZE (spf13-jwalterweatherman-v1.1.0_GH0.tar.gz) = 6871 +SHA256 (spf13-pflag-v1.0.3_GH0.tar.gz) = 9e57f86f493f04d9077fccd04e7139ebf243dd544e917ab83d35729b3e54a124 +SIZE (spf13-pflag-v1.0.3_GH0.tar.gz) = 46002 +SHA256 (spf13-viper-v1.4.0_GH0.tar.gz) = ee522a00960a36db8f83c820a85fce99a177db2b022697e5c1881cd852d9c4c0 +SIZE (spf13-viper-v1.4.0_GH0.tar.gz) = 44183 +SHA256 (square-go-jose-v2.3.1_GH0.tar.gz) = 325bc36d91cc97d724c5c7d107adb7d75c1de32a18e9ff75a3b8341a995c3b6a +SIZE (square-go-jose-v2.3.1_GH0.tar.gz) = 299480 +SHA256 (stretchr-testify-v1.4.0_GH0.tar.gz) = 3ae072321569a8cd6d77de8f3be774165e136198ce808df0a31589237ba59698 +SIZE (stretchr-testify-v1.4.0_GH0.tar.gz) = 110085 +SHA256 (toqueteos-webbrowser-v1.2.0_GH0.tar.gz) = e48ffbcbc8490d4f393a70f82d4c579c4dcde5d5bbf1553ff159522a2df2bdd4 +SIZE (toqueteos-webbrowser-v1.2.0_GH0.tar.gz) = 3445 Added: head/devel/goswagger/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/goswagger/pkg-descr Wed Aug 21 20:52:23 2019 (r509563) @@ -0,0 +1,8 @@ +Swagger is a simple yet powerful representation of your RESTful API and +go-swagger brings to the Go community a complete suite of fully-featured, +high-performance, API components to work with a Swagger API: server, client and +data model. + +This port provides a Go implementation of Swagger 2.0 (aka OpenAPI 2.0). + +WWW: https://goswagger.io/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908212052.x7LKqOP6057418>