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
openfortivpn 1.4.0 (new formula) #14344
Conversation
@BrewTestBot test this please |
Formula/openfortivpn.rb
Outdated
system "aclocal" | ||
system "autoconf" | ||
system "automake", "--add-missing" | ||
ENV.prepend "LDFLAGS", "-L#{Formula["openssl"].opt_lib}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These paths can't be specified as arguments to configure
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've checked, and unfortunately this is the only way with the current source.
This is basically a transcription of the macOS installing instructions provided by the software author in https://github.com/adrienverge/openfortivpn/blob/master/README.md
Formula/openfortivpn.rb
Outdated
depends_on "openssl" | ||
|
||
def install | ||
system "aclocal" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there no autogen.sh
script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, there isn't
system "make", "install" | ||
end | ||
test do | ||
system bin/"openfortivpn", "--version" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A test that checks more functionality would be great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a VPN software, I've no idea on how to check its functionality without connecting to a server. --help and --version are the only informative functions provided by openfortivpn
The only tests included in the source are about code formatting, so nothing useful to check if the software works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, thanks.
Would you mind asking the developers if they'd consider adding a |
I've made a pull request to openfortivpn to fix these issues. adrienverge/openfortivpn#144 |
@mnencia If you would like, it may make the most sense to close this PR and open a new one for the new |
openfortivpn is a client for PPP+SSL VPN tunnel services. It spawns a pppd process and operates the communication between the gateway and this process. It is compatible with Fortinet VPNs.
I've updated this pull request to 1.4.0 version |
Thanks for contributing to Homebrew! Merged as 22d6d1d. |
@mnencia @dunn FYI the autotools files in openfortivpn have been changed again. They now make use of |
It should work. |
My colleague has reported that the new formula works like charm 👍 |
@mrbaseman the change has not yet been released. What @DimitriPapadopoulos was asking is if this change is compatible with Homebrew or they need to modify it before the next release. My answer is: The formula has to be updated, but the change is fine. I don't know if @dunn wants to add anything. |
@mnencia Have you had the chance to test openfortivpn 1.5.0 yet? Please note that Autotools support for OpenSSL has been rewritten in openfortivpn and hopefully standardized. The |
I've tested it briefly and everything looks ok. |
Ooops... I just noticed recent commit bf53714 by ilovezfs. |
openfortivpn is a client for PPP+SSL VPN tunnel services. It spawns a pppd
process and operates the communication between the gateway and this process.
It is compatible with Fortinet VPNs.
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?