Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2020 12:12:43 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556631 - in head/ports-mgmt: . fastest_pkg
Message-ID:  <202011301212.0AUCChYM002022@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Nov 30 12:12:43 2020
New Revision: 556631
URL: https://svnweb.freebsd.org/changeset/ports/556631

Log:
  Add fastest_pkg 0.1.1, script to find the fastest pkg mirror.

Added:
  head/ports-mgmt/fastest_pkg/
  head/ports-mgmt/fastest_pkg/Makefile   (contents, props changed)
  head/ports-mgmt/fastest_pkg/distinfo   (contents, props changed)
  head/ports-mgmt/fastest_pkg/pkg-descr   (contents, props changed)
Modified:
  head/ports-mgmt/Makefile

Modified: head/ports-mgmt/Makefile
==============================================================================
--- head/ports-mgmt/Makefile	Mon Nov 30 11:57:08 2020	(r556630)
+++ head/ports-mgmt/Makefile	Mon Nov 30 12:12:43 2020	(r556631)
@@ -10,6 +10,7 @@
     SUBDIR += dialog4ports
     SUBDIR += dialog4ports-static
     SUBDIR += distilator
+    SUBDIR += fastest_pkg
     SUBDIR += freebsd-bugzilla-cli
     SUBDIR += genpatch
     SUBDIR += genplist

Added: head/ports-mgmt/fastest_pkg/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/fastest_pkg/Makefile	Mon Nov 30 12:12:43 2020	(r556631)
@@ -0,0 +1,23 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	fastest_pkg
+PORTVERSION=	0.1.1
+DISTVERSIONPREFIX=	v
+CATEGORIES=	ports-mgmt python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	Script to find the fastest pkg mirror
+
+LICENSE=	BSD3CLAUSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dnspython>=0:dns/py-dnspython@${PY_FLAVOR} \
+		curl:ftp/curl
+
+USES=		python
+USE_GITHUB=	yes
+GH_ACCOUNT=	ehaupt
+USE_PYTHON=	autoplist concurrent distutils
+
+.include <bsd.port.mk>

Added: head/ports-mgmt/fastest_pkg/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/fastest_pkg/distinfo	Mon Nov 30 12:12:43 2020	(r556631)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1606665674
+SHA256 (ehaupt-fastest_pkg-v0.1.1_GH0.tar.gz) = 6b665da1d41d18fadf49ddef31258c9e3ad360466c6a2cad4b62e59242b09ca3
+SIZE (ehaupt-fastest_pkg-v0.1.1_GH0.tar.gz) = 2498

Added: head/ports-mgmt/fastest_pkg/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/fastest_pkg/pkg-descr	Mon Nov 30 12:12:43 2020	(r556631)
@@ -0,0 +1,5 @@
+By default pkg uses DNS-based load balancing. This method does not necessarily
+choose the fastest mirror. This script can help you to find the fastest pkg
+mirror near you.
+
+WWW: https://github.com/ehaupt/fastest_pkg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011301212.0AUCChYM002022>