From nobody Fri Jul 14 10:11:59 2023 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 4R2S2738PBz4n4m0; Fri, 14 Jul 2023 10:11:59 +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 4R2S272kxJz4MBN; Fri, 14 Jul 2023 10:11:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689329519; 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=io8R/z8+gxNHbkyKtZrdJ8puPhCkBJC2USsKt1QIM8Q=; b=RdYMd6VsX1h+nq9W1iBkcLspY6tVUCpnOfAaO2E7prMlANJ/N5BKaUgjjCqvxHAiGskFwz CXnePCahPD+NC37Mt77s6eRKCJ1Y/9wqMIYRMP1Ri0ne/y6f04iuFuWir8sdpGn/NQHnMC M4EOSXpqr7vMI7aXFMCCL/PuYC4xQMZAVwkPjxjAr0XPUcauRX+XsDUiC5k2+VhC+yRyX4 ks+zllA04sAqwqZL3/oKV8TxD1WL3O/mf9MdJbPK8KG9i3Gxc4mTbgXy9dSwxRljk86oCi MWUnclIZQ7+9hftJ1QWi5VmbhqYqt0UXP+Xh+Rl2h8pObLh+2NSglAITNncJcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689329519; 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=io8R/z8+gxNHbkyKtZrdJ8puPhCkBJC2USsKt1QIM8Q=; b=I8hbtvxD90rou+0+BEbLSwmtqD/kcDLkVef+fPuPZFKCEaY0cY5p7kQo8Blx8/lmF7Dq5O 7Mm1A2Ak0H+aYEzIw6yG9PDw89FouvONNxrj1C3WOvtCUuVX2oDeYbitP12jVHSTjoZ/MR qp7ZH3LbtbfnqtbGPO9c1XSxtc3Yq0bUXsw3ZTyt2Kwc9G+j3URmlPYvNnQWabP3GsRX6f BhpPkV2waRkaZB7UYSh9w7l3ho2eEifI6fgNyH/BN6vlrwf26z/i9yCS5sbu1hHGI24AVo ve3mnxfIMScwh/T6BVV3zygV+zBQzH6Ygwin873LUOIf1+5piRz/cj6b6GT86g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689329519; a=rsa-sha256; cv=none; b=NlrBzkVQWeqJ0yRo+FZh7/7iJQGkB9eA2EhdrjZegxUG1V/ubkgKpuOF3xQv08lGjKQBRF TtRgAKlPvWGWQvgmw1kbHdvhXbg4Sp42UeHMZrA6WhvRHTMucpHR+J4B1TKz9dAy6M9HYx pEJUvaRuF+zUKKAQu+TVgo8IObo1y0sdpyvcet0kmlPrfgoZh4dM8lP0eAVAJmdrbOALC+ dY7lze6x2XqR2WkWHKn0qlxnYOzsCfMTAD3MGVgFsfcY6whsE8nDF/Fuq47FxlNWKzSbqa f7vzW2F7BKafFWrE/YgTuXLVfIHZH5sEkJ46VJuGF1WYCPU9f17JyIBeLp4ENg== 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 4R2S271qs5z1SYQ; Fri, 14 Jul 2023 10:11:59 +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 36EABxOl079997; Fri, 14 Jul 2023 10:11:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36EABxPH079996; Fri, 14 Jul 2023 10:11:59 GMT (envelope-from git) Date: Fri, 14 Jul 2023 10:11:59 GMT Message-Id: <202307141011.36EABxPH079996@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: 946a5aef9357 - main - ports-mgmt/fastest_pkg: Update example line 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: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 946a5aef9357709b16b55e284b8088469ce46922 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=946a5aef9357709b16b55e284b8088469ce46922 commit 946a5aef9357709b16b55e284b8088469ce46922 Author: Emanuel Haupt AuthorDate: 2023-07-14 10:08:24 +0000 Commit: Emanuel Haupt CommitDate: 2023-07-14 10:08:24 +0000 ports-mgmt/fastest_pkg: Update example line Display mirror_type: "NONE" in example line as recent versions of pkg(8) are more capable of warning. PR: 272468 Reported by: grahamperrin --- ports-mgmt/fastest_pkg/Makefile | 1 + .../fastest_pkg/files/patch-fastest__pkg_fastest__pkg.py | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/ports-mgmt/fastest_pkg/Makefile b/ports-mgmt/fastest_pkg/Makefile index 171362ce2f65..f78add869982 100644 --- a/ports-mgmt/fastest_pkg/Makefile +++ b/ports-mgmt/fastest_pkg/Makefile @@ -1,6 +1,7 @@ PORTNAME= fastest_pkg PORTVERSION= 0.2.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= ports-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/ports-mgmt/fastest_pkg/files/patch-fastest__pkg_fastest__pkg.py b/ports-mgmt/fastest_pkg/files/patch-fastest__pkg_fastest__pkg.py new file mode 100644 index 000000000000..e6d6fc705910 --- /dev/null +++ b/ports-mgmt/fastest_pkg/files/patch-fastest__pkg_fastest__pkg.py @@ -0,0 +1,11 @@ +--- fastest_pkg/fastest_pkg.py.orig 2022-11-11 12:59:37 UTC ++++ fastest_pkg/fastest_pkg.py +@@ -146,7 +146,7 @@ def main(): + print(json.dumps(stats_sorted)) + else: + pkg = PkgMirror(stats_sorted[0]["mirror_name"]) +- pkg_cfg = 'FreeBSD: { url: "http://%s/${ABI}/%s" }' % ( ++ pkg_cfg = 'FreeBSD: { url: "http://%s/${ABI}/%s", mirror_type: "NONE" }' % ( + stats_sorted[0]["mirror_name"], + pkg.release, + )