git: 38aa362e26d0 - main - net/qrcp: update to 0.10.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 11:16:00 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=38aa362e26d0fd5d7d416fc4ef1a086706e40eae commit 38aa362e26d0fd5d7d416fc4ef1a086706e40eae Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2023-04-09 11:14:31 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2023-04-09 11:15:53 +0000 net/qrcp: update to 0.10.0 Changelog: https://github.com/claudiodangelis/qrcp/releases/tag/0.10.0 Reported by: portscout --- net/qrcp/Makefile | 16 +++++++++++++--- net/qrcp/distinfo | 28 +++++++++++++++++++++++++--- net/qrcp/files/patch-config_config.go | 11 +++++++++++ 3 files changed, 49 insertions(+), 6 deletions(-) diff --git a/net/qrcp/Makefile b/net/qrcp/Makefile index 0fb2796608b7..535e9bb6a03c 100644 --- a/net/qrcp/Makefile +++ b/net/qrcp/Makefile @@ -1,6 +1,5 @@ PORTNAME= qrcp -DISTVERSION= 0.9.1 -PORTREVISION= 2 +DISTVERSION= 0.10.0 CATEGORIES= net MAINTAINER= tagattie@FreeBSD.org @@ -21,19 +20,30 @@ GH_TUPLE= \ chzyer:readline:2972be24d48e:chzyer_readline/vendor/github.com/chzyer/readline \ eiannone:keyboard:caf4b762e807:eiannone_keyboard/vendor/github.com/eiannone/keyboard \ fatih:color:v1.9.0:fatih_color/vendor/github.com/fatih/color \ + fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ glendc:go-external-ip:139229dcdddd:glendc_go_external_ip/vendor/github.com/glendc/go-external-ip \ + go-yaml:yaml:v2.2.2:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ golang:sys:d5e6a3e2c0ae:golang_sys/vendor/golang.org/x/sys \ + golang:text:v0.3.0:golang_text/vendor/golang.org/x/text \ + hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ jhoonb:archivex:0488e4ce1681:jhoonb_archivex/vendor/github.com/jhoonb/archivex \ juju:ansiterm:720a0952cc2a:juju_ansiterm/vendor/github.com/juju/ansiterm \ lunixbochs:vtclean:2d01aacdc34a:lunixbochs_vtclean/vendor/github.com/lunixbochs/vtclean \ + magiconair:properties:v1.8.0:magiconair_properties/vendor/github.com/magiconair/properties \ manifoldco:promptui:v0.7.0:manifoldco_promptui/vendor/github.com/manifoldco/promptui \ mattn:go-colorable:v0.1.6:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ mattn:go-isatty:v0.0.12:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ mattn:go-runewidth:v0.0.9:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ + mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ + pelletier:go-toml:v1.2.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ skip2:go-qrcode:9434209cb086:skip2_go_qrcode/vendor/github.com/skip2/go-qrcode \ + spf13:afero:v1.1.2:spf13_afero/vendor/github.com/spf13/afero \ + spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \ spf13:cobra:v1.0.0:spf13_cobra/vendor/github.com/spf13/cobra \ - spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag + spf13:jwalterweatherman:v1.0.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 PLIST_FILES= bin/qrcp PORTDOCS= README.md SECURITY.md diff --git a/net/qrcp/distinfo b/net/qrcp/distinfo index 0a394de8070c..14423dbeaf17 100644 --- a/net/qrcp/distinfo +++ b/net/qrcp/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1677064622 -SHA256 (claudiodangelis-qrcp-0.9.1_GH0.tar.gz) = 1ee0d1b04222fb2a559d412b144a49051c3315cbc99c7ea1f281bdd4f13f07bf -SIZE (claudiodangelis-qrcp-0.9.1_GH0.tar.gz) = 26509877 +TIMESTAMP = 1681028366 +SHA256 (claudiodangelis-qrcp-0.10.0_GH0.tar.gz) = 70f9930cb371fa9a0a98df12442486a7802ede1a797d26fbc3363605b6574db4 +SIZE (claudiodangelis-qrcp-0.10.0_GH0.tar.gz) = 26510090 SHA256 (adrg-xdg-v0.3.2_GH0.tar.gz) = 88a9298499e2bbc287edf66aa454d753dece2df05853cabd8be46c8a970f4d0f SIZE (adrg-xdg-v0.3.2_GH0.tar.gz) = 16121 SHA256 (asaskevich-govalidator-475eaeb16496_GH0.tar.gz) = 72b597629e12ec2089e3e39bba37e8ee8c90efb89dcaea5dff1c214f39236377 @@ -13,10 +13,18 @@ SHA256 (eiannone-keyboard-caf4b762e807_GH0.tar.gz) = ff1a40d8bdbb725c857d77ca977 SIZE (eiannone-keyboard-caf4b762e807_GH0.tar.gz) = 8562 SHA256 (fatih-color-v1.9.0_GH0.tar.gz) = f5a6372ff7c87d22baaa2089e5cdd8a218fb3a9be047195c0ab421d5340f6f3f SIZE (fatih-color-v1.9.0_GH0.tar.gz) = 1230941 +SHA256 (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = b7530d973d0ab0e58ad8ce1b9a4b963d6f57b3d72f2f9e13d49846976361b1cd +SIZE (fsnotify-fsnotify-v1.4.7_GH0.tar.gz) = 31139 SHA256 (glendc-go-external-ip-139229dcdddd_GH0.tar.gz) = b1fa222d7f35405f70c5855112dc6b954eb68e800f81a8b69ae3adba1537f03c SIZE (glendc-go-external-ip-139229dcdddd_GH0.tar.gz) = 5655 +SHA256 (go-yaml-yaml-v2.2.2_GH0.tar.gz) = 42c3e4ef9eca2860d22b3c6c5582c6c13fb4b417e5ebc1acc56ee5e2c4ddcaff +SIZE (go-yaml-yaml-v2.2.2_GH0.tar.gz) = 70656 SHA256 (golang-sys-d5e6a3e2c0ae_GH0.tar.gz) = 6cd44aa33cb0fc4caedadde44b3a943bece0aa67d803c00bfb09b03222845f19 SIZE (golang-sys-d5e6a3e2c0ae_GH0.tar.gz) = 1539001 +SHA256 (golang-text-v0.3.0_GH0.tar.gz) = 8f4c9a048345befc7beccd09267737ee1f55c7b35e5ff80f344ec9e0aa90febb +SIZE (golang-text-v0.3.0_GH0.tar.gz) = 6102619 +SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2 +SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658 SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6 SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290 SHA256 (jhoonb-archivex-0488e4ce1681_GH0.tar.gz) = 84c94690499715a43f79f69d03437dac7ed6348af1c044ff4f539dbb832df9d5 @@ -25,6 +33,8 @@ SHA256 (juju-ansiterm-720a0952cc2a_GH0.tar.gz) = 5595c2dc8973aab36a69648d4d94cac SIZE (juju-ansiterm-720a0952cc2a_GH0.tar.gz) = 15417 SHA256 (lunixbochs-vtclean-2d01aacdc34a_GH0.tar.gz) = 54676064363394819c85f04ffd3aa41c86bcd2c9fce3c7e58b6ea41a47e17442 SIZE (lunixbochs-vtclean-2d01aacdc34a_GH0.tar.gz) = 4183 +SHA256 (magiconair-properties-v1.8.0_GH0.tar.gz) = f6c732fe6031e2cf72c6eb6d6ce50cde8f72d254c3a26f42e373c598870616ed +SIZE (magiconair-properties-v1.8.0_GH0.tar.gz) = 29504 SHA256 (manifoldco-promptui-v0.7.0_GH0.tar.gz) = 90a38ed9e5d993929b62dd2f1e13c7d3c70d0b57546c7329588f9d493f4c8a47 SIZE (manifoldco-promptui-v0.7.0_GH0.tar.gz) = 26664 SHA256 (mattn-go-colorable-v0.1.6_GH0.tar.gz) = e313129503025c383b5e69082fb1144e83a864d12ec45bb7a224d3fc4a635fbc @@ -33,9 +43,21 @@ SHA256 (mattn-go-isatty-v0.0.12_GH0.tar.gz) = addbdc341d7685ed4cc8d2d8a8fd2bd9b7 SIZE (mattn-go-isatty-v0.0.12_GH0.tar.gz) = 4548 SHA256 (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 4f20a337ad06e071f29535afe9c5207d3e8840c8c86672bbc5f9837c6229c835 SIZE (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 16714 +SHA256 (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 53fbc06b125ff1c9c73a4eb1764346932671a29c67a45a92e2ebc6855635069b +SIZE (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 20980 +SHA256 (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 1a5a620f680033f17e34148bee8f26d96d8c27ff1d7f56f0fe1c7253595b5244 +SIZE (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 57496 SHA256 (skip2-go-qrcode-9434209cb086_GH0.tar.gz) = d1b92830ad7b8133bb3d5fd1942bf15fb85f6da9fead30016bf90ee31f932ad9 SIZE (skip2-go-qrcode-9434209cb086_GH0.tar.gz) = 36087 +SHA256 (spf13-afero-v1.1.2_GH0.tar.gz) = 66554a6b09b0009340ae77c119d5a14e2460bb3aea56e75e138c87e621f3803b +SIZE (spf13-afero-v1.1.2_GH0.tar.gz) = 45309 +SHA256 (spf13-cast-v1.3.0_GH0.tar.gz) = e685282ea33f89e9354d148ad1886f532bcebe86b0b60a167988f7c6d081085f +SIZE (spf13-cast-v1.3.0_GH0.tar.gz) = 11085 SHA256 (spf13-cobra-v1.0.0_GH0.tar.gz) = 58dbfe1b4dbc6751575e94d1e62d073098e0b41790bc1c7a7a95ec6b870ac697 SIZE (spf13-cobra-v1.0.0_GH0.tar.gz) = 128897 +SHA256 (spf13-jwalterweatherman-v1.0.0_GH0.tar.gz) = 2ece12b964e0d230b10851555185d42d3c81b401efda044265ae716eb1d0bc2d +SIZE (spf13-jwalterweatherman-v1.0.0_GH0.tar.gz) = 6392 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 diff --git a/net/qrcp/files/patch-config_config.go b/net/qrcp/files/patch-config_config.go new file mode 100644 index 000000000000..d6b0ddf64b4d --- /dev/null +++ b/net/qrcp/files/patch-config_config.go @@ -0,0 +1,11 @@ +--- config/config.go.orig 2023-04-09 08:36:02 UTC ++++ config/config.go +@@ -38,7 +38,7 @@ func New(app application.App) Config { + + _, err = os.Stat(v.ConfigFileUsed()) + if os.IsNotExist(err) { +- if err := os.MkdirAll(filepath.Dir(v.ConfigFileUsed()), os.ModeDir); err != nil { ++ if err := os.MkdirAll(filepath.Dir(v.ConfigFileUsed()), os.ModeDir | os.ModePerm); err != nil { + panic(err) + } + file, err := os.Create(v.ConfigFileUsed())