diff options
author | seb <seb@pkgsrc.org> | 2003-01-12 15:15:51 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2003-01-12 15:15:51 +0000 |
commit | 54021692d089c08156a3a752e3b39331ed70b7ef (patch) | |
tree | 7a172a04d241019edfe9b81f4b6e1a3694d14235 /security/ssh2/patches | |
parent | d8128632aef1362b9ffcc2caa176da5cbbf42dcc (diff) | |
download | pkgsrc-54021692d089c08156a3a752e3b39331ed70b7ef.tar.gz |
Update to ssh version 3.2.2.
Changes since 3.2.0:
2002-10-15 Sami J. Lehtinen <sjl@ssh.com>
* ssh-3.2.2 (on Unix this time).
* sshd2: Fixed a security problem with setsid() use. Now we call
it every time, if we need to run a new process on the user's
privileges (command, subsystem or shell). Previously, it was only
run if the user had requested a tty (for a shell, for example).
Special thanks to Logan Gabriel for finding this problem.
2002-10-01 Sami J. Lehtinen <sjl@ssh.com>
* configure: Previous: Check for /dev/pts was broken.
2002-08-08 Sami J. Lehtinen <sjl@ssh.com>
* ssh-3.2.2 (only Windows client, no *nix changes).
2002-07-26 Sami J. Lehtinen <sjl@ssh.com>
* ssh-3.2.1.
2002-07-24 Sami J. Lehtinen <sjl@ssh.com>
* sshd2: Fixed a bug with setpcred() usage (on AIX), which caused
that chroot() was not done.
Diffstat (limited to 'security/ssh2/patches')
-rw-r--r-- | security/ssh2/patches/patch-af | 81 |
1 files changed, 8 insertions, 73 deletions
diff --git a/security/ssh2/patches/patch-af b/security/ssh2/patches/patch-af index d4890bc9081..ac9f0270d49 100644 --- a/security/ssh2/patches/patch-af +++ b/security/ssh2/patches/patch-af @@ -1,78 +1,13 @@ -$NetBSD: patch-af,v 1.2 2002/09/24 00:24:38 jlam Exp $ +$NetBSD: patch-af,v 1.3 2003/01/12 15:15:52 seb Exp $ ---- configure.orig Thu May 16 03:32:38 2002 +--- configure.orig Sat Jan 11 23:22:52 2003 +++ configure -@@ -1590,49 +1590,27 @@ cat >> confdefs.h <<EOF - EOF - - -- -- echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 --echo "configure:1596: checking for strerror in -lcposix" >&5 --ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` --if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then -- echo $ac_n "(cached) $ac_c" 1>&6 --else -- ac_save_LIBS="$LIBS" --LIBS="-lcposix $LIBS" --cat > conftest.$ac_ext <<EOF --#line 1604 "configure" --#include "confdefs.h" --/* Override any gcc2 internal prototype to avoid an error. */ --/* We use char because int might match the return type of a gcc2 -- builtin and then its argument prototype would still apply. */ --char strerror(); -- --int main() { --strerror() --; return 0; } -+echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 -+echo "configure:1595: checking for POSIXized ISC" >&5 -+if test -d /etc/conf/kconfig.d && -+ grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 -+then -+ echo "$ac_t""yes" 1>&6 -+ ISC=yes # If later tests want to check for ISC. -+ cat >> confdefs.h <<\EOF -+#define _POSIX_SOURCE 1 - EOF --if { (eval echo configure:1615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then -- rm -rf conftest* -- eval "ac_cv_lib_$ac_lib_var=yes" --else -- echo "configure: failed program was:" >&5 -- cat conftest.$ac_ext >&5 -- rm -rf conftest* -- eval "ac_cv_lib_$ac_lib_var=no" --fi --rm -f conftest* --LIBS="$ac_save_LIBS" - --fi --if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then -- echo "$ac_t""yes" 1>&6 -- LIBS="$LIBS -lcposix" -+ if test "$GCC" = yes; then -+ CC="$CC -posix" -+ else -+ CC="$CC -Xp" -+ fi - else - echo "$ac_t""no" 1>&6 -+ ISC= - fi - -- -- - - # - # vx_suffix is used if targeting VxWorks embedded OS -@@ -8224,8 +8202,49 @@ else +@@ -8203,8 +8203,49 @@ else fi fi +echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 -+echo "configure:8207: checking for openpty in -lutil" >&5 ++echo "configure:8208: checking for openpty in -lutil" >&5 +ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 @@ -80,7 +15,7 @@ $NetBSD: patch-af,v 1.2 2002/09/24 00:24:38 jlam Exp $ + ac_save_LIBS="$LIBS" +LIBS="-lutil $LIBS" +cat > conftest.$ac_ext <<EOF -+#line 8215 "configure" ++#line 8216 "configure" +#include "confdefs.h" +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 @@ -91,7 +26,7 @@ $NetBSD: patch-af,v 1.2 2002/09/24 00:24:38 jlam Exp $ +openpty() +; return 0; } +EOF -+if { (eval echo configure:8226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:8227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else @@ -113,8 +48,8 @@ $NetBSD: patch-af,v 1.2 2002/09/24 00:24:38 jlam Exp $ +fi + echo $ac_n "checking for login in -lutil""... $ac_c" 1>&6 --echo "configure:8229: checking for login in -lutil" >&5 -+echo "configure:8248: checking for login in -lutil" >&5 +-echo "configure:8208: checking for login in -lutil" >&5 ++echo "configure:8249: checking for login in -lutil" >&5 ac_lib_var=`echo util'_'login | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 |