Git Product home page Git Product logo

Comments (4)

manuels avatar manuels commented on June 2, 2024

To be honest, I abandoned this project a while ago in favor of Slack's nebula vpn.

from wireguard-p2p.

mdPlusPlus avatar mdPlusPlus commented on June 2, 2024

Nebula unfortunately requires central Lighthouses and therefore isn't strictly decentralized. Plus AFAICT there are no installable packages released.

Any pointers into the right direction on how I could build the .debs with the newer libraries? I tried simply repackaging the .deb with a modified control file, which installs fine, but still looks for libffi.so.6 instead of libffi.so.8 on the system and therefore doesn't work.

Edit: I would try cargo-deb, but I can't get cargo install wireguard-p2p to succeed.

from wireguard-p2p.

manuels avatar manuels commented on June 2, 2024

If I remember correctly, this is the Dockerfile I used to build the deb files. Maybe this gives you a clue how to cahnge it:

# DOCKER_BUILDKIT=1 docker build -f Dockerfile.build --output out .

FROM rust:1.43 AS build-stage

WORKDIR .

RUN apt-get update
RUN apt-get install -y apt-utils
RUN apt-get install -y libopendht-dev llvm clang
RUN apt-get clean

RUN cargo install cargo-deb

COPY . .

RUN cargo install --path .
RUN cargo deb


FROM scratch AS export-stage
COPY --from=build-stage /usr/local/cargo/bin/wireguard-p2p /
COPY --from=build-stage target/debian /

What is the error message you get when running cargo install wireguard-p2p?

from wireguard-p2p.

mdPlusPlus avatar mdPlusPlus commented on June 2, 2024

When I issue apt install -y libopendht-dev && cargo install wireguard-p2p in the rust:latest docker container, it succeeds without issues.

My issue arised when trying the same on ubuntu:jammy, but it turns out I was missing the build-essential package and the cargo error message wasn't really clear on that.

I'm going to try to build the .deb now and will see whether they still require the outdated libs then.

Edit: Seems like it doesn't:

# apt show ./wireguard-p2p_0.3.0_amd64.deb

Package: wireguard-p2p
Version: 0.3.0
Priority: optional
Maintainer: Manuel Schölling <[email protected]>
Installed-Size: 4009 kB
Depends: libjsoncpp24 (>= 1.9.4), libnettle8, libhttp-parser2.9 (>= 2.7.1), libgnutls30 (>= 3.7.0), libargon2-1 (>= 0~20171227), libstdc++6 (>= 9), libssl1.1 (>= 1.1.0), libc6 (>= 2.30)
Download-Size: 1241 kB
APT-Sources: /root/wireguard-p2p/target/debian/wireguard-p2p_0.3.0_amd64.deb
Description: A WireGuard peer-to-peer client

from wireguard-p2p.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.