Subject: Re: today's openssh version 3.7
To: Andrew Brown <atatat@atatdot.net>
From: Patrick Mackey <netbsd@deniedaccess.org>
List: current-users
Date: 09/17/2003 17:52:23
Hi

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

That's a good point actually, maybe something should be added to 'MESSAGE'
for openssh advising that the base systems ssh,sshd etc binaries still
exist. It's probably a point of confusion to the inexperienced.


Best Regards,
Patrick Mackey

----------------------------------------
      "Of course it runs NetBSD"
    "NetBSD: http://www.netbsd.org"
----------------------------------------

On Wed, 17 Sep 2003, Andrew Brown wrote:

     Date: Wed, 17 Sep 2003 01:44:22 -0400
     From: Andrew Brown <atatat@atatdot.net>
     To: William Allen Simpson <wsimpson@greendragon.com>
     Cc: current-users@NetBSD.org
     Subject: Re: today's openssh version 3.7

     >> 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."