From owner-freebsd-questions@FreeBSD.ORG Sun Sep 24 05:49:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20EB516A403 for ; Sun, 24 Sep 2006 05:49:40 +0000 (UTC) (envelope-from corwin@aeternal.net) Received: from amber.aeternal.net (amber.aeternal.net [212.232.17.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F3D943D45 for ; Sun, 24 Sep 2006 05:49:39 +0000 (GMT) (envelope-from corwin@aeternal.net) Received: from localhost (localhost.aeternal.net [127.0.0.1]) by amber.aeternal.net (Postfix) with ESMTP id B78B6B9CE; Sun, 24 Sep 2006 07:49:38 +0200 (CEST) X-Virus-Scanned: by amavisd-new at aeternal.net Received: from amber.aeternal.net ([127.0.0.1]) by localhost (amber.aeternal.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NJrEa-orVdwY; Sun, 24 Sep 2006 07:49:38 +0200 (CEST) Received: from [127.0.0.1] (chello089173027168.chello.sk [89.173.27.168]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by amber.aeternal.net (Postfix) with ESMTP id 01C4CB984; Sun, 24 Sep 2006 07:49:37 +0200 (CEST) Message-ID: <45161C70.4070106@aeternal.net> Date: Sun, 24 Sep 2006 07:49:36 +0200 From: Martin Hudec User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: David Schulz References: <8A9C90B0-E258-4ECE-9B0D-67F5020E104A@tca-cable-connector.com> In-Reply-To: <8A9C90B0-E258-4ECE-9B0D-67F5020E104A@tca-cable-connector.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Users Questions Subject: Re: Zabbix Port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: corwin@aeternal.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2006 05:49:40 -0000 Hello David, David Schulz wrote: > The /usr/ports/net-mgmt/zabbix Port consists out of two components, > Server and Agent. I would like to install the Agent only, so it shouldnt > need all these large dependencies such as mysql etc, but i cant figure > out how to do that. I skimmed trough the Makefile, and it mentions > things about ZABBIX_AGENT_ONLY , but i can figure out how to turn that > knob. Can anyone tell me please? usually reading Makefile in the port directory can reveal the knob. In this case just use: make ZABBIX_AGENT_ONLY=yes install or, as has been proposed by Norberto Meijome, -DZABBIX_AGENT_ONLY. Also, if you use portupgrade, please add following to /usr/local/etc/pkgtools.conf MAKE_ARGS section: 'net/mgmt/zabbix' => 'ZABBIX_AGENT_ONLY=yes', as portupgrade will need to know that you've used this knob in first install, so it would not install whole zabbix on the upgrade run. Martin