Where Can I Find the ar Archiver BSD Variant

I've been trying to get my hands on the source for the BSD variant of the ar archiver, but have not been able to find it anywhere. Does anyone know where I can get it?

My FreeBSD actually uses the GNU version of ar from binutils.

$ ar V
GNU ar 2.15 [FreeBSD] 2004-05-23
Copyright 2004 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
$ 

so I decided to install bsd-ar just for fun

$ ./ar V
BSD ar 1.0.2 - libarchive 2.5.5
$ 

However, you will find the sources here:
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ar-20080302.tgz

1 Like

Thank you, I have compiled it and (after some editing the source) I have a working bsd variant on Ubuntu Linux.

$ ./ar --version
BSD ar 1.0.2 - libarchive 2.6.2

---------- Post updated 05-14-10 at 01:36 AM ---------- Previous update was 05-13-10 at 09:56 PM ----------

Does anyone know if it is possible to port this over to a win32 platform?

I'm looking for the same thing if you can post your source somewhere you would save me some time, thanks
Pat