Solved List of the latest upgraded ports and/or packages?

How can I obtain, if it is possible to obtain it somewhere in some log file, such a list?

I explan, I do build and maintain my systems with Portmaster, then it creates packages, so maybe there is a way to obtain such a list?

Thank you for any help.
 
... is possible to obtain it somewhere in some log file ...
From portmaster(8)
Code:
To    log actions taken by portmaster    along with a date/time stamp you can
     define PM_LOG in your rc file with    the full path of the file you would
     like to log to.
rc file: /usr/local/etc/portmaster.rc.sample Rename to portmaster.rc
 
Pkg do not let traces of installed packages lists?
Packages installed/removed/updated are logged in /var/log/messages:
Code:
Dec 18 16:25:28 molly pkg[13460]: py36-iso8601-0.1.12 deinstalled
Dec 18 16:25:28 molly pkg[13460]: py36-dnspython-1.16.0 deinstalled
Dec 18 16:25:29 molly pkg[13460]: py36-setuptools-41.4.0 deinstalled
Dec 18 16:25:37 molly pkg[13460]: python37-3.7.5_1 installed
Dec 18 16:25:38 molly pkg[13460]: talloc reinstalled: 2.3.0 -> 2.3.0
Dec 18 16:25:41 molly pkg[13460]: glib reinstalled: 2.56.3_6,1 -> 2.56.3_6,1
Dec 18 16:25:41 molly pkg[13460]: py37-setuptools-41.4.0_1 installed
Dec 18 16:25:42 molly pkg[13460]: tevent reinstalled: 0.10.1 -> 0.10.1
Dec 18 16:25:42 molly pkg[13460]: tdb reinstalled: 1.4.2,1 -> 1.4.2,1
Dec 18 16:25:43 molly pkg[13460]: mariadb102-client upgraded: 10.2.29 -> 10.2.29_1
Dec 18 16:25:46 molly pkg[13460]: gnutls upgraded: 3.6.10 -> 3.6.11.1
Dec 18 16:25:47 molly pkg[13460]: curl reinstalled: 7.67.0 -> 7.67.0
Dec 18 16:25:48 molly pkg[13460]: py37-dnspython-1.16.0 installed
Dec 18 16:25:48 molly pkg[13460]: py37-iso8601-0.1.12 installed
Dec 18 16:25:48 molly pkg[13460]: unrar upgraded: 5.80,6 -> 5.80_1,6
Dec 18 16:25:59 molly pkg[13460]: samba410 upgraded: 4.10.10 -> 4.10.11
Dec 18 16:26:06 molly pkg[13460]: mariadb102-server upgraded: 10.2.29 -> 10.2.29_1
Dec 18 16:26:07 molly pkg[13460]: git reinstalled: 2.24.1 -> 2.24.1
 
Thank you to both T-Daemon and Sir Dice. I didn't noticed they were there, my bad! Maybe becouse that files is cluttered with any type of infos and network logs too, so network logs are always very dense considering all those machines are in a domain.

Then, like you said, with a simple filter like for example:

Code:
# cat /var/log/messages | grep deinstalled

You can get all the deinstalled packages! And you can work with all type of pipes and get most of what you want.

Then I think the T-Daemon script I saved in an executable and put in the path, it is great and exactly what can fit the bill and exactly what I was looking for.

Code:
# pkg query '%t %n-%v' | sort -r | perl -pe 's/(\d+)/localtime($1)/e' | less
Wed Dec 18 13:33:38 2019 scons-3.1.1
Wed Dec 18 13:31:19 2019 libktorrent-2.1.1_1
Wed Dec 18 13:19:17 2019 kmouth-19.12.0
Wed Dec 18 13:16:00 2019 kmousetool-19.12.0
Wed Dec 18 13:14:16 2019 kde5-5.17.4.19.12.0
Wed Dec 18 13:13:47 2019 kanagram-19.12.0
Wed Dec 18 13:11:37 2019 kalgebra-19.12.0
Wed Dec 18 13:08:34 2019 juk-19.12.0
Wed Dec 18 13:00:41 2019 ja-kiten-19.12.0
Wed Dec 18 12:55:29 2019 git-2.24.1
Wed Dec 18 12:45:45 2019 firefox-71.0_2,1
Tue Dec 17 21:27:59 2019 doxygen-1.8.15_3,2
Tue Dec 17 21:01:05 2019 cups-filters-1.25.13
Tue Dec 17 20:23:23 2019 samba410-4.10.11
Tue Dec 17 12:42:44 2019 py37-dnspython-1.16.0
Tue Dec 17 12:40:46 2019 py37-cython-0.29.13_1
Tue Dec 17 12:15:44 2019 tevent-0.10.1
Tue Dec 17 12:09:25 2019 talloc-2.3.0
Tue Dec 17 12:03:19 2019 py37-iso8601-0.1.12
Tue Dec 17 12:02:11 2019 py37-setuptools-41.4.0_1
Tue Dec 17 12:01:41 2019 tdb-1.4.2,1
Tue Dec 17 11:52:14 2019 py36-setuptools-41.4.0_1
Tue Dec 17 11:50:30 2019 py27-setuptools-41.4.0_1
Tue Dec 17 11:49:20 2019 libnotify-0.7.8
Tue Dec 17 11:47:58 2019 libgsf-1.14.46
Tue Dec 17 11:43:06 2019 json-glib-1.4.4
Tue Dec 17 11:41:17 2019 gnome-autoar-0.2.4
Tue Dec 17 11:35:31 2019 gdk-pixbuf2-2.40.0
Tue Dec 17 11:01:46 2019 python37-3.7.5_1
 
Back
Top