Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upwireguard: new upstream version #3816
Conversation
This comment has been minimized.
This comment has been minimized.
|
I like to get comments on:
/cc @zx2c4 |
This comment has been minimized.
This comment has been minimized.
|
PKG_HASH only works with LEDE, as it has not yet been backported to Openwrt (there is a PR open for that). So, we need to still use PKG_MD5SUM in this packages feed repo. PKG_MD5SUM accepts both MD5 and SHA256 hash and uses the hash length to recognize the hash type.. Three working alternatives:
Please fix your Makefile with one of them. |
This comment has been minimized.
This comment has been minimized.
|
please also change the make file to use AUTOLOAD:=$(call AutoProbe,wireguard) (issue #3790) |
This comment has been minimized.
This comment has been minimized.
|
@lucize done. Interesting issue BTW. |
This comment has been minimized.
This comment has been minimized.
|
Could you squash the three commits into one, please. |
This comment has been minimized.
This comment has been minimized.
zorun
commented
Jan 11, 2017
|
@danrl thanks for the update Don't you need to disable all the new stuff, as mentioned here? https://lists.zx2c4.com/pipermail/wireguard/2017-January/000887.html |
This comment has been minimized.
This comment has been minimized.
build000
commented
Jan 11, 2017
•
|
Please add more essential and practical features to this program - most modern routers and practical uses multissid and two versions of the radio (2.4 GHz and 5 GHz - not everyone expects that both radios must be simultaneously turned on or off) - The application is simply too poor in functionality. |
This comment has been minimized.
This comment has been minimized.
|
@build000 I wonder how you are using WireGuard. I can't see how Multi-SSID and WireGuard are conflicting. I use both in my router and it works fine.
If you are using LuCi, this is how you configure wg interfaces: https://www.danrl.com/2016/11/16/openwrt-luci-proto-wireguard.html |
This comment has been minimized.
This comment has been minimized.
build000
commented
Jan 11, 2017
•
|
@danrl @zorun and others - very...very sorry. |
This comment has been minimized.
This comment has been minimized.
|
No problem, we all get confused one time or the other. It's a huge code base :) |
This comment has been minimized.
This comment has been minimized.
|
@zorun: My first thought was: I don't think it hurts "building" the additional files since they do not end up in the package. Also, as I understand, they are not really build but rather come with the repository as it is cloned. Since we do not run Here is upstream's Makefile for reference: https://git.zx2c4.com/WireGuard/tree/src/tools/Makefile?h=0.0.20170105 We could add
to our Makefile. But it should not have any effect. Correct me if I am wrong.
Again, can't see the effect. However, I came across another thing:
There is no target
See this branch for all the other weird tests I ran, just to see if we hit the path with one of them: https://github.com/danrl/lede-packages/commits/wireguard-test (Caution, ugly :) ) @hnyman I haven't squashed yet to avoid merging to early. I will squash once I am fully satisfied with all the changes. Sorry for not communicating that more clear. I'll ping you once squashed, ok? |
This comment has been minimized.
This comment has been minimized.
|
Hey, Y'all aren't using the With regards to your question about the modules target. Keep it how it is. That's a target in the kernel's makefile, not in the wireguard one. @zorun chose to just call the kernel's makefile directly, instead of going through my makefile's simple shim to do the same. That seems fine to me. In short, things are fine as is. Jason |
This comment has been minimized.
This comment has been minimized.
hnyman
merged commit 3b2e6ca
into
openwrt:master
Jan 11, 2017
danrl
deleted the
danrl:wireguard
branch
Jan 11, 2017
This comment has been minimized.
This comment has been minimized.
zorun
commented
Jan 12, 2017
|
@danrl Oops, this was just a suggestion that there might be some changes, not that there necessarily were. Sorry to have misled you into trying all that stuff! For the module/modules target, Jason is right, we are calling the kernel's Makefile directly to build the module. |
This comment has been minimized.
This comment has been minimized.
|
Could a mirror for the source download be added to the Makefile? Apparently the Openwrt buildbot's buildslaves can not reach the download site, as the buildslaves do not fulfill the SSL/TLS requirements of git.zx2c4.com...
|
This comment has been minimized.
This comment has been minimized.
|
Oh. Let me check that with upstream. Is buildbot not using the latest GnuTLS? What exactly is causing the problem? @zx2c4 FYI |
This comment has been minimized.
This comment has been minimized.
No idea. I have just noticed that LEDE buildbot builds wireguard ok, but Openwrt buildbot fails constantly. It is older and has older buildslaves probably with older software. I have nothing to do with that buildbot's maintenance. @wigyori might know more. But in general the Openwrt buildbot has been able to load other source packages, so likely git.zx2c4.com uses more tight SSL/TLS restrictions than the usual source download sites. |
danrl commentedJan 11, 2017
Signed-off-by: Dan Luedtke mail@danrl.com
Maintainer: @zorun & me
Compile tested: x86_64 latest source from yesterday evening
Description: Version bump. Also introduced new variable
PKG_HASHfor compatibility with anticipated build system changes.