procps-ng: update to 4.0.3.

This commit is contained in:
mhmdanas 2023-02-22 18:29:49 +00:00 committed by Leah Neukirchen
parent 31f54b135c
commit 7e00b892e6
2 changed files with 16 additions and 17 deletions

View File

@ -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

View File

@ -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 <gottox@voidlinux.org>"
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 <utmp.h>' w.c
sed -i '1i#include <langinfo.h>' 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() {