git: 50f3e47729d8 - 2025Q4 - keywords: sample: Add METALOG entries for new files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Nov 2025 17:47:12 UTC
The branch 2025Q4 has been updated by cperciva:
URL: https://cgit.FreeBSD.org/ports/commit/?id=50f3e47729d8a84e95c0890d07b521ad9029e13d
commit 50f3e47729d8a84e95c0890d07b521ad9029e13d
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-10-28 20:08:43 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-11-17 17:47:01 +0000
keywords: sample: Add METALOG entries for new files
This depends on a new lua function in pkg, see
https://github.com/freebsd/pkg/pull/2553 .
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D53415
(cherry picked from commit 452309533805e8f4b7545f165c692cc37fe19b4c)
---
Keywords/sample.ucl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Keywords/sample.ucl b/Keywords/sample.ucl
index 15437a472da4..d5d3dd83b269 100644
--- a/Keywords/sample.ucl
+++ b/Keywords/sample.ucl
@@ -47,6 +47,9 @@ post-install-lua: <<EOS
end
if not pkg.stat(target_file) then
pkg.copy(sample_file, target_file)
+ if pkg_metalog ~= nil and pkg.metalog_copy ~= nil then
+ pkg.metalog_copy(sample_file, target_file)
+ end
end
EOS