pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc/guide/files doc/guide: document the purpose of dis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7faf40ddda2
branches:  trunk
changeset: 387002:e7faf40ddda2
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Nov 05 20:36:35 2018 +0000

description:
doc/guide: document the purpose of distinfo storing patch checksums

See https://mail-index.netbsd.org/tech-pkg/2018/11/04/msg020426.html.

diffstat:

 doc/guide/files/components.xml |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 78fb8d0c8220 -r e7faf40ddda2 doc/guide/files/components.xml
--- a/doc/guide/files/components.xml    Mon Nov 05 19:26:38 2018 +0000
+++ b/doc/guide/files/components.xml    Mon Nov 05 20:36:35 2018 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: components.xml,v 1.55 2018/07/24 23:46:15 maya Exp $ -->
+<!-- $NetBSD: components.xml,v 1.56 2018/11/05 20:36:35 rillig Exp $ -->
 
 <chapter id="components"> <?dbhtml filename="components.html"?>
 <title>Package components - files, directories and contents</title>
@@ -202,7 +202,12 @@
   <para>The <filename>distinfo</filename> file also contains the
   checksums for all the patches found in the
   <filename>patches</filename> directory (see <xref
-  linkend="components.patches"/>).</para>
+  linkend="components.patches"/>). These checksums ensure that patches
+  are only applied intentionally and that they don't accidentally change,
+  e.g. when merging different changes together. They also make sure that
+  new patches are actually added to CVS and old ones are removed.
+  Too see whether the patches and the <filename>distinfo</filename> file
+  match, run <command>pkglint</command> after changing the patches.</para>
 
   <para>To regenerate the <filename>distinfo</filename> file, use the
   <command>make distinfo</command> command.</para>



Home | Main Index | Thread Index | Old Index