OPNsense Forum

English Forums => General Discussion => Topic started by: Cadish on February 01, 2021, 01:23:21 pm

Title: Install cloudflared
Post by: Cadish on February 01, 2021, 01:23:21 pm
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:
Code: [Select]
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
Title: Re: Install cloudflared
Post by: franco on February 01, 2021, 01:27:27 pm
Remove BATCH variable from /etc/make.conf


Cheers,
Franco
Title: Re: Install cloudflared
Post by: Cadish on February 01, 2021, 01:45:30 pm
Worked! Thanks.
Title: Re: Install cloudflared
Post by: Cadish on February 01, 2021, 02:41:16 pm
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
Title: Re: Install cloudflared
Post by: franco on February 01, 2021, 02:49:12 pm
Hi,

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


Cheers,
Franco
Title: Re: Install cloudflared
Post by: Cadish on February 01, 2021, 02:57:03 pm
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 :-\
Title: Re: Install cloudflared
Post by: franco on February 01, 2021, 03:40:12 pm
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
Title: Re: Install cloudflared
Post by: 9axqe on May 11, 2023, 03:54:11 pm
"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.