Re: BSD advertizing clause in some files

Lists: pgsql-hackers
From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: BSD advertizing clause in some files
Date: 2007-03-25 01:39:42
Message-ID: 200703250139.l2P1dgS05151@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Someone has pointed out that the following files have the 4-part BSD
copyright, which includes the advertising clause:

src/backend/port/darwin/system.c
src/backend/port/dynloader/freebsd.c
src/backend/port/dynloader/openbsd.c
src/backend/port/dynloader/netbsd.c
src/backend/utils/mb/wstrcmp.c
src/backend/utils/mb/wstrncmp.c
src/port/strtoul.c
src/port/getopt.c
src/port/getopt_long.c
src/port/inet_aton.c
src/port/strtol.c
src/port/snprintf.c
contrib/pgcrypto/blf.c
contrib/pgcrypto/blf.h

Because Berkeley has said the advertising clause is to be
ignored/removed, should we remove it from our files too?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: Neil Conway <neilc(at)samurai(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: BSD advertizing clause in some files
Date: 2007-03-25 01:58:33
Message-ID: 4605D749.6090407@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Bruce Momjian wrote:
> Someone has pointed out that the following files have the 4-part BSD
> copyright, which includes the advertising clause:
>
> src/backend/port/darwin/system.c
> src/backend/port/dynloader/freebsd.c
> src/backend/port/dynloader/openbsd.c
> src/backend/port/dynloader/netbsd.c
> src/backend/utils/mb/wstrcmp.c
> src/backend/utils/mb/wstrncmp.c
> src/port/strtoul.c
> src/port/getopt.c
> src/port/getopt_long.c
> src/port/inet_aton.c
> src/port/strtol.c
> src/port/snprintf.c
> contrib/pgcrypto/blf.c
> contrib/pgcrypto/blf.h
>
> Because Berkeley has said the advertising clause is to be
> ignored/removed, should we remove it from our files too?
>

I don't think we *need* to remove it, but I agree we should remove it
for the sake of clarity. Note that the UC declaration only applies to
code that is copyright UC Berkeley -- which is most of the above files,
but not all of them (e.g. blf.c and blf.h are copyright Niels Provos).

Rather than removing the copyright clause per se, it might be better to
just update to the latest versions of these files in an upstream source
(e.g. NetBSD). They've already gone through their source tree and
updated the Berkeley copyrights as appropriate.

-Neil


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: BSD advertizing clause in some files
Date: 2007-03-25 03:46:31
Message-ID: 4605F097.2080005@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Bruce Momjian wrote:
> Someone has pointed out that the following files have the 4-part BSD
> copyright, which includes the advertising clause:
>
> src/backend/port/darwin/system.c
> src/backend/port/dynloader/freebsd.c
> src/backend/port/dynloader/openbsd.c
> src/backend/port/dynloader/netbsd.c
> src/backend/utils/mb/wstrcmp.c
> src/backend/utils/mb/wstrncmp.c
> src/port/strtoul.c
> src/port/getopt.c
> src/port/getopt_long.c
> src/port/inet_aton.c
> src/port/strtol.c
> src/port/snprintf.c
> contrib/pgcrypto/blf.c
> contrib/pgcrypto/blf.h
>
> Because Berkeley has said the advertising clause is to be
> ignored/removed, should we remove it from our files too?
>

Yes.

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: BSD advertizing clause in some files
Date: 2007-03-25 18:08:00
Message-ID: 8458.1174846080@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Neil Conway <neilc(at)samurai(dot)com> writes:
> Rather than removing the copyright clause per se, it might be better to
> just update to the latest versions of these files in an upstream source
> (e.g. NetBSD). They've already gone through their source tree and
> updated the Berkeley copyrights as appropriate.

+1 ... that might buy us some functional improvements to justify the
effort ...

regards, tom lane


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: BSD advertizing clause in some files
Date: 2007-03-26 21:47:39
Message-ID: 200703262147.l2QLldb17982@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Neil Conway wrote:
> Bruce Momjian wrote:
> > Someone has pointed out that the following files have the 4-part BSD
> > copyright, which includes the advertising clause:
> >
> > src/backend/port/darwin/system.c
> > src/backend/port/dynloader/freebsd.c
> > src/backend/port/dynloader/openbsd.c
> > src/backend/port/dynloader/netbsd.c
> > src/backend/utils/mb/wstrcmp.c
> > src/backend/utils/mb/wstrncmp.c
> > src/port/strtoul.c
> > src/port/getopt.c
> > src/port/getopt_long.c
> > src/port/inet_aton.c
> > src/port/strtol.c
> > src/port/snprintf.c
> > contrib/pgcrypto/blf.c
> > contrib/pgcrypto/blf.h
> >
> > Because Berkeley has said the advertising clause is to be
> > ignored/removed, should we remove it from our files too?
> >
>
> I don't think we *need* to remove it, but I agree we should remove it
> for the sake of clarity. Note that the UC declaration only applies to
> code that is copyright UC Berkeley -- which is most of the above files,
> but not all of them (e.g. blf.c and blf.h are copyright Niels Provos).
>
> Rather than removing the copyright clause per se, it might be better to
> just update to the latest versions of these files in an upstream source
> (e.g. NetBSD). They've already gone through their source tree and
> updated the Berkeley copyrights as appropriate.

I removed the advertising clause from all the BSD-copyrighted files from
Berkeley, namely all but */blf.*. I didn't update them from upsteam
sources because some don't have clear upstream sources, and an update
isn't a trivial operation --- if we need to update, it should be
separate operation on all files, not just the ones with advertising
clauses.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: "Marko Kreen" <markokr(at)gmail(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: "Neil Conway" <neilc(at)samurai(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: BSD advertizing clause in some files
Date: 2007-03-27 07:57:13
Message-ID: e51f66da0703270057n4b90d230kad37334e85ef6546@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 3/27/07, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> I removed the advertising clause from all the BSD-copyrighted files from
> Berkeley, namely all but */blf.*.

Their upstream is OpenBSD that still has same license.
NetBSD and FreeBSD have even worse versions with ssleay
license.

I think I need to find new upstream for them...

--
marko