From owner-freebsd-vuxml@FreeBSD.ORG Mon Sep 13 17:33:25 2004 Return-Path: Delivered-To: freebsd-vuxml@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1503716A4CF for ; Mon, 13 Sep 2004 17:33:25 +0000 (GMT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC7CF43D31 for ; Mon, 13 Sep 2004 17:33:24 +0000 (GMT) (envelope-from dan@langille.org) Received: from xeon (xeon.unixathome.org [192.168.0.18]) by bast.unixathome.org (Postfix) with ESMTP id CC4B13D3D for ; Mon, 13 Sep 2004 13:33:22 -0400 (EDT) Date: Mon, 13 Sep 2004 13:33:22 -0400 (EDT) From: Dan Langille X-X-Sender: dan@xeon.unixathome.org To: freebsd-vuxml@freebsd.org Message-ID: <20040913123610.G22240@xeon.unixathome.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Matching a name to a port X-BeenThere: freebsd-vuxml@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documenting security issues in VuXML List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 17:33:25 -0000 I'm trying to match vuln.xml information against actual ports. To do this, I need to know how the entries in the field are derived. I first thought it might be PORTNAME. But that's not the case. I now think it might be ${PKGNAMEPREFIX}${PORTNAME}$. If am i correct, then I have some questions about the following entries. What ports do the following refer to? iaskmpd ImageMagick-nox11 ja-netscape7 libtool mod_php4-twig mpg123-esound mplayer-esound mplayer-gtk mplayer-gtk-esound mysql-client mysql-scripts mysql-server The answers may be obvious to the trained eye, but how does one write code against this? -- Dan Langille - http://www.langille.org/ BSDCan - The Technical BSD Conference: http://www.bsdcan.org/