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

Bug#525151: Clarify format of source package name



Colin Watson <cjwatson@debian.org> writes:

> It seems to me that it would be simplest just to copy the text from
> 5.6.7 (Package) to 5.6.1 (Source). Technically this imposes a new
> requirement on source packages that's slightly stricter than that
> imposed by dpkg-source, which from my brief reading of the code would
> theoretically permit colons, commas, equals signs, and tildes too, but
> I see no reason why those would be desirable and have never heard of
> anyone trying to use them in source package names. I agree with you
> that sanity and common use say that the two classes of package names
> have the same format.
>
> diff --git a/policy.sgml b/policy.sgml
> index 0140043..144cbfb 100644
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -2588,6 +2588,14 @@ Package: libc6
>  	    package control file when the source package has the same
>  	    name and version as the binary package.
>  	  </p>
> +
> +	  <p>
> +	    Package names must consist only of lower case letters
> +	    (<tt>a-z</tt>), digits (<tt>0-9</tt>), plus (<tt>+</tt>)
> +	    and minus (<tt>-</tt>) signs, and periods (<tt>.</tt>).
> +	    They must be at least two characters long and must start
> +	    with an alphanumeric character.
> +	  </p>
>  	</sect1>
>  
>  	<sect1 id="f-Maintainer">
>
> I'm seeking seconds for this.

Looks right to me.  Seconded.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: