From owner-freebsd-questions@FreeBSD.ORG Fri Nov 23 05:50:29 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BCDA16A420 for ; Fri, 23 Nov 2007 05:50:29 +0000 (UTC) (envelope-from elrap@web.de) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.freebsd.org (Postfix) with ESMTP id ECE5113C457 for ; Fri, 23 Nov 2007 05:50:28 +0000 (UTC) (envelope-from elrap@web.de) Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id 6AE87B0CEEB8 for ; Fri, 23 Nov 2007 06:50:27 +0100 (CET) Received: from [84.152.147.164] (helo=freebsdangel.de) by smtp08.web.de with asmtp (WEB.DE 4.108 #208) id 1IvRQp-00077K-00 for freebsd-questions@freebsd.org; Fri, 23 Nov 2007 06:50:27 +0100 Message-ID: <47466A22.2060205@web.de> Date: Fri, 23 Nov 2007 06:50:26 +0100 From: Tino Engel User-Agent: Thunderbird 2.0.0.6 (X11/20071110) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20071122174115.GA23792@parts-unknown.org> In-Reply-To: <20071122174115.GA23792@parts-unknown.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: elrap@web.de X-Sender: elrap@web.de X-Provags-ID: V01U2FsdGVkX193vX3GQFixku0uZwib3mR2gqR4kQPVBBSr3v1X FwY2/DllqBLhknnkz9qBwWDQOHXgKwJsfZeYCdLiGlz+3Wfcd1 Q5HWQ9GwI= Subject: Re: How do I prevent a port from installing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 05:50:29 -0000 David Benfell schrieb: > Hello all, > > I don't know what the story is, but Java is locking up my > system badly. Even if I knew how to get details, I wouldn't > be able to because the system is completely unresponsive. > > As a workaround, I have gone into /usr/ports/distfiles and > renamed the jdk* files to names with DO-NOT-INSTALL in > capital letters and linked the original filenames to /dev/null. > > I do not want java installing again on this system ever under > any circumstances. > > With java, at least, I believe I have to download the files by > hand if there is ever an update. But what if I identify other > ports that are causing me problems? > > Also, in deinstalling jdk, I found that apache-ant relied upon > it, but I couldn't see what depended on apache-ant. Is there > a workaround for apache-ant? > > Thanks! > > A way to prevent java from installing would be to do chmod 000 /usr/ports/java/*jre* /usr/ports/java/*jdk* Tino