From owner-freebsd-ports@FreeBSD.ORG Sat Oct 2 07:29:11 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62748106564A for ; Sat, 2 Oct 2010 07:29:11 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id B23FC8FC16 for ; Sat, 2 Oct 2010 07:29:10 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o927SxF2001505 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 2 Oct 2010 08:29:00 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o927SxF2001505 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1286004540; bh=93+1K5xocSHRacHPJbjnvPgl6flKQOr2kO5jJKthizY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4CA6DF34.5080301@infracaninophile.co.uk>|Date:=20S at,=2002=20Oct=202010=2008:28:52=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Mozilla/5.0=20(Macintosh=3B=20U=3B=20Intel=20Mac= 20OS=20X=2010.6=3B=20en-GB=3B=20rv:1.9.2.9)=20Gecko/20100915=20Thu nderbird/3.1.4|MIME-Version:=201.0|To:=20Chetan=20Shukla=20|CC:=20"freebsd-ports@freebsd.org"=20|Subject:=20Re:=20porting:=20Linux=20to=20Freebs d|References:=20|In-Reply-To:=20|X-Enigmail-Version: =201.1.1|OpenPGP:=20id=3D60AE908C|Content-Type:=20multipart/signed =3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-sig nature"=3B=0D=0A=20boundary=3D"------------enig8D5CA1D27566EA80A91 5BDCC"; b=ngYmcGPCN8dFt3AGemkGGh/9rt1n+VMvBUla/cPhuXeDTWIpGtXaASX2ft3u4RtWT 3lWVYWV6/XOBU26QXKi/HHUsA41tUrg9Q7UfWOvvzuWI4spJ+PCHQ7hew+fMvsY2ld eXyxYQumm/+Ju5Bum/ZkpwcTQz+3ntXYjpdrQaZ8= Message-ID: <4CA6DF34.5080301@infracaninophile.co.uk> Date: Sat, 02 Oct 2010 08:28:52 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Chetan Shukla References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8D5CA1D27566EA80A915BDCC" X-Virus-Scanned: clamav-milter 0.96.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: "freebsd-ports@freebsd.org" Subject: Re: porting: Linux to Freebsd 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: Sat, 02 Oct 2010 07:29:11 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8D5CA1D27566EA80A915BDCC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/10/2010 07:42:30, Chetan Shukla wrote: > Could someone please outline the steps needed in porting a general appl= ication from > Linux to FreeBSD. Step 1) Spend time (probably several years) achieving a reasonable level of expertise in the languages and concepts involved. Step 2) During the same time, become intimately familiar with the applicable bits of API and the general operating environment available under FreeBSD. Step 3) Copy distfile tarballs onto FreeBSD box, or otherwise obtain the source code. Step 4) Try to configure and compile the software, or otherwise do what is needed to get the software into a usable state. Step 5) Test it Step 6) If it works, stop the compile/test cycle here and publish your results, preferably by writing a new port and submitting it as described in the Porter's handbook. Step 7) Else generate fixes for any apparent problems. Step 8) Goto step 4. Perhaps you might ask a more narrowly specified question? The answers will likely be a lot more useful to you. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig8D5CA1D27566EA80A915BDCC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkym3zsACgkQ8Mjk52CukIysGQCggkMRLVjbSXgLB4mudgoKOFdZ gRkAnA3VGXESUEE0qBUhyPbZ4pBNWAZw =KEcS -----END PGP SIGNATURE----- --------------enig8D5CA1D27566EA80A915BDCC--