aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-12-23 00:24:30 +0800
committergarga <garga@FreeBSD.org>2005-12-23 00:24:30 +0800
commit5507eca50e31e73bddb23ba4516a235aa3f74765 (patch)
tree6c2b0501a599defb9423420345a470efa9c363ab /shells
parent4450782b0ed3d1e5b7b5c11299114b891eafb8ae (diff)
downloadfreebsd-ports-gnome-5507eca50e31e73bddb23ba4516a235aa3f74765.tar.gz
freebsd-ports-gnome-5507eca50e31e73bddb23ba4516a235aa3f74765.tar.zst
freebsd-ports-gnome-5507eca50e31e73bddb23ba4516a235aa3f74765.zip
o Update to 4.2.
- Security fixes (local privilege escalation exploits). See https://lists.ccs.neu.edu/pipermail/scponly/2005-December/001027.html for details. - The scp and WinSCP compatibilities are turned off by default to improve scp argument processing. - The sftp-logging supported. - Etc. o Add SHA256 hash. PR: ports/90813 Submitted by: maintainer Security: https://lists.ccs.neu.edu/pipermail/scponly/2005-December/001027.html
Diffstat (limited to 'shells')
-rw-r--r--shells/scponly/Makefile44
-rw-r--r--shells/scponly/distinfo5
2 files changed, 29 insertions, 20 deletions
diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile
index e57ea9d851e4..cb9f57e42259 100644
--- a/shells/scponly/Makefile
+++ b/shells/scponly/Makefile
@@ -24,18 +24,10 @@
# default: undefined
# define if you want to disable wildcard processing.
#
-# WITHOUT_SCPONLY_SCP
-# default: undefined
-# define if you want to disable vanilla scp compatibility.
-#
# WITHOUT_SCPONLY_GFTP
# default: undefined
# define if you want to disable gftp compatibility.
#
-# WITHOUT_SCPONLY_WINSCP
-# default: undefined
-# define if you want to disable WinSCP compatibility.
-#
# WITH_SCPONLY_CHROOT
# default: undefined
# define if you want to use chroot functionality (set UID to root).
@@ -44,6 +36,14 @@
# default: undefined
# define if you want to enable rsync compatibility.
#
+# WITH_SCPONLY_SCP
+# default: undefined
+# define if you want to enable vanilla scp compatibility.
+#
+# WITH_SCPONLY_SFTP_LOGGING
+# default: undefined
+# define if you want to enable sftp logging compatibility.
+#
# WITH_SCPONLY_SVN
# default: undefined
# define if you want to enable subversion compatibility.
@@ -56,6 +56,10 @@
# default: undefined
# define if you want to enable unison compatibility.
#
+# WITH_SCPONLY_WINSCP
+# default: undefined
+# define if you want to enable WinSCP compatibility.
+#
#
# Additional knobs:
#
@@ -66,8 +70,8 @@
# to be installed.
PORTNAME= scponly
-PORTVERSION= 4.1
-PORTREVISION= 2
+PORTVERSION= 4.2
+PORTREVISION= 0
CATEGORIES= shells
MASTER_SITES= http://www.sublimation.org/scponly/
EXTRACT_SUFX= .tgz
@@ -90,18 +94,10 @@ CONFIGURE_ARGS+=--with-default-chdir=${SCPONLY_DEFAULT_CHDIR}
CONFIGURE_ARGS+=--disable-wildcards
.endif
-.if defined(WITHOUT_SCPONLY_SCP)
-CONFIGURE_ARGS+=--disable-scp-compat
-.endif
-
.if defined(WITHOUT_SCPONLY_GFTP)
CONFIGURE_ARGS+=--disable-gftp-compat
.endif
-.if defined(WITHOUT_SCPONLY_WINSCP)
-CONFIGURE_ARGS+=--disable-winscp-compat
-.endif
-
.if defined(WITH_SCPONLY_CHROOT)
PLIST_SUB= SCPONLY_CHROOT=""
CONFIGURE_ARGS+=--enable-chrooted-binary
@@ -113,6 +109,14 @@ RUN_DEPENDS+= ${BUILD_DEPENDS}
CONFIGURE_ARGS+=--enable-rsync-compat
.endif
+.if defined(WITH_SCPONLY_SCP)
+CONFIGURE_ARGS+=--enable-scp-compat
+.endif
+
+.if defined(WITH_SCPONLY_SFTP_LOGGING)
+CONFIGURE_ARGS+=--enable-sftp-logging-compat
+.endif
+
.if defined(WITH_SCPONLY_SVN)
BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion
RUN_DEPENDS+= ${BUILD_DEPENDS}
@@ -131,6 +135,10 @@ RUN_DEPENDS+= ${BUILD_DEPENDS}
CONFIGURE_ARGS+=--enable-unison-compat
.endif
+.if defined(WITH_SCPONLY_WINSCP)
+CONFIGURE_ARGS+=--enable-winscp-compat
+.endif
+
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "You can enable chroot functionality by defining WITH_SCPONLY_CHROOT."
diff --git a/shells/scponly/distinfo b/shells/scponly/distinfo
index 1bbafd5a88b8..3e6bebc32e78 100644
--- a/shells/scponly/distinfo
+++ b/shells/scponly/distinfo
@@ -1,2 +1,3 @@
-MD5 (scponly-4.1.tgz) = 32e4b87dc46c78573010c1146e9744f0
-SIZE (scponly-4.1.tgz) = 93138
+MD5 (scponly-4.2.tgz) = 270dedc527d6fbc68b152b8bb3c8a864
+SHA256 (scponly-4.2.tgz) = 517b5b5966fa78ae3319221a56a6a2e19edf9f4d9910b1a37ca32748104b00f3
+SIZE (scponly-4.2.tgz) = 96736