Add openssh
[kopensolaris-gnu/patches.git] / openssh.diff
1
2 http://lists.mindrot.org/pipermail/openssh-unix-dev/2009-February/027206.html
3
4 Index: configure.ac
5 ===================================================================
6 RCS file: /cvs/openssh/configure.ac,v
7 retrieving revision 1.413
8 diff -u -p -r1.413 configure.ac
9 --- configure.ac        8 Jan 2009 04:50:09 -0000       1.413
10 +++ configure.ac        6 Feb 2009 12:46:49 -0000
11 @@ -561,6 +561,14 @@ main() { if (NSVersionOfRunTimeLibrary("
12         AC_DEFINE(WITH_ABBREV_NO_TTY)
13         AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*")
14         ;;
15 +*-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
16 +       check_for_libcrypt_later=1
17 +       AC_DEFINE(PAM_TTY_KLUDGE)
18 +       AC_DEFINE(LOCKED_PASSWD_PREFIX, "!")
19 +       AC_DEFINE(SPT_TYPE,SPT_REUSEARGV)
20 +       AC_DEFINE(_PATH_BTMP, "/var/log/btmp", [log for bad login attempts])
21 +       AC_DEFINE(USE_BTMP, 1, [Use btmp to log bad logins])
22 +       ;;
23  *-*-linux*)
24         no_dev_ptmx=1
25         check_for_libcrypt_later=1