diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-27 21:25:56 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-12-27 21:25:56 +0000 |
commit | fa08782b94e10107e7793d6a350a01599f977f38 (patch) | |
tree | cf381d4ad7a13d9e81772fef3c0d8abb07bf544e /shells | |
parent | c2e628f92fbf86cf7814864d8f1ccdd2d8b60747 (diff) | |
download | ports-fa08782b94e10107e7793d6a350a01599f977f38.tar.gz ports-fa08782b94e10107e7793d6a350a01599f977f38.zip |
Notes
Diffstat (limited to 'shells')
-rw-r--r-- | shells/scponly/Makefile | 10 | ||||
-rw-r--r-- | shells/scponly/files/patch-ac | 22 |
2 files changed, 30 insertions, 2 deletions
diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile index cb9f57e42259..b570e9bfc271 100644 --- a/shells/scponly/Makefile +++ b/shells/scponly/Makefile @@ -71,9 +71,11 @@ PORTNAME= scponly PORTVERSION= 4.2 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= shells -MASTER_SITES= http://www.sublimation.org/scponly/ +MASTER_SITES= http://www.sublimation.org/scponly/ \ + ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= scponly EXTRACT_SUFX= .tgz MAINTAINER= rushani@FreeBSD.org @@ -140,6 +142,10 @@ CONFIGURE_ARGS+=--enable-winscp-compat .endif pre-everything:: + @${ECHO_MSG} "From scponly 4.2, scp & WinSCP compatibilities are not" + @${ECHO_MSG} "enabled by default. To enable those compatibilities," + @${ECHO_MSG} "define WITH_SCPONLY_SCP and/or WITH_SCPONLY_WINSCP," + @${ECHO_MSG} "respectively." @${ECHO_MSG} "" @${ECHO_MSG} "You can enable chroot functionality by defining WITH_SCPONLY_CHROOT." @${ECHO_MSG} "" diff --git a/shells/scponly/files/patch-ac b/shells/scponly/files/patch-ac new file mode 100644 index 000000000000..c35744bdd44a --- /dev/null +++ b/shells/scponly/files/patch-ac @@ -0,0 +1,22 @@ +--- 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) + { |