aboutsummaryrefslogtreecommitdiffstats
path: root/shells/scponly
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-12-15 18:47:52 +0800
committervs <vs@FreeBSD.org>2004-12-15 18:47:52 +0800
commit19dcfb85ff5415f65d7d14faaa6ee0bfd681deac (patch)
treefad19e81987f0ae6e4fc2fc39013481a537faf04 /shells/scponly
parent8084bc45080867f027f416176d485c73bedea484 (diff)
downloadfreebsd-ports-gnome-19dcfb85ff5415f65d7d14faaa6ee0bfd681deac.tar.gz
freebsd-ports-gnome-19dcfb85ff5415f65d7d14faaa6ee0bfd681deac.tar.zst
freebsd-ports-gnome-19dcfb85ff5415f65d7d14faaa6ee0bfd681deac.zip
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/scponly')
-rw-r--r--shells/scponly/Makefile2
-rw-r--r--shells/scponly/files/patch-ab12
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" },