miniupnpc: Bump to 2.2.5

This commit is contained in:
Tee KOBAYASHI 2023-06-16 03:58:12 +09:00 committed by xtkoba
parent cec3df234b
commit 14a22e4e36
1 changed files with 10 additions and 3 deletions

View File

@ -2,12 +2,19 @@ TERMUX_PKG_HOMEPAGE=https://miniupnp.tuxfamily.org/
TERMUX_PKG_DESCRIPTION="Small UPnP client library and tool to access Internet Gateway Devices"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.2.4
TERMUX_PKG_VERSION=2.2.5
TERMUX_PKG_SRCURL=https://miniupnp.tuxfamily.org/files/miniupnpc-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=481a5e4aede64e9ef29895b218836c3608d973e77a35b4f228ab1f3629412c4b
TERMUX_PKG_SHA256=38acd5f4602f7cf8bcdc1ec30b2d58db2e9912e5d9f5350dd99b06bfdffb517c
TERMUX_PKG_BREAKS="miniupnpc-dev"
TERMUX_PKG_REPLACES="miniupnpc-dev"
termux_step_post_make_install() {
install -Dm700 upnpc-static "$TERMUX_PREFIX/bin/upnpc"
ln -sfT upnpc-static "$TERMUX_PREFIX/bin/upnpc"
}
termux_step_post_massage() {
local _EXTERNAL_IP="bin/external-ip.sh"
if [ -f "${_EXTERNAL_IP}" ]; then
chmod 0700 "${_EXTERNAL_IP}"
fi
}