diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-06-21 14:12:27 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-06-21 14:12:27 +0300 |
commit | ff275b195141d4a932e7eebdf6f7319fb4f8d5db (patch) | |
tree | 291ff37f61d017fa7caf7b1c6fdc7dceae71d835 /debian/patches/dyson.patch | |
parent | 31684bbc19b57842dfb8285f69ab3d19f9d0f0b5 (diff) | |
download | openssh-master.tar.gz |
openssh (1:7.4p1-10+dyson1)HEADdyson/7.4p1-10+dyson1master
* Package for Dyson
* Added SMF service
* Added debian/patches/dyson.patch
* Changed VCS URLs in debian/control to Dyson ones
* Disable systemd on non-linux: no build dependencies, no installed
files
Diffstat (limited to 'debian/patches/dyson.patch')
-rw-r--r-- | debian/patches/dyson.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/debian/patches/dyson.patch b/debian/patches/dyson.patch new file mode 100644 index 0000000..a3e9e8d --- /dev/null +++ b/debian/patches/dyson.patch @@ -0,0 +1,46 @@ +Index: openssh-7.4p1/configure.ac +=================================================================== +--- openssh-7.4p1.orig/configure.ac ++++ openssh-7.4p1/configure.ac +@@ -902,7 +902,6 @@ mips-sony-bsd|mips-sony-newsos4) + if test "x$withval" != "xno" ; then + need_dash_r=1 + fi +- AC_DEFINE([PAM_SUN_CODEBASE]) + AC_DEFINE([LOGIN_NEEDS_UTMPX]) + AC_DEFINE([PAM_TTY_KLUDGE]) + AC_DEFINE([SSHPAM_CHAUTHTOK_NEEDS_RUID], [1], +@@ -916,6 +915,7 @@ mips-sony-bsd|mips-sony-newsos4) + AC_DEFINE([PASSWD_NEEDS_USERNAME], [1], [must supply username to passwd + in case the name is longer than 8 chars]) + AC_DEFINE([BROKEN_TCGETATTR_ICANON], [1], [tcgetattr with ICANON may hang]) ++ AC_DEFINE([PTY_ZEROREAD], [1], [read(2) can return 0 for a non-closed pty fd]) + external_path_file=/etc/default/login + # hardwire lastlog location (can't detect it on some versions) + conf_lastlog_location="/var/adm/lastlog" +Index: openssh-7.4p1/kex.h +=================================================================== +--- openssh-7.4p1.orig/kex.h ++++ openssh-7.4p1/kex.h +@@ -26,6 +26,8 @@ + #ifndef KEX_H + #define KEX_H + ++#include <signal.h> ++ + #include "mac.h" + #include "buffer.h" /* XXX for typedef */ + #include "key.h" /* XXX for typedef */ +Index: openssh-7.4p1/openbsd-compat/regress/closefromtest.c +=================================================================== +--- openssh-7.4p1.orig/openbsd-compat/regress/closefromtest.c ++++ openssh-7.4p1/openbsd-compat/regress/closefromtest.c +@@ -24,8 +24,6 @@ + + #define NUM_OPENS 10 + +-int closefrom(int); +- + void + fail(char *msg) + { |