Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Install OPNsense Gateway Package #31

Open
emielpopla opened this issue Jan 16, 2024 · 6 comments
Open

Cannot Install OPNsense Gateway Package #31

emielpopla opened this issue Jan 16, 2024 · 6 comments
Assignees

Comments

@emielpopla
Copy link

I tried to install the gateway on my OPNsense router but it gives me the following error.

fetch https://github.com/DefGuard/gateway/releases/download/v0.5.6/defguard-gateway_0.5.6_x86_64-unknown-opnsense.pkg
pkg add defguard-gateway_0.5.6_x86_64-unknown-opnsense.pkg
Installing defguard-gateway-0.5.6...
pkg: wrong architecture: Linux:5:x86:64 instead of FreeBSD:13:amd64

I could force install it but that may bring more unknown problems with it.

@moubctez
Copy link
Contributor

It's a problem with fpm cross-building - see jordansissel/fpm#1880.

My work-around:

mkdir -p pp zz
tar Jxf defguard-gateway.pkg -C zz
sed -e 's,Linux:5,FreeBSD:13,' zz/+MANIFEST > MANIFEST
rm zz/+COMPACT_MANIFEST zz/+MANIFEST
pkg create -M MANIFEST -o pp -r zz

@teon
Copy link
Contributor

teon commented Jan 17, 2024

@moubctez that should be in our CI then during packaging - since we have a workaround.
Adding to backlog.

@teon teon moved this to Refined & Ready in Backlog & Roadmap Jan 17, 2024
@moubctez
Copy link
Contributor

@teon The work-around only works on FreeBSD.

@teon
Copy link
Contributor

teon commented Jan 18, 2024

@moubctez and thats what I mean - to do this workaround for opnsesne/freebsd package during CI since it has errors.

@teon
Copy link
Contributor

teon commented Jan 18, 2024

@moubctez we need FreeBSD runner / a way to reliably build FreeBSD + OPNSense package.

@teon teon assigned teon and unassigned moubctez Jan 18, 2024
@teon teon removed their assignment Feb 11, 2024
@teon teon moved this from Refined & Ready to In Progress in Backlog & Roadmap Jul 8, 2024
@teon teon self-assigned this Jul 8, 2024
@teon teon moved this from In Progress to Refined & Ready in Backlog & Roadmap Jul 18, 2024
@teon teon removed their assignment Jul 18, 2024
@moubctez moubctez moved this from Refined & Ready to In Progress in Backlog & Roadmap Aug 13, 2024
@teon
Copy link
Contributor

teon commented Aug 14, 2024

@moubctez please release gateway 0.7.1 with freebsd & opnsense packages. 🙏

@moubctez moubctez moved this from In Progress to Review in Backlog & Roadmap Aug 15, 2024
@moubctez moubctez assigned teon and unassigned moubctez Aug 15, 2024
@teon teon moved this from Review to Done in Backlog & Roadmap Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants