From 5e8efc25f4935896096f5f46cffe387f87a7b0c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 17 Nov 2024 18:43:59 -0300 Subject: [PATCH] screen: fix socket dir and utmp --- srcpkgs/screen/patches/fix-musl.patch | 10 ++++++++++ srcpkgs/screen/template | 12 +++--------- 2 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 srcpkgs/screen/patches/fix-musl.patch diff --git a/srcpkgs/screen/patches/fix-musl.patch b/srcpkgs/screen/patches/fix-musl.patch new file mode 100644 index 00000000000000..97617e9b2c69ce --- /dev/null +++ b/srcpkgs/screen/patches/fix-musl.patch @@ -0,0 +1,10 @@ +--- a/utmp.c ++++ b/utmp.c +@@ -30,6 +30,7 @@ + + #include "utmp.h" + ++#include + #include + #include + #include diff --git a/srcpkgs/screen/template b/srcpkgs/screen/template index 2f4bebecace95f..8618f3694983c6 100644 --- a/srcpkgs/screen/template +++ b/srcpkgs/screen/template @@ -1,12 +1,9 @@ # Template file for 'screen' pkgname=screen version=5.0.0 -revision=1 +revision=2 build_style=gnu-configure -configure_args="--with-sys-screenrc=/etc/screenrc --enable-pam - --enable-colors256 --enable-rxvt_osc --enable-telnet - --enable-use-locale --with-socket-dir=/run/screens --with-pty-group=5" -hostmakedepends="automake" +configure_args="--enable-telnet --enable-utmp --enable-socket-dir=/run/screens" makedepends="libutempter-devel ncurses-devel pam-devel" conf_files="/etc/screenrc /etc/skel/.screenrc" short_desc="GNU screen manager with VT100/ANSI terminal emulation" @@ -15,6 +12,7 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/s/screen/" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=f04a39d00a0e5c7c86a55338808903082ad5df4d73df1a2fd3425976aed94971 +make_check=no # check is broken in 5.0.0 build_options="multiuser" @@ -22,10 +20,6 @@ if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then makedepends+=" libxcrypt-devel" fi -pre_configure() { - ./autogen.sh -} - post_install() { vinstall etc/etcscreenrc 0644 etc screenrc vinstall etc/screenrc 0644 etc/skel .screenrc