diff options
author | snj <snj> | 2005-01-28 02:27:29 +0000 |
---|---|---|
committer | snj <snj> | 2005-01-28 02:27:29 +0000 |
commit | ca6fc1c75312de69f2c170f410c9019373a2ea63 (patch) | |
tree | a087d5cc7095ba9bf2bf7f0cdb0362b6bf331db8 /shells/scponly/patches/patch-aa | |
parent | ced6df95dec6fcc33ae707b70610408807abe8f5 (diff) | |
download | pkgsrc-ca6fc1c75312de69f2c170f410c9019373a2ea63.tar.gz |
Initial import of scponly-4.0, a tiny shell that only permits scp and sftp.
Diffstat (limited to 'shells/scponly/patches/patch-aa')
-rw-r--r-- | shells/scponly/patches/patch-aa | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/shells/scponly/patches/patch-aa b/shells/scponly/patches/patch-aa new file mode 100644 index 00000000000..b1cbb8b2592 --- /dev/null +++ b/shells/scponly/patches/patch-aa @@ -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}; \ |