From owner-freebsd-current@FreeBSD.ORG Tue Apr 13 20:10:59 2004 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 29E1016A4CE for ; Tue, 13 Apr 2004 20:10:59 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC3FB43D54 for ; Tue, 13 Apr 2004 20:10:58 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (446589aecd49740146fdebd2a087bbd5@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i3E3Awh7029046; Tue, 13 Apr 2004 22:10:58 -0500 (CDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9F02452346; Tue, 13 Apr 2004 20:10:57 -0700 (PDT) Date: Tue, 13 Apr 2004 20:10:57 -0700 From: Kris Kennaway To: Garance A Drosihn Message-ID: <20040414031057.GA42629@xor.obsecurity.org> References: <20040413121925.GB29867@voodoo.oberon.net> <407C4035.8020609@ciam.ru> <1081896823.772.58.camel@klotz.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: FreeBSD Current cc: Martin Subject: Re: Second "RFC" on pkg-data idea for ports X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 03:10:59 -0000 --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 13, 2004 at 07:22:26PM -0400, Garance A Drosihn wrote: > At 12:53 AM +0200 4/14/04, Martin wrote: > >Am Tue, den 13.04.2004 schrieb Garance A Drosihn um 23:40: > > > > > If someone has a better format, and a format which will be > > > as easy for a simple program to process, I will be willing > > > to try that format instead. I am not too hung up on this > > > specific format. > > > >I would personally like it to use XML. I'm developing a small > >application which is a kind of GUI for ports (works like a > >browser). It is very difficult to parse the Makefiles to find > >out which version number and which dependencies it has. Some > >versions (like KDE3) are just variables and I don't have an > >idea how to fetch them yet. >=20 > If it is easy for you to execute commands, then something > like: >=20 > /bin/make -f /usr/ports/shells/bash2/Makefile -V PORTVERSION >=20 > might give you the result you want. But I do not know if > that will work for all ports. It should, modulo s,/bin,/usr/bin, :-). Kris --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAfKvBWry0BWjoQKURAvUKAJ9VDBw9AHuMRDyYNirEEBcvZqwkdwCgtE+H Mss6nb7qI/X2d9S7BPV7V7g= =8Ys5 -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--