From owner-freebsd-ports@FreeBSD.ORG Fri Feb 23 11:48:53 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9AE116A400 for ; Fri, 23 Feb 2007 11:48:53 +0000 (UTC) (envelope-from walkingshadow@grummel.net) Received: from mail1.bytemine.net (mat.bytemine.net [193.41.144.74]) by mx1.freebsd.org (Postfix) with ESMTP id 9C45E13C48E for ; Fri, 23 Feb 2007 11:48:53 +0000 (UTC) (envelope-from walkingshadow@grummel.net) Received: from 4be54-4-82-234-154-189.fbx.proxad.net ([82.234.154.189]:12924 helo=mailsvr.my.domain) by mail1.bytemine.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.62) (envelope-from ) id 1HKYcf-0003jv-V5 for ports@FreeBSD.org; Fri, 23 Feb 2007 12:29:58 +0100 Received: from localhost (unknown [192.168.0.11]) by mailsvr.my.domain (Postfix) with ESMTP id 89976456E0 for ; Fri, 23 Feb 2007 12:31:04 +0100 (CET) Date: Fri, 23 Feb 2007 12:29:52 +0100 From: Jona Joachim To: ports@FreeBSD.org Message-ID: <20070223122952.3b6d8fdb@localhost> X-Mailer: Claws Mail 2.7.2 (GTK+ 2.10.9; i386-portbld-freebsd6.2) X-Face: &>dujC`JZV!}?Y^1"%N{x!f+rW}; PX\_Cg[!|MA~tn3ebIKM|~p=,,U~YJt,Exd`Spk.1Ln zg, Q]0=:!/LTs-eg.Fz, @giLyD'D=s, L\-AJyZ8tcV`kPifedMA@rhoEikoo~K%@iDLNq2?aHZjIt) GqBY7o#9+8j/uuXDVG3`XFEH_4$T%._*%;|vIaP Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Why not install libinstall.a? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 11:48:53 -0000 Hi! I plan to write a GUI for the FBSD ports collection. I wrote a sketch of it in Python to see what I should look like and how it should work. At some point I needed a way to see whether a port is outdated or not and so I took a look at how other tools implement the version comparison function. version_cmp in src/usr.sbin/pkg_install/lib/version.c is exactly what I need. Then I saw that a library is created (libinstall.a) during buildworld with this and a whole bunch of other interesting functions that may interest developers of ports management tools. My question: why don't you install this library into /usr/lib/ ? Regards, Jona -- Hi, I'm a .signature virus! Copy me to your .signature file and help me propagate, thanks!