Summary: | sysutils/beats7 fails testport | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dan Langille <dvl> | ||||||||
Component: | Individual Port(s) | Assignee: | Greg Lewis <glewis> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Many People | CC: | glewis, otis | ||||||||
Priority: | --- | Flags: | otis:
maintainer-feedback+
|
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Created attachment 215946 [details]
fix pkg-plist for stage-qa
WIth pkg-plist fixed, stage-qa results are: root@dev12:/usr/ports/sysutils/beats7 # env DEVELOPER=yes make stage-qa ====> Running Q/A tests (stage-qa) root@dev12:/usr/ports/sysutils/beats7 # There may also be an issue with using @sample in pkg-plist. $ grep sample pkg-plist | sort %%AUDITBEAT%%%%DATADIR%%/auditbeat/module/auditd/_meta/audit.rules.d/sample-rules-linux-32bit.conf %%AUDITBEAT%%%%DATADIR%%/auditbeat/module/auditd/_meta/audit.rules.d/sample-rules-linux-64bit.conf %%AUDITBEAT%%@sample %%ETCDIR%%/auditbeat.yml.reference %%AUDITBEAT%%@sample %%ETCDIR%%/auditbeat.yml.sample %%FILEBEAT%%@sample %%ETCDIR%%/filebeat.yml.reference %%FILEBEAT%%@sample %%ETCDIR%%/filebeat.yml.sample %%HEARTBEAT%%@sample %%ETCDIR%%/heartbeat.yml.reference %%HEARTBEAT%%@sample %%ETCDIR%%/heartbeat.yml.sample %%METRICBEAT%%@sample %%ETCDIR%%/metricbeat.yml.reference %%METRICBEAT%%@sample %%ETCDIR%%/metricbeat.yml.sample %%PACKETBEAT%%@sample %%ETCDIR%%/packetbeat.yml.reference %%PACKETBEAT%%@sample %%ETCDIR%%/packetbeat.yml.sample This is what gets installed via testport -i root@121R-dvl:/usr/local/etc/beats # ls -l total 306 drwxr-xr-x 2 root wheel 21 Jun 25 21:05 filebeat.modules.d -rw-r--r-- 1 root wheel 8335 Jun 25 21:04 filebeat.yml -rw-r--r-- 1 root wheel 75210 Jun 25 21:04 filebeat.yml.reference -rw-r--r-- 1 root wheel 8335 Jun 25 21:04 filebeat.yml.sample -rw-r--r-- 1 root wheel 6092 Jun 25 21:04 heartbeat.yml -rw-r--r-- 1 root wheel 56073 Jun 25 21:04 heartbeat.yml.reference -rw-r--r-- 1 root wheel 6092 Jun 25 21:04 heartbeat.yml.sample drwxr-xr-x 2 root wheel 46 Jun 25 21:05 metricbeat.modules.d -rw-r--r-- 1 root wheel 6276 Jun 25 21:04 metricbeat.yml -rw-r--r-- 1 root wheel 73083 Jun 25 21:04 metricbeat.yml.reference -rw-r--r-- 1 root wheel 6276 Jun 25 21:04 metricbeat.yml.sample Created attachment 215947 [details]
reference files without @sample
A commit references this bug: Author: glewis Date: Fri Jun 26 05:37:15 UTC 2020 New revision: 540421 URL: https://svnweb.freebsd.org/changeset/ports/540421 Log: Fix packing list PR: 247548 Submitted by: Juraj Lutter <juraj@lutter.sk> Changes: head/sysutils/beats7/pkg-plist Committed, thanks! Thank you. |
Created attachment 215945 [details] Fix pkg-plist From head: ====> Running Q/A tests (stage-qa) Warning: Ignoring depends_blacklist QA test Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: @dir %%DATADIR%%/metricbeat/module/ceph/mgr ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%ETCDIR%%/filebeat.yml.reference Error: Missing: %%ETCDIR%%/filebeat.yml.sample ===> Error: Plist issues found. *** Error code 1 Patch attached. May not be sorted appropriately.