mirror of
https://github.com/evgeny-gridasov/openvpn-otp.git
synced 2026-04-25 21:35:54 +03:00
[GH-ISSUE #18] freebsd support? #10
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/openvpn-otp#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bbrendon on GitHub (Aug 1, 2017).
Original GitHub issue: https://github.com/evgeny-gridasov/openvpn-otp/issues/18
Will this work on freebsd?
@bbrendon commented on GitHub (Aug 2, 2017):
I got as far as
configure: error: OpenVPN headers missing@evgeny-gridasov commented on GitHub (Aug 2, 2017):
Hi Brendon, do you have openvpn headers installed?
If so, what's the headers location?
@bbrendon commented on GitHub (Sep 5, 2017):
I got past the headers issue. I found another issue with something about it. Fix is:
The new issue ...
I looked at some of the endian.h files but they are all different. I'm not sure which one I should even attempt to make work. Any ideas?
I also noticed someone else working on pfsense/freebsd. https://github.com/evgeny-gridasov/openvpn-otp/issues/12
@haarp commented on GitHub (Sep 6, 2017):
Here's how I got it to work, this was back on pfSense 2.1 or 2.2 I think.
WITHOUT_CHECK=yes make install@evgeny-gridasov commented on GitHub (Sep 7, 2017):
Guys, I don't have time to test it on FreeBSD. If anyone has it 100% working, I'd be more than happy to accept a pull request that will add a FreeBSD HOWTO section to readme.md
@RNCTX commented on GitHub (Jun 20, 2018):
Stumbled on this via google. Got warnings during compile using suggestions in this reply about machine/ being deprecated in favor of sys/ (on FreeBSD 11.1-RELEASE). There is a hard-coded search path for /usr/include somewhere, because prefixing /usr/local as FreeBSD uses does not find the openvpn headers. Unfortunately the FreeBSD openvpn package does not include any pkgconfig files, so pkgconfig wouldn't help.
So my modified configure was...
./configure --with-openvpn-plugin-dir=/usr/local/lib/openvpn/plugins --prefix=/usr/local CPPFLAGS="-I/usr/include/sys -I/usr/local/include/"after making a symlink to the header where the autoconf tools in this distribution want it...
ln -s /usr/local/include/openvpn-plugin.h /usr/include/openvpn-plugin.hThis is assuming that openvpn was installed from ports or the official FreeBSD pkg. The plugin directory above is the FreeBSD port/pkg default.
I built it successfully, but haven't tested yet. Here are the warnings...
Will post back after testing.
@evgeny-gridasov commented on GitHub (Jun 21, 2018):
Hey Robert,
I've done zero testing on FreeBSD, and while I still like the OS, I have no
free time to test that. I am sure somebody else had some success in it.
You're welcome to provide a fix via a pull request.
Regards,
Evgeny.
On Thursday, June 21, 2018, Robert Clayton notifications@github.com wrote:
@evgeny-gridasov commented on GitHub (Nov 29, 2018):
I've added FreeBSD and OpenBSD support in
github.com/evgeny-gridasov/openvpn-otp@922d12379c