Re: [update] net/dnscontrol -> 3.11.0
+DISTNAME = dnscontrol-${MODGO_VERSION} +PKGNAME = dnscontrol-3.11.0 + I think maybe you're doing this update on something other than -current and/or don't have an up-to-date ports tree, there's nothing that would make these needed for an update if they aren't needed now Thanks for looking into it, Stuart. You're right, my current version is not very up to date, I will try to recreate port after updating to more recent version. As for DISTNAME and PKGNAME variables, these were added by portgen, and if I remove these variables my build fails with following error: ===> Checking files for dnscontrol-3.11.0 No size recorded for dnscontrol-3.11.0.zip *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3177 '/usr/ports/distfiles/dnscontrol-3.11.0.zip': @lock=dnscontrol-3.11.0.zip.di...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2476 '_internal-fetch': @cd /usr/ports/net/dnscontrol && PKGPATH=net/dnscontrol e...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2681 '/usr/ports/pobj/dnscontrol-3.11.0/.extract_done': @cd /usr/ports/net/dnscon...) *** Error 2 in /usr/ports/net/dnscontrol (/usr/ports/infrastructure/mk/bsd.port.mk:2602 'all': @lock=dnscontrol-3.11.0; export _LOCKS_HELD=...) Kind regards, Karlis
[update] sysutils/kubectl -> 1.22.1
Hello, Please find attached diff to update kubectl to latest stable version 1.22.1. Tested on amd64 with custom hosted kubernetes cluster. Kind regards, KarlisCommon subdirectories: kubectl.orig/CVS and kubectl/CVS diff -u kubectl.orig/Makefile kubectl/Makefile --- kubectl.orig/Makefile Tue Aug 24 11:35:03 2021 +++ kubectl/Makefile Tue Aug 24 11:35:23 2021 @@ -4,7 +4,7 @@ GH_ACCOUNT = kubernetes GH_PROJECT = kubernetes -V = 1.20.6 +V = 1.22.1 GH_TAGNAME = v${V} PKGNAME = kubectl-${V} diff -u kubectl.orig/distinfo kubectl/distinfo --- kubectl.orig/distinfo Tue Aug 24 11:35:03 2021 +++ kubectl/distinfo Tue Aug 24 11:35:53 2021 @@ -1,2 +1,2 @@ -SHA256 (kubernetes-1.20.6.tar.gz) = dZZIgSRJxO6PT9Yx7VdYnZTs6hDn1ShfXOiZEzYoxQA= -SIZE (kubernetes-1.20.6.tar.gz) = 34478673 +SHA256 (kubernetes-1.22.1.tar.gz) = lOyT3ElzgRcOq2rHRhH050/udwVlto93rWQz7/EsoFE= +SIZE (kubernetes-1.22.1.tar.gz) = 35986911 Common subdirectories: kubectl.orig/pkg and kubectl/pkg
Re: [update] security/cfssl -> 1.5.0
Please find ttached diff to update security/cfssl to latest stable version 1.5.0. Release notes: https://github.com/cloudflare/cfssl/releases/tag/v1.5.0 Tested on amd64. Any comments on this? Kind regards, Karlis
[update] security/cfssl -> 1.5.0
Hello, Please find ttached diff to update security/cfssl to latest stable version 1.5.0. Release notes: https://github.com/cloudflare/cfssl/releases/tag/v1.5.0 Tested on amd64. Kind regards, KarlisCommon subdirectories: cfssl.old/CVS and cfssl/CVS diff -u cfssl.old/Makefile cfssl/Makefile --- cfssl.old/Makefile Fri Feb 7 17:57:04 2020 +++ cfssl/Makefile Thu Feb 4 12:18:23 2021 @@ -4,7 +4,7 @@ GH_ACCOUNT = cloudflare GH_PROJECT = cfssl -VERSION = 1.4.1 +VERSION = 1.5.0 GH_TAGNAME = v${VERSION} CATEGORIES = security diff -u cfssl.old/distinfo cfssl/distinfo --- cfssl.old/distinfo Fri Feb 7 17:57:04 2020 +++ cfssl/distinfo Thu Feb 4 12:18:32 2021 @@ -1,2 +1,2 @@ -SHA256 (cfssl-1.4.1.tar.gz) = yKhu8Qy7DBaPO1l9sVsx+YsXDtt5WPcVTt6ymu5BMV4= -SIZE (cfssl-1.4.1.tar.gz) = 5736648 +SHA256 (cfssl-1.5.0.tar.gz) = UmcWSxiqmahE4Frc6vT2LRuW3NMmqRMgmNZcUVwYCpE= +SIZE (cfssl-1.5.0.tar.gz) = 6169641 Common subdirectories: cfssl.old/pkg and cfssl/pkg
Re: [update] sysutils/kubectl -> 1.19.1
Please find attached diff to update sysutils/kubectl to latest stable version 1.19.1. Sorry, forgot to attach diff in previous email. Kind regards, KarlisCommon subdirectories: kubectl.orig/CVS and kubectl/CVS diff -u kubectl.orig/Makefile kubectl/Makefile --- kubectl.orig/Makefile Fri Sep 11 17:07:52 2020 +++ kubectl/Makefile Fri Sep 11 17:08:27 2020 @@ -4,7 +4,7 @@ GH_ACCOUNT = kubernetes GH_PROJECT = kubernetes -VERSION = 1.19.0 +VERSION = 1.19.1 GH_TAGNAME = v${VERSION} PKGNAME = kubectl-${VERSION} diff -u kubectl.orig/distinfo kubectl/distinfo --- kubectl.orig/distinfo Fri Sep 11 17:07:52 2020 +++ kubectl/distinfo Fri Sep 11 17:00:41 2020 @@ -1,2 +1,2 @@ -SHA256 (kubernetes-1.19.0.tar.gz) = JF7vu1MpTvRJXK9oi1X487LXGYPoTic3jm4gsPgYf9A= -SIZE (kubernetes-1.19.0.tar.gz) = 33584482 +SHA256 (kubernetes-1.19.1.tar.gz) = 6geSv0Ur+dl4nz55IRe90wN8anzEp5xsY8Vpkcy3Syo= +SIZE (kubernetes-1.19.1.tar.gz) = 8722 Common subdirectories: kubectl.orig/pkg and kubectl/pkg
[update] sysutils/kubectl -> 1.19.1
Hello, Please find attached diff to update sysutils/kubectl to latest stable version 1.19.1. Tested on amd64. Kind regards, Karlis
[update] sysutils/kubectl -> 1.19.0
Hello, Please find attached diff to update sysutils/kubectl to latest stable version. Tested on amd64. Kind regards, KarlisCommon subdirectories: kubectl.orig/CVS and kubectl/CVS diff -u kubectl.orig/Makefile kubectl/Makefile --- kubectl.orig/Makefile Thu Aug 27 14:16:14 2020 +++ kubectl/Makefile Thu Aug 27 14:16:28 2020 @@ -4,7 +4,7 @@ GH_ACCOUNT = kubernetes GH_PROJECT = kubernetes -VERSION = 1.18.3 +VERSION = 1.19.0 GH_TAGNAME = v${VERSION} PKGNAME = kubectl-${VERSION} diff -u kubectl.orig/distinfo kubectl/distinfo --- kubectl.orig/distinfo Thu Aug 27 14:16:14 2020 +++ kubectl/distinfo Thu Aug 27 14:17:52 2020 @@ -1,2 +1,2 @@ -SHA256 (kubernetes-1.18.3.tar.gz) = uJ3P7vxcAobUyLXWgep5G9GfRaxzXs0yjie9WihIWgM= -SIZE (kubernetes-1.18.3.tar.gz) = 32596732 +SHA256 (kubernetes-1.19.0.tar.gz) = JF7vu1MpTvRJXK9oi1X487LXGYPoTic3jm4gsPgYf9A= +SIZE (kubernetes-1.19.0.tar.gz) = 33584482 Common subdirectories: kubectl.orig/pkg and kubectl/pkg
Re: [NEW] sysutils/kubectl
Thank you for your feedback, Klemens! Tested on amd64, package works fine, but seems to ignore version parameters set in MODGO_LDFLAGS: $ kubectl version --client=true Client Version: version.Info{Major:"", Minor:"", GitVersion:"v0.0.0-master+2e7996e3e2712", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"", BuildDate:"1970-01-01T00:00:00Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"openbsd/amd64"} I would appreciate if someone could point me in the right direction how to set them up properly. FreeBSD seems to use the very same ldflags, do you know if it works for them? Yes, it does. Just deployed FreeBSD test VM and installed kubectl package: $ kubectl version --client Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"", GitTreeState:"", BuildDate:"2020-05-15T10:10:43Z", GoVersion:"go1.14.1", Compiler:"gc", Platform:"freebsd/amd64"} Why overwrite version and date in the first place? Does it matter? It's not critical (or even important) for kubectl operation, but still would be nice to have. Your port looks good, however pre-configure looks a bit odd; I've removed the entire target and simply set `ALL_TARGET = k8s.io/kubernetes' instead; I'm not yet sure if this does the same thing or causes more stuff to be built, but it works, looks cleaner and resulting kubectl works also. Can you check if I missed something with ALL_TARGET? You are correct and this is indeed better way to build kubectl. I've attached updated version of this port. Kind regards, Karlis kubectl-v2.tar.gz Description: GNU Zip compressed data
[NEW] sysutils/kubectl
Hello, Please find attached port for kubectl latest stable version: "The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs." Tested on amd64, package works fine, but seems to ignore version parameters set in MODGO_LDFLAGS: $ kubectl version --client=true Client Version: version.Info{Major:"", Minor:"", GitVersion:"v0.0.0-master+2e7996e3e2712", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"", BuildDate:"1970-01-01T00:00:00Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"openbsd/amd64"} I would appreciate if someone could point me in the right direction how to set them up properly. Kind regards, Karlis kubectl.tar.gz Description: GNU Zip compressed data
[update] net/dnscontrol -> 3.1.1
Hello, Please find attached patch to update DNSControl to latest stable (3.1.1) version. https://github.com/StackExchange/dnscontrol/releases/tag/v3.1.1 KarlisCommon subdirectories: dnscontrol.orig/CVS and dnscontrol/CVS diff -u dnscontrol.orig/Makefile dnscontrol/Makefile --- dnscontrol.orig/Makefile Thu May 28 09:45:39 2020 +++ dnscontrol/Makefile Thu May 28 09:46:06 2020 @@ -8,8 +8,7 @@ GH_ACCOUNT = StackExchange GH_PROJECT = dnscontrol -GH_TAGNAME = v3.0.0 -REVISION = 0 +GH_TAGNAME = v3.1.1 CATEGORIES = net diff -u dnscontrol.orig/distinfo dnscontrol/distinfo --- dnscontrol.orig/distinfo Thu May 28 09:45:39 2020 +++ dnscontrol/distinfo Thu May 28 09:47:04 2020 @@ -1,2 +1,2 @@ -SHA256 (dnscontrol-3.0.0.tar.gz) = a7cYx4eutrBIZE5LQ3/L46gF2bhEzXHiHNKcgqq6Qtc= -SIZE (dnscontrol-3.0.0.tar.gz) = 7128363 +SHA256 (dnscontrol-3.1.1.tar.gz) = V4cXHEht4B3R5fI3jRCY5kISwO4YVZr/UVvYwKBs3PM= +SIZE (dnscontrol-3.1.1.tar.gz) = 6791491 Common subdirectories: dnscontrol.orig/pkg and dnscontrol/pkg
[update] net/dnscontrol -> 3.0.0
Hello, Please find attached patch to update DNSControl to latest stable (3.0.0) version. https://github.com/StackExchange/dnscontrol/releases/tag/v3.0.0 KarlisCommon subdirectories: dnscontrol.orig/CVS and dnscontrol/CVS diff -u dnscontrol.orig/Makefile dnscontrol/Makefile --- dnscontrol.orig/Makefile Sat Feb 15 16:44:21 2020 +++ dnscontrol/Makefile Thu Mar 26 09:21:30 2020 @@ -8,7 +8,7 @@ GH_ACCOUNT = StackExchange GH_PROJECT = dnscontrol -GH_TAGNAME = v2.11 +GH_TAGNAME = v3.0.0 CATEGORIES = net diff -u dnscontrol.orig/distinfo dnscontrol/distinfo --- dnscontrol.orig/distinfo Sat Feb 15 16:44:21 2020 +++ dnscontrol/distinfo Thu Mar 26 09:22:22 2020 @@ -1,2 +1,2 @@ -SHA256 (dnscontrol-2.11.tar.gz) = ZXA5G7WLYYitYT+wrvI9qYjEjmzqLWl8Yarv4UndxTk= -SIZE (dnscontrol-2.11.tar.gz) = 6852061 +SHA256 (dnscontrol-3.0.0.tar.gz) = a7cYx4eutrBIZE5LQ3/L46gF2bhEzXHiHNKcgqq6Qtc= +SIZE (dnscontrol-3.0.0.tar.gz) = 7128363 Common subdirectories: dnscontrol.orig/pkg and dnscontrol/pkg
[update] net/dnscontrol -> 2.10.0
Hello, Please find attached patch to update DNSControl to latest stable (2.10.0) version. Major Changes: New Provider: Azure DNS (#547) Switched from govendor to go modules for dependencies (#587) Upgraded to Go 1.13 (#550) Provider-specific changes: Ghandi: Support for multi-TXT records (#545) Ghandi: Print actual changes to be pushed (#546) Vultr: Added support for SSHFP records (#531) CloudFlare: Add ability to manage UniversalSSL (#496) CloudFlare: Support API tokens (#555) Route 53: Add AWS_PROFILE functionality (#567) Minor cleanups: Documentation and typo cleanup (#586, #582, #571, #565, #560, #556, #507) Kind regards, KarlisCommon subdirectories: net/dnscontrol.orig/CVS and net/dnscontrol/CVS diff -u net/dnscontrol.orig/Makefile net/dnscontrol/Makefile --- net/dnscontrol.orig/Makefile Mon Jan 20 09:07:53 2020 +++ net/dnscontrol/Makefile Mon Jan 20 09:08:50 2020 @@ -8,7 +8,7 @@ GH_ACCOUNT = StackExchange GH_PROJECT = dnscontrol -GH_TAGNAME = v2.9 +GH_TAGNAME = v2.10.0 CATEGORIES = net diff -u net/dnscontrol.orig/distinfo net/dnscontrol/distinfo --- net/dnscontrol.orig/distinfo Mon Jan 20 09:07:53 2020 +++ net/dnscontrol/distinfo Mon Jan 20 09:09:47 2020 @@ -1,2 +1,2 @@ -SHA256 (dnscontrol-2.9.tar.gz) = bD5zm1bGTi5BoMsj9N68PbaImsoKeAFscw740eQnCeg= -SIZE (dnscontrol-2.9.tar.gz) = 4362882 +SHA256 (dnscontrol-2.10.0.tar.gz) = CdcWNBcvSYxdK3PW9scUOfTYiodM+zrcTLvrgd3vcKY= +SIZE (dnscontrol-2.10.0.tar.gz) = 6700485 Common subdirectories: net/dnscontrol.orig/pkg and net/dnscontrol/pkg
Re: [NEW] security/cfssl
> do-test: >cd ${WRKSRC}; ${MODGO_CMD} test github.com/cloudflare/cfssl/... Thanks for your help and suggestions! I've adjusted port sent Aaron Bieber following way: 1) removed VERSION variable, use GH_TAGNAME only; Honestly I preferred that the other way, or you could do something like GH_TAGNAME= vXXX VERSION=${GH_TAGNAME:S/v//} I updated port to include VERSION variable and also added NO_TEST, please see attached file. Kind regards, Karlis cfssl-v3.tar.gz Description: GNU Zip compressed data
Re: [NEW] security/cfssl
> post-build: >rm ${MODGO_WORKSPACE}/bin/example >mv ${MODGO_WORKSPACE}/bin/mkbundle \ >${MODGO_WORKSPACE}/bin/cfssl-mkbundle > > Naming mkbundle cfssl-mkbundle removes the conflict with mono: > > mono-5.20.1.34p0:lang/mono:/usr/local/bin/mkbundle > > Protip: having pkglocatedb installed lets the ports framework warn you of > such conflicts on 'make plist'! > > I have re-attached with the above changes. I think that should use do-build: cd ${WRKSRC}; ${MODGO_BUILD_CMD} github.com/cloudflare/cfssl/... otherwise it doesn't use the standard flags (-v, -j #) .. and remove the MODGO_FLAGS=-mod=vendor line which AFAIK is currently unused but the above brings it in and breaks things. Also either needs NO_TEST or fixing tests. Ah, good catch. We can still do the tests with this (though, we get some "executable not found in $PATH" failures :P): do-test: cd ${WRKSRC}; ${MODGO_CMD} test github.com/cloudflare/cfssl/... Thanks for your help and suggestions! I've adjusted port sent Aaron Bieber following way: 1) removed VERSION variable, use GH_TAGNAME only; 2) removed MODGO_FLAGS; 3) build and test commands are now: do-build: cd ${WRKSRC} && ${MODGO_BUILD_CMD} github.com/cloudflare/cfssl/... post-build: rm ${MODGO_WORKSPACE}/bin/example mv ${MODGO_WORKSPACE}/bin/mkbundle \ ${MODGO_WORKSPACE}/bin/cfssl-mkbundle do-test: cd ${WRKSRC} && ${MODGO_TEST_CMD} github.com/cloudflare/cfssl/... Unfortunately these tests do not seem to work as one of them prints garbage to the console output, and one of them just hangs. Kind regards, Karlis cfssl-v2.tar.gz Description: GNU Zip compressed data
[NEW] security/cfssl
Hello, Please find attached port for CFSSL latest stable version: "CFSSL is CloudFlare's PKI/TLS swiss army knife. It is both a command line tool and an HTTP API server for signing, verifying, and bundling TLS certificates." Kind regards, Karlis cfssl.tar.gz Description: GNU Zip compressed data
Re: [NEW] net/dnscontrol 2.9
Thank you, Stuart, for the prompt reply. Diff below tidies the Makefile a bit. Build fails though: Can you please try with attached Makefile? I've added GOCACHE and GOPATH environment variables to the Makefile. Kind regards, Karlis # $OpenBSD$ COMMENT = manage DNS configuration across any number of DNS hosts GH_ACCOUNT =StackExchange GH_PROJECT =dnscontrol GH_TAGNAME =v2.9 CATEGORIES =net HOMEPAGE = https://github.com/StackExchange/dnscontrol # MIT PERMIT_PACKAGE_CDROM = Yes WANTLIB = c pthread MODULES = lang/go do-build: cd ${WRKSRC} && GOMAXPROCS=${MAKE_JOBS} GOCACHE=${MODGO_GOCACHE} \ GOPATH=${MODGO_WORKSPACE} \ go generate -tags nosystemd cd ${WRKSRC} && GOMAXPROCS=${MAKE_JOBS} GOCACHE=${MODGO_GOCACHE} \ GOPATH=${MODGO_WORKSPACE} \ go build -tags nosystemd cd ${WRKSRC}/cmd/convertzone && GOMAXPROCS=${MAKE_JOBS} GOCACHE=${MODGO_GOCACHE} \ GOPATH=${MODGO_WORKSPACE} \ go build -tags nosystemd do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dnscontrol ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/cmd/convertzone/convertzone ${PREFIX}/bin do-test: cd ${WRKSRC}/integrationTest && GOCACHE=${MODGO_GOCACHE} \ GOPATH=${MODGO_WORKSPACE} \ go test -v -verbose -provider BIND .include
[NEW] net/dnscontrol 2.9
Hello, Please find attached port for DNSControl latest stable version: "DNSControl is a system for maintaining DNS zones. It has two parts: a domain specific language (DSL) for describing DNS zones plus software that processes the DSL and pushes the resulting zones to DNS providers such as Route53, Cloudflare, and Gandi. It can talk to Microsoft Active Directory and it generates the most beautiful BIND zone files ever." Kind regards, Karlis dnscontrol.tar.gz Description: GNU Zip compressed data