-
Notifications
You must be signed in to change notification settings - Fork 378
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
nodogsplash: update to 5.0.1 #997
Conversation
fyi |
@mwarning |
@bluewavenet good point, but then |
Yes, leave the iptables-mod dependencies unchanged as they are all compatible with iptables-nft. ie:
|
@mwarning The truly ancient nodogsplash2 conflict can be safely dropped I think ;-) |
I we list opennds as conflicting software, then we could list all other captive portals as well... |
There is some argument to that, eg CPD port 80 redirect is common to all, but I don't think we need to go that far. But more fundamentally, both NoDogSplash and openNDS have many commonalities such as packet marking that they cannot both be running on the same device at the same time. Also, since release v10, openNDS has been migrated 100% to native nftables and will be a higher priority in the nft ruleset than any legacy iptables setup, meaning openNDS will always do the port 80 capture regardless of which of NoDog or openNDS was installed first. But then the legacy iptables tables/chains of NoDog will still be in the ruleset. "Havoc will ensue" :-D To put it simply, replacing the long defunct nodogsplash2 with the current opennds in Note: openNDS has nodogsplash in |
ok, no problem. I do not have a strong opinion here. :) |
@mwarning
|
Signed-off-by: Moritz Warning <[email protected]>
@mwarning |
Now there is circular reference: tmp/.config-package.in:91534: symbol PACKAGE_nodogsplash depends on PACKAGE_opennds Mutual CONFLICTS is unnecessary and causes this error. |
@hnyman can you tell us why this is a problem and how to reproduce it? So we can fix this quickly. |
You can reproduce it simply by doing "make defconfig" or "make menuconfig" on an up-to-date build env...
Naturally also buildbots see the problem: E.g.
There should be no recursive dependencies, as it can confuse the dependency evaluation logic. |
Interesting is that it does not seem to prevent me from building packages/images. |
Of course, but why does CONFLICTS make a dependency? ( it also tells opkg not to install if the conflicting package is already installed which is what we wanted to achieve.) @hnyman I cannot find CONFLICTS in any documentation, is it mentioned anywhere? Is there any other way of informing opkg of a "conflict"? Well the answer is to take the CONFLICTS out of the makefiles of both nodogsplash and opennds. I'll do it on opennds. I guess adding some code into opennds to look for nodogsplash is one way ;-) |
"CONFLICTS" gets handled as a negative dependency in the kernel config language. The best underlying documentation is probably at the site given in the (kernel config) error message:
Just from one of them, so that the recursive/circular aspect gets removed. |
Understood. Although I will remove it from the opennds makefile as well and instead add a startup check to the opennds code - that will allow both to be installed and a simple config change to switch between the two. The reasoning behind it is that many academic projects start with nodogsplash and move to opennds for api support and currently I end up repeatedly explaining what is wrong! |
@mwarning @hnyman |
Maintainer: me
Compile tested: Nexx wt3020 ramips/mt7620, OpenWrt master
Run tested: same as compile target
Description:
Tested Internet access via accept button on the splash site.