DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th March 2016
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default Overview over "programs" in base

What the best way to get an overview over what packages are in the base.

I want to use base packages, since these have been carefully chosen by the OpenBSD team and get the best security updates.
Reply With Quote
  #2   (View Single Post)  
Old 26th March 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by psypro View Post
What the best way to get an overview over what packages are in the base.
We need to clean up a misconception here. There are no packages in the base installation.
  • The base installation consists of everything formally defined as "OpenBSD operating system". There are a number of applications which are included, due to compatible licensing, & the willingness of some authors to include their work in what is fundamentally OpenBSD.
  • OpenBSD's packages/ports system consists of many (thousands...) of third-party applications which are not part of OpenBSD's base installation due to many reasons -- one, being incompatible licensing.

    One site which describes all applications in packages/ports is http://openports.se.

    There are a number of applications in packages/ports which are bundled with the official CD set due to compatible licensing. Is this what you seek?
Lastly, if you are really looking for a list of applications found in OpenBSD's base installation, use man(1). For example, to find what editors are in base, issue the following command:

$ man -k editor
Reply With Quote
  #3   (View Single Post)  
Old 26th March 2016
Maxnix's Avatar
Maxnix Maxnix is offline
Port Guard
 
Join Date: Feb 2016
Posts: 28
Default

Quote:
Originally Posted by psypro View Post
I want to use base packages, since these have been carefully chosen by the OpenBSD team and get the best security updates.
Moreover consider that even ported programs are audited.
__________________
The world doesn't live off jam and fancy perfumes - it lives off bread and meat and potatoes. Nothing changes. All the big fancy stuff is sloppy stuff that crashes. I don't need dancing baloney - I need stuff that works. -- Theo de Raadt
Reply With Quote
  #4   (View Single Post)  
Old 26th March 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by Maxnix View Post
Moreover consider that even ported programs are audited.
To a much lesser degree than applications are in base. There are simply too few ports developers to provide the same level of scrutiny that is seen in the operating system itself.

The goal of ports developers is to get third-party applications to run on OpenBSD. If bugs are discovered, the best thing ports developers can do is report problems upstream to the original authors of the application, & work with them to make applications better for everyone on all systems, but this is not consistent across the entire ports tree.

Having said this, some ports developers are adding pledge(2) to selected ports which will be helpful, but there are far too many third-party applications for this to be done for all ports in the tree.

Last edited by ocicat; 26th March 2016 at 06:02 PM. Reason: fixed manage link
Reply With Quote
  #5   (View Single Post)  
Old 26th March 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by Maxnix View Post
Moreover consider that even ported programs are audited.
Quote:
Originally Posted by ocicat View Post
To a much lesser degree than applications are in base....
I'll clarify here. Ports are NOT audited. Yes, it is possible that some ports are written by OpenBSD developers, to OpenBSD clarity standards, but these are not part of the base and there is no audit. If you follow the ports@ mailing list, you will see efforts to remove unmaintained, dead applications from the tree. This is not an audit, this is cruft removal.

---

Case in point: you may have noticed in the 5.9-release announcement that "14 ports now use pledge(2): some decompression tools, mutt, some pdf tools, chromium/iridium, and the i3 window manager. " One of these, I happen to maintain: archivers/p7zip

That application is more than eighty thousand lines of completely undocumented code, with frequent use of specialized pre-processor tokens so that the same modules can be built with different code paths for the various tools in the application suite.

Pledges were applied almost entirely by iterative core dumps and backtrace analyses. Code review was not possible, due to its ... er ... "design".

Even though two developers joined this particular pledge() project with me to lend their expertise, forcing crash dumps was the only way to conduct a code path review. And, during "beta" testing by ports@ users more code paths were discovered that we had not tested, and we were using the application's regression test suite plus additional tests we had devised.

Audit is not a possibility for this application. And this is just one port. The -current tree had 7,651 ports in it as of yesterday, with 8,221 packages, not including $FLAVOR variants.

Last edited by jggimi; 26th March 2016 at 03:43 PM. Reason: clarity.
Reply With Quote
  #6   (View Single Post)  
Old 26th March 2016
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default

Thank you for your replay.

So there is no way on the web or inside the os, to know what comes with the "base system"?
I have found out there is a web server with the "base system"
I wonder is there a mysql like database in the "base system"?
Reply With Quote
  #7   (View Single Post)  
Old 26th March 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by psypro View Post
So there is no way on the web or inside the os, to know what comes with the "base system"?
Yes, with judicious use of man(1).
Quote:
I wonder is there a mysql like database in the "base system"?
Have you tried the following?

$ man -k database

In particular, you may be interested in sqlite3(1).

Last edited by ocicat; 26th March 2016 at 04:46 PM. Reason: Fixed manpage links
Reply With Quote
  #8   (View Single Post)  
Old 26th March 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

The entire set of built-in applications can be found in six directories:

/bin, /sbin, /usr/bin, /usr/sbin, /usr/X11R6/bin, and /usr/libexec.

There is a SQL relational database system in base: sqlite3(1).
Reply With Quote
  #9   (View Single Post)  
Old 26th March 2016
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default

Thank you again, I will try sqlite3
Reply With Quote
Old 26th March 2016
Maxnix's Avatar
Maxnix Maxnix is offline
Port Guard
 
Join Date: Feb 2016
Posts: 28
Default

Thank you for the clarification, ocicat and jggimi!
__________________
The world doesn't live off jam and fancy perfumes - it lives off bread and meat and potatoes. Nothing changes. All the big fancy stuff is sloppy stuff that crashes. I don't need dancing baloney - I need stuff that works. -- Theo de Raadt
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
Difference between"arp info overwritten" and " duplicate IP address " varag OpenBSD Security 1 6th April 2015 02:57 PM
How to replace "ectags" with "ctags"? fender0107401 OpenBSD Packages and Ports 5 16th April 2013 10:01 AM
Where should I put my config? "rc.conf" or "rc.conf.local"? fender0107401 OpenBSD General 2 2nd April 2012 02:53 AM
Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" jb_daefo Guides 0 5th October 2009 09:31 PM
"Thanks" and "Edit Tags". diw Feedback and Suggestions 2 29th March 2009 12:06 AM


All times are GMT. The time now is 09:07 AM.


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