mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
miniupnpd: update to 2.3.7.
This commit is contained in:
parent
c9ba6435d1
commit
2ca17ec8d8
1 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'miniupnpd'
|
# Template file for 'miniupnpd'
|
||||||
pkgname=miniupnpd
|
pkgname=miniupnpd
|
||||||
version=2.3.6
|
version=2.3.7
|
||||||
revision=1
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="
|
configure_args="
|
||||||
|
@ -23,28 +23,28 @@ license="BSD-3-Clause"
|
||||||
homepage="http://miniupnp.free.fr"
|
homepage="http://miniupnp.free.fr"
|
||||||
changelog="http://miniupnp.free.fr/files/changelog.php?file=miniupnpd-${version}.tar.gz"
|
changelog="http://miniupnp.free.fr/files/changelog.php?file=miniupnpd-${version}.tar.gz"
|
||||||
distfiles="http://miniupnp.free.fr/files/miniupnpd-${version}.tar.gz"
|
distfiles="http://miniupnp.free.fr/files/miniupnpd-${version}.tar.gz"
|
||||||
checksum=11ca7bf4d4ba6c6ba12c70c3041807f516f4d9f6b6697bea04e837626b9d679c
|
checksum=fbdd5501039730f04a8420ea2f8f54b7df63f9f04cde2dc67fa7371e80477bbe
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
makedepends+=" musl-legacy-compat"
|
makedepends+=" musl-legacy-compat"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
vsed -i ${wrksrc}/configure \
|
vsed -i "${wrksrc}/configure" \
|
||||||
-e 's|LSB_RELEASE=.*|LSB_RELEASE=$(false)|' \
|
-e 's|LSB_RELEASE=.*|LSB_RELEASE=$(false)|' \
|
||||||
-e 's|V6SOCKETS_ARE_V6ONLY=.*|V6SOCKETS_ARE_V6ONLY="0"|'
|
-e 's|V6SOCKETS_ARE_V6ONLY=.*|V6SOCKETS_ARE_V6ONLY="0"|'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
post_configure() {
|
post_configure() {
|
||||||
vsed -i ${wrksrc}/config.h \
|
vsed -i "${wrksrc}/config.h" \
|
||||||
-e 's|^#define OS_URL.*$|#define OS_URL "https://voidlinux.org/"|g' \
|
-e 's|^#define OS_URL.*$|#define OS_URL "https://voidlinux.org/"|g' \
|
||||||
-e 's|^#define OS_NAME.*$|#define OS_NAME "Void"|g' \
|
-e 's|^#define OS_NAME.*$|#define OS_NAME "Void"|g' \
|
||||||
-e 's|^#define OS_VERSION.*$|#define OS_VERSION "Void"|g'
|
-e 's|^#define OS_VERSION.*$|#define OS_VERSION "Void"|g'
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/etc/init.d
|
rm -rf "${DESTDIR}/etc/init.d"
|
||||||
vsv miniupnpd
|
vsv miniupnpd
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vdoc "${FILESDIR}/README.voidlinux"
|
vdoc "${FILESDIR}/README.voidlinux"
|
||||||
|
|
Loading…
Add table
Reference in a new issue