From 7e00b892e6921b6d3c71bcbbeb6501ddb2719c9e Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Wed, 22 Feb 2023 18:29:49 +0000 Subject: [PATCH] procps-ng: update to 4.0.3. --- common/shlibs | 2 +- srcpkgs/procps-ng/template | 31 +++++++++++++++---------------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/common/shlibs b/common/shlibs index ba0744dac15..8c47e79b8c4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2330,7 +2330,7 @@ libgedacairo.so.1 geda-1.10.2_1 libxornstorage.so.0 geda-1.10.2_1 libclutter-gst-3.0.so.0 clutter-gst3-3.0.4_1 libgsound.so.0 gsound-1.0.1_1 -libprocps.so.8 procps-ng-3.3.16_1 +libproc2.so.0 procps-ng-4.0.3_1 libgegl-0.4.so.0 gegl-0.4.16_1 libgegl-npd-0.4.so gegl-0.4.16_1 libgegl-sc-0.4.so gegl-0.4.16_1 diff --git a/srcpkgs/procps-ng/template b/srcpkgs/procps-ng/template index 54239e6550f..00fa9817f53 100644 --- a/srcpkgs/procps-ng/template +++ b/srcpkgs/procps-ng/template @@ -1,12 +1,12 @@ # Template file for 'procps-ng' pkgname=procps-ng -version=3.3.17 -revision=2 +version=4.0.3 +revision=1 build_style=gnu-configure configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/bin --libdir=/usr/lib --disable-kill --enable-watch8bit --disable-modern-top --without-systemd" -hostmakedepends="automake gettext-devel libtool pkg-config" +hostmakedepends="gettext-devel pkg-config" makedepends="ncurses-devel" checkdepends="dejagnu" short_desc="Utilities for monitoring your system and its processes" @@ -14,27 +14,26 @@ maintainer="Enno Boland " license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://gitlab.com/procps-ng/procps" changelog="https://gitlab.com/procps-ng/procps/raw/master/NEWS" -distfiles="${SOURCEFORGE_SITE}/${pkgname}/Production/${pkgname}-${version}.tar.xz" -checksum=4518b3e7aafd34ec07d0063d250fd474999b20b200218c3ae56f5d2113f141b4 +distfiles="${SOURCEFORGE_SITE}/procps-ng/Production/procps-ng-${version}.tar.xz" +checksum=303c8ec4f96ae18d8eaef86c2bd0986938764a45dc505fe0a0af868c674dba92 +# "pmap X with unreachable process" and "pmap XX with unreachable process" fail +# in the CI. +make_check=ci-skip conf_files="/etc/sysctl.conf" -post_extract() { - sed -i 's,ncursesw/ncurses.h,ncurses.h,g' watch.c - sed -i '1i#include ' w.c - sed -i '1i#include ' proc/escape.c -} +if [ "$XBPS_TARGET_LIBC" = musl ]; then + # See https://gitlab.com/procps-ng/procps/-/issues/193 and + # https://gitlab.com/procps-ng/procps/-/merge_requests/129. + configure_args+=" --disable-w" +fi -pre_configure() { - autoreconf -fi +post_extract() { + vsed -i 's,ncursesw/ncurses.h,ncurses.h,g' src/watch.c } post_install() { vconf ${FILESDIR}/sysctl.conf - - # clashes with extrace, will be renamed in procps-ng 3.3.18. - rm -f ${DESTDIR}/usr/bin/pwait - rm -f ${DESTDIR}/usr/share/man/man1/pwait.1 } procps-ng-devel_package() {