From owner-freebsd-stable@FreeBSD.ORG Thu Nov 13 07:37:34 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90BEA16A4CE for ; Thu, 13 Nov 2003 07:37:34 -0800 (PST) Received: from tonij.jolt.nu (as4-6-3.lk.bonet.se [217.215.176.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0DBF43FE0 for ; Thu, 13 Nov 2003 07:37:32 -0800 (PST) (envelope-from c4@jolt.nu) Received: from na.jolt.nu ([10.0.0.2]) by tonij.jolt.nu (8.12.9/8.12.9) with ESMTP id hADFbbW4029523 for ; Thu, 13 Nov 2003 16:37:38 +0100 (CET) (envelope-from c4@jolt.nu) Message-Id: <6.0.0.22.1.20031113163132.0232dde8@jolt.nu> X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 13 Nov 2003 16:35:49 +0100 To: freebsd-stable@freebsd.org From: Tobias Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Checking SNMP lib (Quagga port maintainer) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 15:37:34 -0000 well... one way would be to run pkg_version... (c4@tonij:~) pkg_version -s automake automake = (= means that it's the current version according to the package index, < older, > newer ie: new packages & old indexes) (c4@tonij:~) pkg_version -s f00 pkg_version: no packages match pattern This works... but I bet there is a better way At 14:50 2003-11-13, you wrote: >Hello! > > I'm sorry if I'm writing wrong list. I'm a Quagga port maintainer and > want to simplify user selection of SNMP lib via DIALOG. As I found, there > are only to ports of SNMP lib for FreeBSD - NetSNMP v5 and old UCD-SNMP > v4. I want to check what version of SNMP lib user have installed and > precheck apropriate option. Is there a RIGHT way to do that? > >Yours truly, > Boris Kovalenko > > >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"