Solved Tip, how to list all packages you installed with portmaster

I last ran Portmaster a long time ago, but I'm pretty sure that upon creation of the package it writes something into package metadata that pkg keeps track of. And it will take figuring out what that string is. I'm not up to the task of RTFMing to figure that out. But yeah, that's what it will take to verify that tip.

I know Poudriere does write something like 'Compiled by Poudriere v.3.x.x' (or something similar) into package metadata, this is my basis for assuming that something similar is available for Portmaster if one knows where to look.
 
Examples of ports-mgmt/pkg_replace. The first one alone are of poudriere built pkg, others are of pkg_replace which are done just after installworld.
Code:
% pkg info -A textproc/fcitx5-qt                                         
fcitx5-qt5-5.1.9:
    FreeBSD_version: 1402505
    build_timestamp: 2025-04-21T13:18:51+00:00
    built_by       : poudriere-git-3.4.99.20250209
    flavor         : qt5
    port_checkout_unclean: no
    port_git_hash  : c412a3ac0e33
    ports_top_checkout_unclean: yes
    ports_top_git_hash: 6a07f4a56176
    repo_type      : binary
    repository     : custom
fcitx5-qt6-5.1.9:
    FreeBSD_version: 1402505
    build_timestamp: 2025-04-21T13:06:55+00:00
    built_by       : poudriere-git-3.4.99.20250209
    flavor         : qt6
    port_checkout_unclean: no
    port_git_hash  : c412a3ac0e33
    ports_top_checkout_unclean: yes
    ports_top_git_hash: 6a07f4a56176
    repo_type      : binary
    repository     : custom
% pkg info -A x11/nvidia-kmod-devel
nvidia-kmod-devel-575.64.05.1403504:
    FreeBSD_version: 1403504
% pkg info -A x11/nvidia-driver-devel
nvidia-driver-devel-575.64.05_1:
    FreeBSD_version: 1403504
% pkg info -A graphics/nvidia-drm-61-kmod-devel
nvidia-drm-61-kmod-devel-575.64.05.1403504_3:
    FreeBSD_version: 1403504
% pkg info -A lsof-4.99.4_2,8                 
lsof-4.99.4_2,8:
    FreeBSD_version: 1403504
    cpe            : cpe:2.3:a:lsof_project:lsof:4.99.4:::::freebsd14:x64:2
% pkg info -A xorg-server-21.1.18,1
xorg-server-21.1.18,1:
    FreeBSD_version: 1403504
    cpe            : cpe:2.3:a:x.org:xorg-server:21.1.18:::::freebsd14:x64
    flavor         : xorg
%
 
I switched to poudriere on zfs with nginx web interface.
Mine was with Apache24... it's probably overkill in some regards, my aim was ease of problem solving. For example, if I wanted to do SSL certs for package repos that were served up, it was easier to find solutions that were based on Apache than Nginx... All over the Internet, there were very good solutions and write-ups that were easy to understand and think about. Some people just do a very good job explaining the steps and helping make sense of how to proceed, and why that makes sense... The fact that most of those Apache installations were on Linux - that didn't matter, it helped me set up Apache correctly on FreeBSD, too, with just a little bit of thinking and connecting the dots.
 
Back
Top