<farkuhar>
mhtgw: you can write a wrapper script that replaces /usr/bin/pkgadd (after moving the real binary to another path). The wrapper script would identify how it was called (pkgadd, pkginfo, or pkgrm), then modify your custom database if needed (not /var/lib/pkg/db), and finally call the real pkgadd with the arguments originally passed.
<farkuhar>
If you manage all your ports using prt-get, you don't even need to move /usr/bin/pkgadd out of the way to make room for a wrapper script. You can edit the lines for "addcommand" and "rmcommand" in /etc/prt-get.conf, pointing to your wrapper script instead of the defaults (pkgadd and pkgrm).
<mhtgw>
farkuhar: i am hopping between crux and slackware to identify the best approach because there are pros and cons with each os.
<farkuhar>
mhtgw: was it Slackware that gave you the idea about logging the timestamp of each package installation?
<mhtgw>
trying to find the easiest one.
<mhtgw>
i meant the easiest to way manage packages with the features.
<ppetrov^>
mhtgw, CRUX's packaging system is more advanced than Slackware's
<mhtgw>
there are pros & cons for both and cannot judge but do agree that crux packages are good because they are simple.
<ppetrov^>
also, i don't know how familiar you are with SlackBuilds, but Pkgfiles are much more elegand
<cruxbot>
[opt/3.8]: Revert "krb5: updated to version 1.22"
<cruxbot>
[opt/3.8]: nss: updated to 3.115
mhtgw has quit [Quit: Leaving]
tsundokuboi has joined #crux
ivandi has quit [Quit: WeeChat 4.7.0]
ivandi has joined #crux
SiFuh_ has quit [Remote host closed the connection]
SiFuh_ has joined #crux
SiFuh_ has quit [Remote host closed the connection]
SiFuh_ has joined #crux
SiFuh_ has quit [Remote host closed the connection]
SiFuh_ has joined #crux
SiFuh_ has quit [Ping timeout: 260 seconds]
SiFuh_ has joined #crux
lavaball has quit [Remote host closed the connection]
SiFuh_ has quit [Ping timeout: 252 seconds]
SiFuh_ has joined #crux
SiFuh__ has joined #crux
SiFuh_ has quit [Remote host closed the connection]
SiFuh__ has quit [Ping timeout: 256 seconds]
<cruxbridge>
<jloc0> I find it amusing how many slackers find their way to crux and like it… it’s like it’s destiny
SiFuh_ has joined #crux
SiFuh_ has quit [Remote host closed the connection]
SiFuh_ has joined #crux
SiFuh_ has quit [Ping timeout: 256 seconds]
SiFuh_ has joined #crux
<ppetrov^>
jloc0, for me CRUX's packaging tools are in the sweet spot between simplicity and provided features. Also, the distro being centered around giving users all the tools necessary to make their own ports easily, i like a lot
SiFuh_ has quit [Remote host closed the connection]
lavaball has joined #crux
SiFuh_ has joined #crux
SiFuh__ has joined #crux
SiFuh_ has quit [Ping timeout: 256 seconds]
SiFuh__ has quit [Remote host closed the connection]