- Readd shells/rssh without rsync support. I'm still actively using it.

This commit is contained in:
Pav Lucistnik 2008-08-21 14:32:07 +00:00
parent fe6a84f89c
commit 87e50eaccf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218955
6 changed files with 58 additions and 1 deletions

1
MOVED
View File

@ -3569,4 +3569,3 @@ x11-themes/enlightenment-theme-BlueSteel||2008-08-20|Deprecated by x11-themes/e1
x11-themes/enlightenment-theme-BrushedMetal-Tigert||2008-08-20|Deprecated by x11-themes/e16-themes
x11-themes/enlightenment-theme-Ganymede|2008-08-20||Deprecated by x11-themes/e16-themes
x11-themes/enlightenment-theme-ShinyMetal||2008-08-20|Deprecated by x11-themes/e16-themes
shells/rssh||2008-08-21|Has expired: No longer maintained upstream

View File

@ -28,6 +28,7 @@
SUBDIR += pear-PHP_Shell
SUBDIR += psh
SUBDIR += rc
SUBDIR += rssh
SUBDIR += sash
SUBDIR += scponly
SUBDIR += shell-include

42
shells/rssh/Makefile Normal file
View File

@ -0,0 +1,42 @@
# New ports collection makefile for: rssh
# Date created: Fri Apr 16 02:04:33 CEST 2004
# Whom: enigmatyc
#
# $FreeBSD$
#
PORTNAME= rssh
PORTVERSION= 2.3.2
CATEGORIES= shells security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= pav@FreeBSD.org
COMMENT= A Restricted Secure SHell only for sftp or/and scp
GNU_CONFIGURE= yes
MAN1= rssh.1
MAN5= rssh.conf.5
OPTIONS= RDIST "rdist support" off
.include <bsd.port.pre.mk>
.if defined(WITH_RDIST)
RUN_DEPENDS+= ${LOCALBASE}/bin/rdist6:${PORTSDIR}/net/rdist6
CONFIGURE_ARGS+=--with-rdist=${LOCALBASE}/bin/rdist6
.endif
post-patch:
@${REINPLACE_CMD} -E -e 's,(\$$\(DESTDIR\)\$$\(sysconfdir\)/\$$\$$f),\1.dist,g' \
${WRKSRC}/Makefile.in
post-install:
@${ECHO_MSG} "updating /etc/shells"
@${CP} /etc/shells /etc/shells.bak
@(${GREP} -v ${PREFIX}/bin/${PORTNAME} /etc/shells.bak; \
${ECHO_CMD} ${PREFIX}/bin/${PORTNAME}) > /etc/shells
@${RM} /etc/shells.bak
.include <bsd.port.post.mk>

3
shells/rssh/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (rssh-2.3.2.tar.gz) = 65712f2c06ff5fc6fc783bc8c2e4e1ba
SHA256 (rssh-2.3.2.tar.gz) = 8569a07dd96c8f70d0310186b37bbb2e8e591807ac1d1bd0990c02bfd467ba57
SIZE (rssh-2.3.2.tar.gz) = 113959

6
shells/rssh/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
rssh is a Restricted Secure SHell that allow only the use of sftp
or scp. It could be use when you need an account (and a valid
shell) in order to execute sftp or scp but when you don't want to
give the possibility to log in to this user.
WWW: http://www.pizzashack.org/rssh/index.shtml

6
shells/rssh/pkg-plist Normal file
View File

@ -0,0 +1,6 @@
@comment $FreeBSD$
bin/rssh
@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak
@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
etc/rssh.conf.dist
libexec/rssh_chroot_helper