From owner-freebsd-ports Fri Jul 19 9:50:13 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 708D137B401 for ; Fri, 19 Jul 2002 09:50:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74DB343E6D for ; Fri, 19 Jul 2002 09:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6JGo2JU093832 for ; Fri, 19 Jul 2002 09:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6JGo2dv093831; Fri, 19 Jul 2002 09:50:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3012137B400 for ; Fri, 19 Jul 2002 09:40:15 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C806B43E67 for ; Fri, 19 Jul 2002 09:40:14 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6JGeEOT067992 for ; Fri, 19 Jul 2002 09:40:14 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g6JGeEFT067991; Fri, 19 Jul 2002 09:40:14 -0700 (PDT) Message-Id: <200207191640.g6JGeEFT067991@www.freebsd.org> Date: Fri, 19 Jul 2002 09:40:14 -0700 (PDT) From: "A.J.Robinson" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/40780: update port: sysutils/fastest_cvsup Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40780 >Category: ports >Synopsis: update port: sysutils/fastest_cvsup >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 19 09:50:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: A.J.Robinson >Release: >Organization: >Environment: >Description: version change 0.2.3 => 0.2.6 - auto updates server list from online handbook - added support for NetBSD/OpenBSD cvsup servers >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 # files # files/patch-Makefile # 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: 16 July 2002 X# Whom: A.J.Robinson (ajr@subdimension.com) X# X# $FreeBSD$ X# X XPORTNAME= fastest_cvsup XPORTVERSION= 0.2.6 XCATEGORIES= sysutils X XMASTER_SITES= http://fastest-cvsup.sourceforge.net/download/ XMAINTAINER= ajr@subdimension.com X XUSE_PERL5= yes XRUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes X XMAN7= fastest_cvsup.7 X Xpost-patch: X ${PERL} -pi -e 's|__PREFIX__|${PREFIX}|g ; \ X s|__INSTALL_MAN__|${INSTALL_MAN}|g ; \ X s|__INSTALL_SCRIPT__|${INSTALL_SCRIPT}|g' ${WRKSRC}/Makefile X X.include END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (fastest_cvsup-0.2.6.tar.gz) = bba34331e8d79bd54f36b9aa86e09c4c END-of-distinfo echo c - files mkdir -p files > /dev/null 2>&1 echo x - files/patch-Makefile sed 's/^X//' >files/patch-Makefile << 'END-of-files/patch-Makefile' X--- Makefile.orig Wed Jul 17 15:16:50 2002 X+++ Makefile Wed Jul 17 15:17:44 2002 X@@ -8,8 +8,8 @@ X --date="17 July 2002" fastest_cvsup > fastest_cvsup.7 X X install: X- install -o root -g wheel -m 0755 fastest_cvsup /usr/local/bin X- install -o root -g wheel -m 0644 fastest_cvsup.7 /usr/local/man/man7 X+ __INSTALL_SCRIPT__ fastest_cvsup __PREFIX__/bin X+ __INSTALL_MAN__ fastest_cvsup.7 __PREFIX__/man/man7 X X clean: X rm fastest_cvsup.7 END-of-files/patch-Makefile 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 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* can re-write itself to update the CVSup server list, obtained X from the online FreeBSD Handbook X* can easily add other CVSup servers (NetBSD/OpenBSD...etc) X XWWW: http://fastest-cvsup.sourceforge.net/ 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