1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Sort every mirror list in bsd.sites.mk.

Output is suitable for inclusion into make.conf.

Approved by:	garga (mentor)
This commit is contained in:
Wesley Shields 2008-03-25 00:46:36 +00:00
parent c1496fe26c
commit eded3f57a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209737
4 changed files with 43 additions and 0 deletions

View File

@ -6,6 +6,7 @@
SUBDIR += barry
SUBDIR += bpkg
SUBDIR += bpm
SUBDIR += fastest_sites
SUBDIR += genplist
SUBDIR += instant-tinderbox
SUBDIR += jailaudit

View File

@ -0,0 +1,34 @@
# Ports collection makefile for: fastest_sites
# Date created: 20 March 2008
# Whom: Wesley Shields <wxs@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fastest_sites
PORTVERSION= 20080320
CATEGORIES= ports-mgmt
MASTER_SITES= http://www.semicomplete.com/files/fastest_sites/ \
http://www.atarininja.org/~wxs/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}.py
EXTRACT_SUFX= # nada
MAINTAINER= wxs@FreeBSD.org
COMMENT= Sort MASTER_SITE_* based upon TCP handshake times
USE_PYTHON= yes
NO_BUILD= yes
PLIST_FILES= bin/fastest_sites
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
post-patch:
@${REINPLACE_CMD} -e 's#/usr/local/bin/python#${PYTHON_CMD}#' ${WRKSRC}/fastest_sites-${PORTVERSION}.py
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/fastest_sites-${PORTVERSION}.py ${PREFIX}/bin/fastest_sites
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (fastest_sites-20080320.py) = 078324a2ed2f0edf627defeaeb9c39cf
SHA256 (fastest_sites-20080320.py) = d4e5440c1ea9aa3af094c8d5765e6e978cd6ea11c2724a5f0035d7ca3579d5d0
SIZE (fastest_sites-20080320.py) = 4159

View File

@ -0,0 +1,5 @@
Find the fastest mirror for every mirror list in bsd.sites.mk.
Output is suitable for inclusion into make.conf.
WWW: http://www.semicomplete.com/blog/geekery/freebsd-ports-master-sites-sorting.html