<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Leo</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Leo"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Leo"/>
	<updated>2026-04-29T18:39:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Sway&amp;diff=18746</id>
		<title>Sway</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Sway&amp;diff=18746"/>
		<updated>2021-03-28T17:32:10Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://swaywm.org Sway] is a tiling Wayland compositor. It&#039;s a drop-in replacement for the i3 window manager.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
First, install &amp;amp; configure eudev:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# apk add eudev&lt;br /&gt;
# setup-udev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then install graphics drivers appropriate to your system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# apk search mesa-dri&lt;br /&gt;
# apk add mesa-dri-intel # example&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following contains guides per-graphics for setting the video stack up.&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Intel_Video Intel Video]&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Radeon_Video Radeon Video]&lt;br /&gt;
&lt;br /&gt;
Add yourself to the input and video groups:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# adduser $USER input&lt;br /&gt;
# adduser $USER video&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You have to log out and back in for this to take effect. &lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
We can now install sway:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# apk add sway sway-doc&lt;br /&gt;
# apk add                \ # Install optional dependencies:&lt;br /&gt;
    xwayland             \ # strongly reccommended for compatibility reasons&lt;br /&gt;
    alacritty            \ # default terminal emulator&lt;br /&gt;
    dmenu                \ # default application launcher&lt;br /&gt;
    swaylock             \ # lockscreen tool&lt;br /&gt;
    swayidle               # idle management (DPMS) daemon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running Sway ==&lt;br /&gt;
&lt;br /&gt;
To run sway, first set XDG_RUNTIME_DIR to a suitable location (e.g. /tmp). Install &amp;amp; configure elogind to skip this step. Then run sway from the Linux console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ XDG_RUNTIME_DIR=/tmp sway&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add this to a script if it becomes tedious.&lt;br /&gt;
&lt;br /&gt;
== Configuration and Usage ==&lt;br /&gt;
&lt;br /&gt;
An example config is provided at &amp;lt;code&amp;gt;/etc/sway/config&amp;lt;/code&amp;gt;. Copy it to &amp;lt;code&amp;gt;~/.config/sway/config&amp;lt;/code&amp;gt; and read through it to learn the default keybindings.&lt;br /&gt;
&lt;br /&gt;
For additional information, start at &amp;lt;code&amp;gt;man 5 sway&amp;lt;/code&amp;gt; and read the [https://github.com/swaywm/sway/wiki upstream FAQ].&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Include:Setup_your_system_and_account_for_building_packages&amp;diff=18598</id>
		<title>Include:Setup your system and account for building packages</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Include:Setup_your_system_and_account_for_building_packages&amp;diff=18598"/>
		<updated>2021-01-22T10:38:11Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The {{Pkg|alpine-sdk}} is a metapackage that pulls in the most essential packages used to build new packages. Install those packages now: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk add alpine-sdk sudo}}&lt;br /&gt;
&lt;br /&gt;
This would be a good time to create a normal user account for you to work in. (You weren&#039;t going to develop as root now, were you!) To create the user:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|adduser &amp;lt;yourusername&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
To make life easier later, it&#039;s a good idea to add this user to {{Path|/etc/sudoers}}. Append the line&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;yourusername&amp;gt;    ALL=(ALL) ALL&lt;br /&gt;
&lt;br /&gt;
using the command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|visudo}}&lt;br /&gt;
&lt;br /&gt;
Now logout of the root account, and login as &amp;lt;yourusername&amp;gt;. From here on everything can be done in a normal user account, and operations that require superuser privileges can be done with sudo.&lt;br /&gt;
&lt;br /&gt;
The [[Aports_tree|aports tree]] is in git so before we clone the it, let&#039;s configure git.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git config --global user.name &amp;quot;Your Full Name&amp;quot;&lt;br /&gt;
git config --global user.email &amp;quot;your@email.address&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
Read carefully [[Development using git]] to grasp basic Git operations and how to configure for sending email patches.&lt;br /&gt;
&lt;br /&gt;
Now we can clone the [[Aports_tree|aports tree]]. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone https://gitlab.alpinelinux.org/alpine/aports}}&lt;br /&gt;
&lt;br /&gt;
Before we start creating or modifying [[APKBUILD_Reference|APKBUILD]] files, we need to setup abuild for our system and user. Edit the file {{Path|abuild.conf}} to your requirements:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sudo $EDITOR /etc/abuild.conf}}&lt;br /&gt;
&lt;br /&gt;
Most of the defaults can be left alone, unless you are developing for a custom platform, in which case the comments in the file should guide you. The one field to edit is PACKAGER, so that you can get credit (or blame) for packages you create.&lt;br /&gt;
&lt;br /&gt;
To use &#039;abuild -r&#039; command to install dependency packages automatically.&lt;br /&gt;
{{Cmd|sudo addgroup &amp;lt;yourusername&amp;gt; abuild}}&lt;br /&gt;
&lt;br /&gt;
We also need to prepare the location where the build process caches files when they are downloaded. By default this is {{Path|/var/cache/distfiles/}}. To create this directory and ensure that it is writeable, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sudo mkdir -p /var/cache/distfiles&lt;br /&gt;
sudo chmod a+w /var/cache/distfiles}}&lt;br /&gt;
&lt;br /&gt;
As an alternative to the second command, you can add yourself to the abuild group:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sudo chgrp abuild /var/cache/distfiles&lt;br /&gt;
sudo chmod g+w /var/cache/distfiles}}&lt;br /&gt;
&lt;br /&gt;
{{Note|Remember to logout and login again for the group change to have effect.}}&lt;br /&gt;
&lt;br /&gt;
The last step is to configure the security keys with the [[Abuild-keygen|abuild-keygen]] script for [[Abuild|abuild]] with the command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|abuild-keygen -a -i}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Creating_an_Alpine_package&amp;diff=18597</id>
		<title>Creating an Alpine package</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Creating_an_Alpine_package&amp;diff=18597"/>
		<updated>2021-01-22T10:36:20Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
To build a package for Alpine Linux you need an Alpine Linux installation. Check the [[Installation]] page to see all available installation options.&lt;br /&gt;
&lt;br /&gt;
== Setup your system and account  ==&lt;br /&gt;
{{:Include:Setup_your_system_and_account_for_building_packages}}&lt;br /&gt;
&lt;br /&gt;
== Getting some help ==&lt;br /&gt;
&lt;br /&gt;
It might be wise to start by checking what the [[Abuild|abuild]] program can/cannot do.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|abuild -h}}&lt;br /&gt;
&lt;br /&gt;
For real help, you can also go on Freenode&#039;s #alpine-devel on IRC.&lt;br /&gt;
&lt;br /&gt;
A reference for APKBUILD files is available as a man page in the &#039;abuild-doc&#039; package:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|man APKBUILD}}&lt;br /&gt;
&lt;br /&gt;
== Creating an APKBUILD file  ==&lt;br /&gt;
&lt;br /&gt;
=== Use a template APKBUILD ===&lt;br /&gt;
&lt;br /&gt;
To create the actual APKBUILD file {{Pkg|newapkbuild}} can serve you a template to start with. It will create a directory with the given package name, place an example/template APKBUILD file to the given directory, and fill some variables if those are provided. Please check the [[Package_policies| package policies]] page about naming details.&lt;br /&gt;
&lt;br /&gt;
If you doubt to which repository your package belongs to you can safely use &#039;&#039;&#039;testing&#039;&#039;&#039;. Building package in your aports/testing directory is not mandatory but this way the package is already at the right place.&lt;br /&gt;
&lt;br /&gt;
{{:Include:Newapkbuild}}&lt;br /&gt;
&lt;br /&gt;
{{Note|On older Alpine systems, abuild -c -n &#039;&#039;packagename&#039;&#039; was the way to create APKBUILD files. The &#039;packagename&#039; was a parameter to the -n option so order of -c and -n matters. }}&lt;br /&gt;
&lt;br /&gt;
[[Abuild_and_Helpers#apkbuild-cpan|apkbuild-cpan]] simplifies the creation of perl packages from CPAN and [[Abuild_and_Helpers#apkbuild-pypi|apkbuild-pypi]] ease the generation of APKBUILD files for python packages from PyPi.  &lt;br /&gt;
&lt;br /&gt;
If you are creating a daemon package which needs initd scripts you can add the -c making it: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|newapkbuild -c &#039;&#039;packagename&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
This will copy the sample initd and confd files to the build directory.&amp;lt;BR&amp;gt;&lt;br /&gt;
A third file sample.install file will be copied as well (we will discuss this later on).&lt;br /&gt;
&lt;br /&gt;
=== Modify your APKBUILD ===&lt;br /&gt;
Edit APKBUILD and fill in the needed info (especially pkgname, pkgver, pkgdesc, url, license, depends and source). &lt;br /&gt;
&lt;br /&gt;
If you are going to use any of the variables for directories like $pkgdir, always make sure they are double quoted like: &lt;br /&gt;
&lt;br /&gt;
 &amp;quot;$pkgdir&amp;quot;/somedir&lt;br /&gt;
&lt;br /&gt;
This will prevent issues with spaces/special characters in the future. &lt;br /&gt;
&lt;br /&gt;
{{Note|If you like syntax highlighting we suggest you to install vim. We have setup vim to recognize the APKBUILD file as a bash scripts so its easier to read them.}}&lt;br /&gt;
&lt;br /&gt;
=== APKBUILD variables/functions  ===&lt;br /&gt;
&lt;br /&gt;
==== source  ====&lt;br /&gt;
&lt;br /&gt;
The source variable is not only used to list the remote source files to fetch, it is also used to list the local files that abuild will need in order to build the apk. Examples of such local files include: init.d files, conf.d files, install files (see [[Creating an Alpine package#install|install variable]]), patches, and all other necessary files.&lt;br /&gt;
&lt;br /&gt;
Here are few things to note:&lt;br /&gt;
&lt;br /&gt;
* When you are finished adding local and/or remote files to &#039;&#039;source&#039;&#039;, you can execute the following command to add their checksums to the APKBUILD file:&lt;br /&gt;
: {{cmd|abuild checksum}}&lt;br /&gt;
: {{Note|When later updating the content of &#039;&#039;source&#039;&#039;, or updating a file that is listed in &#039;&#039;source&#039;&#039;, you must also update their checksums again with the same command.}}&lt;br /&gt;
&lt;br /&gt;
* When the remote file is hosted at SourceForge, it&#039;s best to specify the special mirrors link used by SourceForge:&lt;br /&gt;
: &amp;lt;pre&amp;gt;http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
: (or similar depending on the package).&lt;br /&gt;
&lt;br /&gt;
* When the remote filename is not specified in the URI (ie, does not end in &#039;/software-1.0.tar.gz&#039;), such as:&lt;br /&gt;
: &amp;lt;pre&amp;gt;http://oss.example.org/?get=software&amp;amp;ver=1.0&amp;lt;/pre&amp;gt;&lt;br /&gt;
: You must prepend &#039;${pkgname}-${pkgver}.tar.gz::&#039; to the protocol, like so:&lt;br /&gt;
: &amp;lt;pre&amp;gt;source=&amp;quot;${pkgname}-${pkgver}.tar.gz::http://oss.example.org/?get=software&amp;amp;ver=1.0&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
: This causes the file to be saved as &#039;&#039;software-1.0.tar.gz&#039;&#039; where abuild can use it, instead of &#039;&#039;?get=software&amp;amp;ver=1.0&#039;&#039;, where abuild cannot use it.&lt;br /&gt;
&lt;br /&gt;
* Some projects didn&#039;t provide a release tarball. Beware that some git services (gitweg, cgit, …?) doesn’t provide &#039;&#039;stable&#039;&#039; tarballs, so when you point source to an tarball like &amp;lt;tt&amp;gt;http://repo.or.cz/w/gitstats.git/snapshot/ad7efbb9399e60cee6cb217c6b47e604174a8093.tar.gz&amp;lt;/tt&amp;gt;, then you will run into issues because the checksum changes when downloading on the build system. This is not a problem on GitHub, GitLab and other decent services provides, they provide &#039;&#039;stable&#039;&#039; tarballs.&lt;br /&gt;
&lt;br /&gt;
* abuild currently supports the following protocols for remote file retrieval:&lt;br /&gt;
** http&lt;br /&gt;
** https&lt;br /&gt;
** ftp&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--: {{Note|If the you want to download from https, you need GNU wget installed on your system.}}--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
* abuild currently supports the following archive types/archive file extensions:&lt;br /&gt;
** .tar&lt;br /&gt;
** .tar.gz / .tgz&lt;br /&gt;
** .tar.bz2&lt;br /&gt;
** .tar.lz (only in Alpine &amp;gt;=3.7)&lt;br /&gt;
** .tar.lzma&lt;br /&gt;
** .tar.xz&lt;br /&gt;
** .zip&lt;br /&gt;
&lt;br /&gt;
==== depends &amp;amp;amp; makedepends  ====&lt;br /&gt;
&lt;br /&gt;
Depends are the actual running dependencies that a package would need when it is running. Makedepends are only needed when you are building a package. If you set a package in depends, you do not need to add it to makedepends as well. The best way to find out what the depends and makedepends of a package are is to [http://en.wikipedia.org/wiki/Rtfm RTFM]. &lt;br /&gt;
&lt;br /&gt;
No kidding, lots of important information can be found in the package INSTALL and README files (or the likes). Another good way is the run &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; from the source directory to see which options are needed for configure to finish without errors. If you do not yet have a source directory you can create one with the command: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|abuild unpack}}&lt;br /&gt;
&lt;br /&gt;
Running &amp;lt;code&amp;gt;configure&amp;lt;/code&amp;gt; will also show you how you can disable a specific option for this package. For instance, a good example is &amp;quot;--disable-nls&amp;quot; which will disable native language support and thus does not depend on gettext (libiconv, glib, ...). &lt;br /&gt;
&lt;br /&gt;
Alpine likes to keep things small, so we try to disable as much as possible without losing too many features. The exact disable/enable options are decided by the package builder but please try to follow Alpine&#039;s design concept as much as possible.&lt;br /&gt;
&lt;br /&gt;
An easy way of quickly finding out the build info for a package is to check Arch Linux (Alpine package management and build scripts are similar) or Gentoo Linux ebuilds (previous versions of Alpine were based on Gentoo).&lt;br /&gt;
&lt;br /&gt;
* [https://gitweb.gentoo.org/repo/gentoo.git/tree/ Gentoo Ebuilds] &lt;br /&gt;
* [http://www.archlinux.org/packages/search/ Arch Linux packages] [https://aur.archlinux.org/ Arch Linux User Repository]&lt;br /&gt;
&lt;br /&gt;
After the package is successfully compiled and created we should make sure it didn&#039;t link to any package that is not present in the &amp;lt;code&amp;gt;$depends&amp;lt;/code&amp;gt; variable. We do this by using &amp;lt;code&amp;gt;scanelf&amp;lt;/code&amp;gt;. If scanelf is not yet installed on your system you can do that by installing {{Pkg|pax-utils}}.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|scanelf -nR pkg}}&lt;br /&gt;
&lt;br /&gt;
An example output of {{Pkg|libcurl}} would be: &lt;br /&gt;
&lt;br /&gt;
 ET_DYN libssl.so.0.9.8,libcrypto.so.0.9.8,libz.so.1,libc.so.0,ld-uClibc.so.0 pkg/usr/lib/libcurl.so.4.1.1&lt;br /&gt;
&lt;br /&gt;
You can see the needed files and should be able to find out which file belongs to which package.&lt;br /&gt;
&lt;br /&gt;
==== license  ====&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;license&#039;&#039;&#039; tag must reflect the license of the source code. Please check the source tarball for COPYING, LICENSE, or other files with names that indicates that it contains licensing information. Beside the license file most developer include headers in the source code files with licensing details.&lt;br /&gt;
&lt;br /&gt;
If the license is on the [https://spdx.org/licenses/ SPDX License List] or [https://spdx.org/licenses/exceptions-index.html SPDX License Exceptions], use the identifier specified by SPDX.&lt;br /&gt;
&lt;br /&gt;
If a package has a special/custom license or is not listed as [https://opensource.org/licenses/alphabetical OSI approved] we need to provide it with the release. Because we want to save space and don&#039;t like to have licenses all over our system we have decided to include the license in the doc subpackage. Please follow the following guidelines to add a proper license. Locate the license file inside the source package. Add the doc subpackage to the $subpackages variable as follows: &lt;br /&gt;
&lt;br /&gt;
 subpackages=&amp;quot;$pkgname-doc&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add a similar line to the following to your package() function, depending on the license description file: &lt;br /&gt;
&lt;br /&gt;
 install -Dm644 COPYING &amp;quot;$pkgdir&amp;quot;/usr/share/licenses/$pkgname/COPYING&lt;br /&gt;
&lt;br /&gt;
If you follow these steps then abuild will automatically add the license to the package-doc apk for you.&lt;br /&gt;
&lt;br /&gt;
{{Warning|It is not acceptable to package software with &amp;quot;unknown&amp;quot; license! If you can&#039;t find the license of the source code, please contact the author and ask them to specify the license. }}&lt;br /&gt;
&lt;br /&gt;
==== arch ====&lt;br /&gt;
&lt;br /&gt;
The package architecture(s) to build for.  This can be one of: &#039;&#039;x86, x86_64, all,&#039;&#039; or &#039;&#039;noarch&#039;&#039;, where &#039;&#039;all&#039;&#039; means all architectures, and &#039;&#039;noarch&#039;&#039; means it&#039;s architecture-independent (ie, a pure-python package).&lt;br /&gt;
{{Tip|To determine if your APKBUILD can use &#039;&#039;noarch&#039;&#039;, build the package for your architecture and then run &amp;quot;scanelf -R pkg&amp;quot; from the directory that the APKBUILD resides in, in order to scan for ELF files in the &#039;&#039;./pkg&#039;&#039; directory.  If you do NOT get output from this, then &#039;&#039;noarch&#039;&#039; can be used.}}&lt;br /&gt;
&lt;br /&gt;
==== url  ====&lt;br /&gt;
&lt;br /&gt;
Website address for the program. This is useful later on when either finding documentation or other information about the package.&lt;br /&gt;
&lt;br /&gt;
==== pkgdesc  ====&lt;br /&gt;
&lt;br /&gt;
A brief, one line, description of what the package does. Useful for the package management system. It should start with a capital letter and does &#039;&#039;&#039;not&#039;&#039;&#039; end with a period.&lt;br /&gt;
&lt;br /&gt;
Here is an example from apk_info for the OpenSSH client package:&lt;br /&gt;
&lt;br /&gt;
 pkgdesc=&amp;quot;Port of OpenBSD&#039;s free SSH release - client&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== pkgver  ====&lt;br /&gt;
&lt;br /&gt;
Provide the release number of the package you are building.&lt;br /&gt;
&lt;br /&gt;
==== pkgrel  ====&lt;br /&gt;
&lt;br /&gt;
The $pkgrel versioning is made so that if you change something in your APKBUILD file without changing the actual $pkgver, you can increment pkgrel so apk tools will detect it as an update. For instance, if you forget to add a dependency, you can add it afterward and you can +1 pkgver so apk finds this update and adds the missing dependency. When there&#039;s an upstream version change, we reset the pkgrel to 0.&lt;br /&gt;
&lt;br /&gt;
==== pkgname  ====&lt;br /&gt;
&lt;br /&gt;
The base name of the package you are creating.  For Freeswitch 1.0.6, you would use &amp;quot;freeswitch&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== install  ====&lt;br /&gt;
&lt;br /&gt;
There are 6 different kinds of install scripts. Each script is called with the $pkgname.&#039;&#039;&amp;lt;action&amp;gt;&#039;&#039; where &#039;&#039;&amp;lt;action&amp;gt;&#039;&#039; is one of the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;$pkgname.pre-install&lt;br /&gt;
&amp;lt;dd&amp;gt;This script is executed before package is installed. Typical use is when package needs a group and a user to be created. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
addgroup -S clamav 2&amp;gt;/dev/null&lt;br /&gt;
adduser -S -D -H -s /bin/false -G clamav -g clamav clamav 2&amp;gt;/dev/null&lt;br /&gt;
&lt;br /&gt;
exit 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note the &#039;&#039;exit 0&#039;&#039; at the end. If the script exits with failure (if the user already exist), the package will not be installed and &amp;lt;code&amp;gt;apk add&amp;lt;/code&amp;gt; will exit with failure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;dt&amp;gt;$pkgname.post-install&lt;br /&gt;
&amp;lt;dd&amp;gt;This script is executed after the package is installed. Can be used to generate font cache and similar.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;dt&amp;gt;$pkgname.pre-upgrade&lt;br /&gt;
&amp;lt;dd&amp;gt;Same as pre-install but is executed before upgrading/downgrading/reinstalling an already installed package. Note that exiting with failure will not cause apk to exit with failure, but will mark the package as broken.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;dt&amp;gt;$pkgname.post-upgrade&lt;br /&gt;
&amp;lt;dd&amp;gt;Same as post-install but is executed after upgrading/downgrading/reinstalling an already installed package. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;dt&amp;gt;$pkgname.pre-deinstall&lt;br /&gt;
&amp;lt;dd&amp;gt;This script is executed before uninstalling a package. If script exits with failure apk will not uninstall the package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;dt&amp;gt;$pkgname.post-deinstall&lt;br /&gt;
&amp;lt;dd&amp;gt;This script is executed after a package have been uninstalled. Can be used to update font caches and restore busybox links. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
busybox --install -s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the package has a pre-install and post-install script the APKBUILD should have the &#039;&#039;install&#039;&#039; variable defined:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
install=&amp;quot;$pkgname.pre-install $pkgname.post-install&amp;quot;&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== subpackages  ====&lt;br /&gt;
&lt;br /&gt;
$subpackages are made to split up the normal &amp;quot;make install&amp;quot; into separate packages. The most common subpackages we use are doc and dev. Because we like to keep our target system small we move documentation and development files (only needed when building packages) into separate packages. To use the specific program a user only need to install the base apk without package-doc or package-dev, but if he wants to read the manual he will need to install package-doc. &lt;br /&gt;
&lt;br /&gt;
The easiest way to find out if you need to use -dev and -doc is to first build the package without these options set and wait until the build finishes. When its finished you should have a pkg directory which is the fake root directory. Inside this directory you will see the structure as how it would be installed in / on the target system. &lt;br /&gt;
&lt;br /&gt;
To see if you need the -dev package you can run the following cmd: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|find pkg/usr/ -name &#039;*.[acho]&#039; -o -name &#039;*.la&#039;}}&lt;br /&gt;
&lt;br /&gt;
If this returns any files you need to include the -dev package. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; To see if you need the -doc package you can run the following cmd: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|find pkg/usr/share -name doc -o -name man -o -name info -o -name html -o -name sgml -o -name licenses}}&lt;br /&gt;
&lt;br /&gt;
If this returns any directories you need to include the -doc package. &lt;br /&gt;
&lt;br /&gt;
===== Custom subpackages  =====&lt;br /&gt;
&lt;br /&gt;
Some software additionally has non-essential files that do not qualify as either documentation or development content. These files should be placed in their own, specialized subpackage(s). Some packages include large test suites which are only needed in specific circumstances or binaries which have depends which we prefer not to install. To handle those we create our own package/function. In the APKBUILD below the build() function we create another function: &lt;br /&gt;
&lt;br /&gt;
 test() {&lt;br /&gt;
        mkdir -p &amp;quot;$subpkgdir&amp;quot;/usr&lt;br /&gt;
        mv &amp;quot;$pkgdir&amp;quot;/usr/package-test &amp;quot;$subpkgdir&amp;quot;/usr/&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
We also need to add the package info to $subpackages variable: &lt;br /&gt;
&lt;br /&gt;
 subpackages=&amp;quot;$pkgname-doc $pkgname-dev $pkgname-test&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After we finish building the package you should see another apk called packagename-test.apk which includes the files which we moved to the $subpkgdir dir. &lt;br /&gt;
&lt;br /&gt;
The above mentioned variables can also be used in our custom function. If we want for instance to build the test() function with perl support we would add: &lt;br /&gt;
&lt;br /&gt;
 depends=&amp;quot;perl&amp;quot;&lt;br /&gt;
 makedepends=&amp;quot;perl-dev&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If we would install the base package it would not install perl, but if we install the package-test package it would.&lt;br /&gt;
&lt;br /&gt;
==== Patches  ====&lt;br /&gt;
&lt;br /&gt;
Please make sure you always submit human readable patches. Ways to create them are: &lt;br /&gt;
&lt;br /&gt;
directory compare: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|diff -Nurp original_directory new_directory &amp;amp;gt; filename.patch}}&lt;br /&gt;
&lt;br /&gt;
file compare: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|diff -up original.file new.file &amp;amp;gt; filename.patch}}&lt;br /&gt;
&lt;br /&gt;
If a patch contains a completely new file but not *.rej or *.orig file, you need to add -N option to diff, but you may need to add exclusions with &amp;lt;code&amp;gt;--exclude PATTERN&amp;lt;/code&amp;gt; so that you do not inadvertently add files.  You may need to manually delete unwanted files inside the patch file.&lt;br /&gt;
&lt;br /&gt;
Because multiple patches can patch the same file, they can change the offsets required by subsequent patches. To make sure we always patch in a specific way, we should number the patches as follows: &lt;br /&gt;
&lt;br /&gt;
 10-patch1.patch 20-patch2.patch 30-patch3.patch&lt;br /&gt;
&lt;br /&gt;
This way we are always sure that patch 1 is applied first, and if we want to add additional patches between them we can use appropriate indexes (e.g. 11, 12, 21, 22).&lt;br /&gt;
&lt;br /&gt;
Add the names of the patch files to the &#039;&#039;source&#039;&#039; variable. If you haven&#039;t declared a custom &#039;&#039;prepare&#039;&#039; function, no further action is necessary. Otherwise, be sure to call &#039;&#039;default_prepare&#039;&#039; in your &#039;&#039;prepare&#039;&#039; function. For example:&lt;br /&gt;
&lt;br /&gt;
 prepare() {&lt;br /&gt;
 	default_prepare&lt;br /&gt;
 &lt;br /&gt;
 	# do your stuff&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Note: Some older packages contain a &#039;&#039;for&#039;&#039; loop in the &#039;&#039;prepare&#039;&#039; function to apply patches. This is not needed anymore, as patches are handled by &#039;&#039;default_prepare&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In Alpine &amp;gt;=3.4 you can define patch_args to supply the patch level.  This only works if all the patches have the same patch level.  If there are a lot of patches from different sources, there is a good chance that you may need to edit them, as discussed below.&lt;br /&gt;
&lt;br /&gt;
To automatically patch the package (available only in Alpine &amp;gt;=3.4) if it uses a patch level (-pX) other than the default (-p1), you need to carefully modify the patch.  First, you&#039;ll need a text editor that does not automatically convert  between Windows and Unix new lines (or, disable this feature) so that it preserves the old code.  The next thing you&#039;ll need to do is modify the paths on &amp;quot;+++&amp;quot; and &amp;quot;---&amp;quot; lines in the .patch file.  You can begin the path with a/ and b/ like shown below.  Next, you need to adjust the paths so that the relative base path is from inside $builddir.  Anything to the left of $builddir, including $builddir itself, needs to be removed from the path.  So, if $builddir is /home/USER/aports/community/chromium/src/chromium-65, you need to erase it on the &amp;quot;+++&amp;quot; and &amp;quot;---&amp;quot; lines.  Inside the chromium-65 folder you can see a src folder that has 3rdparty as a descendant.  If a patch originally has a deeper patch level, you may need to fill in the missing portion of the path.  For example, use the &amp;lt;code&amp;gt;find . -name &amp;quot;Assertions.cpp&amp;quot;&amp;lt;/code&amp;gt; command to find the full path to the file relative to the base.&lt;br /&gt;
&lt;br /&gt;
{{Cat|example.patch|&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Author: John Doe &amp;lt;johndoe@mail.com&amp;gt;&lt;br /&gt;
URL: http://.....&lt;br /&gt;
Summary: Fixes musl compatibility&lt;br /&gt;
----&lt;br /&gt;
--- a/src/3rdparty/chromium/third_party/WebKit/Source/wtf/Assertions.cpp.orig&lt;br /&gt;
+++ b/src/3rdparty/chromium/third_party/WebKit/Source/wtf/Assertions.cpp&lt;br /&gt;
@@ -142,7 +142,7 @@&lt;br /&gt;
 };&lt;br /&gt;
 &lt;br /&gt;
 FrameToNameScope::FrameToNameScope(void* addr) : m_name(0), m_cxaDemangled(0) {&lt;br /&gt;
-#if OS(MACOSX) || (OS(LINUX) &amp;amp;&amp;amp; !defined(__UCLIBC__))&lt;br /&gt;
+#if OS(MACOSX) || (OS(LINUX) &amp;amp;&amp;amp; defined(__GLIBC__))&lt;br /&gt;
   Dl_info info;&lt;br /&gt;
   if (!dladdr(addr, &amp;amp;info) || !info.dli_sname)&lt;br /&gt;
return;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Portions of the patch may be outdated, removed completely as in the source code file completely removed, or moved or renamed files.  You need to delete that section of the patch or find where that section of code changed and re-diff it.&lt;br /&gt;
&lt;br /&gt;
It is good etiquette to give credit at the top and the location of where you originally found them with notes.&lt;br /&gt;
&lt;br /&gt;
Excluding patches with global variable resembling patch_opts is not available on Alpine.  To exclude patches you need to create your own custom prepare().&lt;br /&gt;
&lt;br /&gt;
If you have a monolithic patch where there are a bunch of patches in one big patch, you could use filterdiff which is available in the patchutils package.&lt;br /&gt;
&lt;br /&gt;
Just do something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
makedepends=&amp;quot;patchutils&amp;quot;&lt;br /&gt;
&lt;br /&gt;
prepare() {&lt;br /&gt;
  ...&lt;br /&gt;
  cd &amp;quot;$builddir&amp;quot;&lt;br /&gt;
  filterdiff -x &#039;*drivers/video/logo*&#039; &amp;quot;$srcdir&amp;quot;/original.patch &amp;gt; &amp;quot;$builddir&amp;quot;/modified.patch&lt;br /&gt;
  patch -p1 -i &amp;quot;$builddir&amp;quot;/modified.patch&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You need to put the wildcard pattern in single quotes for it to work.&lt;br /&gt;
&lt;br /&gt;
==== Configure options  ====&lt;br /&gt;
&lt;br /&gt;
Alpine has some default configure options we set by default. We use /usr for prefix to make sure everything is installed with /usr in front of it. If you notice that anything is installed in the wrong directory please run {{Cmd|./configure --help}} and see if you can set the correct location. &lt;br /&gt;
&lt;br /&gt;
We are not covering the depend switches here we have discussed this already in the depend section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Make options  ====&lt;br /&gt;
&lt;br /&gt;
If you notice weird problems when compiling or installing the package with make/make install you could try to disable [http://www.gnu.org/software/make/manual/make.html#Parallel parallel] building/installing. A normal make line would be: &lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
To disable parallel we use: &lt;br /&gt;
&lt;br /&gt;
 make -j1&lt;br /&gt;
&lt;br /&gt;
We can use the same for make install. &lt;br /&gt;
&lt;br /&gt;
Because we do not want to install the package in our build environment but we want to install it in a fake root directory we need to tell &#039;make install&#039; to use another destination directory instead of &#039;/&#039;. We do this by setting a variable when we execute make install as followed: &lt;br /&gt;
&lt;br /&gt;
 make DESTDIR=&amp;quot;$pkgdir&amp;quot; install&lt;br /&gt;
&lt;br /&gt;
Please note that some Makefiles do not support this variable and will always install software in &#039;/&#039;. To make sure you do not mess up your build system NEVER run your build system as root but always use a custom user and sudo when needed. If by accident the Makefile does not support DESTDIR variable it will fail to install in our build system system directories.&lt;br /&gt;
&lt;br /&gt;
==== builddir ====&lt;br /&gt;
If you used &amp;lt;tt&amp;gt;newapkbuild&amp;lt;/tt&amp;gt; to create your APKBUILD file, you must specify the path to your unpacked sources. Inside the sections during the prepare/build/install process &#039;&#039;builddir&#039;&#039; is used. Most of the time a combination of &#039;&#039;$srcdir&#039;&#039; and &#039;&#039;$pkgname-$pkgver&#039;&#039; will work. When not, check the /src directory or the source tarball for the right string. Especially when you are working with automatically generated tarballs (like from github and gitorious), this needs to be adjusted.&lt;br /&gt;
&lt;br /&gt;
builddir=&amp;quot;$srcdir&amp;quot;/$pkgname-$pkgver&lt;br /&gt;
&lt;br /&gt;
==== Additional files  ====&lt;br /&gt;
&lt;br /&gt;
If you want/need to install additional files not mentioned above you can use the following cmd (this is an example of a conf file): &lt;br /&gt;
&lt;br /&gt;
 install -Dm644 doc/$pkgname.conf &amp;quot;$pkgdir&amp;quot;/etc/$pkgname.conf&lt;br /&gt;
&lt;br /&gt;
== Build the package  ==&lt;br /&gt;
&lt;br /&gt;
If you did not already create the checksums as mentioned above you can do so now: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|cd $pkgname&lt;br /&gt;
abuild checksum}}&lt;br /&gt;
&lt;br /&gt;
It&#039;s about time we build our package. Because a build system should never have all the package installed to prevent linking to packages we don&#039;t want it to link we use a abuild recursively with the &#039;&#039;&#039;-r&#039;&#039;&#039; switch. It will install all dependencies from your repository and builds it, afterwards it will uninstall all those depending packages again. You could also use the &#039;&#039;&#039;-R&#039;&#039;&#039; switch which would build your package including the dependency packages. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|abuild -r}}&lt;br /&gt;
&lt;br /&gt;
== Testing the package locally ==&lt;br /&gt;
&lt;br /&gt;
When it completes, your package will be found in a subfolder of &amp;lt;code&amp;gt;~/packages&amp;lt;/code&amp;gt;.  You may want to test it on your machine but only if the package is not a critical system package like musl or apk-tools package.  To avoid borking your system (as in making it impossible to use &amp;lt;code&amp;gt;apk add&amp;lt;/code&amp;gt; or to restore back the system and the compiler toolchain) for a critical system package, you should test on a chroot first before using it live.&lt;br /&gt;
&lt;br /&gt;
The best way to test a package locally is to modify your &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; so that it includes the indexes to your locally built packages - the directories that contain &amp;lt;code&amp;gt;ARCH/APKINDEX.tar.gz&amp;lt;/code&amp;gt;. For example the &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; below includes locally built packages in testing, community and main. To use this example change &amp;lt;code&amp;gt;USER&amp;lt;/code&amp;gt; to your login name.&lt;br /&gt;
&lt;br /&gt;
{{Cat|/etc/apk/repositories|/home/USER/packages/testing/&lt;br /&gt;
/home/USER/packages/community/&lt;br /&gt;
/home/USER/packages/main/&lt;br /&gt;
/media/sdc/apks&lt;br /&gt;
#http://dl-2.alpinelinux.org/alpine/v3.7/main&lt;br /&gt;
#http://dl-2.alpinelinux.org/alpine/v3.7/community&lt;br /&gt;
http://dl-2.alpinelinux.org/alpine/edge/main&lt;br /&gt;
http://dl-2.alpinelinux.org/alpine/edge/community&lt;br /&gt;
http://dl-2.alpinelinux.org/alpine/edge/testing&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If you prefer to test a package without changing any other configuration you can use the &amp;lt;code&amp;gt;-X, --repository&amp;lt;/code&amp;gt; option to &amp;lt;code&amp;gt;apk&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sudo apk add --repository /home/USER/packages/testing $pkgname}}&lt;br /&gt;
&lt;br /&gt;
== Code review ==&lt;br /&gt;
&lt;br /&gt;
To successfully have your package pass through code reviewers (as of Feb 18, 2018 are nmeum and jirutka on GitHub) and possible increased acceptance, the following conventions need to be followed:&lt;br /&gt;
&lt;br /&gt;
# Custom global variables should be prefixed with underscore (_).&lt;br /&gt;
# Compact code as in merged commands, removed unused variables, removal of functions that do the same thing that are automatically handled by abuild.&lt;br /&gt;
# Versioning is done properly.  For details see [[APKBUILD_Reference#pkgver]].&lt;br /&gt;
# Licensing is done properly. Remove unnecessary copying of licensing that is already OSI approved.&lt;br /&gt;
# Naming conventions rules for unofficial variables as in _gitrev is preferred over commit.&lt;br /&gt;
# Indent with tabs not spaces.&lt;br /&gt;
# Removal of explicit return 1.  (They are still found the old APKBUILD files if you are learning but are now strongly discouraged.)&lt;br /&gt;
# Disabling check() requires either (1) a comment (#) stating next to options=&amp;quot;!check&amp;quot; that there is no test suite/unit tests or (2) functioning working check() function.&lt;br /&gt;
# Explicit call to subpackages=&amp;quot;$pkgname-doc&amp;quot; must be used instead of explicit gzip man page compression.&lt;br /&gt;
# Ideally, lines should be no more than 80 columns wide&lt;br /&gt;
&lt;br /&gt;
Additionally, make sure to run the linter on your package:&lt;br /&gt;
{{Cmd|sudo apk add atools&lt;br /&gt;
apkbuild-lint APKBUILD}}&lt;br /&gt;
&lt;br /&gt;
For more information see [[Development using git:Quality assurance]] and [[Package_policies]].&lt;br /&gt;
&lt;br /&gt;
== Commit your work  ==&lt;br /&gt;
&lt;br /&gt;
After you successfully build your package and properly followed the conventions and requirements in the code review section, you can submit your APKBUILD to Alpine&#039;s git repository. &lt;br /&gt;
&lt;br /&gt;
Update your git repo, before adding new files: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|cd $aportsdir&lt;br /&gt;
git pull}}&lt;br /&gt;
&lt;br /&gt;
This should pull all the changes made by others into your local git repo.&lt;br /&gt;
&lt;br /&gt;
When you think you are ready you can add your files to git: &lt;br /&gt;
&lt;br /&gt;
NOTE: when using our Gitlab instance, you can create MR&#039;s for each package. Please squash all commits related to the same package into a single one per MR.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|cd $aportsdir&lt;br /&gt;
git add testing/$pkgdir (include any other files needed for the build; $pkgname.install...)&lt;br /&gt;
git commit}}&lt;br /&gt;
&lt;br /&gt;
Use the following commit message template for new aports (without the comments):&lt;br /&gt;
&lt;br /&gt;
{{Cat|template|testing/$pkgname: new aport   # this will be the subject line&lt;br /&gt;
                              # a blank line&lt;br /&gt;
$url                          # project homepage&lt;br /&gt;
$pkgdesc                      # one line description}}&lt;br /&gt;
&lt;br /&gt;
Or you could add the following and &amp;lt;code&amp;gt;chmod +x ports/.git/hooks/prepare-commit-msg&amp;lt;/code&amp;gt; to automatically generate commit message which the default aports/.githooks/ does not:&lt;br /&gt;
&lt;br /&gt;
{{Cat|aports/.git/hooks/prepare-commit-msg|&amp;lt;nowiki&amp;gt;#!/bin/sh&lt;br /&gt;
case &amp;quot;$2,$3&amp;quot; in&lt;br /&gt;
  ,|template,)&lt;br /&gt;
    if git diff-index --diff-filter=A --name-only --cached HEAD \&lt;br /&gt;
        | grep -q &#039;/APKBUILD$&#039;; then&lt;br /&gt;
      meta() { git diff --staged | grep &amp;quot;^+$1&amp;quot; | sed &#039;s/.*=&amp;quot;\?//;s/&amp;quot;$//&#039;;}&lt;br /&gt;
      printf &#039;testing/%s: new aport\n\n%s\n%s\n&#039; &amp;quot;$(meta pkgname)&amp;quot; \&lt;br /&gt;
        &amp;quot;$(meta url)&amp;quot; &amp;quot;$(meta pkgdesc)&amp;quot; &amp;quot;$(cat $1)&amp;quot; &amp;gt; &amp;quot;$1&amp;quot;&lt;br /&gt;
    else&lt;br /&gt;
      printf &#039;%s\n\n%s&#039; `git diff-index --name-only --cached HEAD \&lt;br /&gt;
        | sed -n &#039;s/\/APKBUILD$//p;q&#039;` &amp;quot;$(cat $1)&amp;quot; &amp;gt; &amp;quot;$1&amp;quot;&lt;br /&gt;
    fi;;&lt;br /&gt;
esac&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Now your changes are only available locally in your repository.&lt;br /&gt;
&lt;br /&gt;
Because you do not have push rights to the Alpine aports repository you need to create a merge request to [https://gitlab.alpipnelinux.org/alpine/aports Alpine&#039;s GitLab instance].&lt;br /&gt;
&lt;br /&gt;
Alternatively you can also create a diff (patch) of the changes you made and send this patch to the &lt;br /&gt;
[https://lists.alpinelinux.org/~alpine/aports  alpine-aports mailinglist].&lt;br /&gt;
&lt;br /&gt;
To create a diff patch:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git format-patch HEAD^}}&lt;br /&gt;
&lt;br /&gt;
or if you have sprunge, you can create a link to your patch for convenience&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git format-patch HEAD^ --stdout &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; sprunge}}&lt;br /&gt;
&lt;br /&gt;
== Travis CI and automated testing ==&lt;br /&gt;
&lt;br /&gt;
Travis CI, as in continuous integration automated testing, isn&#039;t always required, but 99% of the time it is strongly encouraged to pass with a green checkmark.  Passing Travis CI ensures that your package works on another machine and builds the image starting from nothing.  One reason why your package fails to build on the remote server is that you may inadvertently add a package dependency as in creating multiple packages at the same time or forgot to remove a dependency and forgot to mark it as a makedepends.&lt;br /&gt;
&lt;br /&gt;
When you submit your APKBUILD as a pull request, the Travis CI server will construct the build environment from [https://github.com/alpinelinux/aports/blob/master/.travis/install-alpine#L28 main] [https://github.com/alpinelinux/aports/blob/master/.travis/common.sh#L5 Edge] apks.&lt;br /&gt;
&lt;br /&gt;
The environment is just like a boot into command line so it is minimal.  Don&#039;t assume that you boot into X.&lt;br /&gt;
&lt;br /&gt;
The server/configuration cannot do testing/check() testing on hardware accelerated OpenGL apps.&lt;br /&gt;
&lt;br /&gt;
== Send a patch ==&lt;br /&gt;
&lt;br /&gt;
[[Creating_patches#Only_the_last_commit_with_.27git_send-email.27|git send-email]] will do that for you.&lt;br /&gt;
&lt;br /&gt;
== GitHub Tagging ==&lt;br /&gt;
&lt;br /&gt;
If you see your pull requested labeled on GitHub this is what they mean:&lt;br /&gt;
&lt;br /&gt;
*A-add - The pull requester wanted to add this brand new package.&lt;br /&gt;
*A-upgrade - The pull requester wanted to update the package.&lt;br /&gt;
*A-improve - The pull requester wanted to improve an existing package.&lt;br /&gt;
*A-fix - The pull requester wanted to fix a bug with the existing package.&lt;br /&gt;
*S-changes-requested - An admin wants you to add or remove a subpackage or fix something as in messy code.&lt;br /&gt;
*S-needs-review - An admin needs someone to do a code review on your package.&lt;br /&gt;
*S-broken - The package fails to build locally on the code reviewer machine.&lt;br /&gt;
*ci-malfunction - Travis CI doesn&#039;t work with this package as in exceeded time.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[APKBUILD Reference]]&lt;br /&gt;
* [[APKBUILD examples]]&lt;br /&gt;
* [[Development using git]]&lt;br /&gt;
* [[Development using git:Quality assurance]]&lt;br /&gt;
&lt;br /&gt;
[[category: Package Manager]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.13.0&amp;diff=18497</id>
		<title>Release Notes for Alpine 3.13.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.13.0&amp;diff=18497"/>
		<updated>2021-01-06T10:40:17Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Deprecation of berkeley db */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
=== musl upgraded to 1.2 ===&lt;br /&gt;
&lt;br /&gt;
musl has been upgraded to 1.2. This release changes the definition of &amp;lt;code&amp;gt;time_t&amp;lt;/code&amp;gt; on 32-bit systems. See the [https://musl.libc.org/time64.html musl time64 release notes] for more details. All x86, armv7 and armhf packages have been rebuilt for this change. For users of these architectures, all self-compiled packages must be manually rebuilt after upgrading.&lt;br /&gt;
&lt;br /&gt;
=== Deprecation of BerkeleyDB ===&lt;br /&gt;
&lt;br /&gt;
Oracle has changed the license of its BerkeleyDB to AGPL-3.0, making it unsuitable to link it to packages with GPL-incompatible licenses. Since the old version is no longer maintained, the &amp;lt;code&amp;gt;db&amp;lt;/code&amp;gt; has been declared deprecated, packages are being transitioned out of using it or out of the distribution entirely, developer tooling for doing QA in APKBUILDs has been adjusted to warn when &amp;lt;code&amp;gt;db&amp;lt;/code&amp;gt; is present.&lt;br /&gt;
&lt;br /&gt;
For postfix, this means using lmdb and dropping support for &amp;lt;code&amp;gt;hash&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;btree&amp;lt;/code&amp;gt; databases. Before upgrading, update all references of these types in &amp;lt;code&amp;gt;/etc/postfix/main.cf&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;lmdb&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Switching from busybox ifupdown to ifupdown-ng ===&lt;br /&gt;
&lt;br /&gt;
Alpine Linux has switched the default ifupdown implementation from busybox to [https://github.com/ifupdown-ng/ifupdown-ng/ ifupdown-ng]. This version is compatible with debian ifupdown and busybox ifupdown, but please read the [https://github.com/ifupdown-ng/ifupdown-ng/blob/master/README.md readme] and the [https://github.com/ifupdown-ng/ifupdown-ng/blob/master/doc/ADMIN-GUIDE.md admin guide].&lt;br /&gt;
&lt;br /&gt;
ifupdown-ng has native vlan support, so the &amp;lt;code&amp;gt;vlan&amp;lt;/code&amp;gt; package is no longer required and can be uninstalled. The &amp;lt;code&amp;gt;bridge&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;bond&amp;lt;/code&amp;gt; packages are still required.&lt;br /&gt;
&lt;br /&gt;
=== GCC 10 ===&lt;br /&gt;
&lt;br /&gt;
GCC has been updated to version 10. GCC 10 sets the &amp;lt;code&amp;gt;-fno-common&amp;lt;/code&amp;gt; option by default. All Alpine Linux packages have been fixed, but users compiling other packages on Alpine may need to fix their code. For more information, see the [https://gcc.gnu.org/gcc-10/porting_to.html GCC 10 porting guide].&lt;br /&gt;
&lt;br /&gt;
=== PHP 8.0 ===&lt;br /&gt;
&lt;br /&gt;
PHP 8.0 with a common set of extensions is now available as &amp;lt;code&amp;gt;php8&amp;lt;/code&amp;gt;. PHP 7.4 (&amp;lt;code&amp;gt;php7&amp;lt;/code&amp;gt;) remains the default.&lt;br /&gt;
&lt;br /&gt;
=== xorg-server has moved to community ===&lt;br /&gt;
&lt;br /&gt;
xorg-server and related packages have been moved from main to community. To install it, make sure the community repository is added to &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== busybox ==&lt;br /&gt;
&lt;br /&gt;
=== Removed applets ===&lt;br /&gt;
&lt;br /&gt;
The following applets have been removed due to limited feature support and/or highly infrequent use:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;hdparm&#039;&#039;&#039;: Use &amp;lt;code&amp;gt;hdparm&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
* &#039;&#039;&#039;fdformat&#039;&#039;&#039;: Use &amp;lt;code&amp;gt;util-linux&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
* &#039;&#039;&#039;readprofile&#039;&#039;&#039;: Use &amp;lt;code&amp;gt;util-linux&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
* &#039;&#039;&#039;lspci&#039;&#039;&#039;: Use &amp;lt;code&amp;gt;pciutils&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
* &#039;&#039;&#039;sendmail&#039;&#039;&#039;: Use &amp;lt;code&amp;gt;ssmtp&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;opensmtpd&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dma&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;exim&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;nullmailer&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;postfix&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
* &#039;&#039;&#039;conspy&#039;&#039;&#039;: None&lt;br /&gt;
* &#039;&#039;&#039;smemcap&#039;&#039;&#039;: None&lt;br /&gt;
* &#039;&#039;&#039;dumpleases&#039;&#039;&#039;: None&lt;br /&gt;
&lt;br /&gt;
For conspy and smemcap, alternative versions are available but not yet packaged. Please file an issue at [https://gitlab.alpinelinux.org/alpine/aports/ Alpine GitLab] if you require these programs.&lt;br /&gt;
&lt;br /&gt;
=== Changes ===&lt;br /&gt;
&lt;br /&gt;
The following applets now support long options:&lt;br /&gt;
&lt;br /&gt;
* gzip&lt;br /&gt;
* install&lt;br /&gt;
* ipcalc&lt;br /&gt;
&lt;br /&gt;
== apk-tools ==&lt;br /&gt;
&lt;br /&gt;
=== Man page ===&lt;br /&gt;
&lt;br /&gt;
apk-tools now has an official man-page: &amp;lt;code&amp;gt;apk-tools-docs&amp;lt;/code&amp;gt;. If the &amp;lt;code&amp;gt;docs&amp;lt;/code&amp;gt; package is installed, man pages will automatically be installed and updated for all installed packages.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=APKBUILD_Reference&amp;diff=18112</id>
		<title>APKBUILD Reference</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=APKBUILD_Reference&amp;diff=18112"/>
		<updated>2020-10-19T05:31:51Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* User-defined variables */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;APKBUILDs are the scripts that are created in order to build Alpine packages using the [[abuild]] tool.&lt;br /&gt;
&lt;br /&gt;
See [[aports]] for details on Alpine&#039;s official ports repository.&lt;br /&gt;
&lt;br /&gt;
This page is intended to serve as a reference for creating APKBUILDs; if this is your first time creating a package for Alpine Linux, please see [[Creating an Alpine package]].&lt;br /&gt;
&lt;br /&gt;
= Legend =&lt;br /&gt;
The following notes will assist you in understanding this document.&lt;br /&gt;
&lt;br /&gt;
In description text:&lt;br /&gt;
* If a variable is not prefixed with a &#039;&#039;$&#039;&#039;, it will be represented by italics (i.e., &#039;&#039;srcdir&#039;&#039; ).&lt;br /&gt;
* Functions will also be represented by italics, but will also end with a pair of parentheses (i.e., &#039;&#039;build()&#039;&#039; ).&lt;br /&gt;
* Shell commands will be represented &amp;lt;code&amp;gt;like this&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Variables =&lt;br /&gt;
{{Note|Variables that contain a path (e.g. &#039;&#039;$srcdir&#039;&#039; and &#039;&#039;$pkgdir&#039;&#039;) should always be quoted using double quotes (i.e., &#039;&#039;&amp;quot;$srcdir&amp;quot;&#039;&#039;).  This is done to prevent things from breaking, should the user have the APKBUILD in a directory path that contains spaces.}}&lt;br /&gt;
{{Note|All arbitrary variable and function names should be prefixed with an underscore character ( _ ) to avoid name clashes with the internals of abuild (for example, &#039;&#039;_luaversions&#039;&#039;).}}&lt;br /&gt;
&lt;br /&gt;
== abuild-defined variables ==&lt;br /&gt;
The following variables are defined by abuild:&lt;br /&gt;
&lt;br /&gt;
==== startdir ====&lt;br /&gt;
: The directory where the APKBUILD script is.&lt;br /&gt;
==== srcdir ====&lt;br /&gt;
: The directory where sources, from the &#039;&#039;source&#039;&#039; variable, are downloaded to and unpacked to.&lt;br /&gt;
==== pkgdir ====&lt;br /&gt;
: This directory should receive the files for the main package.  For example, a normal [http://en.wikipedia.org/wiki/GNU_build_system autotools] package would have &amp;lt;code&amp;gt;make DESTDIR=&amp;quot;$pkgdir&amp;quot; install&amp;lt;/code&amp;gt; in the &#039;&#039;package()&#039;&#039; function.&lt;br /&gt;
==== subpkgdir ====&lt;br /&gt;
: This directory should receive the files for a subpackage. This variable should only be used from subpackage functions.&lt;br /&gt;
==== builddir ====&lt;br /&gt;
: This variable should point to the directory inside the &#039;&#039;srcdir&#039;&#039; where the main package source is unpacked.  This is typically &#039;&#039;$srcdir/$pkgname-$pkgver&#039;&#039;.  It’s used by the default &#039;&#039;prepare()&#039;&#039; function as a working directory when applying patches.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User-defined variables ==&lt;br /&gt;
The following variables should be defined by the user:&lt;br /&gt;
==== arch ====&lt;br /&gt;
: Package architecture(s) to build for.  Can be one of: &#039;&#039;&#039;[[x86]], [[x86_64]], [[armhf]], [[aarch64]], [[ppc64le]], [[s390x]], all&#039;&#039;&#039;, or &#039;&#039;&#039;noarch&#039;&#039;&#039;, where &#039;&#039;&#039;all&#039;&#039;&#039; means all architectures, and &#039;&#039;&#039;noarch&#039;&#039;&#039; means it&#039;s architecture-independent (e.g., a pure-python package).&lt;br /&gt;
: {{Tip|To determine if your APKBUILD can use &#039;&#039;&#039;noarch&#039;&#039;&#039;: First specify &#039;&#039;&#039;all&#039;&#039;&#039; and then build the package by executing &amp;lt;code&amp;gt;abuild -r&amp;lt;/code&amp;gt;.  Watch the output towards the end for warnings saying that &#039;&#039;&#039;noarch&#039;&#039;&#039; can be used.  If the main package and all subpackages, if you have any subpackages, give a warning saying that &#039;&#039;&#039;noarch&#039;&#039;&#039; can be used, then you can use &#039;&#039;&#039;noarch&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
==== depends ====&lt;br /&gt;
: Run-time dependency package(s) that are not shared-object dependencies.  Shared objects dependencies are auto-detected and should not be specified here.&lt;br /&gt;
==== depends_dev ====&lt;br /&gt;
: Run-time dependency package(s) for the &#039;&#039;&#039;$pkgname-dev&#039;&#039;&#039; subpackage.&lt;br /&gt;
&lt;br /&gt;
: {{Note|From ncopa on IRC: To find out if you need to add a package to depends_dev have a look at *requires* in usr/lib/pkgconfig/*.pc. With libtool it gets more complicated, but we should delete the .la files. Also check if there are any  /usr/bin/*-configure #!/bin/bash #!/usr/bin/perl or Python. Sometimes scripts or similar are generated at build time (i.e autoconf automake) then you normally don&#039;t need add those to depends_dev. You can also just add all -dev makedepends to depends_dev but it will slow the build process a little bit (more build dependencies).}}&lt;br /&gt;
&lt;br /&gt;
==== depends_doc ====&lt;br /&gt;
: Run-time dependency package(s) for the &#039;&#039;&#039;$pkgname-doc&#039;&#039;&#039; subpackage.&lt;br /&gt;
&lt;br /&gt;
==== depends_openrc ====&lt;br /&gt;
: Run-time dependency package(s) for the &#039;&#039;&#039;$pkgname-openrc&#039;&#039;&#039; subpackage.&lt;br /&gt;
&lt;br /&gt;
==== depends_libs ====&lt;br /&gt;
: Run-time dependency package(s) for the &#039;&#039;&#039;$pkgname-libs&#039;&#039;&#039; subpackage.&lt;br /&gt;
&lt;br /&gt;
==== depends_static ====&lt;br /&gt;
: Run-time dependency package(s) for the &#039;&#039;&#039;$pkgname-static&#039;&#039;&#039; subpackage.&lt;br /&gt;
&lt;br /&gt;
==== checkdepends ====&lt;br /&gt;
: Dependencies that are only required during the check phase, they are only installed if the check option is enabled&lt;br /&gt;
&lt;br /&gt;
==== giturl ====&lt;br /&gt;
:Git repository from which &amp;lt;code&amp;gt;abuild checkout&amp;lt;/code&amp;gt; checks out. You can checkout a specific branch in git by adding &amp;lt;code&amp;gt;-b $branch&amp;lt;/code&amp;gt;.&lt;br /&gt;
==== install ====&lt;br /&gt;
: There are 6 different types of install scripts.  Install scripts are named &#039;&#039;&#039;$pkgname.action&#039;&#039;&#039;, where &#039;&#039;&#039;action&#039;&#039;&#039; can be:  &#039;&#039;&#039;pre-install, post-install, pre-upgrade, post-upgrade, pre-deinstall&#039;&#039;&#039;, or &#039;&#039;&#039;post-deinstall&#039;&#039;&#039;.  For example, if &#039;&#039;pkgname&#039;&#039; is set to &#039;&#039;&#039;mypackage&#039;&#039;&#039; and &#039;&#039;install&#039;&#039; is set to &#039;&#039;&#039;$pkgname.post-install&#039;&#039;&#039;, then a script named &#039;&#039;&#039;mypackage.post-install&#039;&#039;&#039; must exist along-side the APKBUILD.&lt;br /&gt;
&amp;lt;blockquote&amp;gt;{{Note|Always use &amp;lt;code&amp;gt;/bin/sh&amp;lt;/code&amp;gt; for the command-line interpreter on the [http://en.wikipedia.org/wiki/Shebang_%28Unix%29 shebang line] of your install scripts.}}&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following are the different types of install scripts in detail:&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.pre-install =====&lt;br /&gt;
: This script is executed &#039;&#039;before installing&#039;&#039; the package.  Typical use is when the package needs a group and a user to be created. For example:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
addgroup -S clamav 2&amp;gt;/dev/null&lt;br /&gt;
adduser -S -D -H -s /bin/false -G clamav -g clamav clamav 2&amp;gt;/dev/null&lt;br /&gt;
&lt;br /&gt;
exit 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Note|If the script exits with a failure (e.g., if the user already exists), the package will not be installed and &amp;lt;code&amp;gt;apk&amp;lt;/code&amp;gt; will exit with failure, hence the &amp;lt;code&amp;gt;exit 0&amp;lt;/code&amp;gt; at the end.}}&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.post-install =====&lt;br /&gt;
: This script is executed &#039;&#039;after installing&#039;&#039; the package.&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.pre-upgrade =====&lt;br /&gt;
: This script is executed &#039;&#039;before upgrading/downgrading/reinstalling&#039;&#039; the package. Note that exiting with failure will not cause apk to exit with failure, but will mark the package as broken.&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.post-upgrade =====&lt;br /&gt;
: This script is executed &#039;&#039;after upgrading/downgrading/reinstalling&#039;&#039; the package.&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.pre-deinstall =====&lt;br /&gt;
: This script is executed &#039;&#039;before uninstalling&#039;&#039; the package.&lt;br /&gt;
: {{Note|If the script exits with failure, &amp;lt;code&amp;gt;apk&amp;lt;/code&amp;gt; will not uninstall the package.}}&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.post-deinstall =====&lt;br /&gt;
: This script is executed &#039;&#039;after uninstalling&#039;&#039; the package.&lt;br /&gt;
&lt;br /&gt;
==== install_if ====&lt;br /&gt;
:install_if can be used when a package needs to be installed when some packages are already installed or are in the dependency tree. It works in reverse to the &#039;&#039;recommends&#039;&#039; feature, that other package managers provide.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Example:&#039;&#039;&#039; When package &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; has &amp;lt;code&amp;gt;install_if=&amp;quot;B C&amp;quot;&amp;lt;/code&amp;gt;, and the user runs &amp;lt;code&amp;gt;apk add B C&amp;lt;/code&amp;gt;, then package &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; will get automatically installed.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Example 2:&#039;&#039;&#039; A real use-case in Alpine is open-vm-tools. Currently it contains the userspace tools and separate packages for the kernel modules (grsec and vserver). When we install the userspace tools, apk should automatically install the correct kernel modules and will need to figure out for which kernel. This is where install_if jumps in. For any of the kernel modules package we would use:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;install_if=&amp;quot;linux-${_flavor}=${_kernelver} open-vm-tools&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This will automatically install the package when the specified packages are installed or are in dependency tree.&lt;br /&gt;
&lt;br /&gt;
==== license ====&lt;br /&gt;
: License(s) for the package, for example &amp;lt;code&amp;gt;GPL-3.0-or-later&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;BSD-2-Clause&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;MIT&amp;lt;/code&amp;gt; [[Creating_an_Alpine_package#license|(details)]].&lt;br /&gt;
&lt;br /&gt;
==== makedepends ====&lt;br /&gt;
: Build-time dependency package(s).&lt;br /&gt;
==== md5sums/sha256sums/sha512sums ====&lt;br /&gt;
: Checksums for the files/URLs listed in &#039;&#039;source&#039;&#039;.  The checksums are normally generated and updated by executing &amp;lt;code&amp;gt;abuild checksum&amp;lt;/code&amp;gt; and should be the last item in the APKBUILD.&lt;br /&gt;
&lt;br /&gt;
New packages should use only sha512sums.&lt;br /&gt;
&lt;br /&gt;
==== options ====&lt;br /&gt;
: Build-time options for the package.&lt;br /&gt;
&lt;br /&gt;
: {| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!archcheck&amp;lt;/code&amp;gt;&lt;br /&gt;
| Do not try to verify that the architecture of the binary files is the same architecture as abuild should build for. One example where it makes sense to set this are packages with firmware files, that get executed on another CPU (such as WiFi firmware).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!check&amp;lt;/code&amp;gt;&lt;br /&gt;
| Do not try to run the &amp;lt;code&amp;gt;check()&amp;lt;/code&amp;gt; function. Please always add a short comment after the &amp;lt;code&amp;gt;!check&amp;lt;/code&amp;gt; about why it&#039;s disabled. [https://github.com/alpinelinux/aports/pull/2322#discussion_r142545300] Creating a very simple check function, that calls &amp;lt;code&amp;gt;program --version&amp;lt;/code&amp;gt; is worse than disabling tests completely because it gives the false impression that the package is thoroughly tested with the testsuite from upstream. [https://github.com/alpinelinux/aports/pull/7326#discussion_r278797457]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;checkroot&amp;lt;/code&amp;gt;&lt;br /&gt;
| Specifies that the package&#039;s test suite will be run in &#039;&#039;fakeroot&#039;&#039;. This is necessary for some test suites which fail when run as non-root.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;net&amp;lt;/code&amp;gt;&lt;br /&gt;
| Allows network access when run in &#039;&#039;rootbld&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!strip&amp;lt;/code&amp;gt;&lt;br /&gt;
| Avoid stripping symbols from binaries.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;suid&amp;lt;/code&amp;gt;&lt;br /&gt;
| Allow [https://en.wikipedia.org/wiki/Setuid setuid] binaries.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!tracedeps&amp;lt;/code&amp;gt;&lt;br /&gt;
| Do not automatically find dependencies (e.g. by using &amp;lt;code&amp;gt;ldd&amp;lt;/code&amp;gt; to find dynamic libraries, which the resulting binary links against).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;chmod-clean&amp;lt;/code&amp;gt;&lt;br /&gt;
| Make all files writable in the src/ directory. Useful for packages that make files read-only in the process of building packages (go modules).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;toolchain&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t warn when g++ is in makedepends&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!dbg&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t create debugging subpackage&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ldpath-recursive&amp;lt;/code&amp;gt;&lt;br /&gt;
| Scan directories recursively when creating .so providers&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!spdx&amp;lt;/code&amp;gt;&lt;br /&gt;
| Do not check if the license= field has a SPDX compliant license&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;textrels&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t error out when text relocations are found&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;charset.alias&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t error out if /usr/lib/charset.alias is found&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;libtool&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t delete libtool .la files&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!fhs&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t enforce checks on path that follow the FHS&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== pkgdesc ====&lt;br /&gt;
: A brief, one-line description of what the package does.&lt;br /&gt;
&lt;br /&gt;
: Here&#039;s an example from the OpenSSH client package:&lt;br /&gt;
: &amp;lt;pre&amp;gt;pkgdesc=&amp;quot;Port of OpenBSD&#039;s free SSH release - client&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== pkggroups ====&lt;br /&gt;
: System group(s) to be created during build-time.  System group(s) should also be created in the &#039;&#039;&#039;[[APKBUILD Reference#.24pkgname.pre-install|$pkgname.pre-install]]&#039;&#039;&#039; script, so that the system group(s) are also created prior to package installation for run-time use.&lt;br /&gt;
==== pkgname ====&lt;br /&gt;
: The name of the package.  All letters should be lowercase.&lt;br /&gt;
: {{Note|When creating an APKBUILD of a module or library for another package, we use some common package prefixes, such as: &#039;&#039;lua-&#039;&#039;, &#039;&#039;perl-&#039;&#039;, &#039;&#039;php-&#039;&#039;, and &#039;&#039;py-&#039;&#039;.  Search aports for other common prefixes.}}&lt;br /&gt;
&lt;br /&gt;
==== pkgrel ====&lt;br /&gt;
: Alpine package release number.  Starts at 0 (zero).  Always increment &#039;&#039;pkgrel&#039;&#039; when making updates to an aport; reset &#039;&#039;pkgrel&#039;&#039; to 0 (zero) when incrementing &#039;&#039;pkgver&#039;&#039;.&lt;br /&gt;
==== pkgusers ====&lt;br /&gt;
: System user(s) to be created during build-time.  System user(s) should also be created in the &#039;&#039;&#039;[[APKBUILD Reference#.24pkgname.pre-install|$pkgname.pre-install]]&#039;&#039;&#039; script, so that the system user(s) are also created prior to package installation for run-time use.&lt;br /&gt;
==== pkgver ====&lt;br /&gt;
: The version of the software being packaged. Format for valid versions: &amp;lt;code&amp;gt;{digit}{.digit}...{letter}{_suf{#}}...{-r#}&amp;lt;/code&amp;gt; [https://git.alpinelinux.org/cgit/apk-tools/tree/src/version.c#n17]&lt;br /&gt;
: A Suffix &amp;lt;code&amp;gt;suf&amp;lt;/code&amp;gt; in the above format can be one of the following to indicate that the release is &#039;&#039;less recent&#039;&#039; than the version without the suffix: &amp;lt;code&amp;gt;alpha&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;beta&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;pre&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;rc&amp;lt;/code&amp;gt; [https://git.alpinelinux.org/cgit/apk-tools/tree/src/version.c#n75]&lt;br /&gt;
: These are for indicating &#039;&#039;more recent&#039;&#039; releases: &amp;lt;code&amp;gt;cvs&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;hg&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;p&amp;lt;/code&amp;gt; [https://git.alpinelinux.org/cgit/apk-tools/tree/src/version.c#n76]&lt;br /&gt;
: All other suffices are invalid. To package a specific git commit, the date of the commit gets appended to the latest release, e.g. &amp;lt;code&amp;gt;1.0.0_git20180204&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== provides ====&lt;br /&gt;
: List of package names (and optionally version info) this package provides.&lt;br /&gt;
&lt;br /&gt;
: If package with a version is provided (provides=&#039;foo=1.2&#039;) apk will consider it as an alternate name and it will automatically consider the package for installation by the alternate name, and conflict with other packages having the same name, or provides.&lt;br /&gt;
&lt;br /&gt;
: If version is not provided (provides=&#039;foo&#039;), apk will consider it as virtual package name. Several package with same non-versioned provides can be installed simultaneously. However, none of them will be installed by default when requested by the virtual name - instead, error message is given and user is asked to choose which package providing the virtual name should be installed.&lt;br /&gt;
==== provider_priority ====&lt;br /&gt;
: A numeric value which is used by apk-tools to break ties when choosing a virtual package to satisfy a dependency. Higher values have higher priority. The primary use case is to specify the primary package that satisfies a virtual (provider).&lt;br /&gt;
==== replaces ====&lt;br /&gt;
: Package(s) that this package replaces.  This package will &amp;quot;take over&amp;quot; files owned by packages listed in the &#039;&#039;replaces&#039;&#039; variable.  This is useful when files move from one package to another, or when a package gets renamed.&lt;br /&gt;
==== replaces_priority ====&lt;br /&gt;
: The priority of the replaces. If multiple packages replace each other, then will the package with highest &#039;&#039;replaces_priority&#039;&#039; win.&lt;br /&gt;
==== source ====&lt;br /&gt;
: The source variable is not only used to list the remote source files to fetch, it is also used to list the local files that abuild will need in order to build the apk. Examples of such local files include: init.d files, conf.d files, install files (see [[APKBUILD Reference#install|install variable]]), patches, and all other necessary files.&lt;br /&gt;
&lt;br /&gt;
: Here are few things to note:&lt;br /&gt;
&lt;br /&gt;
:* When you are finished adding local and/or remote files to &#039;&#039;source&#039;&#039;, you can execute the following command to add their checksums to the APKBUILD file:&lt;br /&gt;
:: {{Cmd|abuild checksum}}&lt;br /&gt;
:: {{Note|When later updating the content of &#039;&#039;source&#039;&#039;, or updating a file that is listed in &#039;&#039;source&#039;&#039;, you must also update their checksums again with the same command.}}&lt;br /&gt;
&lt;br /&gt;
:* When the remote file is hosted at SourceForge, it&#039;s best to specify the special mirrors link used by SourceForge:&lt;br /&gt;
:: &amp;lt;pre&amp;gt;http://downloads.sourceforge.net/software/software-$pkgver.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
:: (or similar depending on the package).&lt;br /&gt;
&lt;br /&gt;
:* You can set target filename (eg &#039;save as...&#039;) by prefixing the URI with &#039;&#039;filename::&#039;&#039;. This is useful when the remote filename is not specified in the URI (ie, does not end in &#039;/software-1.0.tar.gz&#039;), such as:&lt;br /&gt;
:: &amp;lt;pre&amp;gt;http://oss.example.org/?get=software&amp;amp;ver=1.0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:: or when the filename is braindead, like githubs&#039; download tags:&lt;br /&gt;
:: &amp;lt;pre&amp;gt;https://github.com/software/software/archive/v$pkgver.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
:: The above two examples needs a target filename prefix:&lt;br /&gt;
:: &amp;lt;pre&amp;gt;$pkgname-$pkgver.tar.gz::http://oss.example.org/?get=software&amp;amp;ver=$pkgver&amp;lt;/pre&amp;gt;&lt;br /&gt;
:: and:&lt;br /&gt;
:: &amp;lt;pre&amp;gt;$pkgname-$pkgver.tar.gz::https://github.com/software/software/archive/v$pkgver.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:* abuild currently supports the following protocols for remote file retrieval:&lt;br /&gt;
:** http&lt;br /&gt;
:** https&lt;br /&gt;
:** ftp&lt;br /&gt;
&lt;br /&gt;
:* abuild currently supports the following archive types/archive file extensions:&lt;br /&gt;
:** .tar (only in Alpine &amp;gt;= 2.5)&lt;br /&gt;
:** .tar.gz / .tgz&lt;br /&gt;
:** .tar.bz2&lt;br /&gt;
:** .tar.lz (only in Alpine &amp;gt;=3.7)&lt;br /&gt;
:** .tar.lzma&lt;br /&gt;
:** .tar.xz&lt;br /&gt;
:** .zip&lt;br /&gt;
&lt;br /&gt;
:* &amp;lt;code&amp;gt;source&amp;lt;/code&amp;gt; should only include variables that change often like &amp;lt;code&amp;gt;pkgver&amp;lt;/code&amp;gt; or a commit ID. CI will warn you if you include &amp;lt;code&amp;gt;pkgname&amp;lt;/code&amp;gt; in source. Other variables like for example &amp;lt;code&amp;gt;_pkgname&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;_pyname&amp;lt;/code&amp;gt; do not belong in &amp;lt;code&amp;gt;source&amp;lt;/code&amp;gt; either.&lt;br /&gt;
&lt;br /&gt;
==== subpackages ====&lt;br /&gt;
: Subpackages built from this APKBUILD.  abuild will parse this variable and try to find a subpackage split function.  The split function must &#039;&#039;move&#039;&#039; files that do not belong in the main package, from &#039;&#039;$pkgdir&#039;&#039; to &#039;&#039;$subpkgdir&#039;&#039;.  Files and directories can also be &#039;&#039;copied&#039;&#039; from &#039;&#039;$startdir&#039;&#039; and &#039;&#039;$srcdir&#039;&#039; to &#039;&#039;$subpkgdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: The split function can be specified in 1 of 3 different methods:&lt;br /&gt;
:# subpkgname:&#039;&#039;&#039;splitfunc&#039;&#039;&#039;&lt;br /&gt;
:# $pkgname-&#039;&#039;&#039;splitfunc&#039;&#039;&#039;&lt;br /&gt;
:# &#039;&#039;&#039;splitfunc&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: {{Note|Split function names &#039;&#039;&#039;cannot&#039;&#039;&#039; use hyphens; use the first method above if the subpackage name contains a hyphen (-) character, like this: &#039;&#039;subpkg-name:subpkg_name&#039;&#039;, where &amp;lt;code&amp;gt;subpkg-name&amp;lt;/code&amp;gt; is the name of the &#039;&#039;&#039;subpackage&#039;&#039;&#039; and &amp;lt;code&amp;gt;subpkg_name&amp;lt;/code&amp;gt; is the name of the &#039;&#039;&#039;subpackage&#039;s split function&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
: {{Tip|For more information, see the [[APKBUILD_examples:Subpackages|Subpackages example]].}}&lt;br /&gt;
&lt;br /&gt;
==== triggers ====&lt;br /&gt;
: Apk-tools can &amp;quot;monitor&amp;quot; directories and execute a trigger if any package installed/uninstalled any file in the monitored dir. The triggers are always executed after the apk action (install, uninstall, upgrade).&lt;br /&gt;
&lt;br /&gt;
: The triggers are specified in the format: &#039;&#039;scriptname&#039;&#039;=&#039;&#039;pathlist&#039;&#039; where &#039;&#039;scriptname&#039;&#039; is the (sub)package name + .trigger suffix and pathlist is : separated list of the dirs to monitor.&lt;br /&gt;
&lt;br /&gt;
: The &#039;&#039;&#039;triggers&#039;&#039;&#039; variable must include the triggers for subpackages too if they have any.&lt;br /&gt;
&lt;br /&gt;
: It is possible to use wildcards (*) in the dir list.&lt;br /&gt;
&lt;br /&gt;
==== url ====&lt;br /&gt;
: The homepage for the package.  This is to help users find upstream documentation and other information regarding the package.&lt;br /&gt;
&lt;br /&gt;
==== langdir ====&lt;br /&gt;
: Path to where the language files are located for the &#039;&#039;&#039;-lang&#039;&#039;&#039; subpackage, defaults to &#039;&#039;&#039;/usr/share/locale&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== pcprefix ====&lt;br /&gt;
: Prefix all provides derived from parsing pkg-config Requires: with the value in this variable, example: &#039;&#039;&#039;&#039;pcprefix=&amp;quot;foo:&amp;quot;&#039;&#039;&#039; will produce &#039;&#039;&#039;pc:foo:bar&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== sonameprefix ====&lt;br /&gt;
: Prefix all provides derived from parsing shared objects with the value in this variable, example: &#039;&#039;&#039;sonameprefix=&amp;quot;foo&amp;quot;&#039;&#039;&#039; will produce &#039;&#039;&#039;so:foo:bar.so.X&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Functions =&lt;br /&gt;
{{Note|All functions that are not &#039;&#039;prepare()&#039;&#039;, &#039;&#039;build()&#039;&#039;, &#039;&#039;check()&#039;&#039; and &#039;&#039;package()&#039;&#039; should consider the current working directory as undefined, and should therefore use the [[APKBUILD Reference#abuild-defined_variables|abuild-defined directory variables]] to their advantage.}}&lt;br /&gt;
&lt;br /&gt;
 sanitycheck() -&amp;gt; clean()-&amp;gt; fetch() -&amp;gt; verify() -&amp;gt; unpack() -&amp;gt; prepare() -&amp;gt; mkusers() -&amp;gt; build() -&amp;gt; check() -&amp;gt; package() -&amp;gt; subpackages() -&amp;gt; language packs -&amp;gt; apk -&amp;gt; cleanup()&lt;br /&gt;
&lt;br /&gt;
== abuild-defined functions ==&lt;br /&gt;
The following functions are provided by abuild and can be overridden, but it is strongly discouraged on code review for some functions:&lt;br /&gt;
&lt;br /&gt;
==== fetch() ====&lt;br /&gt;
: Downloads remote sources listed in &#039;&#039;source&#039;&#039; to &#039;&#039;SRCDEST&#039;&#039; (&#039;&#039;SRCDEST&#039;&#039; is configured in &#039;&#039;/etc/abuild.conf&#039;&#039;) and creates symlinks in &#039;&#039;$srcdir&#039;&#039;.&lt;br /&gt;
==== unpack() ====&lt;br /&gt;
: unpack() will call default_unpack().&lt;br /&gt;
&lt;br /&gt;
: [https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L403 default_unpack()] unpacks .tar, .tgz, .tar.gz, .tar.lz (only available in Alpine &amp;gt;=3.7), .tar.bz2, .tar.lzma, .tar.xz, and .zip archives from a symlink in &#039;&#039;$srcdir&#039;&#039; associated with &#039;&#039;$SRCDEST&#039;&#039; (or distfiles folder) resulting in an unpacked folder in &#039;&#039;$srcdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== dev() ====&lt;br /&gt;
: Subpackage function for the &#039;&#039;&#039;$pkgname-dev&#039;&#039;&#039; package is used to collect developer files and folders for use in other packages in the compilation process nothing more.  Without specifying a custom &#039;&#039;dev()&#039;&#039; function, abuild will call its internal &#039;&#039;dev()&#039;&#039; function, which in turn calls default_dev().&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;[https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L1605 default_dev()]&#039;&#039; will move any &#039;&#039;include&#039;&#039; folder and folders containing &#039;&#039;*.[acho]&#039;&#039; (static archive, c source, c header file, object file), &#039;&#039;*.prl&#039;&#039; file extension patterns in &#039;&#039;&amp;quot;$pkgdir&amp;quot;/{lib,usr}&#039;&#039; to &#039;&#039;&amp;quot;$subpkgdir&amp;quot;/{lib,usr}&#039;&#039; recursively; and &#039;&#039;*.so&#039;&#039; files from &#039;&#039;&amp;quot;$pkgdir&amp;quot;/{lib,usr/lib}&#039;&#039; to &#039;&#039;&amp;quot;$subpkgdir&amp;quot;/{lib,usr/lib}&#039;&#039;.  It will also scan and move &#039;&#039;usr/{include,lib/{pkgconfig,cmake,qt*/mkspecs},share/{aclocal,gettext,vala/vapi,gir-[0-9]*,qt*/mkspecs},bin/*-config}}&#039;&#039; developer only folders in &#039;&#039;$pkgdir&#039;&#039; and transfer them to &#039;&#039;$subpkgdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: In general, default_dev() will support packages that share pkg-config, C programming language API, shared and static libraries, Autotools, gettext, Vala programming language bindings, Python GObject introspection, a provided custom pkg-config like command (*-config), Qt, and CMake.  If you have packages that have C++, other languages, other build system, etc; you need to manually move those developer files only if they are to be used in other packages.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Important&#039;&#039;&#039;: For default_dev() to be called as in no dev(), you need to explicitly add subpackages=&amp;quot;$pkgname-dev&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== doc() ====&lt;br /&gt;
: Subpackage function for the &#039;&#039;&#039;$pkgname-doc&#039;&#039;&#039; package whose job is only to collect documentation folders from $pkgdir nothing more.  Without specifying a custom &#039;&#039;doc()&#039;&#039; function, abuild will call its internal &#039;&#039;doc()&#039;&#039; function, which in turn calls default_doc().&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;[https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L1519 default_doc()]&#039;&#039; will move &#039;&#039;&amp;quot;$pkgdir&amp;quot;/usr/share/{doc,man,info,html,sgml,licenses,gtk-doc,ri,help}&#039;&#039; to &#039;&#039;$subpkgdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: Overriding this function is strongly discouraged.  Packaging docs should be done in the package() function while letting abuild automatically collect the doc folders.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Important&#039;&#039;&#039;: For default_doc() to be called as in no doc(), you need to explicitly add subpackages=&amp;quot;$pkgname-doc&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== openrc() ====&lt;br /&gt;
: Subpackage function for the &#039;&#039;&#039;$pkgname-opernc&#039;&#039;&#039; package whose job is to collect OpenRC service files that are in /etc/init.d and /etc/conf.d.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;[https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L1661 default_openrc()]&#039;&#039; will move &#039;&#039;&amp;quot;$pkgdir&amp;quot;/etc/{conf,init}.d&#039;&#039; to &#039;&#039;$subpkgdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: Overriding this function is strongly discouraged. Packaging OpenRC service definitions should be in the package() function while letting abuild automatically collect the openrc folders.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Important&#039;&#039;&#039;: for default_openrc() to be called as in no openrc(), you need to explicitly add subpackages=&amp;quot;$pkgname-openrc&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== static() ====&lt;br /&gt;
: Subpackage function for the &#039;&#039;&#039;$pkgname-static&#039;&#039;&#039; package whose job is to collect static libraries that are stored in /lib and /usr/lib.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;[https://github.com/alpinelinux/abuild/blob/v3.4.0_rc4/abuild.in#L1748 default_static()]&#039;&#039; will move all static libraries (files ending with .a) from &#039;&#039;&amp;quot;$pkgdir&amp;quot;/lib&#039;&#039; and &#039;&#039;&amp;quot;$pkgdir&amp;quot;/usr/lib&#039;&#039; to their equivalents in &#039;&#039;$subpkgdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: Overriding this function is strongly discouraged. Packaging static libraries should be done in the package() function while letting abuild automatically collect the static libraries.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Important&#039;&#039;&#039;: for default_static() to be called as in no static(), you need to explicitly add subpackages=&amp;quot;$pkgname-static&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== snapshot() ====&lt;br /&gt;
: &#039;&#039;&#039;Optional&#039;&#039;&#039;.  For live APKBUILDs or those with a _cvs, _svn, _git, _hg in their version number, you should create a snapshot function only if there is no download link to an archive file (.zip, .tar.gz, ...) to the commit/hash/tag.  The purpose of the snapshot function is to create an archive of the source code so that the package source code is deterministic, and it doesn&#039;t waste time to fetch the source code but bypasses the download step after snapshotting.  Those that download the source code from a git repository will follow head or the latest change to the source code.  It is better to archive the source code as a zip / tar.gz / tar.bz2 up to the commit or the tag which you are trying to build a package.  If it is not deterministic or not every part of the code frozen in time for every dependency and the main project, then the patches will fail or the package may fail to compile when you revisit the package months or years to backport a patch.&lt;br /&gt;
&lt;br /&gt;
: The default [https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L2310 snapshot()] function has variables associated with it:&lt;br /&gt;
:* $disturl - the base-url of the place to autoupload the snapshot&lt;br /&gt;
:* $svnurl - Subversion repository &lt;br /&gt;
:* $giturl - Git repository&lt;br /&gt;
&lt;br /&gt;
: The default snapshot() can only support one repository.  It is better to override it if there are multiple repositories involved in your package.  CVS, Mercurial (hg), and alternative version control systems must override the default snapshot().&lt;br /&gt;
&lt;br /&gt;
: See [[APKBUILD_examples:Git_checkout]] to how to use it with git.  It takes 2-3 general steps.  Clone the repository; check it out at a specific revision/commit or tag; then you use an archiver to dump it in the &#039;&#039;$SRCDEST&#039;&#039; variable which points to the distfiles folder and the base path to the full path to the archive that you want to create.  You do this for every internal dependency that the package pulls.&lt;br /&gt;
&lt;br /&gt;
: After you have created your snapshot function, you use &amp;lt;code&amp;gt;abuild snapshot&amp;lt;/code&amp;gt; to run it.  &lt;br /&gt;
&lt;br /&gt;
: The archives produced by the snapshot will be saved in &#039;&#039;/var/cache/distfiles&#039;&#039; or whatever you set for &#039;&#039;$SRCDEST&#039;&#039;.  You may need to create symlinks to the archive if the archive is not saved to the Alpine server.&lt;br /&gt;
&lt;br /&gt;
: After you snapshot it, you need to produce the checksums with &amp;lt;code&amp;gt;abuild checksum&amp;lt;/code&amp;gt; to use it in the APKBUILD creation process.&lt;br /&gt;
&lt;br /&gt;
: This feature is available since Alpine &amp;gt;=2.6.&lt;br /&gt;
&lt;br /&gt;
==== default_prepare() ====&lt;br /&gt;
&lt;br /&gt;
:  Before build preparation it handles set of patches inside &amp;lt;code&amp;gt;$srcdir&amp;lt;/code&amp;gt; and prints failed ones.&lt;br /&gt;
&lt;br /&gt;
== User-defined functions ==&lt;br /&gt;
The following functions should be defined by the user: &lt;br /&gt;
&lt;br /&gt;
==== prepare() ====&lt;br /&gt;
: {{note|Please adjust old APKBUILDs, which still have a &#039;&#039;prepare()&#039;&#039; function that does the same as the &#039;&#039;default_prepare()&#039;&#039; when you edit them anyway.}}&lt;br /&gt;
: &#039;&#039;&#039;&#039;&#039;Optional&#039;&#039;.&#039;&#039;&#039;  Used for build preparation: patches, etc, should be applied here. When you don&#039;t specify a custom &#039;&#039;prepare()&#039;&#039;, the built-in &#039;&#039;default_prepare()&#039;&#039; from abuild will be used. It applies patches already (always prepare them in the &amp;lt;code&amp;gt;-p1&amp;lt;/code&amp;gt; format), so &#039;&#039;&#039;usually it makes sense to not create a custom &#039;&#039;prepare()&#039;&#039; function at all!&#039;&#039;&#039; If you do create one, call &#039;&#039;default_prepare()&#039;&#039; inside it:&lt;br /&gt;
&lt;br /&gt;
: Before default_prepare gets called, you can define &#039;&#039;patch_args&#039;&#039; to supply the argument to the patch command in global scope then throw away prepare() so it is unnecessary to use the old template code floating around to patch.  patch_args and autopatching is only available in Alpine &amp;gt;=3.4.  See [[Creating_an_Alpine_package#Patches]] to fix the patch that uses a different patch level (-pX).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
prepare() {&lt;br /&gt;
    default_prepare&lt;br /&gt;
    # your custom code here&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== build() ====&lt;br /&gt;
: &#039;&#039;&#039;Required.&#039;&#039;&#039;  This is the compilation stage.  This function will be called as the current user (unless the &#039;&#039;package()&#039;&#039; function is missing - for compatibility reasons).  If no compilation is needed, this function can contain a single line: &amp;lt;code&amp;gt;return 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: To enable or disable CFLAGS, CXXFLAGS, CMake with option, or configure option per arch, use the CARCH variable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local cmakeoptions=&lt;br /&gt;
case &amp;quot;$CARCH&amp;quot; in&lt;br /&gt;
        aarch64*|arm*|ppc64le|x86|s390x) cmakeoptions=&amp;quot;$cmakeoptions -DWITH_OPENMP=OFF&amp;quot; ;;&lt;br /&gt;
        x86_64)                          cmakeoptions=&amp;quot;$cmakeoptions -DWITH_OPENMP=ON&amp;quot; ;;&lt;br /&gt;
        *)                               msg &amp;quot;Unable to determine architecture from (CARCH=$CARCH)&amp;quot; ; return 1 ;;&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: The block can be used in other parts of the APKBUILD even in global.&lt;br /&gt;
&lt;br /&gt;
==== check() ====&lt;br /&gt;
: &#039;&#039;&#039;Required if functionality exists.&#039;&#039;&#039; This function is called right after the build stage.  It should check that the packaged thing is actually working, typically by running (integration) tests, if provided by upstream.  If there’s no (easy) way how to test the package, you can declare that it does not want to use &#039;&#039;check()&#039;&#039; by adding &amp;quot;!check&amp;quot; into the &#039;&#039;options&#039;&#039; variable (&amp;lt;code&amp;gt;options=&amp;quot;!check&amp;quot;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
: default_check() does nothing.  You need to manually explicitly call the unit tests or test suite yourself.  When you run the test, the program should return with an exit code of 0, indicating the tests were a success.  Unit tests or test suites will do feature tests, per function correctness check, fuzz testing, benchmarks.&lt;br /&gt;
&lt;br /&gt;
: A package may also require additional testing frameworks packages that are external dependencies.  You should add those to the &#039;&#039;checkdepends=&#039;&#039; in Alpine &amp;gt;=3.6 or &#039;&#039;makedepends=&#039;&#039; for older for backporters.  If the testing framework is not available, you need to create a package for it.  If it requires a specific version of a testing framework, consider making it an internal dependency or a new package with a package name containing the major and minor version number like the python packages.&lt;br /&gt;
&lt;br /&gt;
: Generally speaking, you should define the check functions for libraries, large programs like web browsers, or compilers and interpreters, cryptographic/security/anonymity stuff, mission critical stuff, PCI compliance/money/accounting software, server software with a lot of stakeholders or consumers.  Soon for the new policy change will have virtually &#039;&#039;&#039;all packages with testing capabilities be required to have a working and defined check() function&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: There are times when the unit tests do not work, just because the test itself is broken, new unimplemented feature, external factors not taken into consideration, unbundling path differences, breakage caused by ccache, missing test dependency or version mismatch dependency as in python2 vs python3, test scripts only work for particular language implementation like only supporting python2 but not python3 having used the 2to3 conversion script.  If a unit test is known not to work, you may need to patch it to omit that test or fix it; but, certain tests should not be disabled if it is important.  You may need to alter the references to uncompiled internal dependencies to work with the external dependencies instead.  For ccache, you can either disable it or remove it from the PATH environmental variable before running tests.&lt;br /&gt;
&lt;br /&gt;
{{Note|Tests for graphical applications and toolkits might work on a X11 user setup but will fail on the server unless run with xvfb-run.}}&lt;br /&gt;
&lt;br /&gt;
: If you don&#039;t add the &#039;&#039;check()&#039;&#039; and the &#039;&#039;options=&#039;&#039;, this is what you will see:&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; WARNING: py-webtest*: APKBUILD does not run any tests!&lt;br /&gt;
    Alpine policy will soon require that packages have any relevant testsuites run during the build process.&lt;br /&gt;
    To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite.&lt;br /&gt;
&lt;br /&gt;
: If you do not do a check or disable it, you must state there is no testsuite in comment form (#) next to options=&amp;quot;!check&amp;quot; for the code reviewers.&lt;br /&gt;
&lt;br /&gt;
: To run test suite with autotools do:&lt;br /&gt;
&lt;br /&gt;
  make check&lt;br /&gt;
&lt;br /&gt;
: To run the test suite with python setuptools:&lt;br /&gt;
&lt;br /&gt;
  python2 setup.py test&lt;br /&gt;
  python3 setup.py test&lt;br /&gt;
&lt;br /&gt;
: For python it should be &#039;&#039;&#039;test&#039;&#039;&#039; not check.  Check for python setuptools will check the packaging metadata fields[https://docs.python.org/3/distutils/examples.html#checking-a-package] only but not run the unit tests.  There should be verbose output also.  The dependencies for the tests are found in test_require in the setup.py.&lt;br /&gt;
&lt;br /&gt;
: If it says &amp;lt;code&amp;gt;Ran 0 tests in 0.000s&amp;lt;/code&amp;gt; that is not acceptable.  check() will say it was good but it is not actually correct.  It needs to run the test suite with an alternative method like &amp;lt;code&amp;gt;tox -e py27,py36&amp;lt;/code&amp;gt; if you see a tox.ini file.&lt;br /&gt;
&lt;br /&gt;
: You want to do it for each implementation to ensure that the API calls are correct per implementation but ncopa said it was just fine with python3.&lt;br /&gt;
&lt;br /&gt;
: If there is a circular dependency for the checkdepends=, you need to disable the check and put the reason next to &amp;lt;code&amp;gt;options=&amp;quot;!check&amp;quot;&amp;lt;/code&amp;gt; that there is a circular dependency.  You should disable it for the package that package that is least important or least security risk.  The other solution is to make the conflicting dependency an internal dependency but making sure that it doesn&#039;t pull it at check time.  This way they can both preform tests properly.&lt;br /&gt;
&lt;br /&gt;
==== package() ====&lt;br /&gt;
: &#039;&#039;&#039;Required.&#039;&#039;&#039;  This is the packaging stage.  Here, the built application and support files should be installed into &#039;&#039;&#039;$pkgdir&#039;&#039;&#039;.  If this is a metapackage, this function can contain a single line: &amp;lt;code&amp;gt;mkdir -p &amp;quot;$pkgdir&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|Building in fakeroot will reduce performance for parallel builds dramatically.  It is for this reason that we split the build and package process into two separate functions.}}&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
The [[APKBUILD examples]] page will assist you in understanding how to create an APKBUILD.&lt;br /&gt;
&lt;br /&gt;
= Version =&lt;br /&gt;
&lt;br /&gt;
This document assumes abuild for Alpine Edge.  For older releases of abuild, some of these features may not be available if you are using an older release.  A link to the implementation is linked for researchers and backporters.&lt;br /&gt;
&lt;br /&gt;
For more information see [[APKBUILD_versions]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installation&amp;diff=18039</id>
		<title>Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installation&amp;diff=18039"/>
		<updated>2020-08-27T23:12:45Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Alpine Linux can be installed as the main operating system on a physical machine (&amp;quot;bare metal&amp;quot;), including on embedded devices. For example, [https://en.wikipedia.org/wiki/PostmarketOS PostmarketOS] is a smartphone operating system based on Alpine. While this use case is less common than Alpine Linux&#039;s main use as a base system for container images in systems like Docker, this document describes how Alpine can be installed as the primary operating system for a computer.&lt;br /&gt;
&lt;br /&gt;
Alpine in fact works as a [https://en.wikipedia.org/wiki/Live_USB live system]&amp;amp;mdash;any install disk of Alpine can also be run without installing to local storage of the machine it&#039;s booted on, running directly from the install media!&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
&lt;br /&gt;
= Quick Requirements =&lt;br /&gt;
&lt;br /&gt;
Nearly any hardware should run Alpine Linux but the following basic requirements are recommended:&lt;br /&gt;
&lt;br /&gt;
* At least 128MB of RAM for server without GUI, or at least 1.6GB for graphical desktop&lt;br /&gt;
* At least 1GB storage device for server without GUI, or at least 10GB for graphical desktop with web browsing&lt;br /&gt;
&lt;br /&gt;
For more information, see [[Requirements]].&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-2-boot.png|350px|thumb|right|Installation : setup-alpine : booting process until login prompt]]&lt;br /&gt;
&lt;br /&gt;
= Installation Overview =&lt;br /&gt;
&lt;br /&gt;
The following steps are brief and intended for the common case; for complete info and other architectures, please consult the [[Alpine newbie install manual]].&lt;br /&gt;
&lt;br /&gt;
== 1. Download the media source ==&lt;br /&gt;
&lt;br /&gt;
The most common is to grab an ISO from [http://alpinelinux.org/downloads]. Take note of architectures in green buttons.&lt;br /&gt;
&lt;br /&gt;
== 2. Dump, burn or flash the image ==&lt;br /&gt;
&lt;br /&gt;
Dump the ISO image onto a media source like USB/SD flashing; or CD/DVD/BR disk with burning software.&lt;br /&gt;
In Linux, you can use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;dd if=&amp;lt;your iso filename&amp;gt; of=&amp;lt;your target media&amp;gt; bs=1M; sync&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, to flash a USB drive or SD card as target media install.&lt;br /&gt;
&lt;br /&gt;
== 3. Boot and install process ==&lt;br /&gt;
&lt;br /&gt;
Log in as the user &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; by typing &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; and hitting &#039;&#039;enter&#039;&#039;. Then execute &amp;lt;code&amp;gt;[[Alpine_setup_scripts#setup-alpine|setup-alpine]]&amp;lt;/code&amp;gt;, answering the questions and hitting &#039;&#039;enter&#039;&#039; after each:&lt;br /&gt;
&lt;br /&gt;
[[File:Installation-alpine-alpine-setup-3-setup-scripts.png|350px|thumb|right|Installation : setup-alpine : complete process single install]]&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Select keyboard layout&#039;&#039;&#039;: Choose your keyboard layout, e.g. &#039;&#039;us&#039;&#039; or &#039;&#039;es&#039;&#039;.&lt;br /&gt;
** &#039;&#039;&#039;Select variant&#039;&#039;&#039;: Choose your keyboard layout variant,  e.g. &#039;&#039;us-nodeadkeys&#039;&#039; or &#039;&#039;es-winkeys&#039;&#039;.&lt;br /&gt;
* &#039;&#039;&#039;Enter system hostname&#039;&#039;&#039;: Choose the name of your computer; &#039;&#039;&#039;localhost&#039;&#039;&#039; is good enough and recommended for starting.&lt;br /&gt;
* &#039;&#039;&#039;Initialize network cards&#039;&#039;&#039;: Here most people can just go with the default (just press enter).&lt;br /&gt;
** &#039;&#039;&#039;Any manual configuration&#039;&#039;&#039;: Perform other configuration if needed, otherwise just type &amp;quot;no&amp;quot; and hit enter.&lt;br /&gt;
** &#039;&#039;&#039;Select domain name&#039;&#039;&#039;: This is not commonly asked, you can just hit enter.&lt;br /&gt;
* &#039;&#039;&#039;DNS nameservers?&#039;&#039;&#039;: If asked, &amp;lt;code&amp;gt;8.8.8.8&amp;lt;/code&amp;gt; is a recommended default that will be good for most people.&lt;br /&gt;
* &#039;&#039;&#039;Changing password for root&#039;&#039;&#039;: Next a root password must be defined. Input a passphrase; what you type won&#039;t be shown on the screen.&lt;br /&gt;
** &#039;&#039;&#039;Retype password&#039;&#039;&#039;: Type the same passphrase to confirm the root password; what you type won&#039;t be shown on the screen.&lt;br /&gt;
* &#039;&#039;&#039;Which timezone to choose?&#039;&#039;&#039;: Set it to your local time zone or hit enter for &amp;lt;code&amp;gt;UTC&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &#039;&#039;&#039;Proxy chooser&#039;&#039;&#039;: Type &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt; and hit enter if you&#039;re not using a proxy.&lt;br /&gt;
* &#039;&#039;&#039;Which NTP client to run?&#039;&#039;&#039;: This is for keeping the system clock in sync. The default is good enough for most people.&lt;br /&gt;
* &#039;&#039;&#039;Enter mirror number&#039;&#039;&#039;: &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; is a good choice for most people.&lt;br /&gt;
* &#039;&#039;&#039;Which SSH server?&#039;&#039;&#039;: An SSH server allows you to remotely manage your machine. The default is good enough for most people.&lt;br /&gt;
* &#039;&#039;&#039;Disk Setup&#039;&#039;&#039; Choose how to set up your disks.&lt;br /&gt;
** &#039;&#039;&#039;Which disks would you like to use?&#039;&#039;&#039;: Choose the disk where files will be installed. Usually &amp;lt;code&amp;gt;sda&amp;lt;/code&amp;gt; is the hard disk and &amp;lt;code&amp;gt;sdb&amp;lt;/code&amp;gt; is the USB boot or CD/DVD image.&lt;br /&gt;
** &#039;&#039;&#039;How would you like to use it?&#039;&#039;&#039;: Type &amp;quot;sys&amp;quot; and then press enter. This will cause the OS to be installed to the chosen disk&amp;amp;mdash;similar to how other distributions work.&lt;br /&gt;
&lt;br /&gt;
Take care that &#039;&#039;&#039;all data on your chosen disk will be erased&#039;&#039;&#039;. A final question will prompt you to continue. After confirming by typing &#039;y&#039; and hitting enter, you cannot turn back.&lt;br /&gt;
&lt;br /&gt;
After the script finishes installing the system, it will tell you to reboot. Note that:&lt;br /&gt;
&lt;br /&gt;
* If the configured [[Alpine_setup_scripts#sys_mode|runtime mode was &amp;quot;sys&amp;quot;]], then remove the initial installation media to boot the newly installed system.&lt;br /&gt;
* If the configured [[Alpine_setup_scripts#diskless_mode|runtime mode was &amp;quot;data&amp;quot;]], then keep the installation media inserted to boot the newly installed system.&lt;br /&gt;
&lt;br /&gt;
To reboot, type &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt; and hit enter. If you just wish to turn off the machine after installing, type &amp;lt;code&amp;gt;poweroff&amp;lt;/code&amp;gt; instead.&lt;br /&gt;
&lt;br /&gt;
= Further Documentation =&lt;br /&gt;
&lt;br /&gt;
The installation script only installs the base operating system. Applications such as a web server, mail server, desktop environment, or web browser are not installed and &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; is the only normal user. For instructions on proceeding after installation, please see [[Tutorials_and_Howtos#Post-Install|Tutorials_and_Howtos Post-Install section]].&lt;br /&gt;
&lt;br /&gt;
More specific instructions and instructions for other architectures or machines (e.g. ARM, RPi, etc) are defined in [[Tutorials_and_Howtos#Installation:_Use_cases|Installation:_Use_cases]]. Also see the following wiki pages for more information:&lt;br /&gt;
&lt;br /&gt;
* [[FAQ|FAQs]]&lt;br /&gt;
* [[Tutorials and Howtos]]&lt;br /&gt;
* [[Contribute|How to Contribute]]&lt;br /&gt;
* [[Developer Documentation]]&lt;br /&gt;
* [[Newbie Alpine Ecosystem]]&lt;br /&gt;
* [https://mckayemu.github.io/alpineinstalls/ https://mckayemu.github.io/alpineinstalls/ All informatin for Spanish users]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17652</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17652"/>
		<updated>2020-05-22T07:27:42Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* abuild */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== python2 no longer provides python and python-devel =====&lt;br /&gt;
&lt;br /&gt;
python2 no longer provides python and python-devel, nothing does, it is now required that you explicitly depend on either python2 or python3, any new contributions that depend on python2 will be rejected summarily, and python2 is in the process of being **completely** removed&lt;br /&gt;
&lt;br /&gt;
===== llvm 10.0.0 =====&lt;br /&gt;
&lt;br /&gt;
llvm 10 is now the default in Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.alpinelinux.org/alpine/aports/commit/7a1323c27479fb967749c163f34483bc1196055d commit]&lt;br /&gt;
&lt;br /&gt;
===== Initial support for DLang =====&lt;br /&gt;
&lt;br /&gt;
We&#039;ve added initial support for the D language with this release. We now have GDC, the D compiler frontend using GCC, available on all arches but ppc64le and LDC, a D compiler using the LLVM backend, on x86, x86_64 and aarch64. Most things are built against LDC, since it offers superior optimization and a vastly newer versions of the D runtime and standard library. These contain many important bug fixes (especially on aarch64) and contain features required by many D applications.&lt;br /&gt;
&lt;br /&gt;
===== py3-setuptools now uses system python3 modules instead of vendored dependencies =====&lt;br /&gt;
&lt;br /&gt;
py3-setuptools now installs py3-packaging, py3-parsing, py3-appdirs, py3-six and py3-ordered-set from the system.&lt;br /&gt;
&lt;br /&gt;
The following commits are the ones responsible for this change:&lt;br /&gt;
&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=efca8852f37cb4028f234f92e2d035617f524820 py3-six] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=55e3496387ad3f2df387b2cf6bc84e85ef729833 py3-ordered-set] (new aport)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=cc1636b08fba58b629501d525d658aed4bcbeab2 py3-ordered-set] (move from testing to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=da743693eda54b9faf5086746b91506495fc689f py3-appdirs] (move from community to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=60efe787954008af546a5bde839db09f11682102 py3-appdirs] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=a50097b40bcf80a9aec201fef73a722206f43a0d py3-packaging] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=52ee5092c510657e9b1e8b4ae0104d405c9eac99 py3-parsing] (install manually)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=33ea734e2d28d88a3d545500c96b4c72b3e78432 py3-setuptools] (use system component)&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
===== Packages which need libsecret&#039;s DBus API now depend a provider of its API via dbus:org.freedesktop.Secret =====&lt;br /&gt;
&lt;br /&gt;
Previously it was possible to install a program which required the DBus API of libsecret (e.g. Fractal), but not install a secrets provider (e.g. gnome-keyring), so logins wouldn&#039;t be saved. This has been corrected and packages which require this API depend on the provider-package dbus:org.freedesktop:Secret now. It&#039;s provided by gnome-keyring, kwallet and keepassxc (in that order of importance, i.e. if none of these is pulled in gnome-keyring will be chosen by default). Right now we manually declared the provider for dbus:org.freedesktop.Secret, but eventually we should have an automatic detection for the DBus API packages provide to make this easier for other packages.&lt;br /&gt;
&lt;br /&gt;
===== Preferring enchant2 over enchant =====&lt;br /&gt;
&lt;br /&gt;
All packages which support enchant2 have been moved over to it instead of using enchant(1). enchant2 now also supports nuspell, which is a faster drop-in replacement for hunspell, which utilizes hunspell&#039;s dictionaries.&lt;br /&gt;
&lt;br /&gt;
===== Firefox is now in community =====&lt;br /&gt;
&lt;br /&gt;
Firefox finally left testing and will be in community, supported for 6 months.&lt;br /&gt;
&lt;br /&gt;
===== moonjit is now luajit =====&lt;br /&gt;
&lt;br /&gt;
Our luajit package switched to the alive moonjit fork which has, among other things, s390x support and actual development.&lt;br /&gt;
&lt;br /&gt;
This [https://git.alpinelinux.org/aports/commit/?id=af7f776d08cf7c12c3dd62347829fe33e66dceaa commit] switched luajit over to moonjit, the following [https://git.alpinelinux.org/aports/commit/?id=a7d057d98859940cc3347dba011957f99291b1fa commit] removes our **HUGE** 46k s390x support patch which is now handled by upstream.&lt;br /&gt;
&lt;br /&gt;
===== Support for YubiKeys =====&lt;br /&gt;
&lt;br /&gt;
yubikey-manager and yubikey-manager-qt have been added to the community repos for using and managing your yubikeys. Installing yubikey-manager and enabling the pcscd service should make yubikeys functional.&lt;br /&gt;
&lt;br /&gt;
===== Support for apk in GNOME Software =====&lt;br /&gt;
&lt;br /&gt;
GNOME Software now offers integration with apk, the Alpine Package Keeper, so desktop applications can be installed via a GUI.&lt;br /&gt;
&lt;br /&gt;
===== busybox no longer provider &#039;patch&#039; builtin =====&lt;br /&gt;
&lt;br /&gt;
The builtin is a prototype which fails the moment any fuzzing needs to be done and as such is not usable too many cases to justify its inclusion, build-base (which provider compilers and other development tools) now depends on patch and others need to install patch by themselves if they plan on using it.&lt;br /&gt;
&lt;br /&gt;
the abuild package already depended on it and it is widely used in Alpine Linux&#039;s aports.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;br /&gt;
&lt;br /&gt;
===== The &amp;quot;plain&amp;quot; buildtype for Meson and &amp;quot;None&amp;quot; buildtype for CMake are used now =====&lt;br /&gt;
&lt;br /&gt;
We previously used the &amp;quot;release&amp;quot; or &amp;quot;debugoptimized&amp;quot; buildmode for Meson or &amp;quot;Release&amp;quot; or &amp;quot;RelWithDebInfo&amp;quot; for CMake. This caused Meson and CMake to ignore parts of our C{,XX}FLAGS, e.g. by setting -O2 or even -O3 instead of our default of -Os. We&#039;ve changed to the &amp;quot;plain&amp;quot; buildtype and the &amp;quot;None&amp;quot; buildtype for CMake. This should result in smaller binaries since -Os is respected now. See [https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E the respective mailing list post]&lt;br /&gt;
&lt;br /&gt;
==== abuild-meson introduced ====&lt;br /&gt;
&lt;br /&gt;
abuild-meson is a small wrapper shellscript that wraps meson (directly inspired by Arch Linux&#039;s arch-meson and Void Linux&#039;s build_style=meson), calling it with the correct options for packaging in Alpine Linux. APKBUILDs should switch to using it to guarantee all APKBUILDs that use meson have the same set of options.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17651</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17651"/>
		<updated>2020-05-22T07:20:00Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== python2 no longer provides python and python-devel =====&lt;br /&gt;
&lt;br /&gt;
python2 no longer provides python and python-devel, nothing does, it is now required that you explicitly depend on either python2 or python3, any new contributions that depend on python2 will be rejected summarily, and python2 is in the process of being **completely** removed&lt;br /&gt;
&lt;br /&gt;
===== llvm 10.0.0 =====&lt;br /&gt;
&lt;br /&gt;
llvm 10 is now the default in Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.alpinelinux.org/alpine/aports/commit/7a1323c27479fb967749c163f34483bc1196055d commit]&lt;br /&gt;
&lt;br /&gt;
===== Initial support for DLang =====&lt;br /&gt;
&lt;br /&gt;
We&#039;ve added initial support for the D language with this release. We now have GDC, the D compiler frontend using GCC, available on all arches but ppc64le and LDC, a D compiler using the LLVM backend, on x86, x86_64 and aarch64. Most things are built against LDC, since it offers superior optimization and a vastly newer versions of the D runtime and standard library. These contain many important bug fixes (especially on aarch64) and contain features required by many D applications.&lt;br /&gt;
&lt;br /&gt;
===== py3-setuptools now uses system python3 modules instead of vendored dependencies =====&lt;br /&gt;
&lt;br /&gt;
py3-setuptools now installs py3-packaging, py3-parsing, py3-appdirs, py3-six and py3-ordered-set from the system.&lt;br /&gt;
&lt;br /&gt;
The following commits are the ones responsible for this change:&lt;br /&gt;
&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=efca8852f37cb4028f234f92e2d035617f524820 py3-six] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=55e3496387ad3f2df387b2cf6bc84e85ef729833 py3-ordered-set] (new aport)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=cc1636b08fba58b629501d525d658aed4bcbeab2 py3-ordered-set] (move from testing to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=da743693eda54b9faf5086746b91506495fc689f py3-appdirs] (move from community to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=60efe787954008af546a5bde839db09f11682102 py3-appdirs] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=a50097b40bcf80a9aec201fef73a722206f43a0d py3-packaging] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=52ee5092c510657e9b1e8b4ae0104d405c9eac99 py3-parsing] (install manually)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=33ea734e2d28d88a3d545500c96b4c72b3e78432 py3-setuptools] (use system component)&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
===== Packages which need libsecret&#039;s DBus API now depend a provider of its API via dbus:org.freedesktop.Secret =====&lt;br /&gt;
&lt;br /&gt;
Previously it was possible to install a program which required the DBus API of libsecret (e.g. Fractal), but not install a secrets provider (e.g. gnome-keyring), so logins wouldn&#039;t be saved. This has been corrected and packages which require this API depend on the provider-package dbus:org.freedesktop:Secret now. It&#039;s provided by gnome-keyring, kwallet and keepassxc (in that order of importance, i.e. if none of these is pulled in gnome-keyring will be chosen by default). Right now we manually declared the provider for dbus:org.freedesktop.Secret, but eventually we should have an automatic detection for the DBus API packages provide to make this easier for other packages.&lt;br /&gt;
&lt;br /&gt;
===== Preferring enchant2 over enchant =====&lt;br /&gt;
&lt;br /&gt;
All packages which support enchant2 have been moved over to it instead of using enchant(1). enchant2 now also supports nuspell, which is a faster drop-in replacement for hunspell, which utilizes hunspell&#039;s dictionaries.&lt;br /&gt;
&lt;br /&gt;
===== Firefox is now in community =====&lt;br /&gt;
&lt;br /&gt;
Firefox finally left testing and will be in community, supported for 6 months.&lt;br /&gt;
&lt;br /&gt;
===== moonjit is now luajit =====&lt;br /&gt;
&lt;br /&gt;
Our luajit package switched to the alive moonjit fork which has, among other things, s390x support and actual development.&lt;br /&gt;
&lt;br /&gt;
This [https://git.alpinelinux.org/aports/commit/?id=af7f776d08cf7c12c3dd62347829fe33e66dceaa commit] switched luajit over to moonjit, the following [https://git.alpinelinux.org/aports/commit/?id=a7d057d98859940cc3347dba011957f99291b1fa commit] removes our **HUGE** 46k s390x support patch which is now handled by upstream.&lt;br /&gt;
&lt;br /&gt;
===== Support for YubiKeys =====&lt;br /&gt;
&lt;br /&gt;
yubikey-manager and yubikey-manager-qt have been added to the community repos for using and managing your yubikeys. Installing yubikey-manager and enabling the pcscd service should make yubikeys functional.&lt;br /&gt;
&lt;br /&gt;
===== Support for apk in GNOME Software =====&lt;br /&gt;
&lt;br /&gt;
GNOME Software now offers integration with apk, the Alpine Package Keeper, so desktop applications can be installed via a GUI.&lt;br /&gt;
&lt;br /&gt;
===== busybox no longer provider &#039;patch&#039; builtin =====&lt;br /&gt;
&lt;br /&gt;
The builtin is a prototype which fails the moment any fuzzing needs to be done and as such is not usable too many cases to justify its inclusion, build-base (which provider compilers and other development tools) now depends on patch and others need to install patch by themselves if they plan on using it.&lt;br /&gt;
&lt;br /&gt;
the abuild package already depended on it and it is widely used in Alpine Linux&#039;s aports.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;br /&gt;
&lt;br /&gt;
===== The &amp;quot;plain&amp;quot; buildtype for Meson and &amp;quot;None&amp;quot; buildtype for CMake are used now =====&lt;br /&gt;
&lt;br /&gt;
We previously used the &amp;quot;release&amp;quot; or &amp;quot;debugoptimized&amp;quot; buildmode for Meson or &amp;quot;Release&amp;quot; or &amp;quot;RelWithDebInfo&amp;quot; for CMake. This caused Meson and CMake to ignore parts of our C{,XX}FLAGS, e.g. by setting -O2 or even -O3 instead of our default of -Os. We&#039;ve changed to the &amp;quot;plain&amp;quot; buildtype and the &amp;quot;None&amp;quot; buildtype for CMake. This should result in smaller binaries since -Os is respected now. See [https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E the respective mailing list post]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17231</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17231"/>
		<updated>2020-04-18T11:40:44Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* python3 now provides cmd:python */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== python2 no longer provides python and python-devel =====&lt;br /&gt;
&lt;br /&gt;
python2 no longer provides python and python-devel, nothing does, it is now required that you explicitly depend on either python2 or python3, any new contributions that depend on python2 will be rejected summarily, and python2 is in the process of being **completely** removed&lt;br /&gt;
&lt;br /&gt;
===== llvm 10.0.0 =====&lt;br /&gt;
&lt;br /&gt;
llvm 10 is now the default in Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.alpinelinux.org/alpine/aports/commit/7a1323c27479fb967749c163f34483bc1196055d commit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Initial support for DLang =====&lt;br /&gt;
&lt;br /&gt;
We&#039;ve added initial support for the D language with this release. We now have GDC, the D compiler frontend using GCC, available on all arches but ppc64le and LDC, a D compiler using the LLVM backend, on x86_64. Most things are built against ldc and as such only available on x86_64 right now due to GDC shipping a rather outdated version of the Phobos, the D standard library.&lt;br /&gt;
&lt;br /&gt;
===== py3-setuptools now uses system python3 modules instead of vendored dependencies =====&lt;br /&gt;
&lt;br /&gt;
py3-setuptools now installs py3-packaging, py3-parsing, py3-appdirs, py3-six and py3-ordered-set from the system.&lt;br /&gt;
&lt;br /&gt;
The following commits are the ones responsible for this change:&lt;br /&gt;
&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=efca8852f37cb4028f234f92e2d035617f524820 py3-six] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=55e3496387ad3f2df387b2cf6bc84e85ef729833 py3-ordered-set] (new aport)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=cc1636b08fba58b629501d525d658aed4bcbeab2 py3-ordered-set] (move from testing to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=da743693eda54b9faf5086746b91506495fc689f py3-appdirs] (move from community to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=60efe787954008af546a5bde839db09f11682102 py3-appdirs] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=a50097b40bcf80a9aec201fef73a722206f43a0d py3-packaging] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=52ee5092c510657e9b1e8b4ae0104d405c9eac99 py3-parsing] (install manually)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=33ea734e2d28d88a3d545500c96b4c72b3e78432 py3-setuptools] (use system component)&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
===== Packages which need libsecret&#039;s DBus API now depend a provider of its API via dbus:org.freedesktop.Secret =====&lt;br /&gt;
&lt;br /&gt;
Previously it was possible to install a program which required the DBus API of libsecret (e.g. Fractal), but not install a secrets provider (e.g. gnome-keyring), so logins wouldn&#039;t be saved. This has been corrected and packages which require this API depend on the provider-package dbus:org.freedesktop:Secret now. It&#039;s provided by gnome-keyring, kwallet and keepassxc (in that order of importance, i.e. if none of these is pulled in gnome-keyring will be chosen by default). Right now we manually declared the provider for dbus:org.freedesktop.Secret, but eventually we should have an automatic detection for the DBus API packages provide to make this easier for other packages.&lt;br /&gt;
&lt;br /&gt;
===== Preferring enchant2 over enchant =====&lt;br /&gt;
&lt;br /&gt;
All packages which support enchant2 have been moved over to it instead of using enchant(1). enchant2 now also supports nuspell, which is a faster drop-in replacement for hunspell, which utilizes hunspell&#039;s dictionaries.&lt;br /&gt;
&lt;br /&gt;
===== Firefox is now in community =====&lt;br /&gt;
&lt;br /&gt;
Firefox finally left testing and will be in community, supported for 6 months.&lt;br /&gt;
&lt;br /&gt;
===== moonjit is now luajit =====&lt;br /&gt;
&lt;br /&gt;
Our luajit package switched to the alive moonjit fork which has, among other things, s390x support and actual development.&lt;br /&gt;
&lt;br /&gt;
This [https://git.alpinelinux.org/aports/commit/?id=af7f776d08cf7c12c3dd62347829fe33e66dceaa commit] switched luajit over to moonjit, the following [https://git.alpinelinux.org/aports/commit/?id=a7d057d98859940cc3347dba011957f99291b1fa commit] removes our **HUGE** 46k s390x support patch which is now handled by upstream.&lt;br /&gt;
&lt;br /&gt;
===== Support for YubiKeys =====&lt;br /&gt;
&lt;br /&gt;
yubikey-manager and yubikey-manager-qt have been added to the community repos for using and managing your yubikeys. Installing yubikey-manager and enabling the pcscd service should make yubikeys functional.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;br /&gt;
&lt;br /&gt;
===== The &amp;quot;plain&amp;quot; buildtype for Meson and &amp;quot;None&amp;quot; buildtype for CMake are used now =====&lt;br /&gt;
&lt;br /&gt;
We previously used the &amp;quot;release&amp;quot; or &amp;quot;debugoptimized&amp;quot; buildmode for Meson or &amp;quot;Release&amp;quot; or &amp;quot;RelWithDebInfo&amp;quot; for CMake. This caused Meson and CMake to ignore parts of our C{,XX}FLAGS, e.g. by setting -O2 or even -O3 instead of our default of -Os. We&#039;ve changed to the &amp;quot;plain&amp;quot; buildtype and the &amp;quot;None&amp;quot; buildtype for CMake. This should result in smaller binaries since -Os is respected now. See [https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E the respective mailing list post]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17176</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17176"/>
		<updated>2020-04-06T22:38:19Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* aports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== python3 now provides cmd:python =====&lt;br /&gt;
&lt;br /&gt;
calling python will open python3 instead of python2&lt;br /&gt;
&lt;br /&gt;
===== llvm 10.0.0 =====&lt;br /&gt;
&lt;br /&gt;
llvm 10 is now the default in Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.alpinelinux.org/alpine/aports/commit/7a1323c27479fb967749c163f34483bc1196055d commit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Initial support for DLang =====&lt;br /&gt;
&lt;br /&gt;
We&#039;ve added initial support for the D language with this release. We now have GDC, the D compiler frontend using GCC, available on all arches but ppc64le and LDC, a D compiler using the LLVM backend, on x86_64. Most things are built against ldc and as such only available on x86_64 right now due to GDC shipping a rather outdated version of the Phobos, the D standard library.&lt;br /&gt;
&lt;br /&gt;
===== py3-setuptools now uses system python3 modules instead of vendored dependencies =====&lt;br /&gt;
&lt;br /&gt;
py3-setuptools now installs py3-packaging, py3-parsing, py3-appdirs, py3-six and py3-ordered-set from the system.&lt;br /&gt;
&lt;br /&gt;
The following commits are the ones responsible for this change:&lt;br /&gt;
&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=efca8852f37cb4028f234f92e2d035617f524820 py3-six] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=55e3496387ad3f2df387b2cf6bc84e85ef729833 py3-ordered-set] (new aport)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=cc1636b08fba58b629501d525d658aed4bcbeab2 py3-ordered-set] (move from testing to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=da743693eda54b9faf5086746b91506495fc689f py3-appdirs] (move from community to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=60efe787954008af546a5bde839db09f11682102 py3-appdirs] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=a50097b40bcf80a9aec201fef73a722206f43a0d py3-packaging] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=52ee5092c510657e9b1e8b4ae0104d405c9eac99 py3-parsing] (install manually)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=33ea734e2d28d88a3d545500c96b4c72b3e78432 py3-setuptools] (use system component)&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
===== Packages which need libsecret&#039;s DBus API now depend a provider of its API via dbus:org.freedesktop.Secret =====&lt;br /&gt;
&lt;br /&gt;
Previously it was possible to install a program which required the DBus API of libsecret (e.g. Fractal), but not install a secrets provider (e.g. gnome-keyring), so logins wouldn&#039;t be saved. This has been corrected and packages which require this API depend on the provider-package dbus:org.freedesktop:Secret now. It&#039;s provided by gnome-keyring, kwallet and keepassxc (in that order of importance, i.e. if none of these is pulled in gnome-keyring will be chosen by default). Right now we manually declared the provider for dbus:org.freedesktop.Secret, but eventually we should have an automatic detection for the DBus API packages provide to make this easier for other packages.&lt;br /&gt;
&lt;br /&gt;
===== Preferring enchant2 over enchant =====&lt;br /&gt;
&lt;br /&gt;
All packages which support enchant2 have been moved over to it instead of using enchant(1). enchant2 now also supports nuspell, which is a faster drop-in replacement for hunspell, which utilizes hunspell&#039;s dictionaries.&lt;br /&gt;
&lt;br /&gt;
===== Firefox is now in community =====&lt;br /&gt;
&lt;br /&gt;
Firefox finally left testing and will be in community, supported for 6 months.&lt;br /&gt;
&lt;br /&gt;
===== moonjit is now luajit =====&lt;br /&gt;
&lt;br /&gt;
Our luajit package switched to the alive moonjit fork which has, among other things, s390x support and actual development.&lt;br /&gt;
&lt;br /&gt;
This [https://git.alpinelinux.org/aports/commit/?id=af7f776d08cf7c12c3dd62347829fe33e66dceaa commit] switched luajit over to moonjit, the following [https://git.alpinelinux.org/aports/commit/?id=a7d057d98859940cc3347dba011957f99291b1fa commit] removes our **HUGE** 46k s390x support patch which is now handled by upstream.&lt;br /&gt;
&lt;br /&gt;
===== Support for YubiKeys =====&lt;br /&gt;
&lt;br /&gt;
yubikey-manager and yubikey-manager-qt have been added to the community repos for using and managing your yubikeys. Installing yubikey-manager and enabling the pcscd service should make yubikeys functional.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;br /&gt;
&lt;br /&gt;
===== The &amp;quot;plain&amp;quot; buildtype for Meson and &amp;quot;None&amp;quot; buildtype for CMake are used now =====&lt;br /&gt;
&lt;br /&gt;
We previously used the &amp;quot;release&amp;quot; or &amp;quot;debugoptimized&amp;quot; buildmode for Meson or &amp;quot;Release&amp;quot; or &amp;quot;RelWithDebInfo&amp;quot; for CMake. This caused Meson and CMake to ignore parts of our C{,XX}FLAGS, e.g. by setting -O2 or even -O3 instead of our default of -Os. We&#039;ve changed to the &amp;quot;plain&amp;quot; buildtype and the &amp;quot;None&amp;quot; buildtype for CMake. This should result in smaller binaries since -Os is respected now. See [https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E the respective mailing list post]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17162</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17162"/>
		<updated>2020-03-29T20:24:30Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* aports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== llvm 10.0.0 =====&lt;br /&gt;
&lt;br /&gt;
llvm 10 is now the default in Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.alpinelinux.org/alpine/aports/commit/7a1323c27479fb967749c163f34483bc1196055d commit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Initial support for DLang =====&lt;br /&gt;
&lt;br /&gt;
We&#039;ve added initial support for the D language with this release. We now have GDC, the D compiler frontend using GCC, available on all arches but ppc64le and LDC, a D compiler using the LLVM backend, on x86_64. Most things are built against ldc and as such only available on x86_64 right now due to GDC shipping a rather outdated version of the Phobos, the D standard library.&lt;br /&gt;
&lt;br /&gt;
===== py3-setuptools now uses system python3 modules instead of vendored dependencies =====&lt;br /&gt;
&lt;br /&gt;
py3-setuptools now installs py3-packaging, py3-parsing, py3-appdirs, py3-six and py3-ordered-set from the system.&lt;br /&gt;
&lt;br /&gt;
The following commits are the ones responsible for this change:&lt;br /&gt;
&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=efca8852f37cb4028f234f92e2d035617f524820 py3-six] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=55e3496387ad3f2df387b2cf6bc84e85ef729833 py3-ordered-set] (new aport)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=cc1636b08fba58b629501d525d658aed4bcbeab2 py3-ordered-set] (move from testing to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=da743693eda54b9faf5086746b91506495fc689f py3-appdirs] (move from community to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=60efe787954008af546a5bde839db09f11682102 py3-appdirs] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=a50097b40bcf80a9aec201fef73a722206f43a0d py3-packaging] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=52ee5092c510657e9b1e8b4ae0104d405c9eac99 py3-parsing] (install manually)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=33ea734e2d28d88a3d545500c96b4c72b3e78432 py3-setuptools] (use system component)&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
===== Packages which need libsecret&#039;s DBus API now depend a provider of its API via dbus:org.freedesktop.Secret =====&lt;br /&gt;
&lt;br /&gt;
Previously it was possible to install a program which required the DBus API of libsecret (e.g. Fractal), but not install a secrets provider (e.g. gnome-keyring), so logins wouldn&#039;t be saved. This has been corrected and packages which require this API depend on the provider-package dbus:org.freedesktop:Secret now. It&#039;s provided by gnome-keyring, kwallet and keepassxc (in that order of importance, i.e. if none of these is pulled in gnome-keyring will be chosen by default). Right now we manually declared the provider for dbus:org.freedesktop.Secret, but eventually we should have an automatic detection for the DBus API packages provide to make this easier for other packages.&lt;br /&gt;
&lt;br /&gt;
===== Preferring enchant2 over enchant =====&lt;br /&gt;
&lt;br /&gt;
All packages which support enchant2 have been moved over to it instead of using enchant(1). enchant2 now also supports nuspell, which is a faster drop-in replacement for hunspell, which utilizes hunspell&#039;s dictionaries.&lt;br /&gt;
&lt;br /&gt;
===== Firefox is now in community =====&lt;br /&gt;
&lt;br /&gt;
Firefox finally left testing and will be in community, supported for 6 months.&lt;br /&gt;
&lt;br /&gt;
===== moonjit is now luajit =====&lt;br /&gt;
&lt;br /&gt;
Our luajit package switched to the alive moonjit fork which has, among other things, s390x support and actual development.&lt;br /&gt;
&lt;br /&gt;
This [https://git.alpinelinux.org/aports/commit/?id=af7f776d08cf7c12c3dd62347829fe33e66dceaa commit] switched luajit over to moonjit, the following [https://git.alpinelinux.org/aports/commit/?id=a7d057d98859940cc3347dba011957f99291b1fa commit] removes our **HUGE** 46k s390x support patch which is now handled by upstream.&lt;br /&gt;
&lt;br /&gt;
===== Support for YubiKeys =====&lt;br /&gt;
&lt;br /&gt;
yubikey-manager and yubikey-manager-qt have been added to the community repos for using and managing your yubikeys. Installing yubikey-manager and enabling the pcscd service should make yubikeys functional.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;br /&gt;
&lt;br /&gt;
===== The &amp;quot;plain&amp;quot; buildtype for Meson and &amp;quot;None&amp;quot; buildtype for CMake are used now =====&lt;br /&gt;
&lt;br /&gt;
We previously used the &amp;quot;release&amp;quot; or &amp;quot;debugoptimized&amp;quot; buildmode for Meson or &amp;quot;Release&amp;quot; or &amp;quot;RelWithDebInfo&amp;quot; for CMake. This caused Meson and CMake to ignore parts of our C{,XX}FLAGS, e.g. by setting -O2 or even -O3 instead of our default of -Os. We&#039;ve changed to the &amp;quot;plain&amp;quot; buildtype and the &amp;quot;None&amp;quot; buildtype for CMake. This should result in smaller binaries since -Os is respected now. See [https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E the respective mailing list post]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17161</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=17161"/>
		<updated>2020-03-29T20:24:17Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== llvm 10.0.0 ====&lt;br /&gt;
&lt;br /&gt;
llvm 10 is now the default in Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
[https://gitlab.alpinelinux.org/alpine/aports/commit/7a1323c27479fb967749c163f34483bc1196055d commit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Initial support for DLang =====&lt;br /&gt;
&lt;br /&gt;
We&#039;ve added initial support for the D language with this release. We now have GDC, the D compiler frontend using GCC, available on all arches but ppc64le and LDC, a D compiler using the LLVM backend, on x86_64. Most things are built against ldc and as such only available on x86_64 right now due to GDC shipping a rather outdated version of the Phobos, the D standard library.&lt;br /&gt;
&lt;br /&gt;
===== py3-setuptools now uses system python3 modules instead of vendored dependencies =====&lt;br /&gt;
&lt;br /&gt;
py3-setuptools now installs py3-packaging, py3-parsing, py3-appdirs, py3-six and py3-ordered-set from the system.&lt;br /&gt;
&lt;br /&gt;
The following commits are the ones responsible for this change:&lt;br /&gt;
&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=efca8852f37cb4028f234f92e2d035617f524820 py3-six] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=55e3496387ad3f2df387b2cf6bc84e85ef729833 py3-ordered-set] (new aport)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=cc1636b08fba58b629501d525d658aed4bcbeab2 py3-ordered-set] (move from testing to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=da743693eda54b9faf5086746b91506495fc689f py3-appdirs] (move from community to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=60efe787954008af546a5bde839db09f11682102 py3-appdirs] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=a50097b40bcf80a9aec201fef73a722206f43a0d py3-packaging] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=52ee5092c510657e9b1e8b4ae0104d405c9eac99 py3-parsing] (install manually)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=33ea734e2d28d88a3d545500c96b4c72b3e78432 py3-setuptools] (use system component)&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
===== Packages which need libsecret&#039;s DBus API now depend a provider of its API via dbus:org.freedesktop.Secret =====&lt;br /&gt;
&lt;br /&gt;
Previously it was possible to install a program which required the DBus API of libsecret (e.g. Fractal), but not install a secrets provider (e.g. gnome-keyring), so logins wouldn&#039;t be saved. This has been corrected and packages which require this API depend on the provider-package dbus:org.freedesktop:Secret now. It&#039;s provided by gnome-keyring, kwallet and keepassxc (in that order of importance, i.e. if none of these is pulled in gnome-keyring will be chosen by default). Right now we manually declared the provider for dbus:org.freedesktop.Secret, but eventually we should have an automatic detection for the DBus API packages provide to make this easier for other packages.&lt;br /&gt;
&lt;br /&gt;
===== Preferring enchant2 over enchant =====&lt;br /&gt;
&lt;br /&gt;
All packages which support enchant2 have been moved over to it instead of using enchant(1). enchant2 now also supports nuspell, which is a faster drop-in replacement for hunspell, which utilizes hunspell&#039;s dictionaries.&lt;br /&gt;
&lt;br /&gt;
===== Firefox is now in community =====&lt;br /&gt;
&lt;br /&gt;
Firefox finally left testing and will be in community, supported for 6 months.&lt;br /&gt;
&lt;br /&gt;
===== moonjit is now luajit =====&lt;br /&gt;
&lt;br /&gt;
Our luajit package switched to the alive moonjit fork which has, among other things, s390x support and actual development.&lt;br /&gt;
&lt;br /&gt;
This [https://git.alpinelinux.org/aports/commit/?id=af7f776d08cf7c12c3dd62347829fe33e66dceaa commit] switched luajit over to moonjit, the following [https://git.alpinelinux.org/aports/commit/?id=a7d057d98859940cc3347dba011957f99291b1fa commit] removes our **HUGE** 46k s390x support patch which is now handled by upstream.&lt;br /&gt;
&lt;br /&gt;
===== Support for YubiKeys =====&lt;br /&gt;
&lt;br /&gt;
yubikey-manager and yubikey-manager-qt have been added to the community repos for using and managing your yubikeys. Installing yubikey-manager and enabling the pcscd service should make yubikeys functional.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;br /&gt;
&lt;br /&gt;
===== The &amp;quot;plain&amp;quot; buildtype for Meson and &amp;quot;None&amp;quot; buildtype for CMake are used now =====&lt;br /&gt;
&lt;br /&gt;
We previously used the &amp;quot;release&amp;quot; or &amp;quot;debugoptimized&amp;quot; buildmode for Meson or &amp;quot;Release&amp;quot; or &amp;quot;RelWithDebInfo&amp;quot; for CMake. This caused Meson and CMake to ignore parts of our C{,XX}FLAGS, e.g. by setting -O2 or even -O3 instead of our default of -Os. We&#039;ve changed to the &amp;quot;plain&amp;quot; buildtype and the &amp;quot;None&amp;quot; buildtype for CMake. This should result in smaller binaries since -Os is respected now. See [https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E the respective mailing list post]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=APKBUILD_Reference&amp;diff=17067</id>
		<title>APKBUILD Reference</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=APKBUILD_Reference&amp;diff=17067"/>
		<updated>2020-03-14T18:20:15Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;APKBUILDs are the scripts that are created in order to build Alpine packages using the [[abuild]] tool.&lt;br /&gt;
&lt;br /&gt;
See [[aports]] for details on Alpine&#039;s official ports repository.&lt;br /&gt;
&lt;br /&gt;
This page is intended to serve as a reference for creating APKBUILDs; if this is your first time creating a package for Alpine Linux, please see [[Creating an Alpine package]].&lt;br /&gt;
&lt;br /&gt;
= Legend =&lt;br /&gt;
The following notes will assist you in understanding this document.&lt;br /&gt;
&lt;br /&gt;
In description text:&lt;br /&gt;
* If a variable is not prefixed with a &#039;&#039;$&#039;&#039;, it will be represented by italics (i.e., &#039;&#039;srcdir&#039;&#039; ).&lt;br /&gt;
* Functions will also be represented by italics, but will also end with a pair of parentheses (i.e., &#039;&#039;build()&#039;&#039; ).&lt;br /&gt;
* Shell commands will be represented &amp;lt;code&amp;gt;like this&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Variables =&lt;br /&gt;
{{Note|Variables that contain a path (e.g. &#039;&#039;$srcdir&#039;&#039; and &#039;&#039;$pkgdir&#039;&#039;) should always be quoted using double quotes (i.e., &#039;&#039;&amp;quot;$srcdir&amp;quot;&#039;&#039;).  This is done to prevent things from breaking, should the user have the APKBUILD in a directory path that contains spaces.}}&lt;br /&gt;
{{Note|All arbitrary variable and function names should be prefixed with an underscore character ( _ ) to avoid name clashes with the internals of abuild (for example, &#039;&#039;_luaversions&#039;&#039;).}}&lt;br /&gt;
&lt;br /&gt;
== abuild-defined variables ==&lt;br /&gt;
The following variables are defined by abuild:&lt;br /&gt;
&lt;br /&gt;
==== startdir ====&lt;br /&gt;
: The directory where the APKBUILD script is.&lt;br /&gt;
==== srcdir ====&lt;br /&gt;
: The directory where sources, from the &#039;&#039;source&#039;&#039; variable, are downloaded to and unpacked to.&lt;br /&gt;
==== pkgdir ====&lt;br /&gt;
: This directory should receive the files for the main package.  For example, a normal [http://en.wikipedia.org/wiki/GNU_build_system autotools] package would have &amp;lt;code&amp;gt;make DESTDIR=&amp;quot;$pkgdir&amp;quot; install&amp;lt;/code&amp;gt; in the &#039;&#039;package()&#039;&#039; function.&lt;br /&gt;
==== subpkgdir ====&lt;br /&gt;
: This directory should receive the files for a subpackage. This variable should only be used from subpackage functions.&lt;br /&gt;
==== builddir ====&lt;br /&gt;
: This variable should point to the directory inside the &#039;&#039;srcdir&#039;&#039; where the main package source is unpacked.  This is typically &#039;&#039;$srcdir/$pkgname-$pkgver&#039;&#039;.  It’s used by the default &#039;&#039;prepare()&#039;&#039; function as a working directory when applying patches.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User-defined variables ==&lt;br /&gt;
The following variables should be defined by the user:&lt;br /&gt;
==== arch ====&lt;br /&gt;
: Package architecture(s) to build for.  Can be one of: &#039;&#039;&#039;[[x86]], [[x86_64]], [[armhf]], [[aarch64]], [[ppc64le]], [[s390x]], all&#039;&#039;&#039;, or &#039;&#039;&#039;noarch&#039;&#039;&#039;, where &#039;&#039;&#039;all&#039;&#039;&#039; means all architectures, and &#039;&#039;&#039;noarch&#039;&#039;&#039; means it&#039;s architecture-independent (e.g., a pure-python package).&lt;br /&gt;
: {{Tip|To determine if your APKBUILD can use &#039;&#039;&#039;noarch&#039;&#039;&#039;: First specify &#039;&#039;&#039;all&#039;&#039;&#039; and then build the package by executing &amp;lt;code&amp;gt;abuild -r&amp;lt;/code&amp;gt;.  Watch the output towards the end for warnings saying that &#039;&#039;&#039;noarch&#039;&#039;&#039; can be used.  If the main package and all subpackages, if you have any subpackages, give a warning saying that &#039;&#039;&#039;noarch&#039;&#039;&#039; can be used, then you can use &#039;&#039;&#039;noarch&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
==== depends ====&lt;br /&gt;
: Run-time dependency package(s) that are not shared-object dependencies.  Shared objects dependencies are auto-detected and should not be specified here.&lt;br /&gt;
==== depends_dev ====&lt;br /&gt;
: Run-time dependency package(s) for the &#039;&#039;&#039;$pkgname-dev&#039;&#039;&#039; subpackage.&lt;br /&gt;
&lt;br /&gt;
: {{Note|From ncopa on IRC: To find out if you need to add a package to depends_dev have a look at *requires* in usr/lib/pkgconfig/*.pc. With libtool it gets more complicated, but we should delete the .la files. Also check if there are any  /usr/bin/*-configure #!/bin/bash #!/usr/bin/perl or Python. Sometimes scripts or similar are generated at build time (i.e autoconf automake) then you normally don&#039;t need add those to depends_dev. You can also just add all -dev makedepends to depends_dev but it will slow the build process a little bit (more build dependencies).}}&lt;br /&gt;
&lt;br /&gt;
==== depends_doc ====&lt;br /&gt;
: Run-time dependency package(s) for the &#039;&#039;&#039;$pkgname-doc&#039;&#039;&#039; subpackage.&lt;br /&gt;
&lt;br /&gt;
==== depends_openrc ====&lt;br /&gt;
: Run-time dependency package(s) for the &#039;&#039;&#039;$pkgname-openrc&#039;&#039;&#039; subpackage.&lt;br /&gt;
&lt;br /&gt;
==== depends_libs ====&lt;br /&gt;
: Run-time dependency package(s) for the &#039;&#039;&#039;$pkgname-libs&#039;&#039;&#039; subpackage.&lt;br /&gt;
&lt;br /&gt;
==== depends_static ====&lt;br /&gt;
: Run-time dependency package(s) for the &#039;&#039;&#039;$pkgname-static&#039;&#039;&#039; subpackage.&lt;br /&gt;
&lt;br /&gt;
==== checkdepends ====&lt;br /&gt;
: Dependencies that are only required during the check phase, they are only installed if the check option is enabled&lt;br /&gt;
&lt;br /&gt;
==== giturl ====&lt;br /&gt;
:Git repository from which &amp;lt;code&amp;gt;abuild checkout&amp;lt;/code&amp;gt; checks out. You can checkout a specific branch in git by adding &amp;lt;code&amp;gt;-b $branch&amp;lt;/code&amp;gt;.&lt;br /&gt;
==== install ====&lt;br /&gt;
: There are 6 different types of install scripts.  Install scripts are named &#039;&#039;&#039;$pkgname.action&#039;&#039;&#039;, where &#039;&#039;&#039;action&#039;&#039;&#039; can be:  &#039;&#039;&#039;pre-install, post-install, pre-upgrade, post-upgrade, pre-deinstall&#039;&#039;&#039;, or &#039;&#039;&#039;post-deinstall&#039;&#039;&#039;.  For example, if &#039;&#039;pkgname&#039;&#039; is set to &#039;&#039;&#039;mypackage&#039;&#039;&#039; and &#039;&#039;install&#039;&#039; is set to &#039;&#039;&#039;$pkgname.post-install&#039;&#039;&#039;, then a script named &#039;&#039;&#039;mypackage.post-install&#039;&#039;&#039; must exist along-side the APKBUILD.&lt;br /&gt;
&amp;lt;blockquote&amp;gt;{{Note|Always use &amp;lt;code&amp;gt;/bin/sh&amp;lt;/code&amp;gt; for the command-line interpreter on the [http://en.wikipedia.org/wiki/Shebang_%28Unix%29 shebang line] of your install scripts.}}&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following are the different types of install scripts in detail:&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.pre-install =====&lt;br /&gt;
: This script is executed &#039;&#039;before installing&#039;&#039; the package.  Typical use is when the package needs a group and a user to be created. For example:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
addgroup -S clamav 2&amp;gt;/dev/null&lt;br /&gt;
adduser -S -D -H -s /bin/false -G clamav -g clamav clamav 2&amp;gt;/dev/null&lt;br /&gt;
&lt;br /&gt;
exit 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Note|If the script exits with a failure (e.g., if the user already exists), the package will not be installed and &amp;lt;code&amp;gt;apk&amp;lt;/code&amp;gt; will exit with failure, hence the &amp;lt;code&amp;gt;exit 0&amp;lt;/code&amp;gt; at the end.}}&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.post-install =====&lt;br /&gt;
: This script is executed &#039;&#039;after installing&#039;&#039; the package.&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.pre-upgrade =====&lt;br /&gt;
: This script is executed &#039;&#039;before upgrading/downgrading/reinstalling&#039;&#039; the package. Note that exiting with failure will not cause apk to exit with failure, but will mark the package as broken.&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.post-upgrade =====&lt;br /&gt;
: This script is executed &#039;&#039;after upgrading/downgrading/reinstalling&#039;&#039; the package.&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.pre-deinstall =====&lt;br /&gt;
: This script is executed &#039;&#039;before uninstalling&#039;&#039; the package.&lt;br /&gt;
: {{Note|If the script exits with failure, &amp;lt;code&amp;gt;apk&amp;lt;/code&amp;gt; will not uninstall the package.}}&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.post-deinstall =====&lt;br /&gt;
: This script is executed &#039;&#039;after uninstalling&#039;&#039; the package.&lt;br /&gt;
&lt;br /&gt;
==== install_if ====&lt;br /&gt;
:install_if can be used when a package needs to be installed when some packages are already installed or are in the dependency tree. It works in reverse to the &#039;&#039;recommends&#039;&#039; feature, that other package managers provide.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Example:&#039;&#039;&#039; When package &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; has &amp;lt;code&amp;gt;install_if=&amp;quot;B C&amp;quot;&amp;lt;/code&amp;gt;, and the user runs &amp;lt;code&amp;gt;apk add B C&amp;lt;/code&amp;gt;, then package &amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; will get automatically installed.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Example 2:&#039;&#039;&#039; A real use-case in Alpine is open-vm-tools. Currently it contains the userspace tools and separate packages for the kernel modules (grsec and vserver). When we install the userspace tools, apk should automatically install the correct kernel modules and will need to figure out for which kernel. This is where install_if jumps in. For any of the kernel modules package we would use:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;install_if=&amp;quot;linux-${_flavor}=${_kernelver} open-vm-tools&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This will automatically install the package when the specified packages are installed or are in dependency tree.&lt;br /&gt;
&lt;br /&gt;
==== license ====&lt;br /&gt;
: License(s) for the package, for example &amp;lt;code&amp;gt;GPL-3.0-or-later&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;BSD-2-Clause&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;MIT&amp;lt;/code&amp;gt; [[Creating_an_Alpine_package#license|(details)]].&lt;br /&gt;
&lt;br /&gt;
==== makedepends ====&lt;br /&gt;
: Build-time dependency package(s).&lt;br /&gt;
==== md5sums/sha256sums/sha512sums ====&lt;br /&gt;
: Checksums for the files/URLs listed in &#039;&#039;source&#039;&#039;.  The checksums are normally generated and updated by executing &amp;lt;code&amp;gt;abuild checksum&amp;lt;/code&amp;gt; and should be the last item in the APKBUILD.&lt;br /&gt;
&lt;br /&gt;
New packages should use only sha512sums.&lt;br /&gt;
&lt;br /&gt;
==== options ====&lt;br /&gt;
: Build-time options for the package.&lt;br /&gt;
&lt;br /&gt;
: {| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!archcheck&amp;lt;/code&amp;gt;&lt;br /&gt;
| Do not try to verify that the architecture of the binary files is the same architecture as abuild should build for. One example where it makes sense to set this are packages with firmware files, that get executed on another CPU (such as WiFi firmware).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!check&amp;lt;/code&amp;gt;&lt;br /&gt;
| Do not try to run the &amp;lt;code&amp;gt;check()&amp;lt;/code&amp;gt; function. Please always add a short comment after the &amp;lt;code&amp;gt;!check&amp;lt;/code&amp;gt; about why it&#039;s disabled. [https://github.com/alpinelinux/aports/pull/2322#discussion_r142545300] Creating a very simple check function, that calls &amp;lt;code&amp;gt;program --version&amp;lt;/code&amp;gt; is worse than disabling tests completely because it gives the false impression that the package is thoroughly tested with the testsuite from upstream. [https://github.com/alpinelinux/aports/pull/7326#discussion_r278797457]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;checkroot&amp;lt;/code&amp;gt;&lt;br /&gt;
| Specifies that the package&#039;s test suite will be run in &#039;&#039;fakeroot&#039;&#039;. This is necessary for some test suites which fail when run as non-root.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;net&amp;lt;/code&amp;gt;&lt;br /&gt;
| Allows network access when run in &#039;&#039;fakeroot&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!strip&amp;lt;/code&amp;gt;&lt;br /&gt;
| Avoid stripping symbols from binaries.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;suid&amp;lt;/code&amp;gt;&lt;br /&gt;
| Allow [https://en.wikipedia.org/wiki/Setuid setuid] binaries.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!tracedeps&amp;lt;/code&amp;gt;&lt;br /&gt;
| Do not automatically find dependencies (e.g. by using &amp;lt;code&amp;gt;ldd&amp;lt;/code&amp;gt; to find dynamic libraries, which the resulting binary links against).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;chmod-clean&amp;lt;/code&amp;gt;&lt;br /&gt;
| Make all files writable in the src/ directory. Useful for packages that make files read-only in the process of building packages (go modules).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;toolchain&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t warn when g++ is in makedepends&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!dbg&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t create debugging subpackage&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ldpath-recursive&amp;lt;/code&amp;gt;&lt;br /&gt;
| Scan directories recursively when creating .so providers&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!spdx&amp;lt;/code&amp;gt;&lt;br /&gt;
| Do not check if the license= field has a SPDX compliant license&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;textrels&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t error out when text relocations are found&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;charset.alias&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t error out if /usr/lib/charset.alias is found&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;libtool&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t delete libtool .la files&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;!fhs&amp;lt;/code&amp;gt;&lt;br /&gt;
| Don&#039;t enforce checks on path that follow the FHS&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== pkgdesc ====&lt;br /&gt;
: A brief, one-line description of what the package does.&lt;br /&gt;
&lt;br /&gt;
: Here&#039;s an example from the OpenSSH client package:&lt;br /&gt;
: &amp;lt;pre&amp;gt;pkgdesc=&amp;quot;Port of OpenBSD&#039;s free SSH release - client&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
==== pkggroups ====&lt;br /&gt;
: System group(s) to be created during build-time.  System group(s) should also be created in the &#039;&#039;&#039;[[APKBUILD Reference#.24pkgname.pre-install|$pkgname.pre-install]]&#039;&#039;&#039; script, so that the system group(s) are also created prior to package installation for run-time use.&lt;br /&gt;
==== pkgname ====&lt;br /&gt;
: The name of the package.  All letters should be lowercase.&lt;br /&gt;
: {{Note|When creating an APKBUILD of a module or library for another package, we use some common package prefixes, such as: &#039;&#039;lua-&#039;&#039;, &#039;&#039;perl-&#039;&#039;, &#039;&#039;php-&#039;&#039;, and &#039;&#039;py-&#039;&#039;.  Search aports for other common prefixes.}}&lt;br /&gt;
&lt;br /&gt;
==== pkgrel ====&lt;br /&gt;
: Alpine package release number.  Starts at 0 (zero).  Always increment &#039;&#039;pkgrel&#039;&#039; when making updates to an aport; reset &#039;&#039;pkgrel&#039;&#039; to 0 (zero) when incrementing &#039;&#039;pkgver&#039;&#039;.&lt;br /&gt;
==== pkgusers ====&lt;br /&gt;
: System user(s) to be created during build-time.  System user(s) should also be created in the &#039;&#039;&#039;[[APKBUILD Reference#.24pkgname.pre-install|$pkgname.pre-install]]&#039;&#039;&#039; script, so that the system user(s) are also created prior to package installation for run-time use.&lt;br /&gt;
==== pkgver ====&lt;br /&gt;
: The version of the software being packaged. Format for valid versions: &amp;lt;code&amp;gt;{digit}{.digit}...{letter}{_suf{#}}...{-r#}&amp;lt;/code&amp;gt; [https://git.alpinelinux.org/cgit/apk-tools/tree/src/version.c#n17]&lt;br /&gt;
: A Suffix &amp;lt;code&amp;gt;suf&amp;lt;/code&amp;gt; in the above format can be one of the following to indicate that the release is &#039;&#039;less recent&#039;&#039; than the version without the suffix: &amp;lt;code&amp;gt;alpha&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;beta&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;pre&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;rc&amp;lt;/code&amp;gt; [https://git.alpinelinux.org/cgit/apk-tools/tree/src/version.c#n75]&lt;br /&gt;
: These are for indicating &#039;&#039;more recent&#039;&#039; releases: &amp;lt;code&amp;gt;cvs&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;svn&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;hg&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;p&amp;lt;/code&amp;gt; [https://git.alpinelinux.org/cgit/apk-tools/tree/src/version.c#n76]&lt;br /&gt;
: All other suffices are invalid. To package a specific git commit, the date of the commit gets appended to the latest release, e.g. &amp;lt;code&amp;gt;1.0.0_git20180204&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== provides ====&lt;br /&gt;
: List of package names (and optionally version info) this package provides.&lt;br /&gt;
&lt;br /&gt;
: If package with a version is provided (provides=&#039;foo=1.2&#039;) apk will consider it as an alternate name and it will automatically consider the package for installation by the alternate name, and conflict with other packages having the same name, or provides.&lt;br /&gt;
&lt;br /&gt;
: If version is not provided (provides=&#039;foo&#039;), apk will consider it as virtual package name. Several package with same non-versioned provides can be installed simultaneously. However, none of them will be installed by default when requested by the virtual name - instead, error message is given and user is asked to choose which package providing the virtual name should be installed.&lt;br /&gt;
==== provider_priority ====&lt;br /&gt;
: A numeric value which is used by apk-tools to break ties when choosing a virtual package to satisfy a dependency. Higher values have higher priority. The primary use case is to specify the primary package that satisfies a virtual (provider).&lt;br /&gt;
==== replaces ====&lt;br /&gt;
: Package(s) that this package replaces.  This package will &amp;quot;take over&amp;quot; files owned by packages listed in the &#039;&#039;replaces&#039;&#039; variable.  This is useful when files move from one package to another, or when a package gets renamed.&lt;br /&gt;
==== replaces_priority ====&lt;br /&gt;
: The priority of the replaces. If multiple packages replace each other, then will the package with highest &#039;&#039;replaces_priority&#039;&#039; win.&lt;br /&gt;
==== source ====&lt;br /&gt;
: The source variable is not only used to list the remote source files to fetch, it is also used to list the local files that abuild will need in order to build the apk. Examples of such local files include: init.d files, conf.d files, install files (see [[APKBUILD Reference#install|install variable]]), patches, and all other necessary files.&lt;br /&gt;
&lt;br /&gt;
: Here are few things to note:&lt;br /&gt;
&lt;br /&gt;
:* When you are finished adding local and/or remote files to &#039;&#039;source&#039;&#039;, you can execute the following command to add their checksums to the APKBUILD file:&lt;br /&gt;
:: {{Cmd|abuild checksum}}&lt;br /&gt;
:: {{Note|When later updating the content of &#039;&#039;source&#039;&#039;, or updating a file that is listed in &#039;&#039;source&#039;&#039;, you must also update their checksums again with the same command.}}&lt;br /&gt;
&lt;br /&gt;
:* When the remote file is hosted at SourceForge, it&#039;s best to specify the special mirrors link used by SourceForge:&lt;br /&gt;
:: &amp;lt;pre&amp;gt;http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
:: (or similar depending on the package).&lt;br /&gt;
&lt;br /&gt;
:* You can set target filename (eg &#039;save as...&#039;) by prefixing the URI with &#039;&#039;filename::&#039;&#039;. This is useful when the remote filename is not specified in the URI (ie, does not end in &#039;/software-1.0.tar.gz&#039;), such as:&lt;br /&gt;
:: &amp;lt;pre&amp;gt;http://oss.example.org/?get=software&amp;amp;ver=1.0&amp;lt;/pre&amp;gt;&lt;br /&gt;
:: or when the filename is braindead, like githubs&#039; download tags:&lt;br /&gt;
:: &amp;lt;pre&amp;gt;https://github.com/software/software/archive/v$pkgver.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
:: The above two examples needs a target filename prefix:&lt;br /&gt;
:: &amp;lt;pre&amp;gt;$pkgname-$pkgver.tar.gz::http://oss.example.org/?get=software&amp;amp;ver=$pkgver&amp;lt;/pre&amp;gt;&lt;br /&gt;
:: and:&lt;br /&gt;
:: &amp;lt;pre&amp;gt;$pkgname-$pkgver.tar.gz::https://github.com/software/software/archive/v$pkgver.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:* abuild currently supports the following protocols for remote file retrieval:&lt;br /&gt;
:** http&lt;br /&gt;
:** https&lt;br /&gt;
:** ftp&lt;br /&gt;
&lt;br /&gt;
:* abuild currently supports the following archive types/archive file extensions:&lt;br /&gt;
:** .tar (only in Alpine &amp;gt;= 2.5)&lt;br /&gt;
:** .tar.gz / .tgz&lt;br /&gt;
:** .tar.bz2&lt;br /&gt;
:** .tar.lz (only in Alpine &amp;gt;=3.7)&lt;br /&gt;
:** .tar.lzma&lt;br /&gt;
:** .tar.xz&lt;br /&gt;
:** .zip&lt;br /&gt;
&lt;br /&gt;
==== subpackages ====&lt;br /&gt;
: Subpackages built from this APKBUILD.  abuild will parse this variable and try to find a subpackage split function.  The split function must &#039;&#039;move&#039;&#039; files that do not belong in the main package, from &#039;&#039;$pkgdir&#039;&#039; to &#039;&#039;$subpkgdir&#039;&#039;.  Files and directories can also be &#039;&#039;copied&#039;&#039; from &#039;&#039;$startdir&#039;&#039; and &#039;&#039;$srcdir&#039;&#039; to &#039;&#039;$subpkgdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: The split function can be specified in 1 of 3 different methods:&lt;br /&gt;
:# subpkgname:&#039;&#039;&#039;splitfunc&#039;&#039;&#039;&lt;br /&gt;
:# $pkgname-&#039;&#039;&#039;splitfunc&#039;&#039;&#039;&lt;br /&gt;
:# &#039;&#039;&#039;splitfunc&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: {{Note|Split function names &#039;&#039;&#039;cannot&#039;&#039;&#039; use hyphens; use the first method above if the subpackage name contains a hyphen (-) character, like this: &#039;&#039;subpkg-name:subpkg_name&#039;&#039;, where &amp;lt;code&amp;gt;subpkg-name&amp;lt;/code&amp;gt; is the name of the &#039;&#039;&#039;subpackage&#039;&#039;&#039; and &amp;lt;code&amp;gt;subpkg_name&amp;lt;/code&amp;gt; is the name of the &#039;&#039;&#039;subpackage&#039;s split function&#039;&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
: {{Tip|For more information, see the [[APKBUILD_examples:Subpackages|Subpackages example]].}}&lt;br /&gt;
&lt;br /&gt;
==== triggers ====&lt;br /&gt;
: Apk-tools can &amp;quot;monitor&amp;quot; directories and execute a trigger if any package installed/uninstalled any file in the monitored dir. The triggers are always executed after the apk action (install, uninstall, upgrade).&lt;br /&gt;
&lt;br /&gt;
: The triggers are specified in the format: &#039;&#039;scriptname&#039;&#039;=&#039;&#039;pathlist&#039;&#039; where &#039;&#039;scriptname&#039;&#039; is the (sub)package name + .trigger suffix and pathlist is : separated list of the dirs to monitor.&lt;br /&gt;
&lt;br /&gt;
: The &#039;&#039;&#039;triggers&#039;&#039;&#039; variable must include the triggers for subpackages too if they have any.&lt;br /&gt;
&lt;br /&gt;
: It is possible to use wildcards (*) in the dir list.&lt;br /&gt;
&lt;br /&gt;
==== url ====&lt;br /&gt;
: The homepage for the package.  This is to help users find upstream documentation and other information regarding the package.&lt;br /&gt;
&lt;br /&gt;
==== langdir ====&lt;br /&gt;
: Path to where the language files are located for the &#039;&#039;&#039;-lang&#039;&#039;&#039; subpackage, defaults to &#039;&#039;&#039;/usr/share/locale&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Functions =&lt;br /&gt;
{{Note|All functions that are not &#039;&#039;prepare()&#039;&#039;, &#039;&#039;build()&#039;&#039;, &#039;&#039;check()&#039;&#039; and &#039;&#039;package()&#039;&#039; should consider the current working directory as undefined, and should therefore use the [[APKBUILD Reference#abuild-defined_variables|abuild-defined directory variables]] to their advantage.}}&lt;br /&gt;
&lt;br /&gt;
 sanitycheck() -&amp;gt; clean()-&amp;gt; fetch() -&amp;gt; verify() -&amp;gt; unpack() -&amp;gt; prepare() -&amp;gt; mkusers() -&amp;gt; build() -&amp;gt; check() -&amp;gt; package() -&amp;gt; subpackages() -&amp;gt; language packs -&amp;gt; apk -&amp;gt; cleanup()&lt;br /&gt;
&lt;br /&gt;
== abuild-defined functions ==&lt;br /&gt;
The following functions are provided by abuild and can be overridden, but it is strongly discouraged on code review for some functions:&lt;br /&gt;
&lt;br /&gt;
==== fetch() ====&lt;br /&gt;
: Downloads remote sources listed in &#039;&#039;source&#039;&#039; to &#039;&#039;SRCDEST&#039;&#039; (&#039;&#039;SRCDEST&#039;&#039; is configured in &#039;&#039;/etc/abuild.conf&#039;&#039;) and creates symlinks in &#039;&#039;$srcdir&#039;&#039;.&lt;br /&gt;
==== unpack() ====&lt;br /&gt;
: unpack() will call default_unpack().&lt;br /&gt;
&lt;br /&gt;
: [https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L403 default_unpack()] unpacks .tar, .tgz, .tar.gz, .tar.lz (only available in Alpine &amp;gt;=3.7), .tar.bz2, .tar.lzma, .tar.xz, and .zip archives from a symlink in &#039;&#039;$srcdir&#039;&#039; associated with &#039;&#039;$SRCDEST&#039;&#039; (or distfiles folder) resulting in an unpacked folder in &#039;&#039;$srcdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== dev() ====&lt;br /&gt;
: Subpackage function for the &#039;&#039;&#039;$pkgname-dev&#039;&#039;&#039; package is used to collect developer files and folders for use in other packages in the compilation process nothing more.  Without specifying a custom &#039;&#039;dev()&#039;&#039; function, abuild will call its internal &#039;&#039;dev()&#039;&#039; function, which in turn calls default_dev().&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;[https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L1605 default_dev()]&#039;&#039; will move any &#039;&#039;include&#039;&#039; folder and folders containing &#039;&#039;*.[acho]&#039;&#039; (static archive, c source, c header file, object file), &#039;&#039;*.prl&#039;&#039; file extension patterns in &#039;&#039;&amp;quot;$pkgdir&amp;quot;/{lib,usr}&#039;&#039; to &#039;&#039;&amp;quot;$subpkgdir&amp;quot;/{lib,usr}&#039;&#039; recursively; and &#039;&#039;*.so&#039;&#039; files from &#039;&#039;&amp;quot;$pkgdir&amp;quot;/{lib,usr/lib}&#039;&#039; to &#039;&#039;&amp;quot;$subpkgdir&amp;quot;/{lib,usr/lib}&#039;&#039;.  It will also scan and move &#039;&#039;usr/{include,lib/{pkgconfig,cmake,qt*/mkspecs},share/{aclocal,gettext,vala/vapi,gir-[0-9]*,qt*/mkspecs},bin/*-config}}&#039;&#039; developer only folders in &#039;&#039;$pkgdir&#039;&#039; and transfer them to &#039;&#039;$subpkgdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: In general, default_dev() will support packages that share pkg-config, C programming language API, shared and static libraries, Autotools, gettext, Vala programming language bindings, Python GObject introspection, a provided custom pkg-config like command (*-config), Qt, and CMake.  If you have packages that have C++, other languages, other build system, etc; you need to manually move those developer files only if they are to be used in other packages.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Important&#039;&#039;&#039;: For default_dev() to be called as in no dev(), you need to explicitly add subpackages=&amp;quot;$pkgname-dev&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== doc() ====&lt;br /&gt;
: Subpackage function for the &#039;&#039;&#039;$pkgname-doc&#039;&#039;&#039; package whose job is only to collect documentation folders from $pkgdir nothing more.  Without specifying a custom &#039;&#039;doc()&#039;&#039; function, abuild will call its internal &#039;&#039;doc()&#039;&#039; function, which in turn calls default_doc().&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;[https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L1519 default_doc()]&#039;&#039; will move &#039;&#039;&amp;quot;$pkgdir&amp;quot;/usr/share/{doc,man,info,html,sgml,licenses,gtk-doc,ri,help}&#039;&#039; to &#039;&#039;$subpkgdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: Overriding this function is strongly discouraged.  Packaging docs should be done in the package() function while letting abuild automatically collect the doc folders.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Important&#039;&#039;&#039;: For default_doc() to be called as in no doc(), you need to explicitly add subpackages=&amp;quot;$pkgname-doc&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== openrc() ====&lt;br /&gt;
: Subpackage function for the &#039;&#039;&#039;$pkgname-opernc&#039;&#039;&#039; package whose job is to collect OpenRC service files that are in /etc/init.d and /etc/conf.d.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;[https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L1661 default_openrc()]&#039;&#039; will move &#039;&#039;&amp;quot;$pkgdir&amp;quot;/etc/{conf,init}.d&#039;&#039; to &#039;&#039;$subpkgdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: Overriding this function is strongly discouraged. Packaging OpenRC service definitions should be in the package() function while letting abuild automatically collect the openrc folders.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Important&#039;&#039;&#039;: for default_openrc() to be called as in no openrc(), you need to explicitly add subpackages=&amp;quot;$pkgname-openrc&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== static() ====&lt;br /&gt;
: Subpackage function for the &#039;&#039;&#039;$pkgname-static&#039;&#039;&#039; package whose job is to collect static libraries that are stored in /lib and /usr/lib.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;[https://github.com/alpinelinux/abuild/blob/v3.4.0_rc4/abuild.in#L1748 default_static()]&#039;&#039; will move all static libraries (files ending with .a) from &#039;&#039;&amp;quot;$pkgdir&amp;quot;/lib&#039;&#039; and &#039;&#039;&amp;quot;$pkgdir&amp;quot;/usr/lib&#039;&#039; to their equivalents in &#039;&#039;$subpkgdir&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: Overriding this function is strongly discouraged. Packaging static libraries should be done in the package() function while letting abuild automatically collect the static libraries.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Important&#039;&#039;&#039;: for default_static() to be called as in no static(), you need to explicitly add subpackages=&amp;quot;$pkgname-static&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== snapshot() ====&lt;br /&gt;
: &#039;&#039;&#039;Optional&#039;&#039;&#039;.  For live APKBUILDs or those with a _cvs, _svn, _git, _hg in their version number, you should create a snapshot function only if there is no download link to an archive file (.zip, .tar.gz, ...) to the commit/hash/tag.  The purpose of the snapshot function is to create an archive of the source code so that the package source code is deterministic, and it doesn&#039;t waste time to fetch the source code but bypasses the download step after snapshotting.  Those that download the source code from a git repository will follow head or the latest change to the source code.  It is better to archive the source code as a zip / tar.gz / tar.bz2 up to the commit or the tag which you are trying to build a package.  If it is not deterministic or not every part of the code frozen in time for every dependency and the main project, then the patches will fail or the package may fail to compile when you revisit the package months or years to backport a patch.&lt;br /&gt;
&lt;br /&gt;
: The default [https://github.com/alpinelinux/abuild/blob/v3.1.0/abuild.in#L2310 snapshot()] function has variables associated with it:&lt;br /&gt;
:* $disturl - the base-url of the place to autoupload the snapshot&lt;br /&gt;
:* $svnurl - Subversion repository &lt;br /&gt;
:* $giturl - Git repository&lt;br /&gt;
&lt;br /&gt;
: The default snapshot() can only support one repository.  It is better to override it if there are multiple repositories involved in your package.  CVS, Mercurial (hg), and alternative version control systems must override the default snapshot().&lt;br /&gt;
&lt;br /&gt;
: See [[APKBUILD_examples:Git_checkout]] to how to use it with git.  It takes 2-3 general steps.  Clone the repository; check it out at a specific revision/commit or tag; then you use an archiver to dump it in the &#039;&#039;$SRCDEST&#039;&#039; variable which points to the distfiles folder and the base path to the full path to the archive that you want to create.  You do this for every internal dependency that the package pulls.&lt;br /&gt;
&lt;br /&gt;
: After you have created your snapshot function, you use &amp;lt;code&amp;gt;abuild snapshot&amp;lt;/code&amp;gt; to run it.  &lt;br /&gt;
&lt;br /&gt;
: The archives produced by the snapshot will be saved in &#039;&#039;/var/cache/distfiles&#039;&#039; or whatever you set for &#039;&#039;$SRCDEST&#039;&#039;.  You may need to create symlinks to the archive if the archive is not saved to the Alpine server.&lt;br /&gt;
&lt;br /&gt;
: After you snapshot it, you need to produce the checksums with &amp;lt;code&amp;gt;abuild checksum&amp;lt;/code&amp;gt; to use it in the APKBUILD creation process.&lt;br /&gt;
&lt;br /&gt;
: This feature is available since Alpine &amp;gt;=2.6.&lt;br /&gt;
&lt;br /&gt;
== User-defined functions ==&lt;br /&gt;
The following functions should be defined by the user: &lt;br /&gt;
&lt;br /&gt;
==== prepare() ====&lt;br /&gt;
: {{note|Please adjust old APKBUILDs, which still have a &#039;&#039;prepare()&#039;&#039; function that does the same as the &#039;&#039;default_prepare()&#039;&#039; when you edit them anyway.}}&lt;br /&gt;
: &#039;&#039;&#039;&#039;&#039;Optional&#039;&#039;.&#039;&#039;&#039;  Used for build preparation: patches, etc, should be applied here. When you don&#039;t specify a custom &#039;&#039;prepare()&#039;&#039;, the built-in &#039;&#039;default_prepare()&#039;&#039; from abuild will be used. It applies patches already (always prepare them in the &amp;lt;code&amp;gt;-p1&amp;lt;/code&amp;gt; format), so &#039;&#039;&#039;usually it makes sense to not create a custom &#039;&#039;prepare()&#039;&#039; function at all!&#039;&#039;&#039; If you do create one, call &#039;&#039;default_prepare()&#039;&#039; inside it:&lt;br /&gt;
&lt;br /&gt;
: Before default_prepare gets called, you can define &#039;&#039;patch_args&#039;&#039; to supply the argument to the patch command in global scope then throw away prepare() so it is unnecessary to use the old template code floating around to patch.  patch_args and autopatching is only available in Alpine &amp;gt;=3.4.  See [[Creating_an_Alpine_package#Patches]] to fix the patch that uses a different patch level (-pX).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
prepare() {&lt;br /&gt;
    default_prepare&lt;br /&gt;
    # your custom code here&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== build() ====&lt;br /&gt;
: &#039;&#039;&#039;Required.&#039;&#039;&#039;  This is the compilation stage.  This function will be called as the current user (unless the &#039;&#039;package()&#039;&#039; function is missing - for compatibility reasons).  If no compilation is needed, this function can contain a single line: &amp;lt;code&amp;gt;return 0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: To enable or disable CFLAGS, CXXFLAGS, CMake with option, or configure option per arch, use the CARCH variable:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local cmakeoptions=&lt;br /&gt;
case &amp;quot;$CARCH&amp;quot; in&lt;br /&gt;
        aarch64*|arm*|ppc64le|x86|s390x) cmakeoptions=&amp;quot;$cmakeoptions -DWITH_OPENMP=OFF&amp;quot; ;;&lt;br /&gt;
        x86_64)                          cmakeoptions=&amp;quot;$cmakeoptions -DWITH_OPENMP=ON&amp;quot; ;;&lt;br /&gt;
        *)                               msg &amp;quot;Unable to determine architecture from (CARCH=$CARCH)&amp;quot; ; return 1 ;;&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: The block can be used in other parts of the APKBUILD even in global.&lt;br /&gt;
&lt;br /&gt;
==== check() ====&lt;br /&gt;
: &#039;&#039;&#039;Required if functionality exists.&#039;&#039;&#039; This function is called right after the build stage.  It should check that the packaged thing is actually working, typically by running (integration) tests, if provided by upstream.  If there’s no (easy) way how to test the package, you can declare that it does not want to use &#039;&#039;check()&#039;&#039; by adding &amp;quot;!check&amp;quot; into the &#039;&#039;options&#039;&#039; variable (&amp;lt;code&amp;gt;options=&amp;quot;!check&amp;quot;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
: default_check() does nothing.  You need to manually explicitly call the unit tests or test suite yourself.  When you run the test, the program should return with an exit code of 0, indicating the tests were a success.  Unit tests or test suites will do feature tests, per function correctness check, fuzz testing, benchmarks.&lt;br /&gt;
&lt;br /&gt;
: A package may also require additional testing frameworks packages that are external dependencies.  You should add those to the &#039;&#039;checkdepends=&#039;&#039; in Alpine &amp;gt;=3.6 or &#039;&#039;makedepends=&#039;&#039; for older for backporters.  If the testing framework is not available, you need to create a package for it.  If it requires a specific version of a testing framework, consider making it an internal dependency or a new package with a package name containing the major and minor version number like the python packages.&lt;br /&gt;
&lt;br /&gt;
: Generally speaking, you should define the check functions for libraries, large programs like web browsers, or compilers and interpreters, cryptographic/security/anonymity stuff, mission critical stuff, PCI compliance/money/accounting software, server software with a lot of stakeholders or consumers.  Soon for the new policy change will have virtually &#039;&#039;&#039;all packages with testing capabilities be required to have a working and defined check() function&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
: There are times when the unit tests do not work, just because the test itself is broken, new unimplemented feature, external factors not taken into consideration, unbundling path differences, breakage caused by ccache, missing test dependency or version mismatch dependency as in python2 vs python3, test scripts only work for particular language implementation like only supporting python2 but not python3 having used the 2to3 conversion script.  If a unit test is known not to work, you may need to patch it to omit that test or fix it; but, certain tests should not be disabled if it is important.  You may need to alter the references to uncompiled internal dependencies to work with the external dependencies instead.  For ccache, you can either disable it or remove it from the PATH environmental variable before running tests.&lt;br /&gt;
&lt;br /&gt;
{{Note|Tests for graphical applications and toolkits might work on a X11 user setup but will fail on the server unless run with xvfb-run.}}&lt;br /&gt;
&lt;br /&gt;
: If you don&#039;t add the &#039;&#039;check()&#039;&#039; and the &#039;&#039;options=&#039;&#039;, this is what you will see:&lt;br /&gt;
&lt;br /&gt;
  &amp;gt;&amp;gt;&amp;gt; WARNING: py-webtest*: APKBUILD does not run any tests!&lt;br /&gt;
    Alpine policy will soon require that packages have any relevant testsuites run during the build process.&lt;br /&gt;
    To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite.&lt;br /&gt;
&lt;br /&gt;
: If you do not do a check or disable it, you must state there is no testsuite in comment form (#) next to options=&amp;quot;!check&amp;quot; for the code reviewers.&lt;br /&gt;
&lt;br /&gt;
: To run test suite with autotools do:&lt;br /&gt;
&lt;br /&gt;
  make check&lt;br /&gt;
&lt;br /&gt;
: To run the test suite with python setuptools:&lt;br /&gt;
&lt;br /&gt;
  python2 setup.py test&lt;br /&gt;
  python3 setup.py test&lt;br /&gt;
&lt;br /&gt;
: For python it should be &#039;&#039;&#039;test&#039;&#039;&#039; not check.  Check for python setuptools will check the packaging metadata fields[https://docs.python.org/3/distutils/examples.html#checking-a-package] only but not run the unit tests.  There should be verbose output also.  The dependencies for the tests are found in test_require in the setup.py.&lt;br /&gt;
&lt;br /&gt;
: If it says &amp;lt;code&amp;gt;Ran 0 tests in 0.000s&amp;lt;/code&amp;gt; that is not acceptable.  check() will say it was good but it is not actually correct.  It needs to run the test suite with an alternative method like &amp;lt;code&amp;gt;tox -e py27,py36&amp;lt;/code&amp;gt; if you see a tox.ini file.&lt;br /&gt;
&lt;br /&gt;
: You want to do it for each implementation to ensure that the API calls are correct per implementation but ncopa said it was just fine with python3.&lt;br /&gt;
&lt;br /&gt;
: If there is a circular dependency for the checkdepends=, you need to disable the check and put the reason next to &amp;lt;code&amp;gt;options=&amp;quot;!check&amp;quot;&amp;lt;/code&amp;gt; that there is a circular dependency.  You should disable it for the package that package that is least important or least security risk.  The other solution is to make the conflicting dependency an internal dependency but making sure that it doesn&#039;t pull it at check time.  This way they can both preform tests properly.&lt;br /&gt;
&lt;br /&gt;
==== package() ====&lt;br /&gt;
: &#039;&#039;&#039;Required.&#039;&#039;&#039;  This is the packaging stage.  Here, the built application and support files should be installed into &#039;&#039;&#039;$pkgdir&#039;&#039;&#039;.  If this is a metapackage, this function can contain a single line: &amp;lt;code&amp;gt;mkdir -p &amp;quot;$pkgdir&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|Building in fakeroot will reduce performance for parallel builds dramatically.  It is for this reason that we split the build and package process into two separate functions.}}&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
The [[APKBUILD examples]] page will assist you in understanding how to create an APKBUILD.&lt;br /&gt;
&lt;br /&gt;
= Version =&lt;br /&gt;
&lt;br /&gt;
This document assumes abuild for Alpine Edge.  For older releases of abuild, some of these features may not be available if you are using an older release.  A link to the implementation is linked for researchers and backporters.&lt;br /&gt;
&lt;br /&gt;
For more information see [[APKBUILD_versions]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16973</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16973"/>
		<updated>2020-03-02T06:30:10Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* aports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== Initial support for DLang =====&lt;br /&gt;
&lt;br /&gt;
We&#039;ve added initial support for the D language with this release. We now have GDC, the D compiler frontend using GCC, available on all arches but ppc64le and LDC, a D compiler using the LLVM backend, on x86_64. Most things are built against ldc and as such only available on x86_64 right now due to GDC shipping a rather outdated version of the Phobos, the D standard library.&lt;br /&gt;
&lt;br /&gt;
===== py3-setuptools now uses system python3 modules instead of vendored dependencies =====&lt;br /&gt;
&lt;br /&gt;
py3-setuptools now installs py3-packaging, py3-parsing, py3-appdirs, py3-six and py3-ordered-set from the system.&lt;br /&gt;
&lt;br /&gt;
The following commits are the ones responsible for this change:&lt;br /&gt;
&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=efca8852f37cb4028f234f92e2d035617f524820 py3-six] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=55e3496387ad3f2df387b2cf6bc84e85ef729833 py3-ordered-set] (new aport)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=cc1636b08fba58b629501d525d658aed4bcbeab2 py3-ordered-set] (move from testing to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=da743693eda54b9faf5086746b91506495fc689f py3-appdirs] (move from community to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=60efe787954008af546a5bde839db09f11682102 py3-appdirs] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=a50097b40bcf80a9aec201fef73a722206f43a0d py3-packaging] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=52ee5092c510657e9b1e8b4ae0104d405c9eac99 py3-parsing] (install manually)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=33ea734e2d28d88a3d545500c96b4c72b3e78432 py3-setuptools] (use system component)&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
===== Packages which need libsecret&#039;s DBus API now depend a provider of its API via dbus:org.freedesktop.Secret =====&lt;br /&gt;
&lt;br /&gt;
Previously it was possible to install a program which required the DBus API of libsecret (e.g. Fractal), but not install a secrets provider (e.g. gnome-keyring), so logins wouldn&#039;t be saved. This has been corrected and packages which require this API depend on the provider-package dbus:org.freedesktop:Secret now. It&#039;s provided by gnome-keyring, kwallet and keepassxc (in that order of importance, i.e. if none of these is pulled in gnome-keyring will be chosen by default). Right now we manually declared the provider for dbus:org.freedesktop.Secret, but eventually we should have an automatic detection for the DBus API packages provide to make this easier for other packages.&lt;br /&gt;
&lt;br /&gt;
===== Preferring enchant2 over enchant =====&lt;br /&gt;
&lt;br /&gt;
All packages which support enchant2 have been moved over to it instead of using enchant(1). enchant2 now also supports nuspell, which is a faster drop-in replacement for hunspell, which utilizes hunspell&#039;s dictionaries.&lt;br /&gt;
&lt;br /&gt;
===== Firefox is now in community =====&lt;br /&gt;
&lt;br /&gt;
Firefox finally left testing and will be in community, supported for 6 months.&lt;br /&gt;
&lt;br /&gt;
===== moonjit is now luajit =====&lt;br /&gt;
&lt;br /&gt;
Our luajit package switched to the alive moonjit fork which has, among other things, s390x support and actual development.&lt;br /&gt;
&lt;br /&gt;
This [https://git.alpinelinux.org/aports/commit/?id=af7f776d08cf7c12c3dd62347829fe33e66dceaa commit] switched luajit over to moonjit, the following [https://git.alpinelinux.org/aports/commit/?id=a7d057d98859940cc3347dba011957f99291b1fa commit] removes our **HUGE** 46k s390x support patch which is now handled by upstream.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16972</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16972"/>
		<updated>2020-03-02T04:39:55Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* aports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== Initial support for DLang =====&lt;br /&gt;
&lt;br /&gt;
We&#039;ve added initial support for the D language with this release. We now have GDC, the D compiler frontend using GCC, available on all arches but ppc64le and LDC, a D compiler using the LLVM backend, on x86_64. Most things are built against ldc and as such only available on x86_64 right now due to GDC shipping a rather outdated version of the Phobos, the D standard library.&lt;br /&gt;
&lt;br /&gt;
===== py3-setuptools now uses system python3 modules instead of vendored dependencies =====&lt;br /&gt;
&lt;br /&gt;
py3-setuptools now installs py3-packaging, py3-parsing, py3-appdirs, py3-six and py3-ordered-set from the system.&lt;br /&gt;
&lt;br /&gt;
The following commits are the ones responsible for this change:&lt;br /&gt;
&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=efca8852f37cb4028f234f92e2d035617f524820 py3-six] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=55e3496387ad3f2df387b2cf6bc84e85ef729833 py3-ordered-set] (new aport)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=cc1636b08fba58b629501d525d658aed4bcbeab2 py3-ordered-set] (move from testing to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=da743693eda54b9faf5086746b91506495fc689f py3-appdirs] (move from community to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=60efe787954008af546a5bde839db09f11682102 py3-appdirs] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=a50097b40bcf80a9aec201fef73a722206f43a0d py3-packaging] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=52ee5092c510657e9b1e8b4ae0104d405c9eac99 py3-parsing] (install manually)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=33ea734e2d28d88a3d545500c96b4c72b3e78432 py3-setuptools] (use system component)&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
===== Packages which need libsecret&#039;s DBus API now depend a provider of its API via dbus:org.freedesktop.Secret =====&lt;br /&gt;
&lt;br /&gt;
Previously it was possible to install a program which required the DBus API of libsecret (e.g. Fractal), but not install a secrets provider (e.g. gnome-keyring), so logins wouldn&#039;t be saved. This has been corrected and packages which require this API depend on the provider-package dbus:org.freedesktop:Secret now. It&#039;s provided by gnome-keyring, kwallet and keepassxc (in that order of importance, i.e. if none of these is pulled in gnome-keyring will be chosen by default). Right now we manually declared the provider for dbus:org.freedesktop.Secret, but eventually we should have an automatic detection for the DBus API packages provide to make this easier for other packages.&lt;br /&gt;
&lt;br /&gt;
===== Preferring enchant2 over enchant =====&lt;br /&gt;
&lt;br /&gt;
All packages which support enchant2 have been moved over to it instead of using enchant(1). enchant2 now also supports nuspell, which is a faster drop-in replacement for hunspell, which utilizes hunspell&#039;s dictionaries.&lt;br /&gt;
&lt;br /&gt;
===== Firefox is now in community =====&lt;br /&gt;
&lt;br /&gt;
Firefox finally left testing and will be in community, supported for 6 months.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16971</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16971"/>
		<updated>2020-03-02T04:38:28Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== Initial support for DLang =====&lt;br /&gt;
&lt;br /&gt;
We&#039;ve added initial support for the D language with this release. We now have GDC, the D compiler frontend using GCC, available on all arches but ppc64le and LDC, a D compiler using the LLVM backend, on x86_64. Most things are built against ldc and as such only available on x86_64 right now due to GDC shipping a rather outdated version of the Phobos, the D standard library.&lt;br /&gt;
&lt;br /&gt;
===== py3-setuptools now uses system python3 modules instead of vendored dependencies =====&lt;br /&gt;
&lt;br /&gt;
py3-setuptools now installs py3-packaging, py3-parsing, py3-appdirs, py3-six and py3-ordered-set from the system.&lt;br /&gt;
&lt;br /&gt;
The following commits are the ones responsible for this change:&lt;br /&gt;
&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=efca8852f37cb4028f234f92e2d035617f524820 py3-six] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=55e3496387ad3f2df387b2cf6bc84e85ef729833 py3-ordered-set] (new aport)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=cc1636b08fba58b629501d525d658aed4bcbeab2 py3-ordered-set] (move from testing to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=da743693eda54b9faf5086746b91506495fc689f py3-appdirs] (move from community to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=60efe787954008af546a5bde839db09f11682102 py3-appdirs] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=a50097b40bcf80a9aec201fef73a722206f43a0d py3-packaging] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=52ee5092c510657e9b1e8b4ae0104d405c9eac99 py3-parsing] (install manually)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=33ea734e2d28d88a3d545500c96b4c72b3e78432 py3-setuptools] (use system component)&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
===== Packages which need libsecret&#039;s DBus API now depend a provider of its API via dbus:org.freedesktop.Secret =====&lt;br /&gt;
&lt;br /&gt;
Previously it was possible to install a program which required the DBus API of libsecret (e.g. Fractal), but not install a secrets provider (e.g. gnome-keyring), so logins wouldn&#039;t be saved. This has been corrected and packages which require this API depend on the provider-package dbus:org.freedesktop:Secret now. It&#039;s provided by gnome-keyring, kwallet and keepassxc (in that order of importance, i.e. if none of these is pulled in gnome-keyring will be chosen by default). Right now we manually declared the provider for dbus:org.freedesktop.Secret, but eventually we should have an automatic detection for the DBus API packages provide to make this easier for other packages.&lt;br /&gt;
&lt;br /&gt;
===== Preferring enchant2 over enchant =====&lt;br /&gt;
&lt;br /&gt;
All packages which support enchant2 have been moved over to it instead of using enchant(1). enchant2 now also supports nuspell, which is a faster drop-in replacement for hunspell, which utilizes hunspell&#039;s dictionaries.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16956</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16956"/>
		<updated>2020-02-29T09:49:11Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* aports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== py3-setuptools now uses system python3 modules instead of vendored dependencies =====&lt;br /&gt;
&lt;br /&gt;
py3-setuptools now installs py3-packaging, py3-parsing, py3-appdirs, py3-six and py3-ordered-set from the system.&lt;br /&gt;
&lt;br /&gt;
The following commits are the ones responsible for this change:&lt;br /&gt;
&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=efca8852f37cb4028f234f92e2d035617f524820 py3-six] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=55e3496387ad3f2df387b2cf6bc84e85ef729833 py3-ordered-set] (new aport)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=cc1636b08fba58b629501d525d658aed4bcbeab2 py3-ordered-set] (move from testing to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=da743693eda54b9faf5086746b91506495fc689f py3-appdirs] (move from community to main)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=60efe787954008af546a5bde839db09f11682102 py3-appdirs] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=a50097b40bcf80a9aec201fef73a722206f43a0d py3-packaging] (use distutils)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=52ee5092c510657e9b1e8b4ae0104d405c9eac99 py3-parsing] (install manually)&lt;br /&gt;
* [https://git.alpinelinux.org/aports/commit/?id=33ea734e2d28d88a3d545500c96b4c72b3e78432 py3-setuptools] (use system component)&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16952</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16952"/>
		<updated>2020-02-26T06:37:29Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* ncurses fixes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=56aa7795fecc48561deb095995abd335e16ba515 commit] the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=1470a6c8e76491a8d059ebd4b7521c4bf20b837c commit] all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16951</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16951"/>
		<updated>2020-02-26T05:13:03Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* ncurses fixes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
With this [https://git.alpinelinux.org/aports/commit/?id=762b9fd601983d8a6e6a60692158f3f22b1b60fe commit] the ncurses-lib package no longer depends on the ncurses-terminfo, which was too big at 7.5 MB, instead ncurses-lib now depends solely on the ncurses-terminfo-base package which weights at around 120 kB.&lt;br /&gt;
&lt;br /&gt;
With this commit the ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now in ncurses-terminfo.&lt;br /&gt;
&lt;br /&gt;
With this commit all terminals that have their terminfo databases provided by the ncurses-terminfo-base now depend on it.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16950</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16950"/>
		<updated>2020-02-26T05:10:21Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* ncurses fixes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
* ncurses-libs no longer depend on the 7.5 MB ncurses-terminfo, instead depending only on the 120 kB ncurses-terminfo-base.&lt;br /&gt;
* ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases&lt;br /&gt;
 for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now&lt;br /&gt;
 in ncurses-terminfo.&lt;br /&gt;
* All terminals now depend on ncurses-terminfo-base if it provides the terminfo database for the terminal.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16949</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16949"/>
		<updated>2020-02-26T05:09:58Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* OpenRC now has a sane ordering of directories when loading kernel modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
- ncurses-libs no longer depend on the 7.5 MB ncurses-terminfo, instead depending only on the 120 kB ncurses-terminfo-base.&lt;br /&gt;
- ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases&lt;br /&gt;
 for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now&lt;br /&gt;
 in ncurses-terminfo.&lt;br /&gt;
- All terminals now depend on ncurses-terminfo-base if it provides the terminfo database for the terminal.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or locations reserved for the run-time configuration of daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16948</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16948"/>
		<updated>2020-02-26T05:09:02Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* OpenRC now has a sane ordering of directories when configuring kernel parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
- ncurses-libs no longer depend on the 7.5 MB ncurses-terminfo, instead depending only on the 120 kB ncurses-terminfo-base.&lt;br /&gt;
- ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases&lt;br /&gt;
 for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now&lt;br /&gt;
 in ncurses-terminfo.&lt;br /&gt;
- All terminals now depend on ncurses-terminfo-base if it provides the terminfo database for the terminal.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages, or the location for run-time configuration from daemons/services, will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16947</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16947"/>
		<updated>2020-02-26T05:03:51Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== ncurses fixes =====&lt;br /&gt;
&lt;br /&gt;
A few fixes trickled in relating exclusively to Alpine Linux that affect ncurses:&lt;br /&gt;
&lt;br /&gt;
- ncurses-libs no longer depend on the 7.5 MB ncurses-terminfo, instead depending only on the 120 kB ncurses-terminfo-base.&lt;br /&gt;
- ncurses-terminfo-base now includes the most common terminfo databases like tmux, screen, xterm-256color and also databases&lt;br /&gt;
 for packaged terminals like gnome-terminal, vte, konsole, alacritty, kitty, putty. All other terminfo databases are now&lt;br /&gt;
 in ncurses-terminfo.&lt;br /&gt;
- All terminals now depend on ncurses-terminfo-base if it provides the terminfo database for the terminal.&lt;br /&gt;
&lt;br /&gt;
===== python3 no longer provides pip3, use py3-pip from community =====&lt;br /&gt;
&lt;br /&gt;
Python3 is now built with --without-ensurepip which removes pip3 and its libraries from it. Instead use the py3-pip pacakge which uses system components.&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Aports_what_is_edge&amp;diff=16940</id>
		<title>Aports what is edge</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Aports_what_is_edge&amp;diff=16940"/>
		<updated>2020-02-25T07:43:18Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* How packages move in edge (The Juggler) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is edge (The Definition) ==&lt;br /&gt;
: &#039;&#039;&#039;Short definition&#039;&#039;&#039;&lt;br /&gt;
:: Edge is a rolling release branch.&lt;br /&gt;
&lt;br /&gt;
[Illustration]&amp;lt;br /&amp;gt;&lt;br /&gt;
* bleeding edge&lt;br /&gt;
* tree on the cliff&lt;br /&gt;
&lt;br /&gt;
== How packages move in edge (The Juggler) ==&lt;br /&gt;
&lt;br /&gt;
What are repositories (main|community|testing) ?&lt;br /&gt;
See, https://wiki.alpinelinux.org/wiki/Aports_tree&lt;br /&gt;
&lt;br /&gt;
# MAIN&lt;br /&gt;
## Main has a support cycle of 2 years &lt;br /&gt;
## Support the main repository for 1.5 year (a total of 2 years)&lt;br /&gt;
## We also try to limit the amount of packages in main to only include base system packages, in base you can think of packages which are needed by other packages or are needed to setup a basic system. &lt;br /&gt;
## Packages in main must not have dependencies in other repositories.&lt;br /&gt;
# COMMUNITY&lt;br /&gt;
## Community has a maximum support cycle of 6 months.&lt;br /&gt;
## Support will stop (you will need to upgrade to the new release to continue to have support)&lt;br /&gt;
## Packages limited if its a bloat&lt;br /&gt;
# TESTING&lt;br /&gt;
## No support (staging only), only built for edge.&lt;br /&gt;
## If it stays here long enough it gets moved to unmaintained/purged (gets cleaned up every 6 months)&lt;br /&gt;
## No limit&lt;br /&gt;
# UNMAINTAINED&lt;br /&gt;
## Unmaintained packages are not build.&lt;br /&gt;
#NON-FREE&lt;br /&gt;
## Don&#039;t ask, don&#039;t tell, we only like opensource.&lt;br /&gt;
&lt;br /&gt;
[Illustration]&amp;lt;br /&amp;gt;&lt;br /&gt;
* bananas for repos (green=testing, green/yellow=community, yellow=main)&lt;br /&gt;
* unmaintained(brown), algibot with closed nose, brooming it away&lt;br /&gt;
* non-free(transparent), we act as if they do not exist&lt;br /&gt;
&lt;br /&gt;
Before a package can move from testing to main or community, the following requirements must be met:&lt;br /&gt;
&lt;br /&gt;
# Package must work correctly, including the init.d script (if provided) and default configuration&lt;br /&gt;
# Packaging must be done correctly, with files installed in the right places, e.g. configs are in /etc/ and not in /usr/etc&lt;br /&gt;
# Package dependencies are handled correctly. Abuild can (and should) autodetect shared libs, for example sqlite-libs provides so:libsqlite3.so.0, any package linked to sqlite should have an automatically (by abuild) added depend=so:libsqlite3.so.0 and user should not manually add a depend=&amp;quot;sqlite-libs&amp;quot; in the APKBUILD &lt;br /&gt;
# There is a maintainer who claims responsibility for the maintenance of the package and can help fixing things if they break in the future&lt;br /&gt;
&lt;br /&gt;
== Packages that go to next stable release (The Reap) ==&lt;br /&gt;
Every new stable release will be a branch created from our master branch (our current edge release).&lt;br /&gt;
The only two repositories included in stable branches are main and community.&lt;br /&gt;
This means any package that is currently in our testing repository will not be included in our new release. This is because testing is a kind of staging directory where we test packaging before we move them to one of the two other repositories (most probably community).&lt;br /&gt;
&lt;br /&gt;
Please also keep in mind that our community repository is still young so many packages will still need to be moved to community, we try to do that when we bump into them.&lt;br /&gt;
&lt;br /&gt;
[Illustration]&amp;lt;br /&amp;gt;&lt;br /&gt;
* Hoga-boga dance around fire&lt;br /&gt;
* Harvesting season&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is stable release (Fruits of Labor) ==&lt;br /&gt;
- How to find latest stable release?&lt;br /&gt;
&lt;br /&gt;
[Illustration]&amp;lt;br /&amp;gt;&lt;br /&gt;
* Vacation to alpine wilderness&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Do we backport new packages(from edge) to previous stable releases (The Gift, Favor) ==&lt;br /&gt;
# Make a request on forum/irc, mailing list or add to bugs.a.o and wait.&lt;br /&gt;
# Don&#039;t forget to say why (in short).&lt;br /&gt;
# Be prepared for rejection.&lt;br /&gt;
&lt;br /&gt;
[Illustration]&amp;lt;br /&amp;gt;&lt;br /&gt;
* Algibot controlled drone dropping packages (the gift).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How packages are deleted (The Purge) ==&lt;br /&gt;
Presently applies mostly to &amp;quot;testing&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Checks before purge ===&lt;br /&gt;
# If packages is feature complete&lt;br /&gt;
# If its stable and no equivalent package is available&lt;br /&gt;
# If its a hard-depends for another package.&lt;br /&gt;
# If its requiring extra maintenance then move to a lower priority level&lt;br /&gt;
# If its a problem, add to bugs.alpinelinux.org first, once bugs get comments, vote or veto&lt;br /&gt;
# If its in &#039;testing&#039; long enough (this is shaky)&lt;br /&gt;
&lt;br /&gt;
=== After purge ===&lt;br /&gt;
# Remember to replace with equivalent packages if its only of a kind &lt;br /&gt;
# Notify in &amp;quot;detailed changes list&amp;quot; in release notes (applies to main|community)&lt;br /&gt;
&lt;br /&gt;
[Illustration]&amp;lt;br /&amp;gt;&lt;br /&gt;
* Algibot shooting packages with nose clips on&lt;br /&gt;
* Algibot brooming it away&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Glossary ==&lt;br /&gt;
# &#039;&#039;&#039;Support&#039;&#039;&#039; - mostly security fixes and major software issues&lt;br /&gt;
# &#039;&#039;&#039;Special packages&#039;&#039;&#039; - packages voted to be special (not otherwise as understood as basic system package)&lt;br /&gt;
&lt;br /&gt;
=See Also=	&lt;br /&gt;
*[[Aports tree]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16930</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16930"/>
		<updated>2020-02-21T19:31:22Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== secfixes ==&lt;br /&gt;
&lt;br /&gt;
{{Note|pending discussion with other developers}}&lt;br /&gt;
&lt;br /&gt;
This is the last release that will have secfixes information embedded into the APKBUILD in the form of shell comments, future&lt;br /&gt;
versions will have a separate &amp;lt;code&amp;gt;secfixes.yaml&amp;lt;/code&amp;gt; file that resides in the same directory as the APKBUILD, it will be&lt;br /&gt;
a purely yaml file.&lt;br /&gt;
&lt;br /&gt;
This removes the potentially troublesome operation of reading the APKBUILD and extracting the secfixes comment, allowing us&lt;br /&gt;
to simplify secfixes-check from [https://gitlab.alpinelinux.org/Leo/atools Leo/atools] to validate the yaml by simply loading&lt;br /&gt;
the separate yaml file.&lt;br /&gt;
&lt;br /&gt;
== aports ==&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16928</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16928"/>
		<updated>2020-02-19T04:45:50Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== BPF JIT support =====&lt;br /&gt;
&lt;br /&gt;
&amp;gt; TODO: Small preamble about BPF&lt;br /&gt;
&lt;br /&gt;
So it (BPF JIT) has been enabled by default in [https://git.alpinelinux.org/aports/commit/?id=3bf2313adc57fe6b36bf459ddca6d65a392609db 3bf2313adc57fe6b36bf459ddca6d65a392609db], and unprivileged BPF JIT has been disabled in [https://git.alpinelinux.org/aports/commit/?id=4e286992d5ed751f6ca60eb18d77313bb0868513 4e286992d5ed751f6ca60eb18d77313bb0868513].&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16927</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16927"/>
		<updated>2020-02-19T04:34:12Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* aports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having configuration files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which configuration files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install configuration to it, primarily because /run is in temporary memory. Configuration in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16926</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16926"/>
		<updated>2020-02-19T04:33:15Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* aports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install files to it, primarily because /run is in temporary memory. Files in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/modules-load.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/modules-load.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/modules&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/modules-load.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install files to it, primarily because /run is in temporary memory. Files in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16925</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16925"/>
		<updated>2020-02-19T04:32:25Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* OpenRC now has a sane ordering of directories when loading kernel modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install files to it, primarily because /run is in temporary memory. Files in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the &amp;lt;code&amp;gt;modules&amp;lt;/code&amp;gt; OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 a more logical ordering is adopted for which files to read and ignore:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16924</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16924"/>
		<updated>2020-02-19T04:31:24Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* OpenRC now has a sane ordering of directories when configuring kernel parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
surprised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as follows:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; are to be used by the distribution and packages. Alpine Linux installs its default configuration file in &amp;lt;code&amp;gt;/lib/sysctl.d/00-alpine.conf&amp;lt;/code&amp;gt;. Software installed via our package manager will install to either of those places.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created and maintained by the local administrator, neither Alpine nor its packaged software will touch it, and configuration in that has the same name as in the location reserved for the distribution and packages will cause the latter to not be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; is a historical location for this kind of configuration and is kept for the same reasons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/run/sysctl.d&amp;lt;/code&amp;gt; holds configuration that is created at run-time by daemons/services or at very early-boot. Neither the distribution nor the packaged software will install files to it, primarily because /run is in temporary memory. Files in this location that matches names in the local administrator or the locations used by the distribution and packages will cause the latter not to be read and applied by the &amp;lt;code&amp;gt;sysctl&amp;lt;/code&amp;gt; service.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
{{Note|/etc/modules cannot be overridden and only exists because of historical precedent.}}&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16923</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16923"/>
		<updated>2020-02-18T18:49:20Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* aports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when configuring kernel parameters =====&lt;br /&gt;
&lt;br /&gt;
Configuring kernel parameters is done by having files in specific locations like &amp;lt;code&amp;gt;/etc/sysctl.conf&amp;lt;/code&amp;gt; and files ending with &amp;lt;code&amp;gt;.conf&amp;lt;/code&amp;gt; in certain directories like &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;. Before 3.12.0 the ordering had no logical explanation and&lt;br /&gt;
supervised users that expected a hierarchy. &lt;br /&gt;
&lt;br /&gt;
Starting with 3.12.0 the ordering is as such:&lt;br /&gt;
&lt;br /&gt;
# /lib/sysctl.d/*.conf&lt;br /&gt;
# /usr/lib/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.d/*.conf&lt;br /&gt;
# /etc/sysctl.conf&lt;br /&gt;
# /run/sysctl.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Packages and Alpine Linux will install to &amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt;, those can be overridden by the local administrator by placing the files in &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt;, if a filename from &amp;lt;code&amp;gt;/etc/sysctl.d&amp;lt;/code&amp;gt; matches a filename from &amp;lt;code&amp;gt;/lib/sysctl.d&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/usr/lib/sysctl.d&amp;lt;/code&amp;gt; then the file in the latter will not be run.&lt;br /&gt;
&lt;br /&gt;
The same logic applies for &amp;lt;code&amp;gt;run/sysctl.d&amp;lt;/code&amp;gt;, meant for runtime configuration, which will override all locations mentioned above.&lt;br /&gt;
&lt;br /&gt;
{{Note|/etc/sysctl.conf cannot be overridden and exists because of historical precedent}}&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
{{Note|/etc/modules cannot be overridden and only exists because of historical precedent.}}&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16917</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16917"/>
		<updated>2020-02-17T10:18:20Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* OpenRC now has a sane ordering of directories when loading kernel modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
{{Note|/etc/modules cannot be overridden and only exists because of historical precedent.}}&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16915</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16915"/>
		<updated>2020-02-17T04:55:49Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* abuild */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;br /&gt;
&lt;br /&gt;
===== set CARGO_HOME to cache dependencies of rust packages =====&lt;br /&gt;
&lt;br /&gt;
CARGO_HOME is now set to &#039;&#039;&#039;$SRCDEST/cargo&#039;&#039;&#039; and will cache all dependencies downloaded.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/af0c88e6abbb1e49224759f5c51b3068e6eab28b af0c88e6abbb1e49224759f5c51b3068e6eab28b].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16914</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16914"/>
		<updated>2020-02-17T04:52:02Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* abuild */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now:&lt;br /&gt;
&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;.&lt;br /&gt;
* Adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Doing out-of-source builds are recommended upstream to the point where warnings are printed when calling CMake on a project.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16913</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16913"/>
		<updated>2020-02-17T04:49:31Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* abuild */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
===== Add default functions for subpackages that hold Bash, Zsh and Fish completion =====&lt;br /&gt;
&lt;br /&gt;
abuild now provides default functions for $pkgname-bash-completion, $pkgname-zsh-completion and $pkgname-fish-completion subpackages.&lt;br /&gt;
&lt;br /&gt;
Expected location of the completion files per shell:&lt;br /&gt;
&lt;br /&gt;
* Bash -&amp;gt; &amp;lt;code&amp;gt;/usr/share/bash-completion/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zsh -&amp;gt; &amp;lt;code&amp;gt;/usr/share/zsh/site-functions&amp;lt;/code&amp;gt;&lt;br /&gt;
* Fish -&amp;gt; &amp;lt;code&amp;gt;/usr/share/fish/completions&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files must be installed in the expected location in relation to &#039;&#039;&#039;$pkgdir&#039;&#039;&#039; in &#039;&#039;&#039;pacakge()&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/d5826968b713123a4f51d3dec1adb1225d0e194f d5826968b713123a4f51d3dec1adb1225d0e194f].&lt;br /&gt;
&lt;br /&gt;
===== newapkbuild when called with CMake (-C) does out-of-source builds by default =====&lt;br /&gt;
&lt;br /&gt;
When packaging with newapkbuild and using the -C switch to pre-fill the apkbuild with skeleton functions for CMake now adds &amp;lt;code&amp;gt;-B build&amp;lt;/code&amp;gt; to the &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; call in &#039;&#039;&#039;build()&#039;&#039;&#039;. It also adds &amp;lt;code&amp;gt;-C build&amp;lt;/code&amp;gt; the &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; calls.&lt;br /&gt;
&lt;br /&gt;
Introduced in [https://gitlab.alpinelinux.org/alpine/abuild/commit/e125a764896d884c69cc409e614b65cb336c15e8 e125a764896d884c69cc409e614b65cb336c15e8].&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16912</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16912"/>
		<updated>2020-02-17T04:35:14Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* aports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
Changes related to Alpine Linux&#039;s package builder.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16911</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16911"/>
		<updated>2020-02-17T04:35:01Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== aports ==&lt;br /&gt;
&lt;br /&gt;
Changes related to aports, where you will find most packages.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
== abuild ==&lt;br /&gt;
&lt;br /&gt;
Changes related to Alpine Linux&#039;s package builder.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16910</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16910"/>
		<updated>2020-02-17T04:34:38Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Notable changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Notable changes ==&lt;br /&gt;
&lt;br /&gt;
=== aports ===&lt;br /&gt;
&lt;br /&gt;
Changes related to aports, where you will find most packages.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
=== abuild ===&lt;br /&gt;
&lt;br /&gt;
Changes related to Alpine Linux&#039;s package builder.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16909</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16909"/>
		<updated>2020-02-17T04:34:03Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Notable changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Notable changes ===&lt;br /&gt;
&lt;br /&gt;
==== aports ====&lt;br /&gt;
&lt;br /&gt;
Changes related to aports, where you will find most packages.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;br /&gt;
&lt;br /&gt;
==== abuild ====&lt;br /&gt;
&lt;br /&gt;
Changes related to Alpine Linux&#039;s package builder.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16908</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16908"/>
		<updated>2020-02-17T04:33:37Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Notable changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Notable changes ===&lt;br /&gt;
&lt;br /&gt;
==== aports ====&lt;br /&gt;
&lt;br /&gt;
Changes related to aports, where you will find most packages.&lt;br /&gt;
&lt;br /&gt;
===== OpenRC now has a sane ordering of directories when loading kernel modules =====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Telegram Desktop is now available in the community repo =====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
===== efitools and sbsigntool are now in main/ =====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16905</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16905"/>
		<updated>2020-02-16T20:06:47Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Notable changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Notable changes ===&lt;br /&gt;
&lt;br /&gt;
==== OpenRC now has a sane ordering of directories when loading kernel modules ====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Telegram Desktop is now available in the community repo ====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;br /&gt;
&lt;br /&gt;
==== efitools and sbsigntool are now in main/ ====&lt;br /&gt;
&lt;br /&gt;
Those packages have lived in testing/ for a long time and have been successfully used by one of our developers to implement secure-boot in his system. They have been moved to main/ and will be available for others.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16891</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16891"/>
		<updated>2020-02-14T15:10:55Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Telegram Desktop is now available in the community repo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Notable changes ===&lt;br /&gt;
&lt;br /&gt;
==== OpenRC now has a sane ordering of directories when loading kernel modules ====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Telegram Desktop is now available in the community repo ====&lt;br /&gt;
&lt;br /&gt;
See [https://git.alpinelinux.org/aports/commit/?id=184355fdc44bc2e12976d65518fe029d8a6e459d commit] that moved the package to the community repo for explanation.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16890</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16890"/>
		<updated>2020-02-14T03:56:19Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Notable changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Notable changes ===&lt;br /&gt;
&lt;br /&gt;
==== OpenRC now has a sane ordering of directories when loading kernel modules ====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Telegram Desktop is now available in the community repo ====&lt;br /&gt;
&lt;br /&gt;
See the commit (TODO: add commit when merged) for explanation.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16889</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16889"/>
		<updated>2020-02-14T03:46:20Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* OpenRC now respect ordering of directories when loading modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Notable changes ===&lt;br /&gt;
&lt;br /&gt;
==== OpenRC now has a sane ordering of directories when loading kernel modules ====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16888</id>
		<title>Release Notes for Alpine 3.12.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Release_Notes_for_Alpine_3.12.0&amp;diff=16888"/>
		<updated>2020-02-14T03:45:07Z</updated>

		<summary type="html">&lt;p&gt;Leo: Created page with &amp;quot;=== Notable changes ===  ==== OpenRC now respect ordering of directories when loading modules ====  Loading kernel modules during boot is done with the modules OpenRC service,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Notable changes ===&lt;br /&gt;
&lt;br /&gt;
==== OpenRC now respect ordering of directories when loading modules ====&lt;br /&gt;
&lt;br /&gt;
Loading kernel modules during boot is done with the modules OpenRC service, which reads configuration files in certain locations and loads kernel modules with the modprobe utility from either busybox or util-linux.&lt;br /&gt;
&lt;br /&gt;
Before the changes the files were loading in the following order, files in modules-load.d directories were decided by how the shell picked it by globbing.&lt;br /&gt;
&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
That means the changes that were done in /etc/modules or /etc/modules-load.d by the local administrator ended up being overridden by modules installed by packages in /usr/lib/modules-load.d and /lib/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
With the changes to the &#039;&#039;&#039;modules&#039;&#039;&#039; service the new ordering of directories is:&lt;br /&gt;
&lt;br /&gt;
# /lib/modules-load.d/*.conf&lt;br /&gt;
# /usr/lib/modules-load.d/*.conf&lt;br /&gt;
# /etc/modules&lt;br /&gt;
# /etc/modules-load.d/*.conf&lt;br /&gt;
# /run/modules-load.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Now admins can override files installed by packages (/lib/modules-load.d and /usr/lib/modules-load.d) by having files with the same name in /etc/modules-load.d, and both can be overridden by files in /run/modules-load.d.&lt;br /&gt;
&lt;br /&gt;
Note that /etc/modules cannot be overridden and only exists because of historical precedent.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_OpenVPN_server&amp;diff=16885</id>
		<title>Setting up a OpenVPN server</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_OpenVPN_server&amp;diff=16885"/>
		<updated>2020-02-12T11:10:39Z</updated>

		<summary type="html">&lt;p&gt;Leo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
This article describes how to set up an OpenVPN server with the Alpine Linux.&lt;br /&gt;
This is an ideal solution for allowing single users or devices to remotely connect to your network. To establish connectivity with a Remote Office or site, [http://wiki.alpinelinux.org/w/index.php?title=Using_Racoon_for_Remote_Sites Racoon/Opennhrp] would provide better functionality. &lt;br /&gt;
&lt;br /&gt;
It is recommended that you have a publicly routable static IP address in order for this to work. This means that your IP address cannot be in the private IP address ranges described here: [http://en.wikipedia.org/wiki/IP_address#IPv4_private_addresses WikiPedia]&lt;br /&gt;
&lt;br /&gt;
If your Internet-connected machine doesn&#039;t have a static IP address, [http://www.dyndns.com DynDNS] can be used for resolving DNS names to IP addresses.&lt;br /&gt;
&lt;br /&gt;
= Setup Alpine =&lt;br /&gt;
== Initial Setup ==&lt;br /&gt;
Follow [[Installing_Alpine]] to setup Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
== Install programs ==&lt;br /&gt;
Install openvpn&lt;br /&gt;
{{Cmd|apk add openvpn}}&lt;br /&gt;
&lt;br /&gt;
Prepare autostart of OpenVPN&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-update add openvpn default}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|modprobe tun&lt;br /&gt;
echo &amp;quot;tun&amp;quot; &amp;gt;&amp;gt; /etc/modules-load.d/tun.conf}}&lt;br /&gt;
&lt;br /&gt;
Enable IP Forwarding&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;echo &amp;quot;net.ipv4.ip_forward = 1&amp;quot; &amp;gt;&amp;gt; /etc/sysctl.d/ipv4.conf&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sysctl -p /etc/sysctl.d/ipv4.conf}}&lt;br /&gt;
&lt;br /&gt;
= Certificates =&lt;br /&gt;
One of the first things that needs to be done is to make sure that you have secure keys to work with. Alpine makes this easy by having a web interface to manage the certificates. Documentation for it can be found here: [[Generating_SSL_certs_with_ACF]]. It is a best practice not to have your certificate server be on the same machine as the router being used for remote connectivity.&lt;br /&gt;
&lt;br /&gt;
You will need to create a server (ssl_server_cert) certificate for the server and one client (ssl_client_cert) for each client. To use the certificates, you should download the .pfx file and extract it.&lt;br /&gt;
&lt;br /&gt;
To extract the three parts of each .pfx file, use the following commands:&lt;br /&gt;
 &lt;br /&gt;
To get the ca cert out...&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -cacerts -nokeys -out ca.pem}}&lt;br /&gt;
&lt;br /&gt;
To get the cert file out...&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -nokeys -clcerts -out cert.pem}}&lt;br /&gt;
&lt;br /&gt;
To get the private key file out. Make sure this stays private.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -nocerts -nodes -out key.pem}}&lt;br /&gt;
&lt;br /&gt;
On the VPN server, you can also install the &#039;&#039;&#039;acf-openvpn&#039;&#039;&#039; package, which contains a web page to automatically upload and extract the server certificate. There is also a button to automatically generate the Diffie Hellman parameters.&lt;br /&gt;
&lt;br /&gt;
If you would prefer to generate your certificates using OpenVPN utilities, see [[#Alternative Certificate Method]]&lt;br /&gt;
&lt;br /&gt;
= Configure OpenVPN server =&lt;br /&gt;
Example configuration file for server. Place the following content in /etc/openvpn/openvpn.conf:&lt;br /&gt;
 local &amp;quot;Public Ip address&amp;quot;&lt;br /&gt;
 port 1194&lt;br /&gt;
 proto udp&lt;br /&gt;
 dev tun&lt;br /&gt;
 ca /etc/openvpn/easy-rsa/keys/ca.crt &lt;br /&gt;
 cert /etc/openvpn/easy-rsa/keys/Server.crt # SWAP WITH YOUR CRT NAME&lt;br /&gt;
 key /etc/openvpn/easy-rsa/keys/Server.key # SWAP WITH YOUR KEY NAME&lt;br /&gt;
 dh /etc/openvpn/easy-rsa/keys/dh1024.pem # If you changed to 2048, change that here!&lt;br /&gt;
 server 10.0.0.0 255.255.255.0&lt;br /&gt;
 ifconfig-pool-persist ipp.txt&lt;br /&gt;
 push &amp;quot;route 10.0.0.0 255.0.0.0&amp;quot;&lt;br /&gt;
 push &amp;quot;dhcp-option DNS 10.0.0.1&amp;quot;&lt;br /&gt;
 keepalive 10 120&lt;br /&gt;
 comp-lzo&lt;br /&gt;
 user nobody&lt;br /&gt;
 group nobody&lt;br /&gt;
 persist-key&lt;br /&gt;
 persist-tun&lt;br /&gt;
 status /var/log/openvpn-status.log&lt;br /&gt;
 log-append  /var/log/openvpn.log&lt;br /&gt;
 verb 3&lt;br /&gt;
&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#server openvpn.net/howto.html#server]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Test your configuration ==&lt;br /&gt;
Test configuration and certificates&lt;br /&gt;
&lt;br /&gt;
{{Cmd|openvpn --config /etc/openvpn/openvpn.conf}}&lt;br /&gt;
&lt;br /&gt;
= Configure OpenVPN client =&lt;br /&gt;
Example client.conf:&lt;br /&gt;
 client&lt;br /&gt;
 dev tun&lt;br /&gt;
 proto udp&lt;br /&gt;
 remote &amp;quot;public IP&amp;quot; 1194&lt;br /&gt;
 resolv-retry infinite&lt;br /&gt;
 nobind&lt;br /&gt;
 ns-cert-type server # This means that the certificate on the openvpn server needs to have this field. Prevents MitM attacks&lt;br /&gt;
 persist-key&lt;br /&gt;
 persist-tun&lt;br /&gt;
 ca client-ca.pem&lt;br /&gt;
 cert client-cert.pem&lt;br /&gt;
 key client-key.pem&lt;br /&gt;
 comp-lzo&lt;br /&gt;
 verb 3&lt;br /&gt;
&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#client openvpn.net/howto.html#client]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
= Save settings =&lt;br /&gt;
Don&#039;t forget to save all your settings if you are running a RAM-based system.&lt;br /&gt;
{{Cmd|lbu commit}}&lt;br /&gt;
&lt;br /&gt;
= More than one server or client =&lt;br /&gt;
&lt;br /&gt;
If you want more than one server or client running on the same alpine box, use the standard [[Multiple Instances of Services]] process.&lt;br /&gt;
&lt;br /&gt;
For example, to create a config named &amp;quot;AlphaBravo&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* Create an approriate /etc/openvpn/openvpn.conf file, but name it &amp;quot;/etc/openvpn/AlphaBravo.conf&amp;quot; &lt;br /&gt;
* create a new symlink of the init.d script:&lt;br /&gt;
{{Cmd|ln -s /etc/init.d/openvpn /etc/init.d/openvpn.AlphaBravo}}&lt;br /&gt;
* Have the new service start automatically&lt;br /&gt;
{{Cmd|rc-update add openvpn.AlphaBravo}}&lt;br /&gt;
&lt;br /&gt;
= Alternative Certificate Method =&lt;br /&gt;
== Manual Certificate Commands ==&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#pki openvpn.net/howto.html#pki]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Initial setup for administrating certificates ===&lt;br /&gt;
The following instructions assume that you want to save your configs, certs and keys in &#039;&#039;&#039;/etc/openvpn/keys&#039;&#039;&#039;.&amp;lt;BR&amp;gt;&lt;br /&gt;
Start by moving to the &#039;&#039;&#039;/usr/share/openvpn/easy-rsa&#039;&#039;&#039; folder to execute commands&lt;br /&gt;
{{Cmd|apk add easy-rsa # from the community repo&lt;br /&gt;
cd /usr/share/easy-rsa}}&lt;br /&gt;
If not already done then create a folder where you will save your certificates and save a copy of your &#039;&#039;&#039;/usr/share/easy-rsa/vars&#039;&#039;&#039; for later use.&amp;lt;BR&amp;gt;&lt;br /&gt;
{{Cmd|mkdir /etc/openvpn/keys&lt;br /&gt;
cp ./vars.example ./vars    #easy-rsa v3&lt;br /&gt;
cp ./vars /etc/openvpn/keys #easy-rsa v2}}&lt;br /&gt;
&lt;br /&gt;
For EasyRSA v3 see: https://community.openvpn.net/openvpn/wiki/EasyRSA&lt;br /&gt;
&lt;br /&gt;
The instructions below are for EasyRSA v2:&lt;br /&gt;
&lt;br /&gt;
If not already done then edit &#039;&#039;&#039;/etc/openvpn/keys/vars&#039;&#039;&#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
(&#039;&#039;This file is used for defining paths and other standard settings&#039;&#039;)&lt;br /&gt;
{{Cmd|vim /etc/openvpn/keys/vars}}&lt;br /&gt;
* Change &#039;&#039;&#039;KEY_DIR=&#039;&#039;&#039; from &amp;quot;&#039;&#039;&#039;$EASY_RSA/keys&#039;&#039;&#039;&amp;quot; to &amp;quot;&#039;&#039;&#039;/etc/openvpn/keys&#039;&#039;&#039;&amp;quot;&lt;br /&gt;
* Change &#039;&#039;&#039;KEY_SIZE, CA_EXPIRE, KEY_EXPIRE, KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG, KEY_EMAIL&#039;&#039;&#039; to match your system.&lt;br /&gt;
source the &#039;&#039;&#039;vars&#039;&#039;&#039; to set properties&lt;br /&gt;
{{Cmd|source /etc/openvpn/keys/vars}}&lt;br /&gt;
{{Cmd|touch /etc/openvpn/keys/index.txt&lt;br /&gt;
echo 00 &amp;gt; /etc/openvpn/keys/serial}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;Certificate Authority&#039; (CA) ===&lt;br /&gt;
Clean up the &#039;&#039;&#039;keys&#039;&#039;&#039; folder.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./clean-all}}&lt;br /&gt;
&lt;br /&gt;
Generate Diffie Hellman parameters&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-dh}}&lt;br /&gt;
&lt;br /&gt;
Now lets make the CA certificates and keys&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-ca}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;OpenVPN Server&#039; ===&lt;br /&gt;
Create server certificates&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-key-server &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;OpenVPN Client&#039; ===&lt;br /&gt;
Create client certificates&lt;br /&gt;
{{Cmd|./build-key &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Revoke a certificate ===&lt;br /&gt;
To revoke a certificate&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./revoke-full &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The revoke-full script will generate a CRL (certificate revocation list) file called &#039;&#039;&#039;crl.pem&#039;&#039;&#039; in the &#039;&#039;&#039;keys&#039;&#039;&#039; subdirectory.&amp;lt;BR&amp;gt;The file should be copied to a directory where the OpenVPN server can access it, then CRL verification should be enabled in the server configuration:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|crl-verify crl.pem}}&lt;br /&gt;
&lt;br /&gt;
= OpenVPN and LXC =&lt;br /&gt;
&lt;br /&gt;
Let&#039;s call this LXC &amp;quot;mylxc&amp;quot;...&lt;br /&gt;
&lt;br /&gt;
On the host &amp;lt;pre&amp;gt;&lt;br /&gt;
modprobe tun&lt;br /&gt;
mkdir /var/lib/lxc/mylxc/rootfs/dev/net&lt;br /&gt;
mknod /var/lib/lxc/mylxc/rootfs/dev/net/tun c 10 200&lt;br /&gt;
chmod 666 /var/lib/lxc/mylxc/rootfs/dev/net/tun&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In /var/lib/lxc/mylxc/config &amp;lt;pre&amp;gt;&lt;br /&gt;
lxc.cgroup.devices.allow = c 10:200 rwm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the guest &amp;lt;pre&amp;gt;&lt;br /&gt;
apk add openvpn&lt;br /&gt;
&amp;lt;/pre&amp;gt; Then config as usual...&lt;br /&gt;
&lt;br /&gt;
This should work both as server and as client.&lt;br /&gt;
&lt;br /&gt;
== persistent devices ==&lt;br /&gt;
lxc guest have their dev recreated on each restart in a tmpfs. This means all devices are reset and are not read from rootfs dev directory. &lt;br /&gt;
To make it persistent you can use an autodev script by adding the following to your lxc guest config&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# tun (openvpn)&lt;br /&gt;
lxc.cgroup.devices.allow = c 10:200 rwm&lt;br /&gt;
# audodev script to add devices&lt;br /&gt;
lxc.hook.autodev=/var/lib/lxc/CONTAINER/autodev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The autodev script would be as following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# dev is populated on earch container start.&lt;br /&gt;
# to make devices persistence we need to recreate them on each start.&lt;br /&gt;
&lt;br /&gt;
cd ${LXC_ROOTFS_MOUNT}/dev&lt;br /&gt;
mkdir net&lt;br /&gt;
mknod net/tun c 10 200&lt;br /&gt;
chmod 0666 net/tun&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category: VPN]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_OpenVPN_server&amp;diff=16884</id>
		<title>Setting up a OpenVPN server</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_OpenVPN_server&amp;diff=16884"/>
		<updated>2020-02-12T11:07:42Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Install programs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
This article describes how to set up an OpenVPN server with the Alpine Linux.&lt;br /&gt;
This is an ideal solution for allowing single users or devices to remotely connect to your network. To establish connectivity with a Remote Office or site, [http://wiki.alpinelinux.org/w/index.php?title=Using_Racoon_for_Remote_Sites Racoon/Opennhrp] would provide better functionality. &lt;br /&gt;
&lt;br /&gt;
It is recommended that you have a publicly routable static IP address in order for this to work. This means that your IP address cannot be in the private IP address ranges described here: [http://en.wikipedia.org/wiki/IP_address#IPv4_private_addresses WikiPedia]&lt;br /&gt;
&lt;br /&gt;
If your Internet-connected machine doesn&#039;t have a static IP address, [http://www.dyndns.com DynDNS] can be used for resolving DNS names to IP addresses.&lt;br /&gt;
&lt;br /&gt;
= Setup Alpine =&lt;br /&gt;
== Initial Setup ==&lt;br /&gt;
Follow [[Installing_Alpine]] to setup Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
== Install programs ==&lt;br /&gt;
Install openvpn&lt;br /&gt;
{{Cmd|apk add openvpn}}&lt;br /&gt;
&lt;br /&gt;
Prepare autostart of OpenVPN&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-update add openvpn default}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|modprobe tun&lt;br /&gt;
echo &amp;quot;tun&amp;quot; &amp;gt;&amp;gt; /etc/modules-load.d/tun.conf}}&lt;br /&gt;
&lt;br /&gt;
Enable IP Forwarding&lt;br /&gt;
&lt;br /&gt;
{{Cmd|echo &amp;quot;net.ipv4.ip_forward = 1&amp;quot; &amp;gt;&amp;gt; /etc/sysctl.d/ipv4.conf&lt;br /&gt;
sysctl -p /etc/sysctl.d/ipv4.conf}}&lt;br /&gt;
&lt;br /&gt;
= Certificates =&lt;br /&gt;
One of the first things that needs to be done is to make sure that you have secure keys to work with. Alpine makes this easy by having a web interface to manage the certificates. Documentation for it can be found here: [[Generating_SSL_certs_with_ACF]]. It is a best practice not to have your certificate server be on the same machine as the router being used for remote connectivity.&lt;br /&gt;
&lt;br /&gt;
You will need to create a server (ssl_server_cert) certificate for the server and one client (ssl_client_cert) for each client. To use the certificates, you should download the .pfx file and extract it.&lt;br /&gt;
&lt;br /&gt;
To extract the three parts of each .pfx file, use the following commands:&lt;br /&gt;
 &lt;br /&gt;
To get the ca cert out...&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -cacerts -nokeys -out ca.pem}}&lt;br /&gt;
&lt;br /&gt;
To get the cert file out...&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -nokeys -clcerts -out cert.pem}}&lt;br /&gt;
&lt;br /&gt;
To get the private key file out. Make sure this stays private.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -nocerts -nodes -out key.pem}}&lt;br /&gt;
&lt;br /&gt;
On the VPN server, you can also install the &#039;&#039;&#039;acf-openvpn&#039;&#039;&#039; package, which contains a web page to automatically upload and extract the server certificate. There is also a button to automatically generate the Diffie Hellman parameters.&lt;br /&gt;
&lt;br /&gt;
If you would prefer to generate your certificates using OpenVPN utilities, see [[#Alternative Certificate Method]]&lt;br /&gt;
&lt;br /&gt;
= Configure OpenVPN server =&lt;br /&gt;
Example configuration file for server. Place the following content in /etc/openvpn/openvpn.conf:&lt;br /&gt;
 local &amp;quot;Public Ip address&amp;quot;&lt;br /&gt;
 port 1194&lt;br /&gt;
 proto udp&lt;br /&gt;
 dev tun&lt;br /&gt;
 ca /etc/openvpn/easy-rsa/keys/ca.crt &lt;br /&gt;
 cert /etc/openvpn/easy-rsa/keys/Server.crt # SWAP WITH YOUR CRT NAME&lt;br /&gt;
 key /etc/openvpn/easy-rsa/keys/Server.key # SWAP WITH YOUR KEY NAME&lt;br /&gt;
 dh /etc/openvpn/easy-rsa/keys/dh1024.pem # If you changed to 2048, change that here!&lt;br /&gt;
 server 10.0.0.0 255.255.255.0&lt;br /&gt;
 ifconfig-pool-persist ipp.txt&lt;br /&gt;
 push &amp;quot;route 10.0.0.0 255.0.0.0&amp;quot;&lt;br /&gt;
 push &amp;quot;dhcp-option DNS 10.0.0.1&amp;quot;&lt;br /&gt;
 keepalive 10 120&lt;br /&gt;
 comp-lzo&lt;br /&gt;
 user nobody&lt;br /&gt;
 group nobody&lt;br /&gt;
 persist-key&lt;br /&gt;
 persist-tun&lt;br /&gt;
 status /var/log/openvpn-status.log&lt;br /&gt;
 log-append  /var/log/openvpn.log&lt;br /&gt;
 verb 3&lt;br /&gt;
&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#server openvpn.net/howto.html#server]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Test your configuration ==&lt;br /&gt;
Test configuration and certificates&lt;br /&gt;
&lt;br /&gt;
{{Cmd|openvpn --config /etc/openvpn/openvpn.conf}}&lt;br /&gt;
&lt;br /&gt;
= Configure OpenVPN client =&lt;br /&gt;
Example client.conf:&lt;br /&gt;
 client&lt;br /&gt;
 dev tun&lt;br /&gt;
 proto udp&lt;br /&gt;
 remote &amp;quot;public IP&amp;quot; 1194&lt;br /&gt;
 resolv-retry infinite&lt;br /&gt;
 nobind&lt;br /&gt;
 ns-cert-type server # This means that the certificate on the openvpn server needs to have this field. Prevents MitM attacks&lt;br /&gt;
 persist-key&lt;br /&gt;
 persist-tun&lt;br /&gt;
 ca client-ca.pem&lt;br /&gt;
 cert client-cert.pem&lt;br /&gt;
 key client-key.pem&lt;br /&gt;
 comp-lzo&lt;br /&gt;
 verb 3&lt;br /&gt;
&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#client openvpn.net/howto.html#client]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
= Save settings =&lt;br /&gt;
Don&#039;t forget to save all your settings if you are running a RAM-based system.&lt;br /&gt;
{{Cmd|lbu commit}}&lt;br /&gt;
&lt;br /&gt;
= More than one server or client =&lt;br /&gt;
&lt;br /&gt;
If you want more than one server or client running on the same alpine box, use the standard [[Multiple Instances of Services]] process.&lt;br /&gt;
&lt;br /&gt;
For example, to create a config named &amp;quot;AlphaBravo&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* Create an approriate /etc/openvpn/openvpn.conf file, but name it &amp;quot;/etc/openvpn/AlphaBravo.conf&amp;quot; &lt;br /&gt;
* create a new symlink of the init.d script:&lt;br /&gt;
{{Cmd|ln -s /etc/init.d/openvpn /etc/init.d/openvpn.AlphaBravo}}&lt;br /&gt;
* Have the new service start automatically&lt;br /&gt;
{{Cmd|rc-update add openvpn.AlphaBravo}}&lt;br /&gt;
&lt;br /&gt;
= Alternative Certificate Method =&lt;br /&gt;
== Manual Certificate Commands ==&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#pki openvpn.net/howto.html#pki]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Initial setup for administrating certificates ===&lt;br /&gt;
The following instructions assume that you want to save your configs, certs and keys in &#039;&#039;&#039;/etc/openvpn/keys&#039;&#039;&#039;.&amp;lt;BR&amp;gt;&lt;br /&gt;
Start by moving to the &#039;&#039;&#039;/usr/share/openvpn/easy-rsa&#039;&#039;&#039; folder to execute commands&lt;br /&gt;
{{Cmd|apk add easy-rsa # from the community repo&lt;br /&gt;
cd /usr/share/easy-rsa}}&lt;br /&gt;
If not already done then create a folder where you will save your certificates and save a copy of your &#039;&#039;&#039;/usr/share/easy-rsa/vars&#039;&#039;&#039; for later use.&amp;lt;BR&amp;gt;&lt;br /&gt;
{{Cmd|mkdir /etc/openvpn/keys&lt;br /&gt;
cp ./vars.example ./vars    #easy-rsa v3&lt;br /&gt;
cp ./vars /etc/openvpn/keys #easy-rsa v2}}&lt;br /&gt;
&lt;br /&gt;
For EasyRSA v3 see: https://community.openvpn.net/openvpn/wiki/EasyRSA&lt;br /&gt;
&lt;br /&gt;
The instructions below are for EasyRSA v2:&lt;br /&gt;
&lt;br /&gt;
If not already done then edit &#039;&#039;&#039;/etc/openvpn/keys/vars&#039;&#039;&#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
(&#039;&#039;This file is used for defining paths and other standard settings&#039;&#039;)&lt;br /&gt;
{{Cmd|vim /etc/openvpn/keys/vars}}&lt;br /&gt;
* Change &#039;&#039;&#039;KEY_DIR=&#039;&#039;&#039; from &amp;quot;&#039;&#039;&#039;$EASY_RSA/keys&#039;&#039;&#039;&amp;quot; to &amp;quot;&#039;&#039;&#039;/etc/openvpn/keys&#039;&#039;&#039;&amp;quot;&lt;br /&gt;
* Change &#039;&#039;&#039;KEY_SIZE, CA_EXPIRE, KEY_EXPIRE, KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG, KEY_EMAIL&#039;&#039;&#039; to match your system.&lt;br /&gt;
source the &#039;&#039;&#039;vars&#039;&#039;&#039; to set properties&lt;br /&gt;
{{Cmd|source /etc/openvpn/keys/vars}}&lt;br /&gt;
{{Cmd|touch /etc/openvpn/keys/index.txt&lt;br /&gt;
echo 00 &amp;gt; /etc/openvpn/keys/serial}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;Certificate Authority&#039; (CA) ===&lt;br /&gt;
Clean up the &#039;&#039;&#039;keys&#039;&#039;&#039; folder.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./clean-all}}&lt;br /&gt;
&lt;br /&gt;
Generate Diffie Hellman parameters&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-dh}}&lt;br /&gt;
&lt;br /&gt;
Now lets make the CA certificates and keys&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-ca}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;OpenVPN Server&#039; ===&lt;br /&gt;
Create server certificates&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-key-server &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;OpenVPN Client&#039; ===&lt;br /&gt;
Create client certificates&lt;br /&gt;
{{Cmd|./build-key &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Revoke a certificate ===&lt;br /&gt;
To revoke a certificate&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./revoke-full &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The revoke-full script will generate a CRL (certificate revocation list) file called &#039;&#039;&#039;crl.pem&#039;&#039;&#039; in the &#039;&#039;&#039;keys&#039;&#039;&#039; subdirectory.&amp;lt;BR&amp;gt;The file should be copied to a directory where the OpenVPN server can access it, then CRL verification should be enabled in the server configuration:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|crl-verify crl.pem}}&lt;br /&gt;
&lt;br /&gt;
= OpenVPN and LXC =&lt;br /&gt;
&lt;br /&gt;
Let&#039;s call this LXC &amp;quot;mylxc&amp;quot;...&lt;br /&gt;
&lt;br /&gt;
On the host &amp;lt;pre&amp;gt;&lt;br /&gt;
modprobe tun&lt;br /&gt;
mkdir /var/lib/lxc/mylxc/rootfs/dev/net&lt;br /&gt;
mknod /var/lib/lxc/mylxc/rootfs/dev/net/tun c 10 200&lt;br /&gt;
chmod 666 /var/lib/lxc/mylxc/rootfs/dev/net/tun&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In /var/lib/lxc/mylxc/config &amp;lt;pre&amp;gt;&lt;br /&gt;
lxc.cgroup.devices.allow = c 10:200 rwm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the guest &amp;lt;pre&amp;gt;&lt;br /&gt;
apk add openvpn&lt;br /&gt;
&amp;lt;/pre&amp;gt; Then config as usual...&lt;br /&gt;
&lt;br /&gt;
This should work both as server and as client.&lt;br /&gt;
&lt;br /&gt;
== persistent devices ==&lt;br /&gt;
lxc guest have their dev recreated on each restart in a tmpfs. This means all devices are reset and are not read from rootfs dev directory. &lt;br /&gt;
To make it persistent you can use an autodev script by adding the following to your lxc guest config&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# tun (openvpn)&lt;br /&gt;
lxc.cgroup.devices.allow = c 10:200 rwm&lt;br /&gt;
# audodev script to add devices&lt;br /&gt;
lxc.hook.autodev=/var/lib/lxc/CONTAINER/autodev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The autodev script would be as following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# dev is populated on earch container start.&lt;br /&gt;
# to make devices persistence we need to recreate them on each start.&lt;br /&gt;
&lt;br /&gt;
cd ${LXC_ROOTFS_MOUNT}/dev&lt;br /&gt;
mkdir net&lt;br /&gt;
mknod net/tun c 10 200&lt;br /&gt;
chmod 0666 net/tun&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category: VPN]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_OpenVPN_server&amp;diff=16883</id>
		<title>Setting up a OpenVPN server</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_OpenVPN_server&amp;diff=16883"/>
		<updated>2020-02-12T11:07:19Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Install programs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
This article describes how to set up an OpenVPN server with the Alpine Linux.&lt;br /&gt;
This is an ideal solution for allowing single users or devices to remotely connect to your network. To establish connectivity with a Remote Office or site, [http://wiki.alpinelinux.org/w/index.php?title=Using_Racoon_for_Remote_Sites Racoon/Opennhrp] would provide better functionality. &lt;br /&gt;
&lt;br /&gt;
It is recommended that you have a publicly routable static IP address in order for this to work. This means that your IP address cannot be in the private IP address ranges described here: [http://en.wikipedia.org/wiki/IP_address#IPv4_private_addresses WikiPedia]&lt;br /&gt;
&lt;br /&gt;
If your Internet-connected machine doesn&#039;t have a static IP address, [http://www.dyndns.com DynDNS] can be used for resolving DNS names to IP addresses.&lt;br /&gt;
&lt;br /&gt;
= Setup Alpine =&lt;br /&gt;
== Initial Setup ==&lt;br /&gt;
Follow [[Installing_Alpine]] to setup Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
== Install programs ==&lt;br /&gt;
Install openvpn&lt;br /&gt;
{{Cmd|apk add openvpn}}&lt;br /&gt;
&lt;br /&gt;
Prepare autostart of OpenVPN&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-update add openvpn default}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|modprobe tun&lt;br /&gt;
echo &amp;quot;tun&amp;quot; &amp;gt;&amp;gt; /etc/modules-load.d/tun.conf}}&lt;br /&gt;
&lt;br /&gt;
Enable IP Forwarding&lt;br /&gt;
&lt;br /&gt;
{{Cmd|echo &amp;quot;net.ipv4.ip_forward = 1&amp;quot; &amp;gt;&amp;gt; /etc/sysctl.d/ipv4.conf}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sysctl -p /etc/sysctl.d/ipv4.conf}}&lt;br /&gt;
&lt;br /&gt;
= Certificates =&lt;br /&gt;
One of the first things that needs to be done is to make sure that you have secure keys to work with. Alpine makes this easy by having a web interface to manage the certificates. Documentation for it can be found here: [[Generating_SSL_certs_with_ACF]]. It is a best practice not to have your certificate server be on the same machine as the router being used for remote connectivity.&lt;br /&gt;
&lt;br /&gt;
You will need to create a server (ssl_server_cert) certificate for the server and one client (ssl_client_cert) for each client. To use the certificates, you should download the .pfx file and extract it.&lt;br /&gt;
&lt;br /&gt;
To extract the three parts of each .pfx file, use the following commands:&lt;br /&gt;
 &lt;br /&gt;
To get the ca cert out...&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -cacerts -nokeys -out ca.pem}}&lt;br /&gt;
&lt;br /&gt;
To get the cert file out...&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -nokeys -clcerts -out cert.pem}}&lt;br /&gt;
&lt;br /&gt;
To get the private key file out. Make sure this stays private.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -nocerts -nodes -out key.pem}}&lt;br /&gt;
&lt;br /&gt;
On the VPN server, you can also install the &#039;&#039;&#039;acf-openvpn&#039;&#039;&#039; package, which contains a web page to automatically upload and extract the server certificate. There is also a button to automatically generate the Diffie Hellman parameters.&lt;br /&gt;
&lt;br /&gt;
If you would prefer to generate your certificates using OpenVPN utilities, see [[#Alternative Certificate Method]]&lt;br /&gt;
&lt;br /&gt;
= Configure OpenVPN server =&lt;br /&gt;
Example configuration file for server. Place the following content in /etc/openvpn/openvpn.conf:&lt;br /&gt;
 local &amp;quot;Public Ip address&amp;quot;&lt;br /&gt;
 port 1194&lt;br /&gt;
 proto udp&lt;br /&gt;
 dev tun&lt;br /&gt;
 ca /etc/openvpn/easy-rsa/keys/ca.crt &lt;br /&gt;
 cert /etc/openvpn/easy-rsa/keys/Server.crt # SWAP WITH YOUR CRT NAME&lt;br /&gt;
 key /etc/openvpn/easy-rsa/keys/Server.key # SWAP WITH YOUR KEY NAME&lt;br /&gt;
 dh /etc/openvpn/easy-rsa/keys/dh1024.pem # If you changed to 2048, change that here!&lt;br /&gt;
 server 10.0.0.0 255.255.255.0&lt;br /&gt;
 ifconfig-pool-persist ipp.txt&lt;br /&gt;
 push &amp;quot;route 10.0.0.0 255.0.0.0&amp;quot;&lt;br /&gt;
 push &amp;quot;dhcp-option DNS 10.0.0.1&amp;quot;&lt;br /&gt;
 keepalive 10 120&lt;br /&gt;
 comp-lzo&lt;br /&gt;
 user nobody&lt;br /&gt;
 group nobody&lt;br /&gt;
 persist-key&lt;br /&gt;
 persist-tun&lt;br /&gt;
 status /var/log/openvpn-status.log&lt;br /&gt;
 log-append  /var/log/openvpn.log&lt;br /&gt;
 verb 3&lt;br /&gt;
&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#server openvpn.net/howto.html#server]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Test your configuration ==&lt;br /&gt;
Test configuration and certificates&lt;br /&gt;
&lt;br /&gt;
{{Cmd|openvpn --config /etc/openvpn/openvpn.conf}}&lt;br /&gt;
&lt;br /&gt;
= Configure OpenVPN client =&lt;br /&gt;
Example client.conf:&lt;br /&gt;
 client&lt;br /&gt;
 dev tun&lt;br /&gt;
 proto udp&lt;br /&gt;
 remote &amp;quot;public IP&amp;quot; 1194&lt;br /&gt;
 resolv-retry infinite&lt;br /&gt;
 nobind&lt;br /&gt;
 ns-cert-type server # This means that the certificate on the openvpn server needs to have this field. Prevents MitM attacks&lt;br /&gt;
 persist-key&lt;br /&gt;
 persist-tun&lt;br /&gt;
 ca client-ca.pem&lt;br /&gt;
 cert client-cert.pem&lt;br /&gt;
 key client-key.pem&lt;br /&gt;
 comp-lzo&lt;br /&gt;
 verb 3&lt;br /&gt;
&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#client openvpn.net/howto.html#client]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
= Save settings =&lt;br /&gt;
Don&#039;t forget to save all your settings if you are running a RAM-based system.&lt;br /&gt;
{{Cmd|lbu commit}}&lt;br /&gt;
&lt;br /&gt;
= More than one server or client =&lt;br /&gt;
&lt;br /&gt;
If you want more than one server or client running on the same alpine box, use the standard [[Multiple Instances of Services]] process.&lt;br /&gt;
&lt;br /&gt;
For example, to create a config named &amp;quot;AlphaBravo&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* Create an approriate /etc/openvpn/openvpn.conf file, but name it &amp;quot;/etc/openvpn/AlphaBravo.conf&amp;quot; &lt;br /&gt;
* create a new symlink of the init.d script:&lt;br /&gt;
{{Cmd|ln -s /etc/init.d/openvpn /etc/init.d/openvpn.AlphaBravo}}&lt;br /&gt;
* Have the new service start automatically&lt;br /&gt;
{{Cmd|rc-update add openvpn.AlphaBravo}}&lt;br /&gt;
&lt;br /&gt;
= Alternative Certificate Method =&lt;br /&gt;
== Manual Certificate Commands ==&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#pki openvpn.net/howto.html#pki]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Initial setup for administrating certificates ===&lt;br /&gt;
The following instructions assume that you want to save your configs, certs and keys in &#039;&#039;&#039;/etc/openvpn/keys&#039;&#039;&#039;.&amp;lt;BR&amp;gt;&lt;br /&gt;
Start by moving to the &#039;&#039;&#039;/usr/share/openvpn/easy-rsa&#039;&#039;&#039; folder to execute commands&lt;br /&gt;
{{Cmd|apk add easy-rsa # from the community repo&lt;br /&gt;
cd /usr/share/easy-rsa}}&lt;br /&gt;
If not already done then create a folder where you will save your certificates and save a copy of your &#039;&#039;&#039;/usr/share/easy-rsa/vars&#039;&#039;&#039; for later use.&amp;lt;BR&amp;gt;&lt;br /&gt;
{{Cmd|mkdir /etc/openvpn/keys&lt;br /&gt;
cp ./vars.example ./vars    #easy-rsa v3&lt;br /&gt;
cp ./vars /etc/openvpn/keys #easy-rsa v2}}&lt;br /&gt;
&lt;br /&gt;
For EasyRSA v3 see: https://community.openvpn.net/openvpn/wiki/EasyRSA&lt;br /&gt;
&lt;br /&gt;
The instructions below are for EasyRSA v2:&lt;br /&gt;
&lt;br /&gt;
If not already done then edit &#039;&#039;&#039;/etc/openvpn/keys/vars&#039;&#039;&#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
(&#039;&#039;This file is used for defining paths and other standard settings&#039;&#039;)&lt;br /&gt;
{{Cmd|vim /etc/openvpn/keys/vars}}&lt;br /&gt;
* Change &#039;&#039;&#039;KEY_DIR=&#039;&#039;&#039; from &amp;quot;&#039;&#039;&#039;$EASY_RSA/keys&#039;&#039;&#039;&amp;quot; to &amp;quot;&#039;&#039;&#039;/etc/openvpn/keys&#039;&#039;&#039;&amp;quot;&lt;br /&gt;
* Change &#039;&#039;&#039;KEY_SIZE, CA_EXPIRE, KEY_EXPIRE, KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG, KEY_EMAIL&#039;&#039;&#039; to match your system.&lt;br /&gt;
source the &#039;&#039;&#039;vars&#039;&#039;&#039; to set properties&lt;br /&gt;
{{Cmd|source /etc/openvpn/keys/vars}}&lt;br /&gt;
{{Cmd|touch /etc/openvpn/keys/index.txt&lt;br /&gt;
echo 00 &amp;gt; /etc/openvpn/keys/serial}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;Certificate Authority&#039; (CA) ===&lt;br /&gt;
Clean up the &#039;&#039;&#039;keys&#039;&#039;&#039; folder.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./clean-all}}&lt;br /&gt;
&lt;br /&gt;
Generate Diffie Hellman parameters&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-dh}}&lt;br /&gt;
&lt;br /&gt;
Now lets make the CA certificates and keys&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-ca}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;OpenVPN Server&#039; ===&lt;br /&gt;
Create server certificates&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-key-server &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;OpenVPN Client&#039; ===&lt;br /&gt;
Create client certificates&lt;br /&gt;
{{Cmd|./build-key &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Revoke a certificate ===&lt;br /&gt;
To revoke a certificate&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./revoke-full &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The revoke-full script will generate a CRL (certificate revocation list) file called &#039;&#039;&#039;crl.pem&#039;&#039;&#039; in the &#039;&#039;&#039;keys&#039;&#039;&#039; subdirectory.&amp;lt;BR&amp;gt;The file should be copied to a directory where the OpenVPN server can access it, then CRL verification should be enabled in the server configuration:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|crl-verify crl.pem}}&lt;br /&gt;
&lt;br /&gt;
= OpenVPN and LXC =&lt;br /&gt;
&lt;br /&gt;
Let&#039;s call this LXC &amp;quot;mylxc&amp;quot;...&lt;br /&gt;
&lt;br /&gt;
On the host &amp;lt;pre&amp;gt;&lt;br /&gt;
modprobe tun&lt;br /&gt;
mkdir /var/lib/lxc/mylxc/rootfs/dev/net&lt;br /&gt;
mknod /var/lib/lxc/mylxc/rootfs/dev/net/tun c 10 200&lt;br /&gt;
chmod 666 /var/lib/lxc/mylxc/rootfs/dev/net/tun&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In /var/lib/lxc/mylxc/config &amp;lt;pre&amp;gt;&lt;br /&gt;
lxc.cgroup.devices.allow = c 10:200 rwm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the guest &amp;lt;pre&amp;gt;&lt;br /&gt;
apk add openvpn&lt;br /&gt;
&amp;lt;/pre&amp;gt; Then config as usual...&lt;br /&gt;
&lt;br /&gt;
This should work both as server and as client.&lt;br /&gt;
&lt;br /&gt;
== persistent devices ==&lt;br /&gt;
lxc guest have their dev recreated on each restart in a tmpfs. This means all devices are reset and are not read from rootfs dev directory. &lt;br /&gt;
To make it persistent you can use an autodev script by adding the following to your lxc guest config&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# tun (openvpn)&lt;br /&gt;
lxc.cgroup.devices.allow = c 10:200 rwm&lt;br /&gt;
# audodev script to add devices&lt;br /&gt;
lxc.hook.autodev=/var/lib/lxc/CONTAINER/autodev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The autodev script would be as following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# dev is populated on earch container start.&lt;br /&gt;
# to make devices persistence we need to recreate them on each start.&lt;br /&gt;
&lt;br /&gt;
cd ${LXC_ROOTFS_MOUNT}/dev&lt;br /&gt;
mkdir net&lt;br /&gt;
mknod net/tun c 10 200&lt;br /&gt;
chmod 0666 net/tun&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category: VPN]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_OpenVPN_server&amp;diff=16882</id>
		<title>Setting up a OpenVPN server</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_OpenVPN_server&amp;diff=16882"/>
		<updated>2020-02-12T11:07:09Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Install programs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
This article describes how to set up an OpenVPN server with the Alpine Linux.&lt;br /&gt;
This is an ideal solution for allowing single users or devices to remotely connect to your network. To establish connectivity with a Remote Office or site, [http://wiki.alpinelinux.org/w/index.php?title=Using_Racoon_for_Remote_Sites Racoon/Opennhrp] would provide better functionality. &lt;br /&gt;
&lt;br /&gt;
It is recommended that you have a publicly routable static IP address in order for this to work. This means that your IP address cannot be in the private IP address ranges described here: [http://en.wikipedia.org/wiki/IP_address#IPv4_private_addresses WikiPedia]&lt;br /&gt;
&lt;br /&gt;
If your Internet-connected machine doesn&#039;t have a static IP address, [http://www.dyndns.com DynDNS] can be used for resolving DNS names to IP addresses.&lt;br /&gt;
&lt;br /&gt;
= Setup Alpine =&lt;br /&gt;
== Initial Setup ==&lt;br /&gt;
Follow [[Installing_Alpine]] to setup Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
== Install programs ==&lt;br /&gt;
Install openvpn&lt;br /&gt;
{{Cmd|apk add openvpn}}&lt;br /&gt;
&lt;br /&gt;
Prepare autostart of OpenVPN&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-update add openvpn default}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|modprobe tun&lt;br /&gt;
echo &amp;quot;tun&amp;quot; &amp;gt;&amp;gt; /etc/modules-load.d/tun.conf}}&lt;br /&gt;
&lt;br /&gt;
Enable IP Forwarding&lt;br /&gt;
&lt;br /&gt;
{{cmd|echo &amp;quot;net.ipv4.ip_forward = 1&amp;quot; &amp;gt;&amp;gt; /etc/sysctl.d/ipv4.conf}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sysctl -p /etc/sysctl.d/ipv4.conf}}&lt;br /&gt;
&lt;br /&gt;
= Certificates =&lt;br /&gt;
One of the first things that needs to be done is to make sure that you have secure keys to work with. Alpine makes this easy by having a web interface to manage the certificates. Documentation for it can be found here: [[Generating_SSL_certs_with_ACF]]. It is a best practice not to have your certificate server be on the same machine as the router being used for remote connectivity.&lt;br /&gt;
&lt;br /&gt;
You will need to create a server (ssl_server_cert) certificate for the server and one client (ssl_client_cert) for each client. To use the certificates, you should download the .pfx file and extract it.&lt;br /&gt;
&lt;br /&gt;
To extract the three parts of each .pfx file, use the following commands:&lt;br /&gt;
 &lt;br /&gt;
To get the ca cert out...&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -cacerts -nokeys -out ca.pem}}&lt;br /&gt;
&lt;br /&gt;
To get the cert file out...&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -nokeys -clcerts -out cert.pem}}&lt;br /&gt;
&lt;br /&gt;
To get the private key file out. Make sure this stays private.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|openssl pkcs12 -in PFXFILE -nocerts -nodes -out key.pem}}&lt;br /&gt;
&lt;br /&gt;
On the VPN server, you can also install the &#039;&#039;&#039;acf-openvpn&#039;&#039;&#039; package, which contains a web page to automatically upload and extract the server certificate. There is also a button to automatically generate the Diffie Hellman parameters.&lt;br /&gt;
&lt;br /&gt;
If you would prefer to generate your certificates using OpenVPN utilities, see [[#Alternative Certificate Method]]&lt;br /&gt;
&lt;br /&gt;
= Configure OpenVPN server =&lt;br /&gt;
Example configuration file for server. Place the following content in /etc/openvpn/openvpn.conf:&lt;br /&gt;
 local &amp;quot;Public Ip address&amp;quot;&lt;br /&gt;
 port 1194&lt;br /&gt;
 proto udp&lt;br /&gt;
 dev tun&lt;br /&gt;
 ca /etc/openvpn/easy-rsa/keys/ca.crt &lt;br /&gt;
 cert /etc/openvpn/easy-rsa/keys/Server.crt # SWAP WITH YOUR CRT NAME&lt;br /&gt;
 key /etc/openvpn/easy-rsa/keys/Server.key # SWAP WITH YOUR KEY NAME&lt;br /&gt;
 dh /etc/openvpn/easy-rsa/keys/dh1024.pem # If you changed to 2048, change that here!&lt;br /&gt;
 server 10.0.0.0 255.255.255.0&lt;br /&gt;
 ifconfig-pool-persist ipp.txt&lt;br /&gt;
 push &amp;quot;route 10.0.0.0 255.0.0.0&amp;quot;&lt;br /&gt;
 push &amp;quot;dhcp-option DNS 10.0.0.1&amp;quot;&lt;br /&gt;
 keepalive 10 120&lt;br /&gt;
 comp-lzo&lt;br /&gt;
 user nobody&lt;br /&gt;
 group nobody&lt;br /&gt;
 persist-key&lt;br /&gt;
 persist-tun&lt;br /&gt;
 status /var/log/openvpn-status.log&lt;br /&gt;
 log-append  /var/log/openvpn.log&lt;br /&gt;
 verb 3&lt;br /&gt;
&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#server openvpn.net/howto.html#server]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
== Test your configuration ==&lt;br /&gt;
Test configuration and certificates&lt;br /&gt;
&lt;br /&gt;
{{Cmd|openvpn --config /etc/openvpn/openvpn.conf}}&lt;br /&gt;
&lt;br /&gt;
= Configure OpenVPN client =&lt;br /&gt;
Example client.conf:&lt;br /&gt;
 client&lt;br /&gt;
 dev tun&lt;br /&gt;
 proto udp&lt;br /&gt;
 remote &amp;quot;public IP&amp;quot; 1194&lt;br /&gt;
 resolv-retry infinite&lt;br /&gt;
 nobind&lt;br /&gt;
 ns-cert-type server # This means that the certificate on the openvpn server needs to have this field. Prevents MitM attacks&lt;br /&gt;
 persist-key&lt;br /&gt;
 persist-tun&lt;br /&gt;
 ca client-ca.pem&lt;br /&gt;
 cert client-cert.pem&lt;br /&gt;
 key client-key.pem&lt;br /&gt;
 comp-lzo&lt;br /&gt;
 verb 3&lt;br /&gt;
&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#client openvpn.net/howto.html#client]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
= Save settings =&lt;br /&gt;
Don&#039;t forget to save all your settings if you are running a RAM-based system.&lt;br /&gt;
{{Cmd|lbu commit}}&lt;br /&gt;
&lt;br /&gt;
= More than one server or client =&lt;br /&gt;
&lt;br /&gt;
If you want more than one server or client running on the same alpine box, use the standard [[Multiple Instances of Services]] process.&lt;br /&gt;
&lt;br /&gt;
For example, to create a config named &amp;quot;AlphaBravo&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
* Create an approriate /etc/openvpn/openvpn.conf file, but name it &amp;quot;/etc/openvpn/AlphaBravo.conf&amp;quot; &lt;br /&gt;
* create a new symlink of the init.d script:&lt;br /&gt;
{{Cmd|ln -s /etc/init.d/openvpn /etc/init.d/openvpn.AlphaBravo}}&lt;br /&gt;
* Have the new service start automatically&lt;br /&gt;
{{Cmd|rc-update add openvpn.AlphaBravo}}&lt;br /&gt;
&lt;br /&gt;
= Alternative Certificate Method =&lt;br /&gt;
== Manual Certificate Commands ==&lt;br /&gt;
(&#039;&#039;Instructions are based on [http://openvpn.net/howto.html#pki openvpn.net/howto.html#pki]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
=== Initial setup for administrating certificates ===&lt;br /&gt;
The following instructions assume that you want to save your configs, certs and keys in &#039;&#039;&#039;/etc/openvpn/keys&#039;&#039;&#039;.&amp;lt;BR&amp;gt;&lt;br /&gt;
Start by moving to the &#039;&#039;&#039;/usr/share/openvpn/easy-rsa&#039;&#039;&#039; folder to execute commands&lt;br /&gt;
{{Cmd|apk add easy-rsa # from the community repo&lt;br /&gt;
cd /usr/share/easy-rsa}}&lt;br /&gt;
If not already done then create a folder where you will save your certificates and save a copy of your &#039;&#039;&#039;/usr/share/easy-rsa/vars&#039;&#039;&#039; for later use.&amp;lt;BR&amp;gt;&lt;br /&gt;
{{Cmd|mkdir /etc/openvpn/keys&lt;br /&gt;
cp ./vars.example ./vars    #easy-rsa v3&lt;br /&gt;
cp ./vars /etc/openvpn/keys #easy-rsa v2}}&lt;br /&gt;
&lt;br /&gt;
For EasyRSA v3 see: https://community.openvpn.net/openvpn/wiki/EasyRSA&lt;br /&gt;
&lt;br /&gt;
The instructions below are for EasyRSA v2:&lt;br /&gt;
&lt;br /&gt;
If not already done then edit &#039;&#039;&#039;/etc/openvpn/keys/vars&#039;&#039;&#039;&amp;lt;BR&amp;gt;&lt;br /&gt;
(&#039;&#039;This file is used for defining paths and other standard settings&#039;&#039;)&lt;br /&gt;
{{Cmd|vim /etc/openvpn/keys/vars}}&lt;br /&gt;
* Change &#039;&#039;&#039;KEY_DIR=&#039;&#039;&#039; from &amp;quot;&#039;&#039;&#039;$EASY_RSA/keys&#039;&#039;&#039;&amp;quot; to &amp;quot;&#039;&#039;&#039;/etc/openvpn/keys&#039;&#039;&#039;&amp;quot;&lt;br /&gt;
* Change &#039;&#039;&#039;KEY_SIZE, CA_EXPIRE, KEY_EXPIRE, KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG, KEY_EMAIL&#039;&#039;&#039; to match your system.&lt;br /&gt;
source the &#039;&#039;&#039;vars&#039;&#039;&#039; to set properties&lt;br /&gt;
{{Cmd|source /etc/openvpn/keys/vars}}&lt;br /&gt;
{{Cmd|touch /etc/openvpn/keys/index.txt&lt;br /&gt;
echo 00 &amp;gt; /etc/openvpn/keys/serial}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;Certificate Authority&#039; (CA) ===&lt;br /&gt;
Clean up the &#039;&#039;&#039;keys&#039;&#039;&#039; folder.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./clean-all}}&lt;br /&gt;
&lt;br /&gt;
Generate Diffie Hellman parameters&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-dh}}&lt;br /&gt;
&lt;br /&gt;
Now lets make the CA certificates and keys&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-ca}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;OpenVPN Server&#039; ===&lt;br /&gt;
Create server certificates&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./build-key-server &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Set up a &#039;OpenVPN Client&#039; ===&lt;br /&gt;
Create client certificates&lt;br /&gt;
{{Cmd|./build-key &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Revoke a certificate ===&lt;br /&gt;
To revoke a certificate&lt;br /&gt;
&lt;br /&gt;
{{Cmd|./revoke-full &amp;lt;commonname&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The revoke-full script will generate a CRL (certificate revocation list) file called &#039;&#039;&#039;crl.pem&#039;&#039;&#039; in the &#039;&#039;&#039;keys&#039;&#039;&#039; subdirectory.&amp;lt;BR&amp;gt;The file should be copied to a directory where the OpenVPN server can access it, then CRL verification should be enabled in the server configuration:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|crl-verify crl.pem}}&lt;br /&gt;
&lt;br /&gt;
= OpenVPN and LXC =&lt;br /&gt;
&lt;br /&gt;
Let&#039;s call this LXC &amp;quot;mylxc&amp;quot;...&lt;br /&gt;
&lt;br /&gt;
On the host &amp;lt;pre&amp;gt;&lt;br /&gt;
modprobe tun&lt;br /&gt;
mkdir /var/lib/lxc/mylxc/rootfs/dev/net&lt;br /&gt;
mknod /var/lib/lxc/mylxc/rootfs/dev/net/tun c 10 200&lt;br /&gt;
chmod 666 /var/lib/lxc/mylxc/rootfs/dev/net/tun&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In /var/lib/lxc/mylxc/config &amp;lt;pre&amp;gt;&lt;br /&gt;
lxc.cgroup.devices.allow = c 10:200 rwm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the guest &amp;lt;pre&amp;gt;&lt;br /&gt;
apk add openvpn&lt;br /&gt;
&amp;lt;/pre&amp;gt; Then config as usual...&lt;br /&gt;
&lt;br /&gt;
This should work both as server and as client.&lt;br /&gt;
&lt;br /&gt;
== persistent devices ==&lt;br /&gt;
lxc guest have their dev recreated on each restart in a tmpfs. This means all devices are reset and are not read from rootfs dev directory. &lt;br /&gt;
To make it persistent you can use an autodev script by adding the following to your lxc guest config&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# tun (openvpn)&lt;br /&gt;
lxc.cgroup.devices.allow = c 10:200 rwm&lt;br /&gt;
# audodev script to add devices&lt;br /&gt;
lxc.hook.autodev=/var/lib/lxc/CONTAINER/autodev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The autodev script would be as following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# dev is populated on earch container start.&lt;br /&gt;
# to make devices persistence we need to recreate them on each start.&lt;br /&gt;
&lt;br /&gt;
cd ${LXC_ROOTFS_MOUNT}/dev&lt;br /&gt;
mkdir net&lt;br /&gt;
mknod net/tun c 10 200&lt;br /&gt;
chmod 0666 net/tun&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category: VPN]]&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Using_HSDPA_modem&amp;diff=16881</id>
		<title>Using HSDPA modem</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Using_HSDPA_modem&amp;diff=16881"/>
		<updated>2020-02-12T09:37:28Z</updated>

		<summary type="html">&lt;p&gt;Leo: /* Load modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Networking]]&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
This doc is tested on alpine-2.1.3.&lt;br /&gt;
&lt;br /&gt;
You will need a [http://en.wikipedia.org/wiki/High-Speed_Downlink_Packet_Access HSDPA] USB-modem.&amp;lt;BR&amp;gt;&lt;br /&gt;
Use &#039;dmesg | less&#039; to figure out which /dev/ttyUSB? it uses &#039;&#039;(you will need to edit below config to reflect this)&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Install packages ==&lt;br /&gt;
Install required packages&lt;br /&gt;
{{cmd|apk add ppp}}&lt;br /&gt;
&lt;br /&gt;
== Load modules ==&lt;br /&gt;
Now let&#039;s load the driver &#039;&#039;(using the values you just found out)&#039;&#039; and prepare it to get automatically loaded at next reboot.&lt;br /&gt;
{{cmd|modprobe ppp_generic&lt;br /&gt;
echo &amp;quot;ppp_generic&amp;quot; &amp;gt;&amp;gt; /etc/modules-load.d/ppp.conf}}&lt;br /&gt;
&lt;br /&gt;
== Configfiles ==&lt;br /&gt;
&lt;br /&gt;
=== /etc/ppp/peers/E220 ===&lt;br /&gt;
&#039;&#039;(The filename &#039;E220&#039; can be changed to whatever is appropreate for you, but you will need to remember it when running pon/poff command)&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;debug&lt;br /&gt;
/dev/ttyUSB0&lt;br /&gt;
460800&lt;br /&gt;
crtscts&lt;br /&gt;
modem&lt;br /&gt;
noauth&lt;br /&gt;
usepeerdns&lt;br /&gt;
defaultroute&lt;br /&gt;
noipdefault&lt;br /&gt;
noccp&lt;br /&gt;
nobsdcomp&lt;br /&gt;
novj&lt;br /&gt;
connect &#039;/usr/sbin/chat -v -f /etc/ppp/chat-E220-pin || /usr/sbin/chat -f /etc/ppp/chat-E220-nopin&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== /etc/ppp/chat-E220-pin ===&lt;br /&gt;
&#039;&#039;(The filename &#039;chat-E220-pin&#039; can be changed to whatever is appropreate for you, but you will need modify above configfile to reflect your decition)&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;ABORT &amp;quot;BUSY&amp;quot;&lt;br /&gt;
ABORT &amp;quot;ERROR&amp;quot;&lt;br /&gt;
ABORT &amp;quot;NO CARRIER&amp;quot;&lt;br /&gt;
REPORT &amp;quot;CONNECT&amp;quot;&lt;br /&gt;
TIMEOUT &amp;quot;10&amp;quot;&lt;br /&gt;
&amp;quot;&amp;quot; &amp;quot;ATZ&amp;quot;&lt;br /&gt;
OK &amp;quot;AT+CPIN={PIN}&amp;quot;&lt;br /&gt;
OK AT+CGDCONT=1,&amp;quot;ip&amp;quot;,&amp;quot;{APN}&amp;quot;&lt;br /&gt;
OK &amp;quot;ATE1V1&amp;amp;D2&amp;amp;C1S0=0+IFC=2,2&amp;quot;&lt;br /&gt;
OK &amp;quot;AT+IPR=115200&amp;quot;&lt;br /&gt;
OK &amp;quot;ATE1&amp;quot;&lt;br /&gt;
TIMEOUT &amp;quot;60&amp;quot;&lt;br /&gt;
&amp;quot;&amp;quot; &amp;quot;ATD*99***1#&amp;quot;&lt;br /&gt;
CONNECT \c&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== /etc/ppp/chat-E220-nopin ===&lt;br /&gt;
&#039;&#039;(The filename &#039;chat-E220-nopin&#039; can be changed to whatever is appropreate for you, but you will need modify above configfile to reflect your decition)&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;ABORT &amp;quot;BUSY&amp;quot;&lt;br /&gt;
ABORT &amp;quot;ERROR&amp;quot;&lt;br /&gt;
ABORT &amp;quot;NO CARRIER&amp;quot;&lt;br /&gt;
REPORT &amp;quot;CONNECT&amp;quot;&lt;br /&gt;
TIMEOUT &amp;quot;10&amp;quot;&lt;br /&gt;
&amp;quot;&amp;quot; &amp;quot;ATZ&amp;quot;&lt;br /&gt;
OK AT+CGDCONT=1,&amp;quot;ip&amp;quot;,&amp;quot;{APN}&amp;quot;&lt;br /&gt;
OK &amp;quot;ATE1V1&amp;amp;D2&amp;amp;C1S0=0+IFC=2,2&amp;quot;&lt;br /&gt;
OK &amp;quot;AT+IPR=115200&amp;quot;&lt;br /&gt;
OK &amp;quot;ATE1&amp;quot;&lt;br /&gt;
TIMEOUT &amp;quot;60&amp;quot;&lt;br /&gt;
&amp;quot;&amp;quot; &amp;quot;ATD*99***1#&amp;quot;&lt;br /&gt;
CONNECT \c&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Note|Replace above word &#039;&#039;&#039;{PIN}&#039;&#039;&#039; with the &amp;quot;PIN&amp;quot; of your card &#039;&#039;(typically a 4 digit code)&#039;&#039;}}&lt;br /&gt;
{{Note|Replace above word &#039;&#039;&#039;{APN}&#039;&#039;&#039; with the &amp;quot;Access Point Name&amp;quot; of the service you use &#039;&#039;(for instance mine is &amp;quot;web.omnitel.it&amp;quot;)&#039;&#039;. If you don&#039;t know the Internet APN, ask your service provider}}&lt;br /&gt;
&lt;br /&gt;
== Routes ==&lt;br /&gt;
Create a default gw route to your &#039;ppp0&#039; device.&lt;br /&gt;
{{cmd|ip route add default dev ppp0}}&lt;br /&gt;
&lt;br /&gt;
== DNS ==&lt;br /&gt;
Figure out what DNS-servers your provider has.&lt;br /&gt;
{{cmd|egrep -i &#039;pppd.*dns&#039; /var/log/messages}}&lt;br /&gt;
This might give you some useful information.&amp;lt;BR&amp;gt;&lt;br /&gt;
Search for a IP-address that might be your providers DNS-server and add this IP-address into &#039;/etc/resolv.conf&#039;.&lt;br /&gt;
{{cmd|echo &amp;quot;nameserver {DNS-server-IP-address}&amp;quot; &amp;gt; /etc/resolv.conf}}&lt;br /&gt;
&lt;br /&gt;
= Start/Stop=&lt;br /&gt;
== Start connection ==&lt;br /&gt;
{{cmd|pon E220}}&lt;br /&gt;
== Stop connection ==&lt;br /&gt;
{{cmd|poff E220}}&lt;br /&gt;
&lt;br /&gt;
= If something goes wrong... =&lt;br /&gt;
Check if process is running&lt;br /&gt;
{{cmd|pidof pppd}}&lt;br /&gt;
Logfile might give you a clue on what went wrong&lt;br /&gt;
{{cmd|egrep &amp;quot;pppd{{!}}chat&amp;quot; /var/log/messages}}&lt;br /&gt;
Check nic information&lt;br /&gt;
{{cmd|ifconfig ppp0}}&lt;br /&gt;
pppd has a statusinformation function that could come in handy&lt;br /&gt;
{{cmd|pppstats}}&lt;br /&gt;
&lt;br /&gt;
= Huawei E378 =&lt;br /&gt;
Tested on Alpine 2.3.3.&lt;br /&gt;
&lt;br /&gt;
Add usb-modeswitch (currently only in testing repo):&lt;br /&gt;
{{cmd|apk add usb-modeswitch}}&lt;br /&gt;
&lt;br /&gt;
/etc/modules:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
usbserial vendor=0x12d1 product=0x1446&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
/etc/usb_modeswitch.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Configuration for the usb_modeswitch package, a mode switching tool for&lt;br /&gt;
# USB devices providing multiple states or modes&lt;br /&gt;
#&lt;br /&gt;
# This file is evaluated by the wrapper script &amp;quot;usb_modeswitch_dispatcher&amp;quot;&lt;br /&gt;
# in /usr/sbin&lt;br /&gt;
# To enable an option, set it to &amp;quot;1&amp;quot;, &amp;quot;yes&amp;quot; or &amp;quot;true&amp;quot; (case doesn&#039;t matter)&lt;br /&gt;
# Everything else counts as &amp;quot;disable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Disable automatic mode switching globally (e.g. to access the original&lt;br /&gt;
# install storage)&lt;br /&gt;
DisableSwitching=0&lt;br /&gt;
&lt;br /&gt;
# Enable logging (results in a extensive report file in /var/log, named&lt;br /&gt;
# &amp;quot;usb_modeswitch_&amp;lt;interface-name&amp;gt;&amp;quot; (and probably others)&lt;br /&gt;
EnableLogging=1&lt;br /&gt;
&lt;br /&gt;
DefaultVendor=0x12d1&lt;br /&gt;
DefaultProduct=0x1446&lt;br /&gt;
&lt;br /&gt;
TargetVendor=0x12d1&lt;br /&gt;
TargetProduct=0x14ac&lt;br /&gt;
&lt;br /&gt;
MessageContent=&amp;quot;55534243000000000000000000000011060000000000000000000000000000&amp;quot;&lt;br /&gt;
&lt;br /&gt;
CheckSuccess=5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
/etc/network/interfaces&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
auto ppp0&lt;br /&gt;
iface ppp0 inet ppp&lt;br /&gt;
        provider E378&lt;br /&gt;
        pre-up usb_modeswitch -c /etc/usb_modeswitch.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
/etc/ppp/peers/E378:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
debug&lt;br /&gt;
/dev/ttyUSB0&lt;br /&gt;
460800&lt;br /&gt;
crtscts&lt;br /&gt;
modem&lt;br /&gt;
noauth&lt;br /&gt;
usepeerdns&lt;br /&gt;
defaultroute&lt;br /&gt;
noipdefault&lt;br /&gt;
noccp&lt;br /&gt;
nobsdcomp&lt;br /&gt;
novj&lt;br /&gt;
connect &#039;/usr/sbin/chat -v -f /etc/ppp/peers/chat-E378-nopin&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
/etc/ppp/peers/chat-E378-nopin:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ABORT &amp;quot;BUSY&amp;quot;&lt;br /&gt;
ABORT &amp;quot;ERROR&amp;quot;&lt;br /&gt;
ABORT &amp;quot;NO CARRIER&amp;quot;&lt;br /&gt;
REPORT &amp;quot;CONNECT&amp;quot;&lt;br /&gt;
TIMEOUT &amp;quot;10&amp;quot;&lt;br /&gt;
&amp;quot;&amp;quot; &amp;quot;ATZ&amp;quot;&lt;br /&gt;
OK AT+CGDCONT=1,&amp;quot;ip&amp;quot;,&amp;quot;isp.telus.com&amp;quot;&lt;br /&gt;
OK AT+CGQREQ=1,2,4,3,6,31&lt;br /&gt;
OK AT+CGQMIN=1,2,4,3,6,31&lt;br /&gt;
OK AT+CGATT=1&lt;br /&gt;
OK ATD*99#&lt;br /&gt;
CONNECT \c&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Novatel MC679 =&lt;br /&gt;
&lt;br /&gt;
Tested on Alpine 2.4.5.&lt;br /&gt;
&lt;br /&gt;
Add usb-modeswitch (currently only in testing repo):&lt;br /&gt;
{{cmd|apk add usb-modeswitch}}&lt;br /&gt;
&lt;br /&gt;
/etc/modules:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
usbserial vendor=0x1410 product=0x7042&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
/etc/usb_modeswitch.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Configuration for the usb_modeswitch package, a mode switching tool for&lt;br /&gt;
# USB devices providing multiple states or modes&lt;br /&gt;
#&lt;br /&gt;
# This file is evaluated by the wrapper script &amp;quot;usb_modeswitch_dispatcher&amp;quot;&lt;br /&gt;
# in /usr/sbin&lt;br /&gt;
# To enable an option, set it to &amp;quot;1&amp;quot;, &amp;quot;yes&amp;quot; or &amp;quot;true&amp;quot; (case doesn&#039;t matter)&lt;br /&gt;
# Everything else counts as &amp;quot;disable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Disable automatic mode switching globally (e.g. to access the original&lt;br /&gt;
# install storage)&lt;br /&gt;
DisableSwitching=0&lt;br /&gt;
&lt;br /&gt;
# Enable logging (results in a extensive report file in /var/log, named&lt;br /&gt;
# &amp;quot;usb_modeswitch_&amp;lt;interface-name&amp;gt;&amp;quot; (and probably others)&lt;br /&gt;
EnableLogging=1&lt;br /&gt;
&lt;br /&gt;
DefaultVendor= 0x1410&lt;br /&gt;
DefaultProduct=0x5059&lt;br /&gt;
&lt;br /&gt;
TargetVendor=  0x1410&lt;br /&gt;
TargetProduct= 0x7042&lt;br /&gt;
&lt;br /&gt;
MessageContent=&amp;quot;5553424312345678000000000000061b000000020000000000000000000000&amp;quot;&lt;br /&gt;
NeedResponse=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
/etc/network/interfaces&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
auto ppp0&lt;br /&gt;
iface ppp0 inet ppp&lt;br /&gt;
        provider MC679&lt;br /&gt;
        pre-up usb_modeswitch -c /etc/usb_modeswitch.conf || true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
/etc/ppp/peers/MC679:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
debug&lt;br /&gt;
/dev/ttyUSB0&lt;br /&gt;
460800&lt;br /&gt;
crtscts&lt;br /&gt;
modem&lt;br /&gt;
noauth&lt;br /&gt;
usepeerdns&lt;br /&gt;
defaultroute&lt;br /&gt;
noipdefault&lt;br /&gt;
noccp&lt;br /&gt;
nobsdcomp&lt;br /&gt;
novj&lt;br /&gt;
connect &#039;/usr/sbin/chat -v -f /etc/ppp/peers/chat-MC679-nopin&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
/etc/ppp/peers/chat-MC679-nopin:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ABORT &amp;quot;BUSY&amp;quot;&lt;br /&gt;
ABORT &amp;quot;ERROR&amp;quot;&lt;br /&gt;
ABORT &amp;quot;NO CARRIER&amp;quot;&lt;br /&gt;
REPORT &amp;quot;CONNECT&amp;quot;&lt;br /&gt;
TIMEOUT &amp;quot;10&amp;quot;&lt;br /&gt;
&amp;quot;&amp;quot; &amp;quot;ATZ&amp;quot;&lt;br /&gt;
OK ATD*99#&lt;br /&gt;
CONNECT \c&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
</feed>