freebsd-ports/shells/scponly/files/patch-ab
Volker Stolz 1cb6e17cc5 Scponly validates dangerous arguments since version 4.0. However,
there is a regression compared with version 3.11.  That is scponly
can not be built only with sftp support.

Reference: https://lists.ccs.neu.edu/pipermail/scponly/2004-December/000655.html

PR:		ports/75092
Submitteed by:	maintainer
2004-12-15 10:47:52 +00:00

12 lines
271 B
Text

--- scponly.c.orig Sun Nov 28 10:16:39 2004
+++ scponly.c Wed Dec 15 13:38:11 2004
@@ -76,7 +76,9 @@
*/
cmd_arg_t dangerous_args[] =
{
+#ifdef ENABLE_SCP2
{ PROG_SCP, "-S" },
+#endif
{ PROG_SFTP_SERVER, "-S" },
#ifdef UNISON_COMPAT
{ PROG_UNISON, "-rshcmd" },