aboutsummaryrefslogtreecommitdiffstats
path: root/shells/rssh
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-08-21 22:32:07 +0800
committerpav <pav@FreeBSD.org>2008-08-21 22:32:07 +0800
commit4c9e5eb70a0e2471febe23f1bd0c4db313eaa2ac (patch)
tree5443ccc8aa4009e388c5ee5b10011916c1bd47e9 /shells/rssh
parent1f8b704903a257d805f138f0da93ee0045dcb6cc (diff)
downloadfreebsd-ports-gnome-4c9e5eb70a0e2471febe23f1bd0c4db313eaa2ac.tar.gz
freebsd-ports-gnome-4c9e5eb70a0e2471febe23f1bd0c4db313eaa2ac.tar.zst
freebsd-ports-gnome-4c9e5eb70a0e2471febe23f1bd0c4db313eaa2ac.zip
- Readd shells/rssh without rsync support. I'm still actively using it.
Diffstat (limited to 'shells/rssh')
-rw-r--r--shells/rssh/Makefile42
-rw-r--r--shells/rssh/distinfo3
-rw-r--r--shells/rssh/pkg-descr6
-rw-r--r--shells/rssh/pkg-plist6
4 files changed, 57 insertions, 0 deletions
diff --git a/shells/rssh/Makefile b/shells/rssh/Makefile
new file mode 100644
index 000000000000..dec1127c7963
--- /dev/null
+++ b/shells/rssh/Makefile
@@ -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>
diff --git a/shells/rssh/distinfo b/shells/rssh/distinfo
new file mode 100644
index 000000000000..80706272d762
--- /dev/null
+++ b/shells/rssh/distinfo
@@ -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
diff --git a/shells/rssh/pkg-descr b/shells/rssh/pkg-descr
new file mode 100644
index 000000000000..cfb3de2a129c
--- /dev/null
+++ b/shells/rssh/pkg-descr
@@ -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
diff --git a/shells/rssh/pkg-plist b/shells/rssh/pkg-plist
new file mode 100644
index 000000000000..4bfa5f99c1a6
--- /dev/null
+++ b/shells/rssh/pkg-plist
@@ -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