Package: developers-reference
Version: 3.3.5
Severity: wishlist
Tags: patch
Hello,
after being bitten by #306113, I decided that the gotcha I stumbled on
could use being explicitly documented.
I'm thus proposing this patch for the developer's Reference:
--------------------------------------------------------------------------------
--- developers-reference.sgml.orig 2005-04-24 13:58:34.911687504 +0200
+++ developers-reference.sgml 2005-04-24 14:08:17.419132912 +0200
@@ -1624,6 +1624,11 @@
tests the <file>postrm</file> and <file>prerm</file> scripts.
<item>
Remove the package, then reinstall it.
+ <item>
+Copy the source package in a different directory and try unpacking it and
+rebuilding it. This tests if the package relies on existing files outside of
+it, or if it relies on permissions being preserved on the files shipped inside
+the .diff.gz file.
</list>
@@ -1666,6 +1671,10 @@
source tar-file used by <prgn>dpkg-source</prgn> when constructing the
<file>.dsc</file> file and diff to be uploaded <em>must</em> be
byte-for-byte identical with the one already in the archive.
+ <p>
+Please notice that, in non-native packages, permissions on files that are not
+present in the .orig.tar.gz will not be preserved, as diff does not store file
+permissions in the patch.
<sect id="distribution">Picking a distribution
--------------------------------------------------------------------------------
Best regards,
Enrico Zini
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]