April 03, 2005
Most of Phobos is now either zlib/libpng license,
or even Public Domain (mostly applying to wrappers)

http://www.opensource.org/licenses/zlib-license.php

>  *  Copyright (C) 2004-2005 by Digital Mars, www.digitalmars.com
>  *  Written by Walter Bright

Public Domain:

> internal/dmain2.d
> internal/invariant.d
> internal/qsort2.d

> std/c/stddef.d
> std/c/stdio.d
> std/compiler.d
> std/openrj.d
> std/stdint.d
> std/stdio.d
> std/string.d
> std/system.d


Issues remaining:
================

Different Copyright: (still zlib/libpng license)

std.base64:
std.socketstream:
> Copyright (C) 2004 Christopher E. Miller

etc.c.zlib:
> Copyright (C) 1995-2003 Jean-loup Gailly and Mark Adler


Different License: (similar, but different)

std.stream:
crc32:
> /*
>  * Copyright (c) 2001, 2002
>  * Pavel "EvilOne" Minayev
>  *
>  * Permission to use, copy, modify, distribute and sell this software
>  * and its documentation for any purpose is hereby granted without fee,
>  * provided that the above copyright notice appear in all copies and
>  * that both that copyright notice and this permission notice appear
>  * in supporting documentation.  Author makes no representations about
>  * the suitability of this software for any purpose. It is provided
>  * "as is" without express or implied warranty.
>  */

std.math:

> /****************************************************************************
>  * hypotenuese.
>  * This is based on code from:
>  * Cephes Math Library Release 2.1:  January, 1989
>  * Copyright 1984, 1987, 1989 by Stephen L. Moshier
>  * Direct inquiries to 30 Frost Street, Cambridge, MA 02140
>  */

std.random:

> // Segments of the code in this file Copyright (c) 1997 by Rick Booth
> // From "Inner Loops" by Rick Booth, Addison-Wesley

std.md5:

> /* md5.d - RSA Data Security, Inc., MD5 message-digest algorithm
>  * Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm.
>  */
> 
> /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
> rights reserved.
> 
> License to copy and use this software is granted provided that it
> is identified as the "RSA Data Security, Inc. MD5 Message-Digest
> Algorithm" in all material mentioning or referencing this software
> or this function.
> 
> License is also granted to make and use derivative works provided
> that such works are identified as "derived from the RSA Data
> Security, Inc. MD5 Message-Digest Algorithm" in all material
> mentioning or referencing the derived work.
> 
> RSA Data Security, Inc. makes no representations concerning either
> the merchantability of this software or the suitability of this
> software for any particular purpose. It is provided "as is"
> without express or implied warranty of any kind.
> These notices must be retained in any copies of any part of this
> documentation and/or software.
>  */

Different License: (altogether different)

std.loader:
std.windows.registry:
std.recls:

http://synesis.com.au/licenses/ssssl.html

>  * License:     (Licensed under the Synesis Software Standard Source License)
>
>  *              Copyright (C) 2002-2004, Synesis Software Pty Ltd.

The recent version of recls uses a BSD license instead,
http://www.opensource.org/licenses/bsd-license.php
and std.loader should probably just be replaced anyway...
So by updating recls, that should more or less go away ?

md5 and random might still be a problem, but can be fixed.
There is a RSA-free version of MD5 available at: (C code)
http://sourceforge.net/projects/libmd5-rfc/
(And Walter has already made qsort2.d, into Public Domain)


So I think most of the Phobos licensing issues are sorted out ?
(then again, I haven't combed the code for stray references...)

At least most of the ones from last year, for instance:
http://www.digitalmars.com/d/archives/digitalmars/D/4396.html

--anders

April 03, 2005
On Sun, 03 Apr 2005 12:15:29 +0200, Anders F Björklund <afb@algonet.se> wrote:
> md5 and random might still be a problem, but can be fixed.
> There is a RSA-free version of MD5 available at: (C code)
> http://sourceforge.net/projects/libmd5-rfc/

I am relatively new to licenses and issues surrounding them but I believe the MD2, MD4, MD5, SHA0, SHA1, SHA256, SHA512 and Tiger hashing algorithms that I wrote and placed in Deimos with a BSD style license are "RSA-free" as I wrote them using the RFC.

Regan