Bug#392362: [PROPOSAL] Add should not embed code from other packages
- To: 392362@bugs.debian.org
- Subject: Bug#392362: [PROPOSAL] Add should not embed code from other packages
- From: Russ Allbery <rra@debian.org>
- Date: Tue, 04 Mar 2008 18:56:42 -0800
- Message-id: <[🔎] 8763w1swt1.fsf@windlord.stanford.edu>
- Reply-to: Russ Allbery <rra@debian.org>, 392362@bugs.debian.org
- In-reply-to: <87hchzfxom.fsf@windlord.stanford.edu> (Russ Allbery's message of "Sun\, 30 Dec 2007 17\:41\:13 -0800")
- References: <20070625153353.GQ3320@yellowpig> <20070626125958.GM23964@mx0.halon.org.uk> <877ipqk9rg.fsf@windlord.stanford.edu> <20070626223046.GO23964@mx0.halon.org.uk> <873b04simw.fsf@windlord.stanford.edu> <20070704090125.GA26366@dario.dodds.net> <87lkdwotx9.fsf@windlord.stanford.edu> <20070716215718.GA29591@roeckx.be> <87zm15dtt7.fsf@windlord.stanford.edu> <871wa872bw.fsf@windlord.stanford.edu> <20071205170848.GA9601@riva.ucam.org> <87hchzfxom.fsf@windlord.stanford.edu>
Russ Allbery <rra@debian.org> writes:
> I'm not sure that the last bit really applies to Gnulib, and I'm not
> sure it's easily measured. I'm inclined to leave it off and just go
> with this:
I have applied this version of the wording to my Policy arch repository.
> --- orig/policy.sgml
> +++ mod/policy.sgml
> @@ -2077,6 +2077,34 @@
> the file to the list in <file>debian/files</file>.</p>
> </sect>
>
> + <sect id="embeddedfiles">
> + <heading>Convenience copies of code</heading>
> +
> + <p>
> + Some software packages include in their distribution convenience
> + copies of code from other software packages, generally so that
> + users compiling from source don't have to download multiple
> + packages. Debian packages should not make use of these
> + convenience copies unless the included package is explicitly
> + intended to be used in this way.<footnote>
> + For example, parts of the GNU build system work like this.
> + </footnote>
> + If the included code is already in the Debian archive in the
> + form of a library, the Debian packaging should ensure that
> + binary packages reference the libraries already in Debian and
> + the convenience copy is not used. If the included code is not
> + already in Debian, it should be packaged separately as a
> + prerequisite if possible.
> + <footnote>
> + Having multiple copies of the same code in Debian is
> + inefficient, often creates either static linking or shared
> + library conflicts, and, most importantly, increases the
> + difficulty of handling security vulnerabilities in the
> + duplicated code.
> + </footnote>
> + </p>
> + </sect>
> +
> </chapt>
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: