From nobody Thu Aug 22 12:20:55 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 4WqMjz73Gzz5SpnS; Thu, 22 Aug 2024 12:20:55 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WqMjz6bKqz4ZZt; Thu, 22 Aug 2024 12:20:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724329255; 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=9LB5FHCvDvo5jwp39sI8sjGp9W4siqfvHUwU73jQMMM=; b=hqenm2/W2evvYP3YtRh/INo1S+CGBH6Z1dsnYXBhLsi1XG1bGl9XIDfxjd7kRqtluJesRS Q7OB8wloIzyZiOwWqKhKBI7HvLwU5FQY1xY8r8p6aAaiZ0YG8pX+62ZX82GA/M4J7OgfLn KCCJSpN9Eh9Po0c+1/iTb166/Pd+lMNd9v60ht/iiQY+WKCChUMGkTMoAC1hBfbx7jvtwY oM/VU1/gvvfYWJWZEUfOi0vVj/uHsFeZWvfZk8eWZ4pG7P9b29+0vmq2oOl1ywTSg22UeC 1jFSS2qUJBqXvqBdQSrYd0mBnXrt3kYAEUzr2wH5Eug2YnKViu2QTe26nQjQZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724329255; a=rsa-sha256; cv=none; b=R19ijmonlo1hav47WK17kmKGh4fpMtU8t3gnqRvj+dB36zGrIVktBY+zce3c7izpNQPdYL 5lVNWYxsY6vRwrIzZndq2a1r0R0FN4m87f5JEkWgvXYDG74dIdPymWZ7Bpb3lEoobbde1L RP4h4boKEmfx3w2OaxoCVdhFshihZZqJSt2MsvJ+z2dO4mgVpu9uk/DF8Vy4IKnJOLUFyL n0VEURe6vrj6IPUCMI9/7oJFLBl1zdTi8MSbO5ag6I3+4lWj9438s02SoqjoJookKvykFD eL3diXnrP+VuxRfyJoSUWS3DpEkeZsKOXILnmjzVTwF4U/+dpFpS/8kRpkkv3g== 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=1724329255; 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=9LB5FHCvDvo5jwp39sI8sjGp9W4siqfvHUwU73jQMMM=; b=rN6WXdyZcysNW3bx1RU/lOmGV3qr26PL/rXkVbArSnE4UkFOs7vxQ8ViNHB6++BnuW3ND/ /ZKRhus+8Ew4EgBr97rUVtN3UBPgKDi/fc3xWnQOHn2Q4fV7In3d0sCUsBSx9M16yhpWc6 Ab3Pht4FHIzjjRRuhx/Fb7Orsnq8Nb+wY/ddwNsllut8PbrEXcH0mJgekrWbxTnbjGNJlh bSrhHITt/zN0hxmuixv4lPJOEzl8zRsViyHf0rUJRuHkTHSV/tnTNl/G7qjvkD/ziJ70Cv GgtbcXKwpQbmYHfK31S67prHHk4BEcKr7wfQcfCtbsxQk7vxp2FDhS9uewLsaQ== 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 4WqMjz6BmrzRJJ; Thu, 22 Aug 2024 12:20:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47MCKtUS098369; Thu, 22 Aug 2024 12:20:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47MCKtq9098354; Thu, 22 Aug 2024 12:20:55 GMT (envelope-from git) Date: Thu, 22 Aug 2024 12:20:55 GMT Message-Id: <202408221220.47MCKtq9098354@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 9d7a750da6e7 - main - sysutils/htop: simplify Makefile 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9d7a750da6e7b15b07f31b21e8bbe7b6d4178b24 Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=9d7a750da6e7b15b07f31b21e8bbe7b6d4178b24 commit 9d7a750da6e7b15b07f31b21e8bbe7b6d4178b24 Author: Siva Mahadevan AuthorDate: 2024-08-22 12:09:45 +0000 Commit: Vladimir Druzenko CommitDate: 2024-08-22 12:09:45 +0000 sysutils/htop: simplify Makefile This change cleans up the Makefile to follow Porter's Handbook guidance. Here is the rationale for each change: * As per https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github, ports are urged to move to using Github releases instead of git tags. This change replaces USE_GITHUB with MASTER_SITES to statically point to htop release tarballs. This also requires the addition of USES=tar:xz * Remove USES=autoreconf because the release tarball doesn't need to run it * Remove USES=compiler:c11 since upstream https://github.com/htop-dev/htop states that a C99 compiler is needed. * Add USES=desktop-file-utils as the port installs htop.desktop * htop does not exist in the official NVD CPE dictionary, so as per https://docs.freebsd.org/en/books/porters-handbook/book/#uses-cpe, we should "not ever make up CPE data." Thus, USES=cpe is removed until an entry is contributed to the CPE dictionary * USES={libtool,localbase,pkgconfig,python:build,shebangfix} are not necessary for a successful build and run with the GH release tarball. * GNU_CONFIGURE_MANPREFIX was unnecessary since default value in Mk/bsd.port.mk is same ${PREFIX}/share PR: 280820 Approved by: Hung-Yi Chen (maintainer) --- sysutils/htop/Makefile | 10 +++------- sysutils/htop/distinfo | 6 +++--- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile index 260bc3b87484..d2bb415f5b3a 100644 --- a/sysutils/htop/Makefile +++ b/sysutils/htop/Makefile @@ -1,7 +1,8 @@ PORTNAME= htop DISTVERSION= 3.3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils +MASTER_SITES= https://github.com/${PORTNAME}-dev/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= gaod@hychen.org COMMENT= Better top(1) - interactive process viewer @@ -10,14 +11,9 @@ WWW= https://htop.dev/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= autoreconf compiler:c11 cpe libtool localbase \ - ncurses pkgconfig python:build shebangfix - -USE_GITHUB= yes -GH_ACCOUNT= htop-dev +USES= desktop-file-utils ncurses tar:xz GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-unicode PLIST_FILES= bin/htop \ diff --git a/sysutils/htop/distinfo b/sysutils/htop/distinfo index d21bc33fcf9e..14506e79169a 100644 --- a/sysutils/htop/distinfo +++ b/sysutils/htop/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1707274617 -SHA256 (htop-dev-htop-3.3.0_GH0.tar.gz) = 1e5cc328eee2bd1acff89f860e3179ea24b85df3ac483433f92a29977b14b045 -SIZE (htop-dev-htop-3.3.0_GH0.tar.gz) = 406012 +TIMESTAMP = 1723667246 +SHA256 (htop-3.3.0.tar.xz) = a69acf9b42ff592c4861010fce7d8006805f0d6ef0e8ee647a6ee6e59b743d5c +SIZE (htop-3.3.0.tar.xz) = 337956