ANNOUNCE: openssh-1.2.1pre19

Andre Lucas andre.lucas at dial.pipex.com
Sat Dec 25 00:43:46 EST 1999


First chance I've had to compile 1.2.1pre19. The _PATH_MAILDIR stuff is
broken on HPUX. A patch follows, mercifully short this time. It probably
broke because the old way I did it was nasty, I think this is a little
cleaner.

A lot of (IMHO) good portability stuff was in the 'a4' patch against
1.2.1pre18. I'll wait for 1.2.1pre20 before attempting to reapply any of
it, though.	

Ta,
-André


*** start of patch ***

--- openssh-1.2.1pre19.orig/config.h.in	Tue Dec 21 11:51:21 1999
+++ openssh-1.2.1pre19.new/config.h.in	Fri Dec 24 13:33:00 1999
@@ -154,6 +154,9 @@
 /* Define if you have the <maillock.h> header file.  */
 #undef HAVE_MAILLOCK_H
 
+/* Set this to your mail directory if you don't have maillock.h */
+#undef MAIL_DIRECTORY
+
 /* Define if you have the <netgroup.h> header file.  */
 #undef HAVE_NETGROUP_H
 
@@ -236,6 +239,13 @@
 #include <maillock.h>
 #endif
 
+/* MAIL_DIRECTORY is defined by configure from $MAIL environment
+ * variable in case we can't find the mail path from the headers */
+#ifndef MAILDIR
+# define MAILDIR MAIL_DIRECTORY
+#endif
+

 #ifndef SHUT_RDWR
 enum
 {
@@ -363,10 +373,6 @@
 #ifndef _PATH_MAILDIR
 # ifdef MAILDIR
 #  define _PATH_MAILDIR MAILDIR
-# else
-#  ifdef MAIL_DIRECTORY
-#   define _PATH_MAILDIR MAIL_DIRECTORY
-#  endif
 # endif
 #endif
 
*** end of patch ***


Damien Miller wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> OpenSSH-1.2.1pre19 has been released.
> 

8< snip 8<





More information about the openssh-unix-dev mailing list