Created attachment 226544 [details] git diff Hi all, find attached the patch to update the port to the latest version available on github at: https://github.com/smallstep/cli/releases Thanks for committing Markus
Seems like the distinfo has some issues - can you check? => Attempting to fetch https://codeload.github.com/smallstep/cli/tar.gz/v0.16.1?dummy=/smallstep-cli-v0.16.1_GH0.tar.gz fetch: https://codeload.github.com/smallstep/cli/tar.gz/v0.16.1?dummy=/smallstep-cli-v0.16.1_GH0.tar.gz: size unknown fetch: https://codeload.github.com/smallstep/cli/tar.gz/v0.16.1?dummy=/smallstep-cli-v0.16.1_GH0.tar.gz: size of remote file is not known smallstep-cli-v0.16.1_GH0.tar.gz 1752 kB 11 MBps 00s => Fetched file size mismatch (expected 1794356, actual 1794368)
(In reply to Guangyuan Yang from comment #1) Sorry for the issue. Didn't notice this on my end for some reason. I'll attach a new version of the patch
Created attachment 226579 [details] git diff corrected new corrected version of the previous patch
Hi, The distinfo is still problematic, I see this in the file: SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 Which resulted in the following poudriere build error: => Attempting to fetch https://codeload.github.com/etcd-io/etcd/tar.gz/v3.5.0?dummy=/etcd-io-etcd-v3.5.0_GH0.tar.gz fetch: 4020010: No such file or directory fetch: 4020010: No such file or directory fetch: 4020010: No such file or directory fetch: 4020010: No such file or directory fetch: 4020010: No such file or directory fetch: 4020010: No such file or directory fetch: 4020010: No such file or directory fetch: 4020010: No such file or directory fetch: 4020010: No such file or directory Please test patches with Poudriere and report the build result (passed) in the future, thanks!
Created attachment 226581 [details] git diff corrected 2
(In reply to Guangyuan Yang from comment #4) Hi sorry for the inconvenience. I now emptied my distfiles folder and made a new version. Unfortunately I do not know how I can test my patches with my poudriere. Is there any documentation available on how to "inject" my patches into poudriere? Thanks Markus
(In reply to Markus Wipp from comment #6) This patch seems to update step-cli to 0.16.0 instead of 0.16.1.
(In reply to Markus Wipp from comment #6) There are documentation widely available on how to set up Poudriere locally online. Not required, but highly recommended for testing!
Created attachment 226582 [details] git diff corrected 3 sorry, I messed some things up here. Not my day today! I will definitely look into how to get my poudriere build my patches before the next version! Thanks for having patience with a relative newbie regarding ports Markus
(In reply to Markus Wipp from comment #9) The previous error is still there: SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 SHA256 (etcd-io-etcd-v3.5.0_GH0.tar.gz) = f30f68c52a7547af08be7d166884c94885ea8a593c1c1e814c89b24148ee1921 SIZE (etcd-io-etcd-v3.5.0_GH0.tar.gz) = 4020010 Did you try a clean test build of this? I strongly recommend setting up Poudriere. Please update your patch with your build result (something like: build is ok on 13.0) so I can proceed. And no worries, take your time, just make sure the patch is good before submitting. :)
Created attachment 226909 [details] git diff corrected 4 Hi, I'm confident that the error is now resolved with the new version of the patch. Thanks Markus
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e105bf9845a0928c26dc3d1907d27c18291ef50 commit 9e105bf9845a0928c26dc3d1907d27c18291ef50 Author: Markus Wipp <mw@wipp.bayern> AuthorDate: 2021-08-03 20:50:53 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2021-08-03 20:50:53 +0000 security/step-cli: Update to 0.16.1 Changelog: https://github.com/smallstep/cli/releases/tag/v0.16.1 PR: 257265 security/step-cli/Makefile | 225 ++++++++++-------------- security/step-cli/distinfo | 420 +++++++++++++++++---------------------------- 2 files changed, 251 insertions(+), 394 deletions(-)
Committed, thanks!