mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
[Maintainer update] shells/scponly: Update to 4.3.
Update to 4.3. Highlights in this release, - Compatibility of WinSCP in SCP mode improved. - The scponlyc (chroot'ed version of scponly) works again. PR: ports/91039 Submitted by: Hideyuki KURASHINA <rushani@FreeBSD.org>
This commit is contained in:
parent
77b160ed9d
commit
66e43df372
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152328
@ -70,8 +70,8 @@
|
||||
# to be installed.
|
||||
|
||||
PORTNAME= scponly
|
||||
PORTVERSION= 4.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 4.3
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= http://www.sublimation.org/scponly/ \
|
||||
${MASTER_SITE_SOURCEFORGE}
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (scponly-4.2.tgz) = 270dedc527d6fbc68b152b8bb3c8a864
|
||||
SHA256 (scponly-4.2.tgz) = 517b5b5966fa78ae3319221a56a6a2e19edf9f4d9910b1a37ca32748104b00f3
|
||||
SIZE (scponly-4.2.tgz) = 96736
|
||||
MD5 (scponly-4.3.tgz) = 2cef26fe5ed740031a067f189c293e77
|
||||
SHA256 (scponly-4.3.tgz) = e707315e4f90ccc3f882e6b21617dc4543bab77edbe40546fe230119609b6143
|
||||
SIZE (scponly-4.3.tgz) = 94889
|
||||
|
@ -1,22 +0,0 @@
|
||||
--- scponly.c.orig Thu Dec 22 08:12:22 2005
|
||||
+++ scponly.c Tue Dec 27 23:09:30 2005
|
||||
@@ -611,7 +611,9 @@ int process_ssh_request(char *request)
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
discard_vector(av);
|
||||
+#ifdef USE_SAFE_ENVIRONMENT
|
||||
discard_vector(safeenv);
|
||||
+#endif
|
||||
free(flat_request);
|
||||
free(tmprequest);
|
||||
return(WEXITSTATUS(status));
|
||||
@@ -629,7 +631,9 @@ int process_ssh_request(char *request)
|
||||
syslog(LOG_ERR, "failed: %s with error %s(%u) (%s)", flat_request, strerror(errno), errno, logstamp());
|
||||
free(flat_request);
|
||||
discard_vector(av);
|
||||
+#ifdef USE_SAFE_ENVIRONMENT
|
||||
discard_vector(safeenv);
|
||||
+#endif
|
||||
#ifdef WINSCP_COMPAT
|
||||
if (winscp_mode)
|
||||
{
|
11
shells/scponly/files/patch-ad
Normal file
11
shells/scponly/files/patch-ad
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup_chroot.sh.in.orig Wed Dec 28 06:55:52 2005
|
||||
+++ setup_chroot.sh.in Wed Dec 28 17:42:27 2005
|
||||
@@ -72,7 +72,7 @@ if [ `uname -s` = "OpenBSD" ]; then
|
||||
GREP_LIST="$GREP_LIST -e $bin"
|
||||
done
|
||||
LIB_LIST=`/usr/bin/ldd $BINARIES 2> /dev/null | /usr/bin/tr -s " " | /usr/bin/cut -f5 -d" " | /usr/bin/grep -v "^Name" | /usr/bin/grep -v $GREP_LIST | /usr/bin/sort -u`
|
||||
-elif
|
||||
+else
|
||||
LIB_LIST=`@PROG_LDD@ $BINARIES 2> /dev/null | @PROG_CUT@ -f2 -d\> | @PROG_CUT@ -f1 -d\( | @PROG_GREP@ "^ " | @PROG_SORT@ -u`
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user