Subject: Re: today's openssh version 3.7
To: William Allen Simpson <wsimpson@greendragon.com>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 09/17/2003 01:44:22
>> But I didn't realize that ssh was *also* in the pkgsrc tree.  That's
>> the ticket!  I'll try that.
>
>It was *NOT* the ticket!  After installing perl, it *does* *not* 
>install openssh.  Only the old files are there:
[...]
>cc -O2 -I/usr/pkg/include -Wall -Wpointer-arith -Wno-uninitialized 
>    -I. -I. -I/usr/include -I/usr/include   -I/usr/pkg/include 
>    -DSSHDIR=\"/usr/pkg/etc/ssh\"  -D_PATH_SSH_PROGRAM=\"/usr/pkg/bin/ssh\"  
>    -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/X11R6/bin/ssh-askpass\"  
>    -D_PATH_SFTP_SERVER=\"/usr/pkg/libexec/sftp-server\"  
>    -D_PATH_SSH_KEY_SIGN=\"/usr/pkg/libexec/ssh-keysign\"  
>    -D_PATH_SSH_PIDDIR=\"/var/run\"  
>    -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/chroot/sshd\"  
>    -DSSH_RAND_HELPER=\"/usr/pkg/libexec/ssh-rand-helper\" 
>    -DHAVE_CONFIG_H -c sftp-int.c
[...]
>dreamer: {16} pkg_info
>digest-20021220     Message digest wrapper utility
>screen-3.9.15       Multi-screen window manager
>perl-5.6.1nb9       Practical Extraction and Report Language
>dreamer: {17} whereis perl
>/usr/pkg/bin/perl
>dreamer: {18} whereis sshd
>/usr/sbin/sshd
>dreamer: {19} ll /usr/sbin/sshd
>-r-xr-xr-x  1 root  wheel  285224 Jul  5 09:16 /usr/sbin/sshd
>dreamer: {20} whereis sftp
>/usr/bin/sftp
>dreamer: {21} ll /usr/bin/sftp
>-r-xr-xr-x  1 root  wheel  48680 Jul  4 20:13 /usr/bin/sftp

did you seriously expect that installing something from pkgsrc would
overwrite something from your base system?

simply rm those binaries and use the ones from /usr/pkg.  or...clean
out the build you did of openssh from pkgsrc and rebuild it with
LOCALBASE set to /usr.

WARNING!!!!!  make sure you understand what that will do.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."