Date: Tue, 17 Sep 2019 15:56:16 +0000 (UTC) From: "Sergey A. Osokin" <osa@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512212 - in head/www: . jwt-cli Message-ID: <201909171556.x8HFuGQA054498@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: osa Date: Tue Sep 17 15:56:16 2019 New Revision: 512212 URL: https://svnweb.freebsd.org/changeset/ports/512212 Log: Add jwt-cli, a super fast CLI tool to decode and encode JWTs. Added: head/www/jwt-cli/ head/www/jwt-cli/Makefile (contents, props changed) head/www/jwt-cli/distinfo (contents, props changed) head/www/jwt-cli/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Tue Sep 17 14:44:37 2019 (r512211) +++ head/www/Makefile Tue Sep 17 15:56:16 2019 (r512212) @@ -284,6 +284,7 @@ SUBDIR += jspwiki SUBDIR += jtoolkit SUBDIR += junkbuster + SUBDIR += jwt-cli SUBDIR += kanboard SUBDIR += kannel SUBDIR += kannel-sqlbox Added: head/www/jwt-cli/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/jwt-cli/Makefile Tue Sep 17 15:56:16 2019 (r512212) @@ -0,0 +1,67 @@ +# Created by: Sergey A. Osokin <osa@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= jwt-cli +PORTVERSION= 2.5.0 +CATEGORIES= www + +MAINTAINER= osa@FreeBSD.org +COMMENT= Super fast CLI tool to decode and encode JWTs + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USES= cargo +USE_GITHUB= yes +GH_ACCOUNT= mike-engel + +CARGO_CRATES= ansi_term-0.11.0 \ + atty-0.2.11 \ + autocfg-0.1.4 \ + base64-0.10.1 \ + bitflags-1.0.4 \ + byteorder-1.3.1 \ + cc-1.0.37 \ + chrono-0.4.6 \ + clap-2.33.0 \ + itoa-0.4.4 \ + jsonwebtoken-6.0.1 \ + kernel32-sys-0.2.2 \ + lazy_static-1.3.0 \ + libc-0.2.55 \ + num-integer-0.1.41 \ + num-traits-0.2.8 \ + numtoa-0.1.0 \ + proc-macro2-0.4.30 \ + quote-0.6.12 \ + redox_syscall-0.1.54 \ + redox_termios-0.1.1 \ + ring-0.14.6 \ + ryu-0.2.8 \ + serde-1.0.91 \ + serde_derive-1.0.91 \ + serde_json-1.0.39 \ + spin-0.5.0 \ + strsim-0.8.0 \ + syn-0.15.34 \ + term-0.4.6 \ + term-painter-0.2.4 \ + termion-1.5.2 \ + textwrap-0.11.0 \ + time-0.1.42 \ + unicode-width-0.1.5 \ + unicode-xid-0.1.0 \ + untrusted-0.6.2 \ + vec_map-0.8.1 \ + winapi-0.2.8 \ + winapi-0.3.7 \ + winapi-build-0.1.1 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-x86_64-pc-windows-gnu-0.4.0 + +PLIST_FILES= bin/jwt + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/jwt + +.include <bsd.port.mk> Added: head/www/jwt-cli/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/jwt-cli/distinfo Tue Sep 17 15:56:16 2019 (r512212) @@ -0,0 +1,89 @@ +TIMESTAMP = 1568735044 +SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b +SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087 +SHA256 (rust/crates/atty-0.2.11.tar.gz) = 9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652 +SIZE (rust/crates/atty-0.2.11.tar.gz) = 5916 +SHA256 (rust/crates/autocfg-0.1.4.tar.gz) = 0e49efa51329a5fd37e7c79db4621af617cd4e3e5bc224939808d076077077bf +SIZE (rust/crates/autocfg-0.1.4.tar.gz) = 10937 +SHA256 (rust/crates/base64-0.10.1.tar.gz) = 0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e +SIZE (rust/crates/base64-0.10.1.tar.gz) = 41988 +SHA256 (rust/crates/bitflags-1.0.4.tar.gz) = 228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12 +SIZE (rust/crates/bitflags-1.0.4.tar.gz) = 15282 +SHA256 (rust/crates/byteorder-1.3.1.tar.gz) = a019b10a2a7cdeb292db131fc8113e57ea2a908f6e7894b0c3c671893b65dbeb +SIZE (rust/crates/byteorder-1.3.1.tar.gz) = 20959 +SHA256 (rust/crates/cc-1.0.37.tar.gz) = 39f75544d7bbaf57560d2168f28fd649ff9c76153874db88bdbdfd839b1a7e7d +SIZE (rust/crates/cc-1.0.37.tar.gz) = 44499 +SHA256 (rust/crates/chrono-0.4.6.tar.gz) = 45912881121cb26fad7c38c17ba7daa18764771836b34fab7d3fbd93ed633878 +SIZE (rust/crates/chrono-0.4.6.tar.gz) = 133108 +SHA256 (rust/crates/clap-2.33.0.tar.gz) = 5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9 +SIZE (rust/crates/clap-2.33.0.tar.gz) = 196458 +SHA256 (rust/crates/itoa-0.4.4.tar.gz) = 501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f +SIZE (rust/crates/itoa-0.4.4.tar.gz) = 11147 +SHA256 (rust/crates/jsonwebtoken-6.0.1.tar.gz) = a81d1812d731546d2614737bee92aa071d37e9afa1409bc374da9e5e70e70b22 +SIZE (rust/crates/jsonwebtoken-6.0.1.tar.gz) = 17095 +SHA256 (rust/crates/kernel32-sys-0.2.2.tar.gz) = 7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d +SIZE (rust/crates/kernel32-sys-0.2.2.tar.gz) = 24537 +SHA256 (rust/crates/lazy_static-1.3.0.tar.gz) = bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14 +SIZE (rust/crates/lazy_static-1.3.0.tar.gz) = 10616 +SHA256 (rust/crates/libc-0.2.55.tar.gz) = 42914d39aad277d9e176efbdad68acb1d5443ab65afe0e0e4f0d49352a950880 +SIZE (rust/crates/libc-0.2.55.tar.gz) = 400416 +SHA256 (rust/crates/num-integer-0.1.41.tar.gz) = b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09 +SIZE (rust/crates/num-integer-0.1.41.tar.gz) = 19399 +SHA256 (rust/crates/num-traits-0.2.8.tar.gz) = 6ba9a427cfca2be13aa6f6403b0b7e7368fe982bfa16fccc450ce74c46cd9b32 +SIZE (rust/crates/num-traits-0.2.8.tar.gz) = 39965 +SHA256 (rust/crates/numtoa-0.1.0.tar.gz) = b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef +SIZE (rust/crates/numtoa-0.1.0.tar.gz) = 8999 +SHA256 (rust/crates/proc-macro2-0.4.30.tar.gz) = cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759 +SIZE (rust/crates/proc-macro2-0.4.30.tar.gz) = 34731 +SHA256 (rust/crates/quote-0.6.12.tar.gz) = faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db +SIZE (rust/crates/quote-0.6.12.tar.gz) = 17541 +SHA256 (rust/crates/redox_syscall-0.1.54.tar.gz) = 12229c14a0f65c4f1cb046a3b52047cdd9da1f4b30f8a39c5063c8bae515e252 +SIZE (rust/crates/redox_syscall-0.1.54.tar.gz) = 15668 +SHA256 (rust/crates/redox_termios-0.1.1.tar.gz) = 7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76 +SIZE (rust/crates/redox_termios-0.1.1.tar.gz) = 3227 +SHA256 (rust/crates/ring-0.14.6.tar.gz) = 426bc186e3e95cac1e4a4be125a4aca7e84c2d616ffc02244eef36e2a60a093c +SIZE (rust/crates/ring-0.14.6.tar.gz) = 5428922 +SHA256 (rust/crates/ryu-0.2.8.tar.gz) = b96a9549dc8d48f2c283938303c4b5a77aa29bfbc5b54b084fb1630408899a8f +SIZE (rust/crates/ryu-0.2.8.tar.gz) = 42798 +SHA256 (rust/crates/serde-1.0.91.tar.gz) = a72e9b96fa45ce22a4bc23da3858dfccfd60acd28a25bcd328a98fdd6bea43fd +SIZE (rust/crates/serde-1.0.91.tar.gz) = 71696 +SHA256 (rust/crates/serde_derive-1.0.91.tar.gz) = 101b495b109a3e3ca8c4cbe44cf62391527cdfb6ba15821c5ce80bcd5ea23f9f +SIZE (rust/crates/serde_derive-1.0.91.tar.gz) = 48765 +SHA256 (rust/crates/serde_json-1.0.39.tar.gz) = 5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d +SIZE (rust/crates/serde_json-1.0.39.tar.gz) = 69621 +SHA256 (rust/crates/spin-0.5.0.tar.gz) = 44363f6f51401c34e7be73db0db371c04705d35efbe9f7d6082e03a921a32c55 +SIZE (rust/crates/spin-0.5.0.tar.gz) = 10493 +SHA256 (rust/crates/strsim-0.8.0.tar.gz) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a +SIZE (rust/crates/strsim-0.8.0.tar.gz) = 9309 +SHA256 (rust/crates/syn-0.15.34.tar.gz) = a1393e4a97a19c01e900df2aec855a29f71cf02c402e2f443b8d2747c25c5dbe +SIZE (rust/crates/syn-0.15.34.tar.gz) = 149802 +SHA256 (rust/crates/term-0.4.6.tar.gz) = fa63644f74ce96fbeb9b794f66aff2a52d601cbd5e80f4b97123e3899f4570f1 +SIZE (rust/crates/term-0.4.6.tar.gz) = 38250 +SHA256 (rust/crates/term-painter-0.2.4.tar.gz) = dcaa948f0e3e38470cd8dc8dcfe561a75c9e43f28075bb183845be2b9b3c08cf +SIZE (rust/crates/term-painter-0.2.4.tar.gz) = 38740 +SHA256 (rust/crates/termion-1.5.2.tar.gz) = dde0593aeb8d47accea5392b39350015b5eccb12c0d98044d856983d89548dea +SIZE (rust/crates/termion-1.5.2.tar.gz) = 22076 +SHA256 (rust/crates/textwrap-0.11.0.tar.gz) = d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060 +SIZE (rust/crates/textwrap-0.11.0.tar.gz) = 17322 +SHA256 (rust/crates/time-0.1.42.tar.gz) = db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f +SIZE (rust/crates/time-0.1.42.tar.gz) = 30005 +SHA256 (rust/crates/unicode-width-0.1.5.tar.gz) = 882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526 +SIZE (rust/crates/unicode-width-0.1.5.tar.gz) = 15761 +SHA256 (rust/crates/unicode-xid-0.1.0.tar.gz) = fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc +SIZE (rust/crates/unicode-xid-0.1.0.tar.gz) = 16000 +SHA256 (rust/crates/untrusted-0.6.2.tar.gz) = 55cd1f4b4e96b46aeb8d4855db4a7a9bd96eeeb5c6a1ab54593328761642ce2f +SIZE (rust/crates/untrusted-0.6.2.tar.gz) = 7526 +SHA256 (rust/crates/vec_map-0.8.1.tar.gz) = 05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a +SIZE (rust/crates/vec_map-0.8.1.tar.gz) = 14959 +SHA256 (rust/crates/winapi-0.2.8.tar.gz) = 167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a +SIZE (rust/crates/winapi-0.2.8.tar.gz) = 455145 +SHA256 (rust/crates/winapi-0.3.7.tar.gz) = f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770 +SIZE (rust/crates/winapi-0.3.7.tar.gz) = 1075776 +SHA256 (rust/crates/winapi-build-0.1.1.tar.gz) = 2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc +SIZE (rust/crates/winapi-build-0.1.1.tar.gz) = 669 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998 +SHA256 (mike-engel-jwt-cli-2.5.0_GH0.tar.gz) = b566525ee0e7532aa85c25bab00418975a498ada1af82214ee51989593cd7da3 +SIZE (mike-engel-jwt-cli-2.5.0_GH0.tar.gz) = 22215 Added: head/www/jwt-cli/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/jwt-cli/pkg-descr Tue Sep 17 15:56:16 2019 (r512212) @@ -0,0 +1,8 @@ +Command line tool to help you work with JSON Web Tokens (JWTs). Like +most JWT command line tools out there, you can decode almost any JWT +header and claims body. Unlike any that I've found, however, jwt-cli +allows you to encode a new JWT with nearly any piece of data you can +think of. Custom header values (some), custom claim bodies (as long +as it's JSON, it's game), and using any secret you need. + +WWW: https://github.com/mike-engel/jwt-cli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909171556.x8HFuGQA054498>