[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#556015: debian-policy: Clarify requirements for copyright file



> diff --git a/policy.sgml b/policy.sgml
> index 34a45d5..51b9adb 100644
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -569,10 +569,14 @@
>  	<heading>Copyright considerations</heading>
>  
>  	<p>
> -	  Every package must be accompanied by a verbatim copy of
> -	  its copyright and distribution license in the file
> -	  <file>/usr/share/doc/<var>package</var>/copyright</file>
> -	  (see <ref id="copyrightfile"> for further details).
> +	  Every binary package must include a verbatim copy of its
> +	  copyright and distribution license in the file
> +	  <file>/usr/share/doc/<var>package</var>/copyright</file> or
> +	  symlink that directory to a package that does (see

It mentions a file, not a directory.  You also seem to
saying the same thing in an other part.

[...]

> @@ -9060,39 +9063,82 @@ END-INFO-DIR-ENTRY
>  	<heading>Copyright information</heading>
>  
>  	<p>
> -	  Every package must be accompanied by a verbatim copy of its
> -	  copyright and distribution license in the file
> -	  <file>/usr/share/doc/<var>package</var>/copyright</file>. This
> -	  file must neither be compressed nor be a symbolic link.
> +	  Every package either include a verbatim copy of its copyright

In other changes you made it clear that this is about binary
packages.

> +	    <item>
> +	      All the requirements for using a symlink instead of a
> +	      directory as <file>/usr/share/doc/<var>package</var></file>
> +	      described in <ref id="addl-docs"> must be met.  This means
> +	      both packages must come from the same source package and the
> +	      package must depend on the package containing its copyright
> +	      and distribution license.
> +	    </item>
> +
> +	    <item>
> +	      There must be a direct dependency on the package containing
> +	      the copyright and distribution license.  An indirect
> +	      dependency via a third package is not sufficient.
> +	    </item>

Some package currently don't do this, but have an A->B->C
dependency, where A, B and C are all from the same source
package and C contains the copyright.  I guess it would
be good to have some input from a maintainer that does that.

> @@ -9120,10 +9166,12 @@ END-INFO-DIR-ENTRY
>  	</p>
>  
>  	<p>
> -	  You should not use the copyright file as a general <file>README</file>
> -	  file.  If your package has such a file it should be
> -	  installed in <file>/usr/share/doc/<var>package</var>/README</file> or
> -	  <file>README.Debian</file> or some other appropriate place.</p>
> +	  You should not use the copyright file as a general
> +	  <file>README</file> file.  If your package has such a file it
> +	  should be installed in
> +	  <file>/usr/share/doc/<var>package</var>/README</file> or
> +	  <file>README.Debian</file> or some other appropriate place.
> +	</p>
>        </sect>
>  
>        <sect>

This is just reformatting of the current text?


Kurt




Reply to: