ports/53786: new port: bksh, the Backup Shell

The Anarcat anarcat at anarcat.ath.cx
Thu Jun 26 15:50:11 UTC 2003


>Number:         53786
>Category:       ports
>Synopsis:       new port: bksh, the Backup Shell
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 26 08:50:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     The Anarcat
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD lenny.anarcat.ath.cx 5.1-CURRENT FreeBSD 5.1-CURRENT #5: Sun Jun 22 13:55:59 EDT 2003 anarcat at lenny.anarcat.ath.cx:/usr/obj/usr/src/sys/LENNII i386


	
>Description:

Some people have requested that I make my bksh software available as a
FreeBSD port. Altough it is very simple to compile and install under
freebsd, I still think it would be a good thing to be in there.

See below for pkg-descr.

>How-To-Repeat:

N/A.

>Fix:

The port:

# 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:
#
#	bksh
#	bksh/pkg-plist
#	bksh/pkg-descr
#	bksh/distinfo
#	bksh/Makefile
#
echo c - bksh
mkdir -p bksh > /dev/null 2>&1
echo x - bksh/pkg-plist
sed 's/^X//' >bksh/pkg-plist << 'END-of-bksh/pkg-plist'
Xbin/bksh
END-of-bksh/pkg-plist
echo x - bksh/pkg-descr
sed 's/^X//' >bksh/pkg-descr << 'END-of-bksh/pkg-descr'
Xbksh is a simple (some would say trivial) program designed to be used
Xas a shell by ssh or rsh-like programs. All it does it to copy its
Xinput to a restricted set of backup files.
X
XIt was made to allow administrators to create backup servers in
Xpotentially hostile environments without allowing full shell access to
Xthe server or the client.
X
XFeatures:
X- tape only or file & tape backups (compile-time config)
X- automatic file rotation allows keeping a history of backups
X- configurable number of files kept (static compile-time or dynamic)
X- allows naming of backup files on command line
X- works as a restricted shell to limit access to server
X- very simple and short ANSI C code, easy to audit
X
XWWW: http://anarcat.ath.cx/software/bksh
END-of-bksh/pkg-descr
echo x - bksh/distinfo
sed 's/^X//' >bksh/distinfo << 'END-of-bksh/distinfo'
XMD5 (bksh-1.3.tar.gz) = fb46c362adf3260dfa501a82171ad114
END-of-bksh/distinfo
echo x - bksh/Makefile
sed 's/^X//' >bksh/Makefile << 'END-of-bksh/Makefile'
X# New ports collection makefile for:	bksh
X# Date created:		22 June 2003
X# Whom:			The Anarcat <anarcat at anarcat.ath.cx>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bksh
XPORTVERSION=	1.3
XCATEGORIES=	sysutils
XMASTER_SITES=	http://anarcat.ath.cx/software/distfiles/
X
XMAINTAINER=	anarcat at anarcat.ath.cx
XCOMMENT=	Backup-only shell
X
X.include <bsd.port.mk>
END-of-bksh/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list