mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
Jump from the 3.x series to 4.x, which tracks libyang 5.x and moves its SONAME from libnetconf2.so.3 to libnetconf2.so.5. Switch DEPENDS back to +libyang and drop the legacy staging prefix override. ENABLE_PAM=OFF is upstream now, so its patch goes away. 4.x owns the transport YANG modules netopeer2 registers at first boot, so ship them to /etc/netconf2/modules. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
19 lines
293 B
Bash
Executable File
19 lines
293 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "$1" in
|
|
libnetconf2)
|
|
[ -e /usr/lib/libnetconf2.so ] || {
|
|
echo "libnetconf2.so not found" >&2
|
|
exit 1
|
|
}
|
|
[ -e /usr/lib/libnetconf2.so.5 ] || {
|
|
echo "libnetconf2.so.5 not found" >&2
|
|
exit 1
|
|
}
|
|
;;
|
|
*)
|
|
echo "Unsupported test target: $1" >&2
|
|
exit 1
|
|
;;
|
|
esac
|