pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/lshell Limited Shell (lshell) provides a config...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ec950f73143
branches:  trunk
changeset: 555516:4ec950f73143
user:      imil <imil%pkgsrc.org@localhost>
date:      Wed Mar 04 09:25:36 2009 +0000

description:
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.).

OK'd by seb@

diffstat:

 shells/lshell/DESCR    |   4 ++++
 shells/lshell/Makefile |  37 +++++++++++++++++++++++++++++++++++++
 shells/lshell/PLIST    |  12 ++++++++++++
 shells/lshell/distinfo |   5 +++++
 4 files changed, 58 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r b7309839f2d5 -r 4ec950f73143 shells/lshell/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/lshell/DESCR       Wed Mar 04 09:25:36 2009 +0000
@@ -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 -r b7309839f2d5 -r 4ec950f73143 shells/lshell/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/lshell/Makefile    Wed Mar 04 09:25:36 2009 +0000
@@ -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@localhost
+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 -r b7309839f2d5 -r 4ec950f73143 shells/lshell/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/lshell/PLIST       Wed Mar 04 09:25:36 2009 +0000
@@ -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 -r b7309839f2d5 -r 4ec950f73143 shells/lshell/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/lshell/distinfo    Wed Mar 04 09:25:36 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index