pkgsrc-Changes archive

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

CVS commit: pkgsrc/doc/guide/files



Module Name:    pkgsrc
Committed By:   rillig
Date:           Mon Nov  5 20:36:35 UTC 2018

Modified Files:
        pkgsrc/doc/guide/files: components.xml

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/doc/guide/files/components.xml

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/doc/guide/files/components.xml
diff -u pkgsrc/doc/guide/files/components.xml:1.55 pkgsrc/doc/guide/files/components.xml:1.56
--- pkgsrc/doc/guide/files/components.xml:1.55  Tue Jul 24 23:46:15 2018
+++ pkgsrc/doc/guide/files/components.xml       Mon Nov  5 20:36:35 2018
@@ -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 @@ converters    games         mbone       
   <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