strongswan: `strongswan-ipsec` (5.9.14-r4) post-install script will not work after apk transition
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Maintainer: @pprindeville @Thermi
Environment: x86_64 SNAPSHOT r28085-6720c4ccba
Description: after opkg to apk transition, this post install script will no longer work
( 3/95) Installing strongswan-ipsec (5.9.14-r4)
Executing strongswan-ipsec-5.9.14-r4.post-install
/dev/fd/8: line 12: opkg: not found
Offending code:
https://github.com/openwrt/packages/blob/bea58eea06f1f30ea5d5b01c47972a166971e9fe/net/strongswan/Makefile#L557-L559
Contributor guide
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 at the strongSwan Makefile lines 557-559 linked in the issue and inspect the post-install script in the OpenWrt package context. Reproduce installation of strongswan-ipsec on an apk-based snapshot and verify the post-install step completes without the reported missing-opkg error.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100