diff options
author | Volker Stolz <vs@FreeBSD.org> | 2004-12-15 10:47:52 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2004-12-15 10:47:52 +0000 |
commit | 1cb6e17cc5a144f2132cabb4f5e81bfb8417df35 (patch) | |
tree | a0d78b6bd50d08c117a59ba4b9cbb4ece2fe602b /shells | |
parent | Fix build with -O2 on 6.x (diff) |
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
Diffstat (limited to 'shells')
-rw-r--r-- | shells/scponly/Makefile | 2 | ||||
-rw-r--r-- | shells/scponly/files/patch-ab | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile index 05010ad73d7f..17ce63807cf0 100644 --- a/shells/scponly/Makefile +++ b/shells/scponly/Makefile @@ -63,7 +63,7 @@ PORTNAME= scponly PORTVERSION= 4.0 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= shells MASTER_SITES= http://www.sublimation.org/scponly/ EXTRACT_SUFX= .tgz diff --git a/shells/scponly/files/patch-ab b/shells/scponly/files/patch-ab new file mode 100644 index 000000000000..2224eb2478ff --- /dev/null +++ b/shells/scponly/files/patch-ab @@ -0,0 +1,12 @@ +--- 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" }, |