Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 02:42:26 -0700 (PDT)
From:      Adrian Robinson <ajr@subdimension.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/40476: new port: finds fastest cvsup mirror in specified countries
Message-ID:  <200207120942.g6C9gQn9043553@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         40476
>Category:       ports
>Synopsis:       new port: finds fastest cvsup mirror in specified countries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 12 02:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Robinson
>Release:        4.6-RELEASE
>Organization:
>Environment:
>Description:
Perl script to find fastest FreeBSD CVSup server:
* uses socket connections not just 'pings'
* takes notice of server responses
* connects to servers in countries specified on the command line 
   - or - 
  connects to the 'local' servers defined in the script
   - or -
  connects to *all* the servers in *all* the countries
* returns either fastest server or top 3 (useful for scripts)
* returns exit codes (useful for scripts)

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	pkg-comment
#	pkg-descr
#	pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:	fastest_cvsup
X# Date created:        11 July 2002
X# Whom:                A.J.Robinson (ajr@subdimension.com)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fastest_cvsup
XPORTVERSION=	0.2.3
XCATEGORIES=	sysutils
X
XMASTER_SITES=	???  # needs hosting, tar.gz is 4.7kb
XMAINTAINER=	ajr@subdimension.com
X
XUSE_PERL5=	yes
XRUN_DEPENDS=	${PREFIX}/lib/perl5/site_perl/${PERL_VERSION}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
X
XMAN7=		fastest_cvsup.7
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (fastest_cvsup-0.2.3.tar.gz) = 962caeb830fa51c3d089f5fe7296ff99
END-of-distinfo
echo x - pkg-comment
sed 's/^X//' >pkg-comment << 'END-of-pkg-comment'
XFinds fastest CVSup server
END-of-pkg-comment
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
X
XPerl script to find fastest FreeBSD CVSup server:
X
X* uses socket connections not just 'pings'
X* takes notice of server responses
X* connects to servers in countries specified on the command line 
X   - or - 
X  connects to the 'local' servers defined in the script
X   - or -
X  connects to *all* the servers in *all* the countries
X* returns either fastest server or top 3 (useful for scripts)
X* returns exit codes (useful for scripts)
X
X- Adrian <ajr@subdimension.com>
END-of-pkg-descr
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
Xbin/fastest_cvsup
END-of-pkg-plist
exit  
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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