svn commit: r556631 - in head/ports-mgmt: . fastest_pkg
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Nov 30 12:12:44 UTC 2020
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 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= fastest_pkg
+PORTVERSION= 0.1.1
+DISTVERSIONPREFIX= v
+CATEGORIES= ports-mgmt python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ehaupt at 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
More information about the svn-ports-head
mailing list