Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 1998 21:18:44 -0400 (EDT)
From:      Mike Fisher <mfisher@csh.rit.edu>
To:        Archie Cobbs <archie@whistle.com>
Cc:        ports@FreeBSD.ORG
Subject:   Re: sshd
Message-ID:  <Pine.BSF.4.02.9809182113220.12150-100000@d111-l052.rh.rit.edu>
In-Reply-To: <199809182332.QAA20213@bubba.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Sep 1998, Archie Cobbs wrote:

> Can you give an example where pkg_delete_im_gonna_upgrade_now !=
> pkg_delete_for_ever ? What does pkg_delete_im_gonna_upgrade_now mean
> exactly?

For example, an administrator is running Apache and wishes to upgrade to
the newest version to take care of a security hole (or is running sshd).
To do this, he does something along the following:
cd /ports/www/apache/current
make
pkg_delete [whatever apache version is currently installed]
make install
kill -HUP `cat /var/run/httpd.pid`

The current pkg_delete setup doesn't remove the Apache configuration files
because their MD5 fingerprints differ from the ones in the package
contents list.  The make install doesn't overwrite the existing
configuration files, so after the above sequence, Apache should be
upgraded and function as it did before (only better since it got its bugs
squished).

Same goes for sshd or lynx or pretty much any other port that has a
configuration file that will remain fairly constant between versions but
needs to be edited for performance/security reasons.

--
Mike
  "...check your premises.  You will find that one of them is wrong."
         --Ayn Rand, _Atlas Shrugged_


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02.9809182113220.12150-100000>