As the first step of complying with the requirement that all open
source licensed code contain the required copyright & license notice
in the SVR4 package copyright file, I've put in a framework to our
package builds to help automate this, as you may have seen in this
putback to the FOX gate:
   http://mail.opensolaris.org/pipermail/fox-notify/2008-March/000211.html

>From now on, when you add a new open source program to our packages (either
one we've never shipped before or one of the many X11R6->X11R7 upgrades we're
doing), you'll need to also edit the copyright.add files to add the copyright
& license notice.

To save us from having to constantly manually cut & paste these, I've
set up the open-src/common/Makefile.inc to copy the licenses from the
software into a common location, and for make_release_packages to
parse out include statements in the copyright.add and insert the
license notice there.  (This should also save from having to do any
manual work on updates, since we'll automatically get the updates from
the license file in the package.)

The default rule assumes the license notice is in a file called "COPYING" in
the top of the tarball, since that's the default location in X.Org packages.
For packages from other sources, you can override it in the Makefile - for
instance, the Bitstream Vera fonts package has this in its Makefile:
  # License file
  LICENSE_FILE=COPYRIGHT.TXT
  LICENSE_FILE_SET=yes

If there is no file, we may need to generate one manually, as you'll see
soon for the rss-glx putback I'm working on.

As a practical example, Niveditha putback today the xlogo conversion to X11R7
sources.   Had I sent out this mail first, besides changing the prototype
files for the SUNWxwplt & SUNWxwman package, she would have also added these
sections to the copyright.add files in those packages (which I'll putback now):

--- /tmp/sccs.JMa4iL    2008-03-07 20:06:22.886126237 -0800
+++ packages/SUNWxwman/copyright.add    2008-03-07 19:42:39.916081000 -0800
@@ -103,6 +103,10 @@

 include app/xlsclients/COPYING
 ------------------------------------------------------------------------------
+Files from the app/xlogo package are covered by the following notice:
+
+include app/xlogo/COPYING
+------------------------------------------------------------------------------
 Files from the app/xmag package are covered by the following notice:

 include app/xmag/COPYING

--- /tmp/sccs.KMa4iL    2008-03-07 20:06:22.912509175 -0800
+++ packages/SUNWxwplt/copyright.add    2008-03-07 19:42:33.570059000 -0800
@@ -202,6 +202,10 @@

 include app/xlsclients/COPYING
 ------------------------------------------------------------------------------
+Files from the app/xlogo package are covered by the following notice:
+
+include app/xlogo/COPYING
+------------------------------------------------------------------------------
 Files from the app/xmag package are covered by the following notice:

 include app/xmag/COPYING


Please remember to include this steps in future putbacks - it will make it
much easier for Bonnie (the manager responsible for gathering the complete
license data for all of Indiana for the release) to get the data from our
packages.

If you have any questions, please ask.

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to