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

weakforced on OpenBSD? #438

Open
ozgurkazancci opened this issue Oct 22, 2024 · 9 comments
Open

weakforced on OpenBSD? #438

ozgurkazancci opened this issue Oct 22, 2024 · 9 comments

Comments

@ozgurkazancci
Copy link

Hi,

Any chance to run weakforced on OpenBSD? No official package available, it seems.. Sadly. :/

Regards.

@neilcook
Copy link
Collaborator

Well you're very welcome to contribute - the package builder is very generic, and uses docker, so it should be straightforward to build for OpenBSD.

@ozgurkazancci
Copy link
Author

ozgurkazancci commented Oct 23, 2024

OpenBSD is not Linux, there is no docker here;

$ git clone https://github.com/PowerDNS/weakforced.git
$ cd weakforced
$ git submodule init
$ git submodule update
$ ./build.sh sdist
sshot

Thank you.

@neilcook
Copy link
Collaborator

Ok, well this is very unlikely to happen then, sorry!

@neilcook
Copy link
Collaborator

However, there's nothing to stop you compiling it and installing locally if that is what you want. If you find any compilation issues, let me know.

@ozgurkazancci
Copy link
Author

ozgurkazancci commented Oct 23, 2024

However, there's nothing to stop you compiling it and installing locally if that is what you want. If you find any compilation issues, let me know.

Trying since hours - I was able to obtain all the dependencies&missing libraries for weakforced on OpenBSD and get to the final part of ./configure, failed because the 'getdns' package is missing now.

There is no 'getdns' package in OpenBSD either, because unwind and unbound are already there, for that.

I tried compiling getdns, but gave up when I encountered problems.

Thank you.

@neilcook
Copy link
Collaborator

I tried compiling getdns, but gave up when I encountered problems.

What problems did you have compiling getdns? Sounds like you're nearly there.

Have you tried something like:

./configure --with-gnutls --with-nettle --disable-ecdsa

@ozgurkazancci
Copy link
Author

ozgurkazancci commented Oct 23, 2024

compiled with:

cmake -DENABLE_ECDSA=OFF -DUSE_GNUTLS=OFF -DENABLE_ED25519=OFF -DENABLE_ED448=OFF -DENABLE_TCP_FAST_OPEN=OFF ..

and then tried both make and gmake - reports;

dane

The issue seems DANE library.

@neilcook
Copy link
Collaborator

Why are you disabling gnutls? You need some kind of crypto library for DANE support.

@ozgurkazancci
Copy link
Author

ozgurkazancci commented Oct 23, 2024

Why are you disabling gnutls?

Because it leads some more errors;
gmake[2]: *** [CMakeFiles/getdns_objects.dir/build.make:538: CMakeFiles/getdns_objects.dir/src/tls/val_secalgo.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:883: CMakeFiles/getdns_objects.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

Anyways, that's all it - it seems, thank you for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants