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: Thu, 29 Nov 2007 21:02:43 -0800
- Message-id: <[🔎] 871wa872bw.fsf@windlord.stanford.edu>
- Reply-to: Russ Allbery <rra@debian.org>, 392362@bugs.debian.org
- In-reply-to: <87zm15dtt7.fsf@windlord.stanford.edu> (Russ Allbery's message of "Mon\, 06 Aug 2007 00\:08\:04 -0700")
- References: <200706181559.22004.sf@debian.org> <20070618172743.GB3687@yellowpig> <20070625130221.GD23964@mx0.halon.org.uk> <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>
Okay, here's yet another try at the wording for this that tries to exclude
Autotools and friends without making the wording too awkward.
Word-smithing welcome (as are any other comments).
--- orig/policy.sgml
+++ mod/policy.sgml
@@ -2077,6 +2077,32 @@
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 they are used only during the package
+ build and are not included or linked into generated binary
+ packages. 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: