aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1995-11-17 19:03:48 +0000
committerMark Murray <markm@FreeBSD.org>1995-11-17 19:03:48 +0000
commite526d43c6e8278cae780482cf649872b7a0d1639 (patch)
tree6a3b62197df267fc94962ede462615ef061483ab /misc
parent6e17e835509640cc4c1a21340437c38166b83f22 (diff)
downloadports-e526d43c6e8278cae780482cf649872b7a0d1639.tar.gz
ports-e526d43c6e8278cae780482cf649872b7a0d1639.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/buffer/Makefile19
-rw-r--r--misc/buffer/distinfo1
-rw-r--r--misc/buffer/pkg-comment1
-rw-r--r--misc/buffer/pkg-descr27
-rw-r--r--misc/buffer/pkg-plist3
5 files changed, 51 insertions, 0 deletions
diff --git a/misc/buffer/Makefile b/misc/buffer/Makefile
new file mode 100644
index 000000000000..5c9f9776864a
--- /dev/null
+++ b/misc/buffer/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: buffer
+# Version required: 1.17
+# Date created: 17 Nov 1995
+# Whom: markm
+#
+# $Id$
+#
+
+DISTNAME= buffer-1.17
+CATEGORIES+= utilities
+MASTER_SITES= ftp://ftp.sun.ac.za/pub/unix/
+NO_WRKSUBDIR= yes
+
+post-install:
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/manl/buffer.l
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/buffer/distinfo b/misc/buffer/distinfo
new file mode 100644
index 000000000000..7fc3aa45b303
--- /dev/null
+++ b/misc/buffer/distinfo
@@ -0,0 +1 @@
+MD5 (buffer-1.17.tar.gz) = 6c5236ed99f4df0832623f4c0498c681
diff --git a/misc/buffer/pkg-comment b/misc/buffer/pkg-comment
new file mode 100644
index 000000000000..dddb0d3bcf57
--- /dev/null
+++ b/misc/buffer/pkg-comment
@@ -0,0 +1 @@
+buffer sporadic binary I/O for faster tape use
diff --git a/misc/buffer/pkg-descr b/misc/buffer/pkg-descr
new file mode 100644
index 000000000000..c5c68ac64335
--- /dev/null
+++ b/misc/buffer/pkg-descr
@@ -0,0 +1,27 @@
+This is a program designed to speed up writing tapes on remote tape
+drives. Requirements are shared memory and locks which normally
+means that these are supported in your kernel.
+
+[for FreeBSD, this means you MUST have a kernel with
+ options SYSVSHM
+ compiled in - markm]
+
+Buffer has been tested under SunOS 4.0.*, SunOS 4.1.*, Solarix, HP-UX 7.0,
+and Gould UTX 2.1A (sv universe).
+
+The program splits itself into two processes. The first process reads
+(and reblocks) from stdin into a shared memory buffer. The second
+writes from the shared memory buffer to stdout. Doing it this way
+means that the writing side effectly sits in a tight write loop and
+doesn't have to wait for input. Similarly for the input side. It is
+this waiting that slows down other reblocking processes, like dd.
+
+I run an archive and need to write large chunks out to tape regularly
+with an ethernet in the way. Using 'buffer' in a command like:
+
+ tar cvf - stuff | rsh somebox "buffer > /dev/rst8"
+
+is a factor of 5 faster than the best alternative, gnu tar with its
+remote tape option:
+
+ tar cvf somebox:/dev/rst8 stuff
diff --git a/misc/buffer/pkg-plist b/misc/buffer/pkg-plist
new file mode 100644
index 000000000000..0851730727aa
--- /dev/null
+++ b/misc/buffer/pkg-plist
@@ -0,0 +1,3 @@
+@cwd /usr/local
+bin/buffer
+man/manl/buffer.l.gz