summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/lshell/DESCR4
-rw-r--r--shells/lshell/Makefile37
-rw-r--r--shells/lshell/PLIST12
-rw-r--r--shells/lshell/distinfo5
4 files changed, 58 insertions, 0 deletions
diff --git a/shells/lshell/DESCR b/shells/lshell/DESCR
new file mode 100644
index 00000000000..1040f2dd439
--- /dev/null
+++ b/shells/lshell/DESCR
@@ -0,0 +1,4 @@
+Limited Shell (lshell) provides a configurable shell per user. This is done
+quite simply using a configuration file. It becomes easy to restrict user's
+access to a limited set of commands, chosing to allow any command over SSH
+(e.g. SCP,SFTP,rsync,etc.).
diff --git a/shells/lshell/Makefile b/shells/lshell/Makefile
new file mode 100644
index 00000000000..dcd7ec6a88b
--- /dev/null
+++ b/shells/lshell/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/04 09:25:36 imil Exp $
+#
+
+DISTNAME= lshell-0.2.6
+CATEGORIES= shells python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lshell/}
+
+MAINTAINER= imil@gcu.info
+HOMEPAGE= http://ghantoos.org/limited-shell-lshell/
+COMMENT= Lshell restricts user's environment to specified commands
+
+PKG_GROUPS= lshellg
+PKG_SHELL= bin/lshell
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # none
+
+PYDISTUTILSPKG= yes
+
+EGDIR= share/examples/lshell
+
+SUBST_CLASSES+= setup
+SUBST_STAGE.setup= post-patch
+SUBST_FILES.setup= setup.py
+SUBST_SED.setup= -e 's,/etc,${EGDIR},'
+SUBST_SED.setup+= -e 's,share/man,${PKGMANDIR},'
+
+INSTALLATION_DIRS+= ${EGDIR} ${PKGMANDIR}/man1
+
+CONF_FILES= ${PREFIX}/${EGDIR}/lshell.conf \
+ ${PKG_SYSCONFDIR}/lshell.conf
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../devel/py-readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/shells/lshell/PLIST b/shells/lshell/PLIST
new file mode 100644
index 00000000000..b3dbe571cd8
--- /dev/null
+++ b/shells/lshell/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/03/04 09:25:36 imil Exp $
+bin/lshell
+${PYSITELIB}/lshell.py
+${PYSITELIB}/lshell.pyc
+${PYSITELIB}/lshell.pyo
+man/man1/lshell.1
+share/doc/lshell/CHANGES
+share/doc/lshell/COPYING
+share/doc/lshell/README
+share/examples/lshell/lshell.conf
+@dirrm share/examples/lshell
+@dirrm share/doc/lshell
diff --git a/shells/lshell/distinfo b/shells/lshell/distinfo
new file mode 100644
index 00000000000..d5ee50259d7
--- /dev/null
+++ b/shells/lshell/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/03/04 09:25:36 imil Exp $
+
+SHA1 (lshell-0.2.6.tar.gz) = ac0a8e018d2cc64a1c8a27e74b21b6419c06d331
+RMD160 (lshell-0.2.6.tar.gz) = 72e44af1f9313274d9f0a45f09ab8c2276e4e81e
+Size (lshell-0.2.6.tar.gz) = 26947 bytes