pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/pkgformat/pkg



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Feb 11 22:54:15 UTC 2026

Modified Files:
        pkgsrc/mk/pkgformat/pkg: metadata.mk

Log Message:
mk: fix bug in BUILD_INFO file

Below ${FILESDIR}, checksums were generated for all files, including
files/CVS/*. Skip */CVS/* files (since they might be in subdirs).

Update comment while here.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/mk/pkgformat/pkg/metadata.mk

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

Modified files:

Index: pkgsrc/mk/pkgformat/pkg/metadata.mk
diff -u pkgsrc/mk/pkgformat/pkg/metadata.mk:1.36 pkgsrc/mk/pkgformat/pkg/metadata.mk:1.37
--- pkgsrc/mk/pkgformat/pkg/metadata.mk:1.36    Tue Oct 24 10:30:53 2023
+++ pkgsrc/mk/pkgformat/pkg/metadata.mk Wed Feb 11 22:54:14 2026
@@ -1,4 +1,4 @@
-# $NetBSD: metadata.mk,v 1.36 2023/10/24 10:30:53 jperkin Exp $
+# $NetBSD: metadata.mk,v 1.37 2026/02/11 22:54:14 wiz Exp $
 
 ######################################################################
 ### The targets below are all PRIVATE.
@@ -136,7 +136,7 @@ ${_BUILD_INFO_FILE}: ${_PLIST_NOKEYWORDS
 ###
 ### +BUILD_VERSION - Package build files versioning information
 ###
-### We extract the ident strings from all of the important pkgsrc files
+### We compute checksums for all of the important pkgsrc files
 ### involved in building the package, i.e. Makefile and patches.
 ###
 _BUILD_VERSION_FILE=   ${PKG_DB_TMPDIR}/+BUILD_VERSION
@@ -148,7 +148,10 @@ ${_BUILD_VERSION_FILE}:
        {                                                               \
                ${FIND} ${FILESDIR} -type f 2>/dev/null |               \
                while read f; do                                        \
-                       [ -f "$$f" ] && ${ECHO} "$$f";                  \
+                       case "$$f" in                                   \
+                       */CVS/*) ;;                                     \
+                       *) [ -f "$$f" ] && ${ECHO} "$$f";;              \
+                       esac;                                           \
                done;                                                   \
                for f in ${.CURDIR}/Makefile ${PKGDIR}/*; do            \
                        [ -f "$$f" ] && ${ECHO} "$$f";                  \



Home | Main Index | Thread Index | Old Index