Aports tree: Difference between revisions
(Update info about unstable/unmaintained subdirs) |
(Add community, state that testing is only for edge) |
||
Line 8: | Line 8: | ||
=== main === | === main === | ||
''main'' contains the basic set of packages for Alpine Linux. | ''main'' contains the basic set of packages for Alpine Linux. | ||
=== community === | |||
''community'' contains the additional packages that, for various reasons, are not guaranteed to be supported beyond six months. | |||
=== testing === | === testing === | ||
All new packages goes to ''testing'' first. Package will be moved to ''main'' if there positive feedback or other good reasons. | All new packages goes to ''testing'' first. Package will be moved to ''main'' if there positive feedback or other good reasons. Packages in ''testing'' are not included in stable builds, but are only built for edge. | ||
=== non-free === | === non-free === |
Revision as of 04:44, 25 February 2016
The aports tree contains for every package/program a directory with the corresponding APKBUILD file. APKBUILD is a file containing "recipes" on how something should be built/compiled. These files are used when building alpine from source.
When Alpine Linux is compiled, you will no longer see (or have use of) the APKBUILD. It is not included in the 'iso' or 'tar.gz'. The abuild script reads the APKBUILD and executes the steps needed to create a package.
Directories
There are some directories placed in the aports tree. A short description of every directory can be found in this section.
main
main contains the basic set of packages for Alpine Linux.
community
community contains the additional packages that, for various reasons, are not guaranteed to be supported beyond six months.
testing
All new packages goes to testing first. Package will be moved to main if there positive feedback or other good reasons. Packages in testing are not included in stable builds, but are only built for edge.
non-free
The packages in non-free are violating the standards of the Free Software Foundation (FSF) about copying, redistributing, and modifying computer programs in one or another way.
unmaintained
When a package is no longer maintained and no longer builds, it is moved to 'unmaintained'. It is mostly to not break the build servers while still have to original APKBUILD available in case someone feels for fixing it.
Fetch latest APKBUILD files
While inside your build environment you need to install some needed packages and you need to fetch the APKBUILD's from the server (fetch the aports tree).
Note: You only need to do these 2 steps once! Next time you can skip this part.
apk add alpine-sdk
cd ~
git clone git://dev.alpinelinux.org/aports
When the above is done you might be interested in fetching the latest updates.
cd ~/aports
git pull