-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
adguardhome: bump to 0.105.1 #14717
adguardhome: bump to 0.105.1 #14717
Conversation
Please don't merge it yet. It seems to be running fine but I've noticed that Makefile uses also yarn. Let me run this software for more time and try to dig if yarn is really needed for compilation. |
I did some digging and AdGuardHome states that yarn is needed for compilation. It serves redesigned incomplete interface on 3001 port. To make this work with yarn, there are two things missing:
For now I'll push those missing functionality into this pull request. When it passes CI I'll create one pull request (for node fix) and one issue for including node-yarn package (in order to keep original authorship). |
45d74fd
to
302c7e6
Compare
Ok, node-yarn fails to build for arm_cortex-a9_vfpv3-d16, arm_cortex-a15_neon-vfpv4 and i386_pentium-mmx targets. I'll try to figure it out. If not I'll reach for @nxhack for help. |
@dobo90 |
@dobo90 |
Imported from [1]. All credits go to Hirokazu MORIKAWA <morikw2@gmail.com> Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com> As it's problematic to compile this for 32-bit targets (see [2]) I made this package host-only. Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com> [1]: https://github.com/nxhack/openwrt-node-packages/blob/20b4dabcc85d5da64515b4c55c22d29403ebf11c/node-yarn/Makefile [2]: openwrt#14717 (comment)
302c7e6
to
b1eed94
Compare
Hmm, I don't understand one thing: why node is compiled for a target architecture when I specify only node/host and node-yarn/host dependency. @nxhack, |
The above limitation (lack of multilib) can be avoided by restricting yarn to host build only. However, due to the above limitation, the node module required by adguardhome will not run because the 32bit version of node.js itself is not built. Of course, if you install multilib and then build OpenWrt by yourself, there is no problem. |
I tried to build it in my environment. Am I correct in my understanding that the node.js environment is only needed to build adguardhome itself, and not on the target machien? If so, I think it's a good idea to limit yarn to host builds. If that's okay, I'll send a pull request for each package related to node.js. |
That's correct. Adguardhome needs nodejs and yarn only to build some frontend files (only on the host machine, not the target). |
Made the necessary changes to build the latest version of adguardhome. See this thread : openwrt#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Add the necessary new package to build the latest version of adguardhome. See this thread : openwrt#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
I've sent the necessary pull requests. |
* Full changelog available at: * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.105.0 * https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.105.1 * Add node-yarn/host dependency as it is needed since [1]. * Adjust LDFLAGS to the new ones introduced in [2]. * Invoke targets from make instead of manually running npm and yarn. * Replace GO_PKG_EXCLUDES with GO_PKG_BUILD_PKG as our intention is to build only one specific package (a cosmetic change). [1]: AdguardTeam/AdGuardHome@5e20ac7#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R140 [2]: AdguardTeam/AdGuardHome@0d67aa2#diff-82ef468ec5547f1ed424776755a7f87dfec4eba9838d2c2ac02c9881bb67d737R60 Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
b1eed94
to
d208610
Compare
It's ready for review. Friendly poke: @neheb, @jefferyto. |
Add the necessary new package to build the latest version of adguardhome. See this thread : openwrt#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Add the necessary new package to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Made the necessary changes to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Add the necessary new package to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Made the necessary changes to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Add the necessary new package to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Made the necessary changes to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Add the necessary new package to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Made the necessary changes to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Add the necessary new package to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Made the necessary changes to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Add the necessary new package to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Made the necessary changes to build the latest version of adguardhome. See this thread : openwrt/packages#14717 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Maintainer: me
Compile tested: aarch64_generic, NanoPi R2S, OpenWrt SNAPSHOT r15730
Run tested: aarch64_generic, NanoPi R2S, OpenWrt SNAPSHOT r15730
build only one specific package (a cosmetic change).