pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/scponly Initial import of scponly-4.0, a tiny s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4390182d8ccb
branches: trunk
changeset: 488327:4390182d8ccb
user: snj <snj%pkgsrc.org@localhost>
date: Fri Jan 28 02:27:29 2005 +0000
description:
Initial import of scponly-4.0, a tiny shell that only permits scp and sftp.
diffstat:
shells/scponly/DESCR | 6 ++++++
shells/scponly/Makefile | 23 +++++++++++++++++++++++
shells/scponly/PLIST | 5 +++++
shells/scponly/distinfo | 5 +++++
shells/scponly/patches/patch-aa | 25 +++++++++++++++++++++++++
5 files changed, 64 insertions(+), 0 deletions(-)
diffs (84 lines):
diff -r 1d0e64089f2d -r 4390182d8ccb shells/scponly/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/scponly/DESCR Fri Jan 28 02:27:29 2005 +0000
@@ -0,0 +1,6 @@
+scponly is an alternative shell for system administrators who would like to
+allow remote users to both read and write local files without providing any
+remote execution privileges.
+
+The only commands allowed are "scp" (for ssh1), "sftp-server" (for ssh2") and
+"ls". Arguments to these commands are passed along unmolested.
diff -r 1d0e64089f2d -r 4390182d8ccb shells/scponly/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/scponly/Makefile Fri Jan 28 02:27:29 2005 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/28 02:27:29 snj Exp $
+
+DISTNAME= scponly-4.0
+CATEGORIES= shells security
+MASTER_SITES= http://www.sublimation.org/scponly/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= snj%NetBSD.org@localhost
+HOMEPAGE= http://www.sublimation.org/scponly/
+COMMENT= Tiny shell that only permits scp and sftp
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+USE_PKGINSTALL= yes
+PKG_SHELL= ${PREFIX}/bin/scponly
+PKG_SYSCONFSUBDIR= scponly
+
+EGDIR= ${PREFIX}/share/examples/scponly
+CONF_FILES= ${EGDIR}/debuglevel ${PKG_SYSCONFDIR}/debuglevel
+
+.include "../../mk/bsd.pkg.mk"
diff -r 1d0e64089f2d -r 4390182d8ccb shells/scponly/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/scponly/PLIST Fri Jan 28 02:27:29 2005 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/28 02:27:29 snj Exp $
+bin/scponly
+man/man8/scponly.8
+share/examples/scponly/debuglevel
+@dirrm share/examples/scponly
diff -r 1d0e64089f2d -r 4390182d8ccb shells/scponly/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/scponly/distinfo Fri Jan 28 02:27:29 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/28 02:27:29 snj Exp $
+
+SHA1 (scponly-4.0.tgz) = 418486395896dc2a528295a4b508c8b408bfb33c
+Size (scponly-4.0.tgz) = 85053 bytes
+SHA1 (patch-aa) = 1bb06b4a1892450cafb55d1dea0ffdb8b706306f
diff -r 1d0e64089f2d -r 4390182d8ccb shells/scponly/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/scponly/patches/patch-aa Fri Jan 28 02:27:29 2005 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/01/28 02:27:29 snj Exp $
+
+--- Makefile.in.orig 2003-11-19 22:04:53.000000000 -0800
++++ Makefile.in 2005-01-27 18:02:16.000000000 -0800
+@@ -9,7 +9,7 @@ CFLAGS = @CFLAGS@ -I$(srcdir) -I.
+ INSTALL = @INSTALL@
+ CC = @CC@
+ CHROOTED_NAME = @CHROOTED_NAME@
+-CONFDIR := @sysconfdir@/scponly
++CONFDIR := @sysconfdir@
+ DEBUGFILE := ${CONFDIR}/debuglevel
+ DEFS := @DEFS@ -DDEBUGFILE='"${DEBUGFILE}"'
+ LN_S = @LN_S@
+@@ -38,9 +38,10 @@ install: scponly debuglevel scponly.8
+ ${INSTALL} -d ${bindir}
+ ${INSTALL} -d ${mandir}/man8
+ ${INSTALL} -d ${CONFDIR}
++ ${INSTALL} -d ${prefix}/share/examples/scponly
+ ${INSTALL} -o 0 -g 0 scponly ${bindir}/scponly
+ ${INSTALL} -o 0 -g 0 -m 0644 scponly.8 ${mandir}/man8/scponly.8
+- ${INSTALL} -o 0 -g 0 -m 0644 debuglevel ${DEBUGFILE}
++ ${INSTALL} -o 0 -g 0 -m 0644 debuglevel ${prefix}/share/examples/scponly
+ if test "x${CHROOTED_NAME}" != "x"; then \
+ ${INSTALL} -d ${sbindir}; \
+ rm -f ${sbindir}/${CHROOTED_NAME}; \
Home |
Main Index |
Thread Index |
Old Index