mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Fixed version.h version, and removed B_COMMON_SERVERS directory. TODO: move some files that are ending up in
/boot/common/lib, that should probably go into /boot/common/bin instead.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
diff -urN openssh-5.8p2/configure.ac openssh-5.8p2-haiku/configure.ac
|
diff -urN openssh-5.8p2/configure.ac openssh-5.8p2-haiku/configure.ac
|
||||||
--- openssh-5.8p2/configure.ac 2011-01-21 22:37:05.026738688 +0000
|
--- openssh-5.8p2/configure.ac 2011-02-04 00:42:14.007077888 +0000
|
||||||
+++ openssh-5.8p2-haiku/configure.ac 2011-01-25 08:26:16.039583744 +0000
|
+++ openssh-5.8p2-haiku/configure.ac 2011-05-04 16:01:02.093585408 +0000
|
||||||
@@ -1347,7 +1347,7 @@
|
@@ -1345,7 +1345,7 @@
|
||||||
LIBEDIT=`$PKGCONFIG --libs-only-l libedit`
|
LIBEDIT=`$PKGCONFIG --libs-only-l libedit`
|
||||||
CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags libedit`"
|
CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags libedit`"
|
||||||
else
|
else
|
||||||
@@ -11,9 +11,9 @@ diff -urN openssh-5.8p2/configure.ac openssh-5.8p2-haiku/configure.ac
|
|||||||
OTHERLIBS=`echo $LIBEDIT | sed 's/-ledit//'`
|
OTHERLIBS=`echo $LIBEDIT | sed 's/-ledit//'`
|
||||||
AC_CHECK_LIB(edit, el_init,
|
AC_CHECK_LIB(edit, el_init,
|
||||||
diff -urN openssh-5.8p2/pathnames.h openssh-5.8p2-haiku/pathnames.h
|
diff -urN openssh-5.8p2/pathnames.h openssh-5.8p2-haiku/pathnames.h
|
||||||
--- openssh-5.8p2/pathnames.h 2010-08-31 12:41:14.035651584 +0000
|
--- openssh-5.8p2/pathnames.h 2010-08-31 12:41:14.016252928 +0000
|
||||||
+++ openssh-5.8p2-haiku/pathnames.h 2011-01-25 08:26:32.062914560 +0000
|
+++ openssh-5.8p2-haiku/pathnames.h 2011-05-04 16:01:02.127139840 +0000
|
||||||
@@ -12,7 +12,15 @@
|
@@ -12,7 +12,14 @@
|
||||||
* called by a name other than "ssh" or "Secure Shell".
|
* called by a name other than "ssh" or "Secure Shell".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -22,7 +22,6 @@ diff -urN openssh-5.8p2/pathnames.h openssh-5.8p2-haiku/pathnames.h
|
|||||||
+#define HAIKU_COMMON_SETTINGS_DIRECTORY "/boot/common/settings"
|
+#define HAIKU_COMMON_SETTINGS_DIRECTORY "/boot/common/settings"
|
||||||
+#define HAIKU_COMMON_BIN_DIRECTORY "/boot/common/bin"
|
+#define HAIKU_COMMON_BIN_DIRECTORY "/boot/common/bin"
|
||||||
+#define HAIKU_COMMON_VAR_DIRECTORY "/boot/common/var"
|
+#define HAIKU_COMMON_VAR_DIRECTORY "/boot/common/var"
|
||||||
+#define HAIKU_COMMON_SERVERS_DIRECTORY "/boot/common/servers"
|
|
||||||
+#define HAIKU_SYSTEM_BIN_DIRECTORY "/boot/system/bin"
|
+#define HAIKU_SYSTEM_BIN_DIRECTORY "/boot/system/bin"
|
||||||
+
|
+
|
||||||
+
|
+
|
||||||
@@ -108,7 +107,7 @@ diff -urN openssh-5.8p2/pathnames.h openssh-5.8p2-haiku/pathnames.h
|
|||||||
/* for sftp */
|
/* for sftp */
|
||||||
#ifndef _PATH_SFTP_SERVER
|
#ifndef _PATH_SFTP_SERVER
|
||||||
-#define _PATH_SFTP_SERVER "/usr/libexec/sftp-server"
|
-#define _PATH_SFTP_SERVER "/usr/libexec/sftp-server"
|
||||||
+#define _PATH_SFTP_SERVER HAIKU_COMMON_SERVERS_DIRECTORY "/sftp-server"
|
+#define _PATH_SFTP_SERVER HAIKU_COMMON_BIN_DIRECTORY"/sftp-server"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* chroot directory for unprivileged user when UsePrivilegeSeparation=yes */
|
/* chroot directory for unprivileged user when UsePrivilegeSeparation=yes */
|
||||||
@@ -138,3 +137,13 @@ diff -urN openssh-5.8p2/pathnames.h openssh-5.8p2-haiku/pathnames.h
|
|||||||
-#define ASKPASS_PROGRAM "/usr/lib/ssh/ssh-askpass"
|
-#define ASKPASS_PROGRAM "/usr/lib/ssh/ssh-askpass"
|
||||||
+#define ASKPASS_PROGRAM HAIKU_COMMON_BIN_DIRECTORY "/ssh/ssh-askpass"
|
+#define ASKPASS_PROGRAM HAIKU_COMMON_BIN_DIRECTORY "/ssh/ssh-askpass"
|
||||||
#endif /* ASKPASS_PROGRAM */
|
#endif /* ASKPASS_PROGRAM */
|
||||||
|
diff -urN openssh-5.8p2/version.h openssh-5.8p2-haiku/version.h
|
||||||
|
--- openssh-5.8p2/version.h 2011-02-04 00:48:57.027262976 +0000
|
||||||
|
+++ openssh-5.8p2-haiku/version.h 2011-05-04 16:05:12.604504064 +0000
|
||||||
|
@@ -2,5 +2,5 @@
|
||||||
|
|
||||||
|
#define SSH_VERSION "OpenSSH_5.8"
|
||||||
|
|
||||||
|
-#define SSH_PORTABLE "p1"
|
||||||
|
+#define SSH_PORTABLE "p2"
|
||||||
|
#define SSH_RELEASE SSH_VERSION SSH_PORTABLE
|
||||||
|
|||||||
Reference in New Issue
Block a user