[Feature request] OpenWrt APK packages support
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 38.2k
- Forks
- 4.6k
- Avg merge
- 19d 15h
- Merged PRs (30d)
- 1
Description
Hey, I once stole your configurations for building .ipk packages for OpenWrt without OpenWrt SDK, and now I can share with you how to build your own .apk packages for OpenWrt.
In fact, you need to install apk-tools from the Alpine Linux + generate several files for “/lib/apk/packages” and then just call “apk mkpkg”.
You can see a simplified build process here: https://github.com/MagiTrickle/MagiTrickle/blob/d47bd8b3fcde573c3b73c893d3e3c312d9e6c1a3/Makefile#L259-L289
In fact, it is sufficient to view include/package-pack.mk file from the OpenWrt repository.
It would be useful to be able to use the latest sing-box builds, which are not yet available in the official OpenWrt.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the simplified build process in Makefile lines 259-289 and compare it with OpenWrt’s include/package-pack.mk lines 561-609. Read how apk-tools generates the files under /lib/apk/packages and identify the package-build inputs needed here. Done means the project can produce usable OpenWrt .apk packages, including the latest sing-box builds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- build-system, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100