From owner-freebsd-current@FreeBSD.ORG Fri Jun 6 10:33:28 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B86CD37B401 for ; Fri, 6 Jun 2003 10:33:28 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 192D243FBF for ; Fri, 6 Jun 2003 10:33:28 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h56HXRtJ011531; Fri, 6 Jun 2003 10:33:27 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3EE0D0E7.4010009@acm.org> Date: Fri, 06 Jun 2003 10:35:35 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam References: <5.2.1.1.2.20030606101523.02502008@mail.mygeotivity.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Ports Bug (Nagios) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 17:33:29 -0000 Adam wrote: > I found a bug in the /ports/net/naios port. More correctly, I think it > would be in /ports/net/nagios-plugins. > > I had Postgres 7.2 installed on my system. I did this manually from > source. It seems that when you choose to have postgres support for > nagios, it doesn't check to see if the library exists, but instead looks > to see if the port was installed. This resulted in my install getting > clobbered, directory permissions getting reassigned and my database > going down. A lot of ports have this problem. For example, I saw it recently with py-MySQLdb, which attempted to re-install MySQL for me. Fortunately, I've long ago learned an important lesson: If you compile software manually, do NOT install it in /usr/local. Otherwise, the FreeBSD ports/package system will happily blow it away for you. Of course, if you install it elsewhere, then ports won't find it and will install a new version in /usr/local anyway. At least this way your custom version won't get destroyed. Tim Kientzle