From nobody Fri Oct 15 10:07:45 2021 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 03AD918003D0; Fri, 15 Oct 2021 10:07:46 +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 4HW25F6hFDz3GFr; Fri, 15 Oct 2021 10:07:45 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 BBC2F245CC; Fri, 15 Oct 2021 10:07:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19FA7jXq080156; Fri, 15 Oct 2021 10:07:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19FA7j63080155; Fri, 15 Oct 2021 10:07:45 GMT (envelope-from git) Date: Fri, 15 Oct 2021 10:07:45 GMT Message-Id: <202110151007.19FA7j63080155@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 2d72a103e098 - main - games/qstat: update the port to version 2.17 (now needs GNU make) 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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2d72a103e0989b1ba8e687f308b7e5565f125c2d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=2d72a103e0989b1ba8e687f308b7e5565f125c2d commit 2d72a103e0989b1ba8e687f308b7e5565f125c2d Author: Alexey Dokuchaev AuthorDate: 2021-10-15 10:06:28 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-10-15 10:06:29 +0000 games/qstat: update the port to version 2.17 (now needs GNU make) Reported by: portscout --- games/qstat/Makefile | 11 +++++------ games/qstat/distinfo | 6 +++--- games/qstat/files/patch-config.c | 18 ------------------ 3 files changed, 8 insertions(+), 27 deletions(-) diff --git a/games/qstat/Makefile b/games/qstat/Makefile index f52ec0a40e47..9da78434107c 100644 --- a/games/qstat/Makefile +++ b/games/qstat/Makefile @@ -1,7 +1,7 @@ # Created by: Daniel O'Connor PORTNAME= qstat -PORTVERSION= 2.14 +PORTVERSION= 2.17 DISTVERSIONPREFIX= v CATEGORIES= games net @@ -12,12 +12,11 @@ LICENSE= ART20 CONFLICTS_INSTALL= torque-[0-9]* +USES= autoreconf gmake +GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= multiplay -USES= autoreconf -GNU_CONFIGURE= yes - PLIST_FILES= bin/qstat \ @sample\ etc/qstat.cfg.sample PORTDOCS= * @@ -30,8 +29,8 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's|qstat\.cfg|&.sample|' ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e 's|__hpux|${OPSYS}|' ${WRKSRC}/qstat.c - @${ECHO_CMD} 'int do_dump = 0;' >> ${WRKSRC}/qstat.c - @${REINPLACE_CMD} -e 's|^int do_dump|extern &|' ${WRKSRC}/debug.h + @${PRINTF} '#!/bin/sh\n\necho -n ${PORTVERSION}' > \ + ${WRKSRC}/scripts/version.sh do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/info ${STAGEDIR}${DOCSDIR}/template diff --git a/games/qstat/distinfo b/games/qstat/distinfo index fadcf6cefc02..a78352ec354b 100644 --- a/games/qstat/distinfo +++ b/games/qstat/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1393638577 -SHA256 (multiplay-qstat-v2.14_GH0.tar.gz) = ae906b74d4cce8057b5a265b76859101da8104c2a07c05f11a51f7c9f033ef8b -SIZE (multiplay-qstat-v2.14_GH0.tar.gz) = 210440 +TIMESTAMP = 1632827871 +SHA256 (multiplay-qstat-v2.17_GH0.tar.gz) = ff0a050e867ad1d6fdf6b5d707e2fc7aea2826b8a382321220b390c621fb1562 +SIZE (multiplay-qstat-v2.17_GH0.tar.gz) = 233981 diff --git a/games/qstat/files/patch-config.c b/games/qstat/files/patch-config.c deleted file mode 100644 index f01e6e7de41e..000000000000 --- a/games/qstat/files/patch-config.c +++ /dev/null @@ -1,18 +0,0 @@ ---- config.c.orig 2014-03-01 01:49:37 UTC -+++ config.c -@@ -192,14 +192,7 @@ qsc_load_default_config_files() - - var= getenv( "HOME"); - if ( var != NULL && var[0] != '\0') { -- int len= strlen(var); -- if ( len > 900) -- len= 900; -- strncpy( path, var, len); -- path[len]= '\0'; -- strcat( path, "/"); -- strcat( path, HOME_CONFIG_FILE); --/* sprintf( path, "%s/%s", var, HOME_CONFIG_FILE); */ -+ snprintf( path, sizeof(path), "%s/%s", var, HOME_CONFIG_FILE); - rc= try_load_config_file( path, 0); - if ( rc == 0 || rc == -1) - return rc;