immortalwrt/package
Tianling Shen c16c7c7b41
openssl: fix uci config for built-in engines
Built-in engine configs are added in libopenssl-conf/install stage
already, postinst/add_engine_config is just duplicating them, and
due to the lack of `config` header it results a broken uci config:

> uci: Parse error (invalid command) at line 3, byte 0

```
config engine 'devcrypto'
        option enabled '1'
engine 'devcrypto'
        option enabled '1'
        option builtin '1'
```

Add `builtin` option in libopenssl-conf/install stage and remove
duplicate engine configuration in postinst/add_engine_config to
fix this issue.

Also add `exit 0` to postinst to silent (potential) pointless error.

Fixes: 0b70d55a64 ("openssl: make UCI config aware of built-in engines")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit b4192342f1)
2023-06-01 18:45:09 +08:00
..
base-files ImmortalWrt v23.05: set branch defaults 2023-05-21 21:39:59 +08:00
boot Merge Official Source 2023-05-30 14:56:36 +08:00
devel treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
emortal treewide: replace AUTORELEASE/COMMITCOUNT with real PKG_RELEASE 2023-05-29 15:17:57 +08:00
firmware Merge Official Source 2023-05-21 21:35:14 +08:00
kernel kernel: netdevices: add missing Kconfig to mlx5-core 2023-05-30 16:25:18 +08:00
libs openssl: fix uci config for built-in engines 2023-06-01 18:45:09 +08:00
network Merge Official Source 2023-05-25 23:00:39 +08:00
system ca-certificates: Update to version 20230311 2023-05-28 15:08:24 +08:00
utils treewide: replace AUTORELEASE/COMMITCOUNT with real PKG_RELEASE 2023-05-29 15:17:57 +08:00
Makefile build: generate index.json 2023-05-09 23:56:49 +02:00