From owner-freebsd-ports@FreeBSD.ORG Mon Apr 10 15:52:21 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BCC616A404 for ; Mon, 10 Apr 2006 15:52:21 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8A3843D49 for ; Mon, 10 Apr 2006 15:52:19 +0000 (GMT) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id 8B413B80A for ; Mon, 10 Apr 2006 11:52:18 -0400 (EDT) In-Reply-To: <20060410145555.291wa5oc0s04gko0@netchild.homeip.net> References: <20060407032220.W947@ganymede.hub.org> <1144391457.23833.6.camel@shumai.marcuscom.com> <44363371.9050200@fromley.net> <20060407141831.GA65673@pentarou.parodius.com> <20060408075305.GB58919@graf.pompo.net> <20060409050018.X1096@ganymede.hub.org> <20060409201012.GF93845@graf.pompo.net> <20060409203111.S1096@ganymede.hub.org> <20060410075351.GA40925@graf.pompo.net> <20060410145555.291wa5oc0s04gko0@netchild.homeip.net> Mime-Version: 1.0 (Apple Message framework v749.3) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Vivek Khera Date: Mon, 10 Apr 2006 11:52:18 -0400 To: freebsd ports X-Mailer: Apple Mail (2.749.3) Subject: Re: BEWARE upgrading Horde System X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 15:52:21 -0000 On Apr 10, 2006, at 8:55 AM, Alexander Leidinger wrote: > So it makes a copy to the config file from the .dist one on > installation and removes the config if it is equal to the .dist one > on deinstallation. It may be the case that you have to do the same > thing in the port Makefile too (when @exec isn't executed when > installing from source). Another alternative would be a pkg-(de) > install script which handles the removal in the pre-deinstall case > and the copy in the post-install case. > The mail/postfix port does this for a handful of config files. It really upsets people and confuses them when you hide their config files or delete them.