Hitchhiker's Guide to Openbsd


Download 1.27 Mb.
Pdf ko'rish
bet252/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   248   249   250   251   252   253   254   255   ...   258
Bog'liq
obsd-faq49

Summary: Some ports are split into several packages. 
make install
will only install the main 
subpackage. 
http://www.openbsd.org/faq/faq15.html (19 of 27)9/4/2011 10:02:29 AM


15 - The OpenBSD packages and ports system
To list the different packages built by a port, use 
make show=PKGNAMES
make install
will only install the main subpackage. To install them all, use 
make install-all
To list the different subpackages available for a port, use 
make show=MULTI_PACKAGES
It is possible to select which subpackage(s) to install from within the ports tree. After some tests, this 
procedure will just call 
pkg_add(1)
to install the desired subpackage(s). 
env SUBPACKAGE="-server" make install
Note: The subpackages mechanism only handles packages, it does not modify any configuration options 
before building the port. For that purpose you must use flavors. 
15.3.9 - Security updates
When serious bugs or security flaws are discovered in third party software, they are fixed in the -stable 
branch of the ports tree. Remember that the lifecycle is 1 release: only the current and last release are 
updated, as explained in 
FAQ 5 - OpenBSD's Flavors

This means all you need to do is make sure you check out the correct branch of the ports tree, and build 
the desired software from it. You can 
keep your tree up-to-date with CVS
, and in addition subscribe to 
the ports-changes 
mailing list
 to receive security announcements related to software in the ports tree. 
Of course, security updates reach the -current ports tree before being taken up in the -stable branch. 
15.3.10 - Package signatures
Signatures are a good way to make sure packages are legitimate and not corrupted. 
To start building signed packages, first we need to create a root CA (certificate authority) certificate and 
key. For the example, we'll use a validity of 10 years. 
openssl req -x509 -days 3650 -newkey rsa:2048 -keyout /
http://www.openbsd.org/faq/faq15.html (20 of 27)9/4/2011 10:02:29 AM


15 - The OpenBSD packages and ports system

Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   248   249   250   251   252   253   254   255   ...   258




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling