From nobody Thu Feb 15 00:59:34 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TZxY24J4hz552xt; Thu, 15 Feb 2024 00:59:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZxY22zGMz4bKZ; Thu, 15 Feb 2024 00:59:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707958774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ESbzGfrCJcI4TS3JwIeUi/hq5pBkNTC3puY+/3TS5LY=; b=vstDM5oSq3eijau3EsgyE/TlpJnIhbWKHP7ISWUfD1CKC3nM7t8OQ4XuPoXXUKEntIbmt1 QqbdT6C/Fx+uHTBk5NEm9P8n+VaMfTeVckf+fxZuloxgJ6G23jLOZxUBr64U5yWcIMmsbd 8O8JgjAJga8m4Jsq7FUVtYqzUI1+r6rpsFPQ35S41Pb1zQm6tzc6ml0B9u9kw+uOYx2Rjs m1VhuL7eSSkkNX2cZcQYSj4eghfGRpvx/jWGtfFSiQSZzZM4Hxo8PrNnQjneeD9d6hTGjJ 6bt32VKmayd2wj82mAMxbgXZgynCqnTENnzOQyc2mbwoCxNLD42DhzRJMkTTDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707958774; a=rsa-sha256; cv=none; b=EyqCAY685eh9pbzJicGfgNMi811cxixMEr+Wx2Ji/i2uzEfm9bAEf2xk7yRTS4iS6O9zH6 NR41sw4TPsQc2iswTAzxbnEUBY09irsjjrJFZdH5lcbATs/iBSzGdIJNFFJZaG+ABPiUaQ g5xfAxGE1+E5tVB62KxXiUN31+7U5M4uwH7dw0L0Ec9NgpBVQau68y8Wq0resxNTBpNTip qdCxOOSx49wAv5Dgb7I3+Cc6Yk03KAJ3z07SSmvy8wU39EJ2blDx3tczMWzy8447qCGtIp c1paQ1D1YJ24C5eBghQCHLrNn6LCCsW+r9RrV3TKX/nAsgJXAvD32/0BY0DjCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707958774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ESbzGfrCJcI4TS3JwIeUi/hq5pBkNTC3puY+/3TS5LY=; b=gCchZabnq/NIM6vrqPth4v1ueA9fkq1HxRTKkBCKBs9vI2+7dFP5B6MWXel/0Lkb9CfhVN YHexZTFdeWJJiemTJHQj3IhQSYT+X76CuIM2Y9KkCUt99E2i14sZAi4An2qZtlSQrClJU+ 75mYj236o1CwuHoPnOx9/yW86waq38xi7fjFkNhsL5BbXopH/6AqIX5YY+xrpqHBp3rMMC W1RR3MpAfnilFR9CXvbIZrikM1JZ/tD6GVFg4WAEoFOFv2z5o6VnXgiZ11BV09/FI9TCmO 4v20Ft0DTONdStTSc9dbg13XOn4tyFB9uWNbSvzkEadBj+LyWvG0lKZtyqubwA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TZxY223hvzKdy; Thu, 15 Feb 2024 00:59:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41F0xYee088427; Thu, 15 Feb 2024 00:59:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41F0xYke088424; Thu, 15 Feb 2024 00:59:34 GMT (envelope-from git) Date: Thu, 15 Feb 2024 00:59:34 GMT Message-Id: <202402150059.41F0xYke088424@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 1ab35236f750 - main - games/veloren-weekly: update to s20240214 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1ab35236f75037b806db9bfe7b99aad9fe1cffc0 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ab35236f75037b806db9bfe7b99aad9fe1cffc0 commit 1ab35236f75037b806db9bfe7b99aad9fe1cffc0 Author: Jan Beich AuthorDate: 2024-02-14 21:58:23 +0000 Commit: Jan Beich CommitDate: 2024-02-15 00:59:23 +0000 games/veloren-weekly: update to s20240214 Changes: https://gitlab.com/veloren/veloren/-/compare/f159dd535...5c4e68cce --- games/veloren-weekly/Makefile | 4 ++-- games/veloren-weekly/distinfo | 6 +++--- games/veloren-weekly/files/patch-unix | 40 +++++++++++++++++++++++++++++------ 3 files changed, 39 insertions(+), 11 deletions(-) diff --git a/games/veloren-weekly/Makefile b/games/veloren-weekly/Makefile index 0d6e7976ec9f..d259d2f8f2b2 100644 --- a/games/veloren-weekly/Makefile +++ b/games/veloren-weekly/Makefile @@ -1,5 +1,5 @@ PORTNAME= veloren -PORTVERSION= s20240211 +PORTVERSION= s20240214 CATEGORIES= games wayland PKGNAMESUFFIX= -weekly @@ -25,7 +25,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-pl USES= cargo xorg USE_XORG= xcb USE_GITLAB= yes -GL_TAGNAME= v0.15.0-1141-gf159dd535 # git describe --match='v[0-9]*' weekly +GL_TAGNAME= v0.15.0-1160-g5c4e68cce # git describe --match='v[0-9]*' weekly CARGO_ENV= VELOREN_USERDATA_STRATEGY=system SHADERC_LIB_DIR="${LOCALBASE}/lib" PLIST_FILES= bin/${PORTNAME}-server-cli \ bin/${PORTNAME}-voxygen \ diff --git a/games/veloren-weekly/distinfo b/games/veloren-weekly/distinfo index ee5785d065c0..a17449a84ca7 100644 --- a/games/veloren-weekly/distinfo +++ b/games/veloren-weekly/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1707681816 +TIMESTAMP = 1707953009 SHA256 (rust/crates/ab_glyph-0.2.23.crate) = 80179d7dd5d7e8c285d67c4a1e652972a92de7475beddfb92028c76463b13225 SIZE (rust/crates/ab_glyph-0.2.23.crate) = 18537 SHA256 (rust/crates/ab_glyph_rasterizer-0.1.8.crate) = c71b1793ee61086797f5c80b6efa2b8ffa6d5dd703f118545808a7f2e27f7046 @@ -1617,5 +1617,5 @@ SHA256 (IsseW-wgpu-5ea16016402bb83b4ccd7ac8e6d4b0a2f85da6a0_GH0.tar.gz) = 65b2e7 SIZE (IsseW-wgpu-5ea16016402bb83b4ccd7ac8e6d4b0a2f85da6a0_GH0.tar.gz) = 9995366 SHA256 (xMAC94x-portpicker-rs-df6b37872f3586ac3b21d08b56c8ec7cd92fb172_GH0.tar.gz) = 29252101e189bbe067f0bacba18181afc69a2fb9bc031bbba8dcbade45dec02f SIZE (xMAC94x-portpicker-rs-df6b37872f3586ac3b21d08b56c8ec7cd92fb172_GH0.tar.gz) = 2210 -SHA256 (veloren-v0.15.0-1141-gf159dd535.tar.bz2) = c1fd8c12754d787aa1d86da7778c1c3ca42950f3f17ececfefa05e433662c597 -SIZE (veloren-v0.15.0-1141-gf159dd535.tar.bz2) = 290587691 +SHA256 (veloren-v0.15.0-1160-g5c4e68cce.tar.bz2) = 51aa543152cb711d062d0718945423ae541515c23efd6d48fe722a64cc548257 +SIZE (veloren-v0.15.0-1160-g5c4e68cce.tar.bz2) = 290606883 diff --git a/games/veloren-weekly/files/patch-unix b/games/veloren-weekly/files/patch-unix index cfcc77aa4d91..732a4f05a035 100644 --- a/games/veloren-weekly/files/patch-unix +++ b/games/veloren-weekly/files/patch-unix @@ -1,16 +1,44 @@ Relax Linux checks for the code works on any non-Windows platform. ---- server-cli/src/main.rs.orig 2024-01-31 15:30:47 UTC +--- server-cli/src/main.rs.orig 2024-02-14 21:58:23 UTC +++ server-cli/src/main.rs -@@ -57,7 +57,7 @@ fn main() -> io::Result<()> { - - let sigusr1_signal = Arc::new(AtomicBool::new(false)); +@@ -66,14 +66,14 @@ fn main() -> io::Result<()> { + // Load settings + let settings = settings::Settings::load(); - #[cfg(any(target_os = "linux", target_os = "macos"))] + #[cfg(not(target_os = "windows"))] - let _ = signal_hook::flag::register(signal_hook::consts::SIGUSR1, Arc::clone(&sigusr1_signal)); + { + for signal in &settings.shutdown_signals { + let _ = signal_hook::flag::register(signal.to_signal(), Arc::clone(&shutdown_signal)); + } + } + +- #[cfg(not(any(target_os = "linux", target_os = "macos")))] ++ #[cfg(target_os = "windows")] + if !settings.shutdown_signals.is_empty() { + tracing::warn!( + "Server configuration contains shutdown signals, but your platform does not support \ +--- server-cli/src/settings.rs.orig 2024-02-14 21:58:23 UTC ++++ server-cli/src/settings.rs +@@ -15,7 +15,7 @@ impl ShutdownSignal { + } - let (_guards, _guards2) = if basic { + impl ShutdownSignal { +- #[cfg(any(target_os = "linux", target_os = "macos"))] ++ #[cfg(not(target_os = "windows"))] + pub fn to_signal(self) -> core::ffi::c_int { + match self { + Self::SIGUSR1 => signal_hook::consts::SIGUSR1, +@@ -44,7 +44,7 @@ impl Default for Settings { + update_shutdown_message: "The server is restarting for an update".to_owned(), + web_address: SocketAddr::from((Ipv4Addr::LOCALHOST, 14005)), + web_chat_secret: None, +- shutdown_signals: if cfg!(any(target_os = "linux", target_os = "macos")) { ++ shutdown_signals: if cfg!(not(target_os = "windows")) { + vec![ShutdownSignal::SIGUSR1] + } else { + Vec::new() --- voxygen/src/main.rs.orig 2024-02-07 19:13:27 UTC +++ voxygen/src/main.rs @@ -51,7 +51,7 @@ fn main() {