DESCR: rssh is a restricted shell for use with OpenSSH, allowing only scp and/or sftp. For example, if you have a server which you only want to allow users to copy files off of via scp, without providing shell access, you can use rssh to do that. MESSAGE: =========================================================================== $NetBSD$ You should configure PermitUserEnvironment in your sshd_config to no. If you do not do this, it will be possible for users to circumvent rssh. =========================================================================== TODO: ***************************************************** **** ********* ************ ************* *********** I do not generate the PLIST, theorically this pkg works on Linux, Solaris,HPUX,AIX and Irix, but not in BSD. Because of wordexp function. take a look on: http://www.pizzashack.org/rssh/platforms.shtml If you're on a BSD system without the wordexp() function, you could work around this by obtaining a copy of the wordexp() function's code from, say, glibc2, and creating your own wordexp.h header. Compile wordexp.c manually, and link it against the other .o files. *********** ********* *********** ********** ******** *****************************************************
18 lines
496 B
Makefile
18 lines
496 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2004/02/26 23:48:37 poppnk Exp $
|
|
#
|
|
|
|
DISTNAME= rssh-2.1.1
|
|
CATEGORIES= wip shells
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rssh/}
|
|
|
|
MAINTAINER= pancake@phreaker.net
|
|
HOMEPAGE= http://www.pizzashack.org/rssh/
|
|
COMMENT= Restricted shell allowing only scp and/or sftp
|
|
|
|
USE_BUILDLINK3= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
# TODO THIS MUST BE PORTED TO BSD!!!! f*cking wordexp.? !!!
|
|
ONLY_FOR_PLATFORM= Linux-*-* Irix-*-* Solaris-*-* AIX-*-*
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|