summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-17 06:34:42 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-17 06:34:42 +0000
commit672ef12546d4442528271b563183ce6830f46d65 (patch)
treef37d5f4393dbb57e3515af1a1780d4283752eca3 /sysutils
parentUse USE_GNOMENG. (diff)
add fastest_cvsup 0.2.4
Finds fastest CVSup server PR: 40480 Submitted by: "A.J.Robinson" <ajr@subdimension.com>
Notes
Notes: svn path=/head/; revision=63111
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/fastest_cvsup/Makefile26
-rw-r--r--sysutils/fastest_cvsup/distinfo1
-rw-r--r--sysutils/fastest_cvsup/pkg-comment1
-rw-r--r--sysutils/fastest_cvsup/pkg-descr14
-rw-r--r--sysutils/fastest_cvsup/pkg-plist1
6 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 36746674455c..182746057cee 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -53,6 +53,7 @@
SUBDIR += eject
SUBDIR += enteruser
SUBDIR += extipl
+ SUBDIR += fastest_cvsup
SUBDIR += fastresolve
SUBDIR += fcron
SUBDIR += ffsrecov
diff --git a/sysutils/fastest_cvsup/Makefile b/sysutils/fastest_cvsup/Makefile
new file mode 100644
index 000000000000..63e453200537
--- /dev/null
+++ b/sysutils/fastest_cvsup/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: fastest_cvsup
+# Date created: 16 July 2002
+# Whom: A.J.Robinson (ajr@subdimension.com)
+#
+# $FreeBSD$
+#
+
+PORTNAME= fastest_cvsup
+PORTVERSION= 0.2.4
+CATEGORIES= sysutils
+MASTER_SITES= http://fastest-cvsup.sourceforge.net/download/
+
+MAINTAINER= ajr@subdimension.com
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+
+USE_PERL5= yes
+
+MAN7= fastest_cvsup.7
+
+post-patch:
+ @${PERL} -pi -e 's|__PREFIX__|${PREFIX}|g ; \
+ s|__INSTALL_MAN__|${INSTALL_MAN}|g ; \
+ s|__INSTALL_SCRIPT__|${INSTALL_SCRIPT}|g' ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/sysutils/fastest_cvsup/distinfo b/sysutils/fastest_cvsup/distinfo
new file mode 100644
index 000000000000..010cab736027
--- /dev/null
+++ b/sysutils/fastest_cvsup/distinfo
@@ -0,0 +1 @@
+MD5 (fastest_cvsup-0.2.4.tar.gz) = 134ffe6f2ab5729466669231df8ff4eb
diff --git a/sysutils/fastest_cvsup/pkg-comment b/sysutils/fastest_cvsup/pkg-comment
new file mode 100644
index 000000000000..7ab51c79a660
--- /dev/null
+++ b/sysutils/fastest_cvsup/pkg-comment
@@ -0,0 +1 @@
+Finds fastest CVSup server
diff --git a/sysutils/fastest_cvsup/pkg-descr b/sysutils/fastest_cvsup/pkg-descr
new file mode 100644
index 000000000000..816dd9ba58dd
--- /dev/null
+++ b/sysutils/fastest_cvsup/pkg-descr
@@ -0,0 +1,14 @@
+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)
+* can update the CVSup server list from www.freebsdmirrors.org
+
+WWW: http://fastest-cvsup.sourceforge.net/
diff --git a/sysutils/fastest_cvsup/pkg-plist b/sysutils/fastest_cvsup/pkg-plist
new file mode 100644
index 000000000000..7f3f2bc61bf4
--- /dev/null
+++ b/sysutils/fastest_cvsup/pkg-plist
@@ -0,0 +1 @@
+bin/fastest_cvsup