summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-01-08 11:50:14 +0000
committerarved <arved@FreeBSD.org>2003-01-08 11:50:14 +0000
commitd3212851dc54f6745330e8006315cd237115fd93 (patch)
treef4d4edd63ce637cc8de6780f24da2bca3b0892a5 /sysutils
parent227d284b0c2b5900516f4d0f2252726c2e89bd99 (diff)
downloadFreeBSD-ports-d3212851dc54f6745330e8006315cd237115fd93.zip
FreeBSD-ports-d3212851dc54f6745330e8006315cd237115fd93.tar.gz
Add spinner, a small util that draws a spinning ASCII character to keep ssh and telnet connections from dropping due to inactivity.
PR: 46289 Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/spinner/Makefile29
-rw-r--r--sysutils/spinner/distinfo1
-rw-r--r--sysutils/spinner/pkg-comment1
-rw-r--r--sysutils/spinner/pkg-descr18
-rw-r--r--sysutils/spinner/pkg-plist3
6 files changed, 53 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 5692c8c..6adabc1 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -212,6 +212,7 @@
SUBDIR += sloth
SUBDIR += socket
SUBDIR += socklog
+ SUBDIR += spinner
SUBDIR += ssync
SUBDIR += stat
SUBDIR += stmpclean
diff --git a/sysutils/spinner/Makefile b/sysutils/spinner/Makefile
new file mode 100644
index 0000000..0c26f1e
--- /dev/null
+++ b/sysutils/spinner/Makefile
@@ -0,0 +1,29 @@
+# ex:ts=8
+# New ports collection makefile for: spinner
+# Date created: Dec 16, 2002
+# Whom: mich@freebsdcluster.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= spinner
+PORTVERSION= 1.1
+CATEGORIES= sysutils
+MASTER_SITES= http://downloads.laffeycomputer.com/current_builds/spinner/
+
+MAINTAINER= mich@freebsdcluster.org
+
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2 ||g ; \
+ s|gcc |\$$\(CC\) |g' ${WRKSRC}/Makefile
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/spinner ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/spinner/distinfo b/sysutils/spinner/distinfo
new file mode 100644
index 0000000..ca12231
--- /dev/null
+++ b/sysutils/spinner/distinfo
@@ -0,0 +1 @@
+MD5 (spinner-1.1.tar.gz) = f4f6046c2c8b760659288bce03111a53
diff --git a/sysutils/spinner/pkg-comment b/sysutils/spinner/pkg-comment
new file mode 100644
index 0000000..0c97a7c
--- /dev/null
+++ b/sysutils/spinner/pkg-comment
@@ -0,0 +1 @@
+Keep ssh and telnet connections from dropping due to inactivity
diff --git a/sysutils/spinner/pkg-descr b/sysutils/spinner/pkg-descr
new file mode 100644
index 0000000..177f70f
--- /dev/null
+++ b/sysutils/spinner/pkg-descr
@@ -0,0 +1,18 @@
+Spinner is a small program that displays a little "spinning" ASCII
+character in the top left corner of your terminal. To make this effect
+it cycles through punctuation marks like this " - \ | / - \ | / ... "
+(try it to see). By default the character is drawn in inverse video
+(or your terminal's equivalent). But you can turn this off with the -i
+switch. It supports any terminal capable of handling VT100 style escape codes.
+
+Spinner is useful for keeping telnet and ssh links from dropping due to
+inactivity. Many firewalls, and some ISPs drop connections when they are
+perceived as idle. By having spinner running the server is constantly
+sending a tiny amount of data over the link, preserving the connection.
+Thus (for search engines) Spinner is an anti-dle, timeout preventing,
+background daemon process for unix variants including linux.
+
+WWW: http://www.laffeycomputer.com/spinner.html
+
+ - Michael L. Hostbaek
+ mich@freebsdcluster.org
diff --git a/sysutils/spinner/pkg-plist b/sysutils/spinner/pkg-plist
new file mode 100644
index 0000000..4e82e9e
--- /dev/null
+++ b/sysutils/spinner/pkg-plist
@@ -0,0 +1,3 @@
+bin/spinner
+%%PORTDOCS%%share/doc/spinner/README
+%%PORTDOCS%%@dirrm share/doc/spinner
OpenPOWER on IntegriCloud