aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-08-10 08:39:24 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-08-10 08:39:24 +0000
commit9f250025a34cf547f6fc6fa9c9b372a8f5c9ea1d (patch)
tree71603669292174b860743cfab6f06b9ffe7e44ea /sysutils
parente11dacc3cf5135727a30963f1364ea5d06dc043e (diff)
downloadports-9f250025a34cf547f6fc6fa9c9b372a8f5c9ea1d.tar.gz
ports-9f250025a34cf547f6fc6fa9c9b372a8f5c9ea1d.zip
Add bksh 1.3, backup-only shell.
bksh is a simple (some would say trivial) program designed to be used as a shell by ssh or rsh-like programs. All it does it to copy its input to a restricted set of backup files. It was made to allow administrators to create backup servers in potentially hostile environments without allowing full shell access to the server or the client. PR: 53786 Submitted by: The Anarcat <anarcat@anarcat.ath.cx>
Notes
Notes: svn path=/head/; revision=86706
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/bksh/Makefile16
-rw-r--r--sysutils/bksh/distinfo1
-rw-r--r--sysutils/bksh/pkg-descr17
-rw-r--r--sysutils/bksh/pkg-plist1
5 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 85585d17f563..6504bf3b69fb 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -26,6 +26,7 @@
SUBDIR += bbapm
SUBDIR += bchunk
SUBDIR += bkpupsd
+ SUBDIR += bksh
SUBDIR += blimitd
SUBDIR += bsdsar
SUBDIR += bubblemon
diff --git a/sysutils/bksh/Makefile b/sysutils/bksh/Makefile
new file mode 100644
index 000000000000..daf36925bd82
--- /dev/null
+++ b/sysutils/bksh/Makefile
@@ -0,0 +1,16 @@
+# New ports collection makefile for: bksh
+# Date created: 22 June 2003
+# Whom: The Anarcat <anarcat@anarcat.ath.cx>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bksh
+PORTVERSION= 1.3
+CATEGORIES= sysutils
+MASTER_SITES= http://anarcat.ath.cx/software/distfiles/
+
+MAINTAINER= anarcat@anarcat.ath.cx
+COMMENT= Backup-only shell
+
+.include <bsd.port.mk>
diff --git a/sysutils/bksh/distinfo b/sysutils/bksh/distinfo
new file mode 100644
index 000000000000..868861fcc78b
--- /dev/null
+++ b/sysutils/bksh/distinfo
@@ -0,0 +1 @@
+MD5 (bksh-1.3.tar.gz) = fb46c362adf3260dfa501a82171ad114
diff --git a/sysutils/bksh/pkg-descr b/sysutils/bksh/pkg-descr
new file mode 100644
index 000000000000..27bddaa84a45
--- /dev/null
+++ b/sysutils/bksh/pkg-descr
@@ -0,0 +1,17 @@
+bksh is a simple (some would say trivial) program designed to be used
+as a shell by ssh or rsh-like programs. All it does it to copy its
+input to a restricted set of backup files.
+
+It was made to allow administrators to create backup servers in
+potentially hostile environments without allowing full shell access to
+the server or the client.
+
+Features:
+- tape only or file & tape backups (compile-time config)
+- automatic file rotation allows keeping a history of backups
+- configurable number of files kept (static compile-time or dynamic)
+- allows naming of backup files on command line
+- works as a restricted shell to limit access to server
+- very simple and short ANSI C code, easy to audit
+
+WWW: http://anarcat.ath.cx/software/bksh
diff --git a/sysutils/bksh/pkg-plist b/sysutils/bksh/pkg-plist
new file mode 100644
index 000000000000..c8b1b8cd8d2a
--- /dev/null
+++ b/sysutils/bksh/pkg-plist
@@ -0,0 +1 @@
+bin/bksh