DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th February 2024
Feamane Feamane is offline
Port Guard
 
Join Date: Feb 2022
Posts: 23
Default Versions of daemons included in-release

Hi again,

The man for pkg_info says the -A option will show all the packages including the "internal packages". But when I run it there is no info for things like httpd and ntpd that I know are included in the base install. For those that don't have a command line option that will display version info, what is the best way to find it?

Thanks,
DJ
Reply With Quote
  #2   (View Single Post)  
Old 10th February 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,078
Default

First: An "internal package" is created when two versions of a package must be installed at the same time due to library dependencies. This happens from time to time when upgrading packages with `pkg_add -u` after upgrading the OS; either from -release to -release or from -current snapshot to snapshot. Here's an example:

I have libreoffice installed, which has a library dependency on poppler. I have two versions of the poppler package installed. The internal package, which is just the library portion of poppler-24.01.0, and the full package of poppler-24.02.0:
Code:
.libs1-poppler-24.01.0   Stub libraries for .libs-poppler-24.01.0
poppler-24.02.0          PDF rendering library
The package of libreoffice I have installed was built from ports when poppler was still at version 24.01.0, and those matching library components in /usr/local/lib/libpoppler.so.76.0 must remain available for libreoffice to use. The newer version of poppler, including the newer libpoppler.so.77.0 library, is needed by other installed applications, such as gimp.

These internal packages can be deleted, along with other unneeded automatically installed dependencies, when no longer needed, by using `pkg_delete -a`.

Second: Built-in applications are part of a cohesive OpenBSD release. While individual applications brought in from third party sources may have displayable version numbers, there is no specific tool to list them all.
Reply With Quote
  #3   (View Single Post)  
Old 10th February 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,078
Default

Oh, yes. There is a list of externally sourced component version numbers: the release announcements. For example, the 7.4 release announcement says:
Quote:
The system includes the following major components from outside suppliers:

Xenocara (based on X.Org 7.7 with xserver 21.1.8 + patches, freetype 2.13.0, fontconfig 2.14.2, Mesa 22.3.7, xterm 378, xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
LLVM/Clang 13.0.0 (+ patches)
GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
Perl 5.36.1 (+ patches)
NSD 4.7.0
Unbound 1.18.0
Ncurses 5.7
Binutils 2.17 (+ patches)
Gdb 6.3 (+ patches)
Awk September 12, 2023
Expat 2.5.0
zlib 1.3 (+ patches)
Reply With Quote
  #4   (View Single Post)  
Old 10th February 2024
Feamane Feamane is offline
Port Guard
 
Join Date: Feb 2022
Posts: 23
Default

Ah, OK, I misunderstood what an "internal package" was. Bummer, it seems useful to know the versions of things like pf, ntpd, httpd, etc. when searching for additional information besides what is provided in the man pages and OpenBSD.org docs. It's always nice when executables have some command-line parameter that will spit out the version and exit.

Thanks,
DJ
Reply With Quote
  #5   (View Single Post)  
Old 11th February 2024
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,078
Default

Completely internal facilities generally do not have version numbers, but only track updates by CVS revisions -- one example is PF and its driver, control utility, and fingerprint database.

Facilities which have portable releases generally do have version numbers. OpenSSH is a good example.
Reply With Quote
  #6   (View Single Post)  
Old 11th February 2024
Feamane Feamane is offline
Port Guard
 
Join Date: Feb 2022
Posts: 23
Default

OK, got it.

Thanks,
DJ
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
removing unused system daemons from the base install (for security) puffyborg OpenBSD Security 2 24th August 2018 08:15 PM
Hello Daemons Frice Off-Topic 4 14th March 2017 11:14 PM
LibreSSL 2.1.1 released...and included a bonus note from Bob Beck rocket357 OpenBSD Security 0 16th October 2014 07:57 PM
Keyboard Layout not included in encoding of wsksymdef.h sepuku OpenBSD General 8 4th July 2011 06:29 PM
Is bash included in OpenBSD? bsdnewbie999 OpenBSD General 21 2nd August 2008 02:57 AM


All times are GMT. The time now is 02:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick