patch to add utmps support for HP-UX 11.23

Chuck Gagnon gagnocg at mac.com
Sun May 25 13:31:55 EST 2008


OK, the issues with 11.31 are going to take a lot longer than I  
figured, so rather than hold off until I fix that I've put up a patch  
against openssh-5.0p1 at:
   http://homepage.mac.com/gagnocg/downloads/openssh-5.0p1.patch

In addition to adding the utmps support this also adds some other HP- 
UX fixes and the ability to do "make depot" much like the "make  
package" that already exists (uses the same local config file with  
new variables where appropriate).

I have used applied this patch and built on HP-UX 11.00, 11.23 (both  
PA-RISC and ia64), Solaris 8-10 and my patch has not caused any  
issues but does fix the lack of logging on 11.23.

There is an issue when building on 11.23 PA-RISC using HP's compiler  
but it is unrelated to this patch, it has to do with one of the macro  
definitions leaving a lone ; in a struct and the compiler balks at it  
(though on ia64 the same ; ends up there and it is fine with it, but  
I'm using different versions of the compiler do to licensing which  
probably explains the whole thing).

Anyway, comments and criticisms welcome.

By the way, I did a diff against 5.0p1 mainly because I can't do a  
cvs diff with a -N to add new files.  Anyone know if opencvs will be  
getting this ability?

Chuck


On Apr 30, 2008, at 5:35 PM, Chuck Gagnon wrote:
> Sorry guys,
>   While my patch fixes logging on 11.23 there are some major issues  
> when building on 11.31 (basically it builds fine and while all the  
> client code works as expected sshd just hangs on connects waiting  
> for communication it never sees).
>
> Since I'm not happy with the way I did the first patch (works fine  
> but does not match the rest of the [uw]tmp code well enough for me,  
> please hold off even looking until I get back with an over all  
> 11.23 & 11.31 patch.
>
> I do have the utmps code all inline with the rest already but since  
> 11.31 still is DOA I want to incorporate that fix in and just make  
> it an overall HP-UX patch (I will test on 11.00, 11.11, 11.23 and  
> 11.31 which is all the versions I have access to).
>
> Sorry for the noise.
>
>
> On Apr 26, 2008, at 7:09 PM, Chuck Gagnon wrote:
>> Starting with 11.23 HP is using utmps as if we didn't already have  
>> enough (utmp, wtmp, utmpx, wtmpx,...  did I miss any??) .
>>
>> Anyway, I added support for it in (before this patch no logins  
>> from ssh were showing up on my 11.23 and 11.31 systems).
>>
>> http://homepage.mac.com/gagnocg/downloads/hpux-cvs.diff
>>
>>
>



More information about the openssh-unix-dev mailing list