Re: portupgrade for ssh & sendmail
From: Bill Vermillion (bv_at_wjv.com)
Date: 10/07/03
- Next message: Andrea Sini: "Re: KDE...how to start THANK YOU"
- Previous message: Klaus Warzecha: "Re: html editor like dreamweaver"
- In reply to: surfsofa: "portupgrade for ssh & sendmail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 07 Oct 2003 06:05:01 GMT
In article <blpkjp$ejaoj$1@ID-62754.news.uni-berlin.de>, surfsofa
<surfsofa@hotmail.com> wrote:
>I've just cvsup'ed my ports collection and was hoping to use
>portupgrade to update ssh and sendmail to the latest versions.
>However, if I run 'portupgrade -n -ra' to check what will be
>done neither of these packages show up. If I try 'portupgrade -n
>ssh' it tells me I have no such package installed.
>It appears that only the packages *I've* installed from the
>ports collection get picked up by portupgrade. I'm guessing it's
>because ssh and sendmail were pre-installed when the system was
>initially built that portupgrade doesn't see these.
>Is that right? If so is there any way to get 'preinstalled'
>packages like these included in a portupgrade sweep? Or will I
>need to look to another solution for these packages?
As others has mentioned these are part of the base and not ports
so they won't upgrade.
However it's really quite easy to get the new version of sendmail
running. Got to the ports directory, /usr/ports/mail/sendmail
and type 'make' and then make install [I always like to make it a
two step process].
You will get a screen at the end of the install giving you
directions on how to get the new sendmail running.
The way FreeBSD installs sendmail is that it uses a mailer.conf
file - so that you can put any mailer in place and still call it by
the name sendmail so you don't break the system.
Edit the mail conf after making the sendmail port so
that the lines with /usr/libexec/sendmail/sendmail now read
/usr/local/sbin/sendmail. [That's presuming you took the default
on installing the new port].
Restart your sendmail, and that is it. The sendmail 8.12.10
in ports is what you should be using to make sure all the holes
are patched. It's really quite painless.
For openssh in ports you can put the startup in the /etc/rc.conf
by putting the line sshd_program="/usr/local/bin/sshd" [check
that name on install], or take the sshd_enable="yes" out of rc.conf
and start ssh from the script which the port will install
in /usr/local/etc/rc.d
Just remember to kill whichever programs you have running, sendmail
or sshd, before you start the new ones. And be sure to install the
sshd locally as if you are logged in over ssh you'll become
disconnected.
Bill
-- Bill Vermillion - bv @ wjv . com
- Next message: Andrea Sini: "Re: KDE...how to start THANK YOU"
- Previous message: Klaus Warzecha: "Re: html editor like dreamweaver"
- In reply to: surfsofa: "portupgrade for ssh & sendmail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|