Bug 152282 - New port: lang/dmd Official compiler for D language
Summary: New port: lang/dmd Official compiler for D language
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 05:10 UTC by Ruben
Modified: 2010-11-29 10:30 UTC (History)
0 users

See Also:


Attachments
dmd.shar (11.27 KB, text/plain)
2010-11-15 22:22 UTC, Ruben
no flags Details
dmd.shar (11.86 KB, text/plain)
2010-11-18 17:55 UTC, Ruben
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ruben 2010-11-15 22:22:27 UTC
Looks like the shar file didn't go through the web form, sending it again.
Comment 1 Ruben 2010-11-15 22:44:54 UTC
Hello Mr. Bright, as we discussed previously, I have packaged up dmd for 
FreeBSD ports.  You can view the results here:

http://www.freebsd.org/cgi/query-pr.cgi?pr=152282

I am also sending this email to that public thread using the 
bug-followup@ email and I ask that you do the same with your response. 
Correct me if I'm wrong, but I believe no permission should be necessary 
to include dmd in ports, since we merely link to your software and 
provide an easier way to install it.  However, we usually also mirror 
and/or redistribute software included in ports, so we will need your 
permission for that.  Specifically,

1. Is it okay to redistribute your zip file containing the dmd source 
and binaries, either through a mirror or on a paid FreeBSD CD?

2. Is it okay to distribute our own FreeBSD binary packages built from 
your dmd source, either through a mirror or on a paid FreeBSD CD?

At the very least, it would be nice to be able to mirror the zip file 
online, so that people can reach it if your site goes down or if they 
only use freebsd.org domains to download ports.  Please let me know how 
I should set it up.

btw, I had one issue when compiling Phobos, I had to take the 
zlib/gzio.o entry out of freebsd.mak, looks like an oversight from when 
it was removed from the latest zlib update.
Comment 2 Ruben 2010-11-16 05:10:05 UTC
I have packaged the official D 1.0 compiler, dmd, for FreeBSD ports, including the Phobos standard library.  While most of the source is under either the Artistic or zlib license, the dmd compiler backend requires permission for redistribution:

"The Software is copyrighted and comes with a single user license, and may not be redistributed. If you wish to obtain a redistribution license, please contact Digital Mars."

I contacted the author, Walter Bright, and he said it would be okay to go ahead with including dmd in ports.  I will now ask him what mirroring and CD options are okay and have him respond to this PR with his requirements.
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2010-11-16 22:16:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bapt

I'll take it.
Comment 4 Ruben 2010-11-18 17:55:24 UTC
OK, Mr. Bright got back to me today with the following preferences, 
which I have configured:

- Since a compiler built from source is not validation-tested, this port 
now installs the pre-built binaries and libraries instead.  However, the 
source install is left as an option which is turned off by default.

- Distribution of our own FreeBSD binary packages is disabled.

- Mirroring or CD redistribution of the official zip file, which 
contains the source and dmd binaries, is okay "as long as the licenses 
are included with the distributions."  Since we don't modify the zip 
file, the licenses should always be included.

I also asked Mr. Bright permission to port further revisions on an 
ongoing basis, with the understanding that this permission can be 
revoked at any time.  Assuming all this is okay, I ask for the same 
permission with dmd 2.0, which I was planning on porting next and will 
configure in the same way (binary install with source option, mirroring 
allowed but no FreeBSD binary package distribution), unless advised 
differently.

I ask Mr. Bright to respond to this email at bug-followup@FreeBSD.org 
with a public response, so that we have it for the record.
Comment 5 Ruben 2010-11-24 19:43:06 UTC
Mr. Bright asked me to just post his reply to me giving permission, so I 
have appended the relevant portion below.  He gave permission to 
redistribute the distfile but preferred that we didn't distribute our 
own binary packages, which is how I have setup the port now.

-------- Original Message --------
Subject: Re: ports/152282: New port: lang/dmd Official compiler for D 
language
Date: Thu, 18 Nov 2010 12:53:28 -0800
From: Walter Bright <redacted@digitalmars.com>
To: Ruben <chromium@hybridsource.org>
> I am also sending this email to that public thread using the
> bug-followup@ email and I ask that you do the same with your response.
> Correct me if I'm wrong, but I believe no permission should be
> necessary to include dmd in ports, since we merely link to your
> software and provide an easier way to install it.  However, we usually
> also mirror and/or redistribute software included in ports, so we will
> need your permission for that.  Specifically,
>
> 1. Is it okay to redistribute your zip file containing the dmd source
> and binaries, either through a mirror or on a paid FreeBSD CD?

Yes, as long as the licenses are included with the distributions.

>
> 2. Is it okay to distribute our own FreeBSD binary packages built from
> your dmd source, either through a mirror or on a paid FreeBSD CD?

You can, but I'd rather you didn't because those packages will not have
gone through validation testing.

> At the very least, it would be nice to be able to mirror the zip file
> online, so that people can reach it if your site goes down or if they
> only use freebsd.org domains to download ports.  Please let me know
> how I should set it up.

I think that would be best.
Comment 6 dfilter service freebsd_committer freebsd_triage 2010-11-29 10:27:30 UTC
bapt        2010-11-29 10:27:25 UTC

  FreeBSD ports repository

  Modified files:
    lang                 Makefile 
  Added files:
    lang/dmd             Makefile Makefile~ distinfo pkg-descr 
                         pkg-plist 
  Log:
  Add dmd 1.065, official compiler for the D 1.0 programming language.
  
  PR:             ports/152282
  Submitted by:   Ruben <chromium at hybridsource.org>
  
  Revision  Changes    Path
  1.710     +1 -0      ports/lang/Makefile
  1.1       +108 -0    ports/lang/dmd/Makefile (new)
  1.1       +108 -0    ports/lang/dmd/Makefile~ (new)
  1.1       +2 -0      ports/lang/dmd/distinfo (new)
  1.1       +15 -0     ports/lang/dmd/pkg-descr (new)
  1.1       +180 -0    ports/lang/dmd/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Baptiste Daroussin freebsd_committer freebsd_triage 2010-11-29 10:29:25 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!