From owner-freebsd-ports Sun Oct 21 17:40: 7 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3627E37B403 for ; Sun, 21 Oct 2001 17:40:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9M0e1o31224; Sun, 21 Oct 2001 17:40:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 230BF37B401 for ; Sun, 21 Oct 2001 17:36:40 -0700 (PDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9M0aed30150; Sun, 21 Oct 2001 17:36:40 -0700 (PDT) (envelope-from nobody) Message-Id: <200110220036.f9M0aed30150@freefall.freebsd.org> Date: Sun, 21 Oct 2001 17:36:40 -0700 (PDT) From: Matt Barton To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/31422: Does pkg_delete have to erase /usr/local/www/data when removing and upgraded Apache? Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31422 >Category: ports >Synopsis: Does pkg_delete have to erase /usr/local/www/data when removing and upgraded Apache? >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 21 17:40:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Matt Barton >Release: 4.4-RELEASE >Organization: >Environment: FreeBSD jupiter.netmonkey.net 4.4-RELEASE FreeBSD 4.4-RELEASE #4: Sat Oct 13 02:38:37 EST 2001 root@jupiter.netmonkey.net:/usr/obj/usr/src/sys/JUPITER i386 >Description: I used pkg_delete to remove my current installation of Apache so that I could upgrade it to 1.3.22. After installing the new version of Apache from the ports tree, I discovered that everything that was in /usr/local/www/data/ had been deleted and replaced with the standard apache files. I had no backup, but that was entirely my fault. >How-To-Repeat: See above. >Fix: How about not having pkg_delete remove the /usr/local/www/data directory, its contents, and sub-diretories? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message