Re: List of installed software packages: pkg_info?



In article <467c0b7b$0$333$e4fe514c@xxxxxxxxxxxxxx>,
Siem Korteweg <siem@xxxxxxxxx> wrote:

I did have a look at the bottom and found the versions of the products.
What I "really" wanted is a programmatic way of determining the software
inventory of a system. I am working on System Configuration Collector,
an open source product that collects configuration data from Unix/Linux/BSD
systems and adds detected changes to a logbook. That is why I was
looking at the output of pkg_info.
Guess that I should have mentioned that in the first place :(

What you're doing is not going to be really meaningful for OpenBSD.
Most time something changes in the base system, no version numbers are
updated. Your apache still says 1.3.29, but it's an heavily patched apache.

This is a typical issue: how do you define software version number ? you've
got the original source, then local patches, then possible interactions with
whatever else is installed on the machine... as far as external packages are
concerned, OpenBSD does a fairly good job of keeping track of stuff (we have
to, if nothing else, to be able to determine when to update), but nothing
similar exists for the base system.

For instance, if you *really* want to know what's the version of one of your
packages, you want to ask for its signature, which does record most things
needed to `recreate' the same package.

Other systems, like NetBSD, go even further in that respect (too far ?) and
actually record a full list of all ports files used to build a given package
(haven't checked if they actually record recursive dependencies).
.



Relevant Pages

  • Re: [Full-disclosure] KSpynix ::: the Unix version of KSpyware? (Proof Of Concept)
    ... >alone then should we consider the default install, ... Packages and services can never be installed if you don't ... the very acts that I'm referring to are the ones that put ... OpenBSD into existance. ...
    (Full-Disclosure)
  • Re: OpenBSD 4.2
    ... Bei OpenBSD wird aus Prinzip nicht crosscompiliert. ... allerersten Schritten auf einer neuen Architektur.) ... Crosscompiler haben die lästige Eigenschaft, ... Releases und Packages ist ein guter Stabilitätstest. ...
    (de.comp.os.unix.bsd)
  • Re: OpenBSD 4.2
    ... der Grund ist bei den Zusatzprogrammen (Packages) zu ... IIRC legt man bei OpenBSD sehr viel Wert darauf, ... OpenBSD besser funktioniert als bei FreeBSD, ... Zu allem Überfluß gibt es bei OpenBSD noch die Sparc32 Plattform. ...
    (de.comp.os.unix.bsd)
  • GNU sed and other non standard packages.
    ... I just started out on OpenBSD 3.4 (which I found on a Magazine cover ... While trying to build GNU Common Lisp I found that the BSD sed doesn't ... Is it hidden inside one of the packages or should I be building it myself? ... Readme for OpenBSD GCL - "download this, ...
    (comp.unix.bsd.openbsd.misc)
  • Getting error when restarting Apache after installing PHP4 package
    ... I have been trying for quite some time to run PHP on my OpenBSD 3.3 ... I loaded the packages updated the httpd.conf file to load the ...
    (alt.php)