|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
distfiles and packages ..
Hi everyone!!
sorry for such a newbie question .. In what sense are {distfiles} functionally different from packages in /usr/ports ? |
|
|||
Quote:
As an example, compare filesystem layouts between Linux & OpenBSD. OpenBSD's layout is described in hier(7). The two layouts are not the same. It is not uncommon for OpenBSD's ports to have to patch applications found in the wild because they target Linux -- Linux-specific libraries or Linux's filesystem layout. So going back to the original question, packages are the result of building distfiles with any number of custom-made patches. Sometimes, these patches correct application behavior & are forwarded to the original project for inclusion. Packages & distfiles are not interchangable. |
|
|||
Thanks very much Ocicat !!
well explained ! |
|
|||
Two other issues are:
Last edited by ocicat; 27th March 2012 at 03:45 PM. |
|
|||
Thankyou++ , Ocicat !
so packages may be set as a local PKG_PATH .. while distfiles can be sourced for building packages .. is this manageable for another machine connected to my server with no need to connect elsewhere ? or is it a necessary to fetch missing ports that can't be saved ? is *every needed piece of software* saved in distfiles once compilation comes to an end ? |
|
|||
Quote:
Quote:
Quote:
The actual building of ports is done in /usr/ports/pobj. This is where you will find the intermediate object files + other ilk used to build the application's binaries, manpages, configuration files, etc. Once a package has been built, the contents of /usr/ports/pobj can be deleted, but it is far simpler to just leave /usr/ports/pobj alone especially if you want to later study the source code for any particular application. I suspect one of your concerns is that building ports take a lot of diskspace. This is true. It is even more true if you build lots of ports -- to the order of gigabytes of diskspace. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
List of 4.7 packages? | guitarscn | OpenBSD Packages and Ports | 5 | 23rd August 2010 05:37 PM |
I have 18 GB rpm packages | mfaridi | Programming | 5 | 15th April 2010 09:41 PM |
sources in distfiles sub tdirectories | vigol | FreeBSD Ports and Packages | 1 | 5th December 2009 09:20 PM |
Can't Add Packages due to intl.4.0 | jrs665 | OpenBSD Packages and Ports | 4 | 20th October 2008 10:44 AM |
Where have all the packages gone? | PatrickBaer | FreeBSD Ports and Packages | 6 | 12th June 2008 11:03 PM |