Files
Alexandru Ardelean 588cc4c904 miniupnpc: update to 2.3.3
Changes since 2.2.8:
- Fix crash related to FD_SET and socket timeout handling
- Fix build_absolute_url when if_indextoname() returns NULL
- Add support for C23 and glibc 2.43 string function signatures
- Improve poll() usage and C++ compiler compatibility

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-14 15:39:33 +03:00

17 lines
356 B
Bash

#!/bin/sh
case "$1" in
libminiupnpc)
# Verify the shared library is installed
ls /usr/lib/libminiupnpc.so.* > /dev/null
;;
miniupnpc)
# upnpc without args exits non-zero but prints usage including port
# redirection operations and the discover (-l) option
upnpc 2>&1 | grep -qi "Add port redirection\|port redirection\|upnp"
;;
*)
exit 0
;;
esac