From 2c5b80f6a31ca5bd138edc36ccde14bb1942c084 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Thu, 6 Apr 2023 19:06:26 +0100 Subject: [PATCH 1/2] common/travis: make check-install use new rootdir. The CI has `base-chroot` installed, but sometimes this script would try to install `base-system,` causing conflicts. This commit fixes that issue by using a brand-new rootdir. --- common/travis/check-install.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/common/travis/check-install.sh b/common/travis/check-install.sh index 943a6bc6211c..ebc2d966a5c7 100755 --- a/common/travis/check-install.sh +++ b/common/travis/check-install.sh @@ -4,22 +4,21 @@ export XBPS_TARGET_ARCH="$2" XBPS_DISTDIR=/hostrepo -if [ "$1" != "$XBPS_TARGET_ARCH" ]; then - triplet="$(/hostrepo/xbps-src -a "$XBPS_TARGET_ARCH" show-var XBPS_CROSS_TRIPLET)" - ROOTDIR="-r /usr/$triplet" -fi - ADDREPO="--repository=$HOME/hostdir/binpkgs/bootstrap --repository=$HOME/hostdir/binpkgs --repository=$HOME/hostdir/binpkgs/nonfree" +mkdir /check-install + +xbps-install $ADDREPO -S -r /check-install + while read -r pkg; do for subpkg in $(xsubpkg $pkg); do /bin/echo -e "\x1b[32mTrying to install dependants of $subpkg:\x1b[0m" for dep in $(xbps-query $ADDREPO -RX "$subpkg"); do xbps-install \ - $ROOTDIR $ADDREPO \ - -Sny \ + $ADDREPO \ + -ny -r /check-install \ "$subpkg" "$(xbps-uhelper getpkgname "$dep")" ret="$?" if [ "$ret" -eq 8 ] || [ "$ret" -eq 11 ]; then From 892868eabc1de4fe6d064bdc929f2445f83782e5 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Mon, 3 Apr 2023 22:45:29 +0100 Subject: [PATCH 2/2] traceroute: update to 2.1.2. --- srcpkgs/traceroute/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/traceroute/template b/srcpkgs/traceroute/template index 73e12c1c4c90..058452d1ca79 100644 --- a/srcpkgs/traceroute/template +++ b/srcpkgs/traceroute/template @@ -1,13 +1,13 @@ # Template file for 'traceroute' pkgname=traceroute -version=2.1.0 -revision=4 +version=2.1.2 +revision=1 short_desc="Traces the route taken by packets over an IPv4/IPv6 network" maintainer="Enno Boland " license="GPL-2.0-or-later, LGPL-2.1-or-later" -homepage="http://traceroute.sourceforge.net" -distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz" -checksum=3669d22a34d3f38ed50caba18cd525ba55c5c00d5465f2d20d7472e5d81603b6 +homepage="https://traceroute.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/traceroute/traceroute-${version}.tar.gz" +checksum=507c268f2977b4e218ce73e7ebed45ba0d970a8ca4995dd9cbb1ffe8e99b5b1f alternatives=" traceroute:traceroute:/usr/bin/linux-traceroute @@ -21,6 +21,7 @@ do_build() { make CFLAGS="$CFLAGS $CPPFLAGS" LDFLAGS="$LDFLAGS" ${makejobs} fi } + do_install() { vbin traceroute/traceroute linux-traceroute vman traceroute/traceroute.8 linux-traceroute.8