Comments (4)
To be honest, I abandoned this project a while ago in favor of Slack's nebula vpn.
from wireguard-p2p.
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.
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.
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)
- Compilation error while building with docker. HOT 1
- How does it know which peer to lookup? HOT 4
- Error: "Unable to autolaunch a dbus-daemon without a $DISPLAY for X11" HOT 12
- OpenWRT packages
- Failed to build
- Dependency setup woes on Arch Linux HOT 17
- dht bootstrap node HOT 1
- if two nodes behind nat without public ip, can they make mesh vpn? HOT 8
- Looking for some docs HOT 8
- Pypi upload? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wireguard-p2p.