From owner-freebsd-arch@FreeBSD.ORG Sat Dec 11 03:58:29 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B626F16A4CE for ; Sat, 11 Dec 2004 03:58:29 +0000 (GMT) Received: from pd3mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF6043D64 for ; Sat, 11 Dec 2004 03:58:29 +0000 (GMT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from pd4mr4so.prod.shaw.ca (pd4mr4so-qfe3.prod.shaw.ca [10.0.141.215]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I8J008DHHO0YEA0@l-daemon> for freebsd-arch@freebsd.org; Fri, 10 Dec 2004 20:57:36 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca ([10.0.121.147]) by pd4mr4so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I8J006VFHNW72K0@pd4mr4so.prod.shaw.ca> for freebsd-arch@freebsd.org; Fri, 10 Dec 2004 20:57:32 -0700 (MST) Received: from [192.168.0.60] (S0106006067227a4a.vc.shawcable.net [24.87.233.42]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0I8J00H5CHNWBF@l-daemon> for freebsd-arch@freebsd.org; Fri, 10 Dec 2004 20:57:32 -0700 (MST) Date: Fri, 10 Dec 2004 19:57:32 -0800 From: Colin Percival In-reply-to: <20041211035012.GB93068@dragon.nuxi.com> To: freebsd-arch@freebsd.org Message-id: <41BA702C.3010909@wadham.ox.ac.uk> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime References: <41B92CF3.2090302@wadham.ox.ac.uk> <20041211020518.GA74718@dragon.nuxi.com> <41BA6BDE.5070909@wadham.ox.ac.uk> <20041211035012.GB93068@dragon.nuxi.com> User-Agent: Mozilla Thunderbird 0.9 (X11/20041107) Subject: Re: Adding standalone RSA code X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2004 03:58:29 -0000 David O'Brien wrote: > In other words, rather than create an RSA library that your code links > against, just build .o's and list the .c's in your FreeBSD Update's > Makefile. That way you can use this RSA code that you want to, but it > isn't exposed as a consumable library in FreeBSD's {,/usr}/lib. Ah, now I understand. FreeBSD Update is a shell script, so I'd still need to add an rsa-verify program into /usr/sbin, but I'm quite happy to have it statically link my RSA code rather than installing a separate library, if that's what people would prefer. Honestly, I thought that people would complain if I did it that way. Colin Percival