[arch-commits] Commit in miniupnpc/trunk (PKGBUILD)
Jonas Witschel
diabonas at archlinux.org
Sun Jul 12 14:12:32 UTC 2020
Date: Sunday, July 12, 2020 @ 14:12:32
Author: diabonas
Revision: 663331
upgpkg: miniupnpc 2.1.20190408-3: avoid embedding unreproducible uname -r in binary
When lsb_release is not available, updateminiupnpcstrings.sh falls back to using
"uname -r" for MINIUPNPC_VERSION_STRING (which is used e.g. in the user agent),
making the build unreproducible between different kernel versions. With
lsb_release available, the version string is fixed to "Arch/rolling" instead.
Modified:
miniupnpc/trunk/PKGBUILD
----------+
PKGBUILD | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-12 13:54:07 UTC (rev 663330)
+++ PKGBUILD 2020-07-12 14:12:32 UTC (rev 663331)
@@ -4,12 +4,13 @@
pkgname=miniupnpc
pkgver=2.1.20190408
-pkgrel=2
+pkgrel=3
pkgdesc='Small UPnP client library/tool to access Internet Gateway Devices'
url='https://miniupnp.tuxfamily.org/'
arch=('x86_64')
license=('BSD')
depends=('sh')
+makedepends=('lsb-release')
provides=('libminiupnpc.so')
source=(https://miniupnp.tuxfamily.org/files/${pkgname}-${pkgver}.tar.gz{,.sig})
sha256sums=('a0c46bcf6065d6351a8fa6a0a18dc57d10a16908dbb470908fd2e423511514ec'
More information about the arch-commits
mailing list