Install cloudflared

Started by Cadish, February 01, 2021, 01:23:21 PM

Previous topic - Next topic
Hi,

I'm trying to install the Cloudflare application to build Argo Tunnels, namely "Cloudflared".

I'm trying it via the ports tree, but I get the following error message:
root@firewall:/usr/ports/net/cloudflared # make install
===>  cloudflared-2020.11.11 License cloudflare needs confirmation, but BATCH
is defined.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/cloudflared


Really don't know how I can solve this, or install it in another way on my OPNsense machine (https://github.com/cloudflare/cloudflared)

Thanks!
Cadish

Remove BATCH variable from /etc/make.conf


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT


Is there anyway I can update this port? Is there a way I can do it myself, or does someone need to update the port tree for this?

Thanks a lot!
Cadish

Hi,

Can you define "update"? Are you talking about updating the version of cloudflared?


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

Yes, indeed. The current ported version is 2020.11.11, while there is already a 2021.1.5 out there.

I'm mainly asking for an update as the command "cloudflared service install" apparently is not available, which is quite crucial to setup cloudflared as a service. I don't know if this will be solved by having 2021.1.5 :-\

Ok, best to raise a report over here https://bugs.freebsd.org/bugzilla/ or provide the patch with the report. We don't want to take it directly if it's not mission critical (core feature).

But in the meantime if you can get a later port to update and  run locally that is also fine. Sometimes it takes a long breath to have the port updated in FreeBSD depending on their committer capacity.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

"cloudflared service install" is still not supported with the plugin from mimugmail as of today (version 2023.2.1) unfortunately.

Just FYI, not asking anyone here to do anything about it.