From owner-freebsd-ports Fri Sep 18 18:19:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA18763 for freebsd-ports-outgoing; Fri, 18 Sep 1998 18:19:25 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from parsons.rh.rit.edu (d111-l052.rh.rit.edu [129.21.111.52]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA18750 for ; Fri, 18 Sep 1998 18:19:19 -0700 (PDT) (envelope-from mfisher@csh.rit.edu) Received: from mfisher (helo=localhost) by parsons.rh.rit.edu with local-smtp (Exim 1.92 #1) id 0zKBfg-0002KH-00; Fri, 18 Sep 1998 21:18:44 -0400 Date: Fri, 18 Sep 1998 21:18:44 -0400 (EDT) From: Mike Fisher X-Sender: mfisher@d111-l052.rh.rit.edu To: Archie Cobbs cc: ports@FreeBSD.ORG Subject: Re: sshd In-Reply-To: <199809182332.QAA20213@bubba.whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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