Bug 249144 - pkgbase: /usr/tests/ subdirectories in non -dev/-dbg plist files
Summary: pkgbase: /usr/tests/ subdirectories in non -dev/-dbg plist files
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-pkgbase (Nobody)
URL:
Keywords: pkgbase
Depends on:
Blocks:
 
Reported: 2020-09-06 08:36 UTC by Martin
Modified: 2023-11-04 16:07 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2020-09-06 08:36:31 UTC
There are a lot of subdirectories of /usr/tests/ and some files in non dev/dbg plist files, mainly in utilities.plist, which should go to the -dev/-dbg plist or the tests.plist file(s).

Just the files:

ssh.plist:@(root,wheel,0444,) /usr/tests/secure/libexec/Kyuafile
utilities.plist:@(root,wheel,0444,) /usr/tests/lib/csu/dynamiclib//libh_csu.so
utilities.plist:@(root,wheel,0444,) /usr/tests/lib/libc/stdlib/dynthr_mod.so
utilities.plist:@(root,wheel,0444,) /usr/tests/lib/libc/tls/h_tls_dlopen.so
utilities.plist:@(root,wheel,0444,) /usr/tests/lib/libc/tls/libh_tls_dynamic.so.1
utilities.plist:@(root,wheel,0755,) /usr/tests/lib/libthr/dlopen/h_pthread_dlopen.so
utilities.plist:@(root,wheel,0444,) /usr/tests/lib/libthr/dlopen/h_pthread_dlopen.so.1
utilities.plist:@(root,wheel,0444,) /usr/tests/lib/libxo/libenc_test.so
utilities.plist:@(root,wheel,0444,) /usr/tests/libexec/rtld-elf/libpythagoras.so.0
utilities.plist:@(root,wheel,0555,) /usr/tests/libexec/rtld-elf/target

here are some directories:
...
utilities.plist:@dir(root,wheel,0755,) /usr/tests
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/cat
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/chflags
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/chmod
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/date
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/dd
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/echo
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/expr
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/ln
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/ls
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/mkdir
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/mv
utilities.plist:@dir(root,wheel,0755,) /usr/tests/bin/pax
...
Comment 1 Martin 2023-09-17 07:02:52 UTC
There seems to be some reshuffling of files to a correct/better fitting pkg going on, so i want to try to get some attention to this ticket.

On my 14.0-STABLE system, i would say these files are added to the wrong pkg:

bsnmp.plist:@dir(root,wheel,0755,)      /usr/tests/lib/libbsnmp
bsnmp.plist:@(root,wheel,0444,)         /usr/tests/lib/libbsnmp/Kyuafile
bsnmp.plist:@(root,wheel,0555,)         /usr/tests/lib/libbsnmp/bsnmpd_test
ssh.plist:@dir(root,wheel,0755,)        /usr/tests/secure/libexec
ssh.plist:@(root,wheel,0444,)           /usr/tests/secure/libexec/Kyuafile
utilities.plist:@dir(root,wheel,0755,)  /usr/tests/atf_python
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/__init__.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/atf_pytest.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/ktest.py
utilities.plist:@dir(root,wheel,0755,)  /usr/tests/atf_python/sys
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/__init__.py
utilities.plist:@dir(root,wheel,0755,)  /usr/tests/atf_python/sys/net
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/net/__init__.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/net/rtsock.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/net/tools.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/net/vnet.py
utilities.plist:@dir(root,wheel,0755,)  /usr/tests/atf_python/sys/netlink
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netlink/__init__.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netlink/attrs.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netlink/base_headers.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netlink/message.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netlink/netlink.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netlink/netlink_generic.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netlink/netlink_route.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netlink/utils.py
utilities.plist:@dir(root,wheel,0755,)  /usr/tests/atf_python/sys/netpfil
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netpfil/__init__.py
utilities.plist:@dir(root,wheel,0755,)  /usr/tests/atf_python/sys/netpfil/ipfw
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netpfil/ipfw/__init__.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netpfil/ipfw/insn_headers.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netpfil/ipfw/insns.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netpfil/ipfw/ioctl.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netpfil/ipfw/ioctl_headers.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netpfil/ipfw/ipfw.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/sys/netpfil/ipfw/utils.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/atf_python/utils.py
utilities.plist:@(root,wheel,0444,)     /usr/tests/lib/csu/dynamiclib//libh_csu.so
utilities.plist:@(root,wheel,0444,)     /usr/tests/lib/libc/stdlib/dynthr_mod.so
utilities.plist:@(root,wheel,0444,)     /usr/tests/lib/libc/tls/h_tls_dlopen.so
utilities.plist:@(root,wheel,0444,)     /usr/tests/lib/libc/tls/libh_tls_dynamic.so.1
utilities.plist:@(root,wheel,0755,)     /usr/tests/lib/libthr/dlopen/h_pthread_dlopen.so
utilities.plist:@(root,wheel,0444,)     /usr/tests/lib/libthr/dlopen/h_pthread_dlopen.so.1
utilities.plist:@(root,wheel,0444,)     /usr/tests/libexec/rtld-elf/libpythagoras.so.0
utilities.plist:@(root,wheel,0555,)     /usr/tests/libexec/rtld-elf/target
utilities.plist:@dir(root,wheel,0755,)  /usr/tests/sbin/pfctl/files
utilities.plist:@(root,wheel,0444,)     /usr/tests/sys/vm/stack/libsoxstack.so