termux / termux-root-packages

Termux packages that are only usable by root users.
Other
1.04k stars 295 forks source link

[libnetfilter_queue] this library is required for build bettercap 2.32.0 #268

Closed ghost closed 3 years ago

ghost commented 3 years ago

require changes of these include files in ndk_sysrooty: /data/data/com.termux/files/usr/include/netinet/if_ether.h /data/data/com.termux/files/usr/include/netinet/ip.h /data/data/com.termux/files/usr/include/linux/netfilter/nfnetlink.h

Grimler91 commented 3 years ago

This is weird, CI is not picking up the commit even after rebasing

ghost commented 3 years ago

too many PR?

ghost commented 3 years ago

On my environment if TERMUX_PKG_LICENSE_FILE is not present give me error

Grimler91 commented 3 years ago

I don't know why it does not want to test build this PR, it worked for the bettercap PR so seems to be some issue with just the libnetfilter_queue commit, for some reason.

Building locally works fine anyways, I see the errors about redefinition of a bunch of symbols like error: redefinition of 'nfnetlink_groups'.

On my environment if TERMUX_PKG_LICENSE_FILE is not present give me error

It should work after changing to GPL-2.0, it then uses a shared GPL-2.0 license instead of looking for one in the source directory

thunder-coding commented 3 years ago

The CI isn't picking this up because of _ in package name

https://github.com/termux/termux-root-packages/blob/51c2428a70fa5cd7494a1e7859151e36cd325a44/.github/workflows/packages.yml#L73

ghost commented 3 years ago

The CI isn't picking this up because of _ in package name

ok thank you a rename with -

ghost commented 3 years ago

after git mv, push doesn't work, I rename the branch and maked a new PR. Sorry!