Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2002 09:40:14 -0700 (PDT)
From:      "A.J.Robinson" <ajr@subdimension.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/40780: update port: sysutils/fastest_cvsup
Message-ID:  <200207191640.g6JGeEFT067991@www.freebsd.org>

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

>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 <bsd.port.mk>
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




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