<?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=Blinkkin</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=Blinkkin"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Blinkkin"/>
	<updated>2026-05-04T03:45:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Upgrading_Alpine_Linux_to_a_new_release_branch&amp;diff=10125</id>
		<title>Upgrading Alpine Linux to a new release branch</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Upgrading_Alpine_Linux_to_a_new_release_branch&amp;diff=10125"/>
		<updated>2014-08-07T12:34:45Z</updated>

		<summary type="html">&lt;p&gt;Blinkkin: /* Upgrading an Alpine Linux Hard-disk installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Warning|Make sure that you have a backup of your important data before continuing to update your system.}}&lt;br /&gt;
&lt;br /&gt;
== Upgrading an Alpine Linux Hard-disk installation ==&lt;br /&gt;
&lt;br /&gt;
=== Upgrading Alpine v2.x to v3.x ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|Alpine Linux 3.x is using a different libc implementation compared to previous versions. Musl libc is not ABI compatible with uClibc. Additional steps are required for an upgrade.}}&lt;br /&gt;
&lt;br /&gt;
==== Installing statically linked tools ====&lt;br /&gt;
&lt;br /&gt;
Statically linked version of apk-tools is needed, otherwise it will stop working after libc upgrade (possibly in the middle of upgrade). Static version of busybox can be handy in case of the recovery from a failure.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk add busybox-static apk-tools-static}}&lt;br /&gt;
&lt;br /&gt;
==== Changing repositories to v3.x ====&lt;br /&gt;
&lt;br /&gt;
To begin, you need to update your {{Path|/etc/apk/repositories}} file. Here are some shortcuts for doing so:&lt;br /&gt;
:* Launch {{Cmd|setup-apkrepos}} Enter {{Key|e}} to edit {{Path|/etc/apk/repositories}}. Change the version number by hand.&lt;br /&gt;
:* Or, edit the file in place. This is how you&#039;d change &amp;lt;var&amp;gt;v2.7&amp;lt;/var&amp;gt; to &amp;lt;var&amp;gt;v3.0&amp;lt;/var&amp;gt;: {{Cmd|sed -i -e &#039;s/&amp;lt;var&amp;gt;v2\.7&amp;lt;/var&amp;gt;/&amp;lt;var&amp;gt;v3.0&amp;lt;/var&amp;gt;/g&#039; /etc/apk/repositories}}&lt;br /&gt;
&lt;br /&gt;
==== Upgrading system ====&lt;br /&gt;
&lt;br /&gt;
Use statically linked version of apk to update content of repository:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk.static update}}&lt;br /&gt;
&lt;br /&gt;
Simulating upgrade is recommended in order to detect issues beforehand:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk.static upgrade --no-self-upgrade --simulate}}&lt;br /&gt;
&lt;br /&gt;
With no problems encountered or after resolving them, start proper upgrade:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk.static upgrade --no-self-upgrade}}&lt;br /&gt;
&lt;br /&gt;
=== Upgrading to latest release ===&lt;br /&gt;
{{:Include:Upgrading to latest release}}&lt;br /&gt;
&lt;br /&gt;
=== Upgrading to Edge ===&lt;br /&gt;
{{:Include:Upgrading to Edge}}&lt;br /&gt;
&lt;br /&gt;
=== Upgrading from older versions ===&lt;br /&gt;
&lt;br /&gt;
See [[Upgrading from older versions]].&lt;br /&gt;
&lt;br /&gt;
== Upgrading Alpine Linux on CD ==&lt;br /&gt;
&lt;br /&gt;
You may have an installation where the boot media being used (such as a CD, for example) is separate from the media used to store the configuration information. In this case, simply download the latest ISO, and replace the boot media contents with the contents of the latest ISO. If you are booting from a CD, this would simply mean replacing the CD with a CD made from the new image and rebooting the Alpine Linux box. &lt;br /&gt;
&lt;br /&gt;
=== Update remaining packages from Web repository ===&lt;br /&gt;
&lt;br /&gt;
If you are using [[How_to_enable_APK_caching|APK caching]] you should also perform the following steps.&lt;br /&gt;
{{:Include:Using_Internet_Repositories_for_apk-tools}}&lt;br /&gt;
&lt;br /&gt;
If you&#039;re upgrading from a version of Alpine before 2.3.0_rc1, ensure you have the latest available version of the Alpine Linux Package Manager first before upgrading anything else:&lt;br /&gt;
{{Cmd|apk add --upgrade apk-tools}}&lt;br /&gt;
&lt;br /&gt;
Next, upgrade all your packages:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk upgrade --available&lt;br /&gt;
sync}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--available&amp;lt;/code&amp;gt; switch is used to force all packages to be upgraded, even if they have the same version numbers. Sometimes changes in uClibc require doing this.&lt;br /&gt;
&lt;br /&gt;
After upgrading packages, save any configuration changes (you should have backed up your earlier configuration prior to upgrading).&lt;br /&gt;
{{Cmd|lbu ci}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Upgrading Alpine Linux on other removable media (such as CF/USB) ==&lt;br /&gt;
&lt;br /&gt;
The following instructions are for run-from-RAM Alpine installations running on Compact Flash or USB media. Updating your repositories using [[#Upgrading_an_Alpine_Linux_Hard-disk_installation|the procedures detailed above]], then running:&lt;br /&gt;
{{Cmd|apk upgrade --update-cache --available}}&lt;br /&gt;
will suffice for some purposes. (If you want the new packages to be used after a reboot, you should [[How_to_enable_APK_caching|enable APK caching]].)&lt;br /&gt;
&lt;br /&gt;
However, this is not an adequate general solution because it won&#039;t honor any kernel upgrades and the like. For the general solution, you&#039;ll need to upgrade your boot medium (Compact Flash or USB). That is what the following steps describe how to do.&lt;br /&gt;
&lt;br /&gt;
{{:Include:Upgrading_Alpine_environmentvars}}&lt;br /&gt;
&lt;br /&gt;
=== Upgrade Operating System ===&lt;br /&gt;
&lt;br /&gt;
Start by checking that you have enough space on your media. For a &#039;&#039;&#039;standard&#039;&#039;&#039; Alpine image, you need at least 400MB available space.&lt;br /&gt;
{{Cmd|df -h {{!}} grep &amp;quot;Filesystem\{{!}}$LBU_MEDIA&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
==== Download and verify new release ====&lt;br /&gt;
&lt;br /&gt;
Make sure the media that holds your Alpine system is mounted readwrite.&lt;br /&gt;
{{Cmd|mount -oremount,rw /media/$LBU_MEDIA}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If using Alpine Linux 2.2.3 or newer&#039;&#039;&#039;: use the following command to download, mount and copy files as needed for you: {{Cmd|setup-bootable -u {{#latestalp:alpine|url}} /media/$LBU_MEDIA}} Once the command completes, proceed to the [[#Save changes|Save changes]] section.&lt;br /&gt;
&lt;br /&gt;
==== For older versions of Alpine ====&lt;br /&gt;
Start downloading a new &#039;.iso&#039; and a &#039;.sha1&#039; file &lt;br /&gt;
{{Cmd|cd /media/$LBU_MEDIA&lt;br /&gt;
wget -c {{#latestalp:alpine|url}}&lt;br /&gt;
wget {{#latestalp:alpine|url}}.sha1}}&lt;br /&gt;
&lt;br /&gt;
Check integrity of the downloaded files &#039;&#039;(it might take some time)&#039;&#039;:&lt;br /&gt;
{{Cmd|sha1sum -c {{#latestalp:alpine|file}}.sha1}}&lt;br /&gt;
&#039;&#039;The output of the above command should say &#039;OK&#039;.&amp;lt;BR&amp;gt;&#039;&#039;&lt;br /&gt;
&#039;&#039;If says &#039;FAILED&#039;, delete the iso file and download it again.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If using Alpine Linux 1.10.4 or newer&#039;&#039;&#039;: there is a tool &#039;&#039;setup-bootable&#039;&#039; that will mount and copy the image you just downloaded to your boot medium. With this tool simply do: {{Cmd|setup-bootable -u {{#latestalp:alpine|file}} /media/$LBU_MEDIA}}&lt;br /&gt;
&lt;br /&gt;
[[Upgrading from older versions#Upgrading_a_removable_medium_from_Alpine_before_1.10.4|Instructions for older versions of Alpine]] are located elsewhere.&lt;br /&gt;
&lt;br /&gt;
=== Save changes ===&lt;br /&gt;
Now that all upgrades are done, we should save our settings to our media (which you hopefully have backed up prior to doing this upgrade).&lt;br /&gt;
{{Cmd|lbu ci}}&lt;br /&gt;
&lt;br /&gt;
=== Load new kernel ===&lt;br /&gt;
In most cases you will need to reboot Alpine Linux (especially if there are changes in the kernel):&lt;br /&gt;
{{Cmd|sync&lt;br /&gt;
reboot}}&lt;br /&gt;
&lt;br /&gt;
{{Note|If you know what you are doing, you might not need to reboot. But make sure that all services affected by the upgrade are restarted.}}&lt;br /&gt;
&lt;br /&gt;
=== Update remaining packages from Web repository ===&lt;br /&gt;
If you are using [[How_to_enable_APK_caching|APK caching]] you should follow the instructions to [[#Update_remaining_packages_from_Web_repository|Update remaining packages from Web repository]], above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Package Manager]]&lt;/div&gt;</summary>
		<author><name>Blinkkin</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Sandbox&amp;diff=10123</id>
		<title>Sandbox</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Sandbox&amp;diff=10123"/>
		<updated>2014-08-07T11:59:00Z</updated>

		<summary type="html">&lt;p&gt;Blinkkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a test area.&lt;br /&gt;
&lt;br /&gt;
{{#ifeq:one|one|yes|no}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Alpine Linux 3.x is using a different libc implementation compared to previous versions. Musl libc is not ABI compatible with uClibc. Additional steps are required for an upgrade.}}&lt;br /&gt;
&lt;br /&gt;
== Installing statically linked tools ==&lt;br /&gt;
&lt;br /&gt;
Statically linked versions of busybox and apk are needed, otherwise they will stop working after libc upgrade. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk add busybox-static apk-tools-static}}&lt;br /&gt;
&lt;br /&gt;
== Changing repositories to v3.x ==&lt;br /&gt;
&lt;br /&gt;
To begin, you need to update your {{Path|/etc/apk/repositories}} file. Here are some shortcuts for doing so:&lt;br /&gt;
:* Launch {{Cmd|setup-apkrepos}} Enter {{Key|e}} to edit {{Path|/etc/apk/repositories}}. Change the version number by hand.&lt;br /&gt;
:* Or, edit the file in place. This is how you&#039;d change &amp;lt;var&amp;gt;v2.7&amp;lt;/var&amp;gt; to &amp;lt;var&amp;gt;v3.0&amp;lt;/var&amp;gt;: {{Cmd|sed -i -e &#039;s/&amp;lt;var&amp;gt;v2\.7&amp;lt;/var&amp;gt;/&amp;lt;var&amp;gt;v3.0&amp;lt;/var&amp;gt;/g&#039; /etc/apk/repositories}}&lt;br /&gt;
&lt;br /&gt;
== Upgrading system ==&lt;br /&gt;
&lt;br /&gt;
Use statically linked version of apk to update content of repository:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk.static update}}&lt;br /&gt;
&lt;br /&gt;
Simulating upgrade is recommended in order to detect issues beforehand:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk.static upgrade --no-selfupgrade --simulate}}&lt;br /&gt;
&lt;br /&gt;
With no problems encountered or after resolving them, start proper upgrade:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk.static upgrade --no-selfupgrade}}&lt;/div&gt;</summary>
		<author><name>Blinkkin</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_Linux_in_a_chroot&amp;diff=6120</id>
		<title>Alpine Linux in a chroot</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_Linux_in_a_chroot&amp;diff=6120"/>
		<updated>2012-02-16T11:05:46Z</updated>

		<summary type="html">&lt;p&gt;Blinkkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document explains how to set up an Alpine build environment in a chroot under a &amp;quot;normal&amp;quot; Linux distro, such as Arch, Debian, Fedora, Gentoo, or Ubuntu. Once inside the chroot environment, you can build, debug, and run alpine packages.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You will need a few gigabytes of free disk space to have enough space for kernel compiling and storing all the binary packages.&lt;br /&gt;
&lt;br /&gt;
== Creating the installation ==&lt;br /&gt;
This example installation of Alpine Linux in a chroot will work with the lastest release. But it&#039;s also possible to make a chroot with &#039;&#039;&#039;[[Edge|edge]]&#039;&#039;&#039; or older releases of Alpine Linux to test backports.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The variables below: &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;${build_dir}&#039;&#039;&#039; = You can name it whatever you like. &lt;br /&gt;
*&#039;&#039;&#039;${mirror}&#039;&#039;&#039; = Should be replaced with one of the available Alpine Linux mirrors.&lt;br /&gt;
&lt;br /&gt;
Choose a mirror from the [http://dl-2.alpinelinux.org/alpine/MIRRORS.txt mirror list].&lt;br /&gt;
&lt;br /&gt;
Let&#039;s start by getting the latest apk static package: &lt;br /&gt;
&lt;br /&gt;
{{Tip|In the command below, replace x86_64 with x86 if running on a 32bit installation}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|You will need Kernel version 2.6.22 or later to use apk-tools-static}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|wget http://dl-3.alpinelinux.org/alpine/v2.3/main/x86_64/apk-tools-static-2.2.1-r0.apk}}&lt;br /&gt;
&lt;br /&gt;
Unpack the tarball&lt;br /&gt;
{{Cmd|tar -xzf apk-tools-static-2.2.1-r0.apk}}&lt;br /&gt;
&lt;br /&gt;
We are setting up a basic chroot: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|mkdir ${build_dir}&lt;br /&gt;
sudo ./sbin/apk.static -X ${mirror}/v2.2/main -U --allow-untrusted --root ${build_dir} --initdb add alpine-base alpine-sdk&lt;br /&gt;
mkdir -p ./${build_dir}/proc&lt;br /&gt;
sudo mount --bind /proc ./${build_dir}/proc}}&lt;br /&gt;
&lt;br /&gt;
Lets setup our needed devices: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|sudo mknod -m 666 ./${build_dir}/dev/full c 1 7&lt;br /&gt;
sudo mknod -m 666 ./${build_dir}/dev/ptmx c 5 2&lt;br /&gt;
sudo mknod -m 644 ./${build_dir}/dev/random c 1 8&lt;br /&gt;
sudo mknod -m 644 ./${build_dir}/dev/urandom c 1 9&lt;br /&gt;
sudo mknod -m 666 ./${build_dir}/dev/zero c 1 5&lt;br /&gt;
sudo mknod -m 666 ./${build_dir}/dev/tty c 5 0}}&lt;br /&gt;
 &lt;br /&gt;
seems as /dev/null is wrong&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sudo rm -f ./${build_dir}/dev/null &amp;amp;&amp;amp; sudo mknod -m 666 ./${build_dir}/dev/null c 1 3}}&lt;br /&gt;
&lt;br /&gt;
We need a resolv.conf is needed for the DNS servers and the /root directory: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|sudo cp /etc/resolv.conf ./${build_dir}/etc/&lt;br /&gt;
mkdir -p ./${build_dir}/root}}&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to copy the resolv.conf from the local machine, create this file with your DNS server entry. &lt;br /&gt;
{{Cmd|echo &#039;nameserver 8.8.8.8&#039; &amp;gt;/etc/resolv.conf}}&lt;br /&gt;
&lt;br /&gt;
We are setting up APK mirrors: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|sudo mkdir -p ./${build_dir}/etc/apk&lt;br /&gt;
echo &amp;quot;${mirror}/v2.2/main&amp;quot; &amp;gt; ./${build_dir}/etc/apk/repositories}}&lt;br /&gt;
&lt;br /&gt;
== Entering your chroot ==&lt;br /&gt;
After the installation you should be able to enter your chroot: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|sudo chroot ./${build_dir} /bin/sh -l}}&lt;br /&gt;
&lt;br /&gt;
If you are using Alpine as a Native build system you will have to make sure that chroot can run chmod. Add following to /etc/sysctl.conf&lt;br /&gt;
&lt;br /&gt;
 kernel.grsecurity.chroot_deny_chmod = 0&lt;br /&gt;
&lt;br /&gt;
Then run the following command&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sysctl -p}}&lt;br /&gt;
&lt;br /&gt;
== Alpine Linux in a chroot on Fedora ==&lt;br /&gt;
&lt;br /&gt;
If you want to generate a chroot on a Fedora based system, you can use this [http://git.alpinelinux.org/cgit/fab/scripts/tree/alpine-chroot.sh script].&lt;br /&gt;
&lt;br /&gt;
{{Note|Maybe you are able to use this script on other distribution but this is not tested.}}&lt;/div&gt;</summary>
		<author><name>Blinkkin</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Creating_an_Alpine_package&amp;diff=5609</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=5609"/>
		<updated>2011-07-27T06:27:17Z</updated>

		<summary type="html">&lt;p&gt;Blinkkin: add info about checking exit status with return 1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General ==&lt;br /&gt;
&lt;br /&gt;
This document assumes that you have a working [[Setting up the build environment|build environment]], or use a diskbased alpine installation. &lt;br /&gt;
&lt;br /&gt;
=== The APKBUILDs  ===&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;[http://git.alpinelinux.org/cgit/abuild/ abuild]&#039;&#039; script reads the &#039;&#039;[http://git.alpinelinux.org/cgit/abuild/tree/sample.APKBUILD APKBUILD]&#039;&#039; and executes the steps needed to create a package. &lt;br /&gt;
&lt;br /&gt;
=== The aports tree  ===&lt;br /&gt;
&lt;br /&gt;
The [http://git.alpinelinux.org/cgit/aports aports] tree is a [http://git.alpinelinux.org/cgit/aports/tree directory tree] with many APKBUILDs. Those files are used when building alpine from source. &lt;br /&gt;
&lt;br /&gt;
== Installing and configuring the alpine-sdk  ==&lt;br /&gt;
&lt;br /&gt;
The alpine-sdk is a metapackage that pulls in the most essential packages used to build new packages.&amp;lt;BR&amp;gt;&lt;br /&gt;
Install those packages now: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk add alpine-sdk}}&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 /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 is in git so before we clone the aports tree we should 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;
Now we can clone the aports tree. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone git://dev.alpinelinux.org/aports}}&lt;br /&gt;
&lt;br /&gt;
Before we start creating or modifying APKBUILD files we need to setup abuild to our system/user. Edit the file abuild.conf to your requirements. 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;
{{Cmd|sudo vi /etc/abuild.conf}}&lt;br /&gt;
&lt;br /&gt;
We also need to prepare the location that the build process caches files when they are downloaded. By default this is /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;
{{Cmd|sudo chmod a+w /var/cache/distfiles}}&lt;br /&gt;
&lt;br /&gt;
The last step in preparation is to configure the security keys for abuild with the command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|abuild-keygen -a -i}}&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 program can/cannot do.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|abuild -h}}&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 &amp;lt;tt&amp;gt;newapkbuild&amp;lt;/tt&amp;gt; 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;
{{Cmd|newapkbuild &#039;&#039;packagename&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;newapkbuild options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;-a&#039;&#039;&#039;  Create autotools (use ./configure ...)&lt;br /&gt;
* &#039;&#039;&#039;-c&#039;&#039;&#039;  Copy a sample init.d, conf.d and install script to new directory&lt;br /&gt;
* &#039;&#039;&#039;-d&#039;&#039;&#039;  Set package description (pkgdesc) to DESC&lt;br /&gt;
* &#039;&#039;&#039;-f&#039;&#039;&#039;  Force even if directory already exist&lt;br /&gt;
* &#039;&#039;&#039;-h&#039;&#039;&#039;  Show this help&lt;br /&gt;
* &#039;&#039;&#039;-l&#039;&#039;&#039;  Set package license to LICENSE&lt;br /&gt;
* &#039;&#039;&#039;-p&#039;&#039;&#039;  Create perl package (Assume Makefile.PL is there)&lt;br /&gt;
* &#039;&#039;&#039;-u&#039;&#039;&#039;  Set package URL&lt;br /&gt;
* &#039;&#039;&#039;-s&#039;&#039;&#039;  Use sourceforge source url&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;
If you are create 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;saveas-&#039; to the protocol and append &#039;/software-1.0.tar.gz&#039; (for instance) to the end of the URI, like so:&lt;br /&gt;
: &amp;lt;pre&amp;gt;saveas-http://oss.example.org/?get=software&amp;amp;ver=1.0/software-1.0.tar.gz&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;
* 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;
: {{Note|If the you want to download from https, you need GNU wget installed on your system.}}&lt;br /&gt;
 &lt;br /&gt;
* abuild currently supports the following archive types/archive file extensions:&lt;br /&gt;
** .tar.gz / .tgz&lt;br /&gt;
** .tar.bz2&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 it the package INSTALL and README file (or the likes). Another good way is the run ./configure --help from the source directory to see which options are needed for configure to finish without errors. If you do not yet have a src directory you can create one with the command: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|abuild unpack}}&lt;br /&gt;
&lt;br /&gt;
Running configure will also show you how you can disable a specific option for this package. A good example is for instance &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 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;
* [http://www.gentoo-portage.com Search ebuilds] &lt;br /&gt;
* [http://sources.gentoo.org/viewcvs.py/gentoo-x86/ Gentoo CVS] &lt;br /&gt;
* [http://www.archlinux.org/packages/search/ Arch Linux packages] &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 $depends variable. We do this by using scanelf. If scanelf is not yet installed on your system you can do that by installing pax-utils. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|scanelf -nR pkg}}&lt;br /&gt;
&lt;br /&gt;
An example output of 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;
If a package has a special/custom license 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;
==== 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 usefully 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.&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 if you change something to your APKBUILD file without changing the actual $pkgver you can higer 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 add the missing dependency. &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;
===== $pkgname.pre-install =====&lt;br /&gt;
This script is executed before package is installed. Typical use is when package needs a user/group to be created. For example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
adduser -H -s /bin/false -D clamav 2&amp;gt;/dev/null&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 apk add will exit with failure.&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.post-install =====&lt;br /&gt;
This script is executed after package is installed. Can be used to generate font cache and similar.&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.pre-upgrade =====&lt;br /&gt;
Same as pre-install but is executed before upgrading an already installed package.&lt;br /&gt;
&lt;br /&gt;
===== $pkgname.post-upgrade =====&lt;br /&gt;
Same as post-install but is executed after upgrading an already installed package. &lt;br /&gt;
&lt;br /&gt;
===== $pkgname.pre-deinstall =====&lt;br /&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;
===== $pkgname.post-deinstall =====&lt;br /&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;
&lt;br /&gt;
If the package have an pre-install and post-install script the APKBUILD should have the &#039;&#039;install&#039;&#039; variable defined and the scripts should also be added to the source variable:&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;
source=&amp;quot;http://....&lt;br /&gt;
       $install&amp;quot;&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 applications will have except doc and dev files other non needed at run time files which we want to separate away from the base package. 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. Way&#039;s to create them are: &lt;br /&gt;
&lt;br /&gt;
directory compare: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|diff -urp 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 you are going to use multiple patches for a single package, the preferred way to handle those is a loop and numbering the patches. &lt;br /&gt;
&lt;br /&gt;
 for i in &amp;quot;$srcdir&amp;quot;/*.patch; do&lt;br /&gt;
        msg &amp;quot;Applying ${i}&amp;quot;&lt;br /&gt;
        patch -p0 -i $i || return 1&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
Because multiple patches can patch the same file, we could create offset for the next patch. To make sure we always patch in a specified way we should number the patches as followed: &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 patch 1 is first and if we want to add additional patches between them we can use 11,12,21,22... &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;
{{Tip|Common steps for building package contain &#039;&#039;./configure&#039;&#039;, &#039;&#039;make&#039;&#039; and &#039;&#039;make install&#039;&#039;. Everyone of them should be enclosed by &#039;&#039;&amp;amp;#124;&amp;amp;#124; return 1&#039;&#039; to check exit status. Otherwise even if previous step fails e.g. &#039;&#039;./configure&#039;&#039;, next will be launched e.g. &#039;&#039;make&#039;&#039;. This complicates tracing the point, where package brakes. The same applies to installing additional files.}}&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 || return 1&lt;br /&gt;
&lt;br /&gt;
To disable parallel we use: &lt;br /&gt;
&lt;br /&gt;
 make -j1 || return 1&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 dependency&#039;s 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;
== Commit your work  ==&lt;br /&gt;
&lt;br /&gt;
After you successfully build your package you can submit your APKBUILD to alpine 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 you local git repo. When you think you are ready you can add your files to git: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|cd $apkbuilddir&lt;br /&gt;
git add APKBUILD (include any other files needed for the build; $pkgname.install...)&lt;br /&gt;
git commit}}&lt;br /&gt;
&lt;br /&gt;
Now your changes are only available locally in your repository. Because you do not have push rights to the Alpine aports repository you need to create diff (patch) of the changes you made and send this patch to the [http://lists.alpinelinux.org/alpine-devel/ alpine-devel mailinglist].&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;
== See Also ==&lt;br /&gt;
* [[APKBUILD Reference]]&lt;br /&gt;
* [[Development using git]]&lt;/div&gt;</summary>
		<author><name>Blinkkin</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Alpine_security&amp;diff=5597</id>
		<title>Alpine security</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Alpine_security&amp;diff=5597"/>
		<updated>2011-07-21T06:09:49Z</updated>

		<summary type="html">&lt;p&gt;Blinkkin: add info about valgrind&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Alpine Security provides a toolset to work on security auditing, forensics, system rescue, and teaching security testing methodologies.&lt;br /&gt;
&lt;br /&gt;
== Basics ==&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
! URL&lt;br /&gt;
|-&lt;br /&gt;
| alpine-base&lt;br /&gt;
| Alpine base package&lt;br /&gt;
| http://alpinelinux.org&lt;br /&gt;
|-&lt;br /&gt;
| bkeymaps&lt;br /&gt;
| Binary keymaps for busybox&lt;br /&gt;
| http://dev.alpinelinux.org/alpine/bkeymaps&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Code Analysis ==&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
! URL&lt;br /&gt;
|-&lt;br /&gt;
| rpmlint&lt;br /&gt;
| A tool for checking common errors in RPM packages&lt;br /&gt;
| http://rpmlint.zarb.org&lt;br /&gt;
|-&lt;br /&gt;
| splint&lt;br /&gt;
| An implementation of the lint program &lt;br /&gt;
| http://www.splint.org/&lt;br /&gt;
|-&lt;br /&gt;
| pylint&lt;br /&gt;
| Analyzes Python code looking for bugs and signs of poor quality&lt;br /&gt;
| http://pypi.python.org/pypi/pylint&lt;br /&gt;
|-&lt;br /&gt;
| flawfinder&lt;br /&gt;
| Examines C/C++ source code for security flaws&lt;br /&gt;
| http://www.dwheeler.com/flawfinder/&lt;br /&gt;
|-&lt;br /&gt;
| rats&lt;br /&gt;
| A tool to find security related programming errors&lt;br /&gt;
| https://www.fortify.com/ssa-elements/threat-intelligence/rats.html&lt;br /&gt;
|-&lt;br /&gt;
| valgrind&lt;br /&gt;
| A tool for finding memory-management problems&lt;br /&gt;
| http://valgrind.org/&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* pscan - Limited problem scanner for C source files&lt;br /&gt;
&lt;br /&gt;
== Forensics / Data recovery tools ==&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
! URL&lt;br /&gt;
|-&lt;br /&gt;
| dc3dd&lt;br /&gt;
| Patched version of GNU dd for use in computer forensics &lt;br /&gt;
| http://dc3dd.sourceforge.net/&lt;br /&gt;
|-&lt;br /&gt;
| testdisk&lt;br /&gt;
| A powerful free data recovery software&lt;br /&gt;
| http://www.cgsecurity.org/wiki/TestDisk&lt;br /&gt;
|-&lt;br /&gt;
| scrub&lt;br /&gt;
| Disk scrubbing program&lt;br /&gt;
| http://code.google.com/p/diskscrub/&lt;br /&gt;
|-&lt;br /&gt;
| ncdu&lt;br /&gt;
| A curses-based version of the well-known &amp;quot;du&amp;quot;&lt;br /&gt;
| http://dev.yorhel.nl/ncdu&lt;br /&gt;
|-&lt;br /&gt;
| htop&lt;br /&gt;
| An interactive process viewer for Linux&lt;br /&gt;
| http://htop.sourceforge.net/&lt;br /&gt;
|-&lt;br /&gt;
| mac-robber&lt;br /&gt;
| A tool that collects data from allocated files in a mounted file system&lt;br /&gt;
| http://www.sleuthkit.org/mac-robber/desc.php&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* diskrescue GNU data recovery tool http://www.gnu.org/software/ddrescue/ddrescue.html&lt;br /&gt;
* extcarve&lt;br /&gt;
* safecopy A data recovery tool http://safecopy.sourceforge.net/&lt;br /&gt;
* scalpel Fast file carver working on disk images http://www.digitalforensicssolutions.com/Scalpel/&lt;br /&gt;
* afftools - Utilities for afflib http://afflib.org/&lt;br /&gt;
* examiner - Utility to disassemble and comment foreign executable binaries&lt;br /&gt;
* firstaidkit - System Rescue Tool&lt;br /&gt;
* foremost - Recover files by &amp;quot;carving&amp;quot; them from a raw disk&lt;br /&gt;
* hexedit - A hexadecimal file viewer and editor&lt;br /&gt;
* ntfs-3g - Linux NTFS userspace driver&lt;br /&gt;
* ntfsprogs - NTFS filesystem libraries and utilities&lt;br /&gt;
* scanmem - Simple interactive debugging utility&lt;br /&gt;
* sleuthkit - The Sleuth Kit (TSK)&lt;br /&gt;
* srm - Secure file deletion&lt;br /&gt;
* unhide - Tool to find hidden processes and TCP/UDP ports from rootkits&lt;br /&gt;
&lt;br /&gt;
== Reconnaissance ==&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
! URL&lt;br /&gt;
|-&lt;br /&gt;
| arpon&lt;br /&gt;
| ARP handler inspection&lt;br /&gt;
| http://arpon.sourceforge.net/&lt;br /&gt;
|-&lt;br /&gt;
| dnsenum&lt;br /&gt;
| A tool to enumerate DNS info about domains&lt;br /&gt;
| http://code.google.com/p/dnsenum/&lt;br /&gt;
|-&lt;br /&gt;
| halberd&lt;br /&gt;
| A tool to discover HTTP load balancers&lt;br /&gt;
| http://halberd.superadditive.com/&lt;br /&gt;
|-&lt;br /&gt;
| scanssh&lt;br /&gt;
| Fast SSH server and open proxy scanner&lt;br /&gt;
| http://monkey.org/~provos/scanssh/&lt;br /&gt;
|-&lt;br /&gt;
| ngrep&lt;br /&gt;
| Network layer grep tool&lt;br /&gt;
| http://ngrep.sourceforge.net/&lt;br /&gt;
|-&lt;br /&gt;
| netsniff-ng&lt;br /&gt;
| A performant Linux network analyzer and networking toolkit&lt;br /&gt;
| http://netsniff-ng.org/&lt;br /&gt;
|-&lt;br /&gt;
| scapy&lt;br /&gt;
| Interactive packet manipulation tool and network scanner&lt;br /&gt;
| http://www.secdev.org/projects/scapy/&lt;br /&gt;
|-&lt;br /&gt;
| socat&lt;br /&gt;
| Bidirectional data relay between two data channels (&#039;netcat++&#039;)&lt;br /&gt;
| http://www.dest-unreach.org/socat/&lt;br /&gt;
|-&lt;br /&gt;
| tcpdump&lt;br /&gt;
| A network traffic monitoring tool&lt;br /&gt;
| http://www.tcpdump.org/&lt;br /&gt;
|-&lt;br /&gt;
| tcptrack&lt;br /&gt;
| Displays information about tcp connections on a network interface&lt;br /&gt;
| http://www.rhythm.cx/~steve/devel/tcptrack/&lt;br /&gt;
|-&lt;br /&gt;
| tcpflow&lt;br /&gt;
| A tool for monitoring, capturing and storing TCP connections flows&lt;br /&gt;
| http://www.circlemud.org/~jelson/software/tcpflow/&lt;br /&gt;
|-&lt;br /&gt;
| tcpproxy&lt;br /&gt;
| Transparent TCP Proxy&lt;br /&gt;
| http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy&lt;br /&gt;
|-&lt;br /&gt;
| etherdump&lt;br /&gt;
| An extremely small packet sniffer&lt;br /&gt;
| http://freshmeat.net/projects/etherdump/&lt;br /&gt;
|-&lt;br /&gt;
| netdiscover&lt;br /&gt;
| A network address discovering tool&lt;br /&gt;
| http://sourceforge.net/projects/netdiscover/&lt;br /&gt;
|-&lt;br /&gt;
| arpwatch&lt;br /&gt;
| An ethernet monitoring program &lt;br /&gt;
| http://www-nrg.ee.lbl.gov/&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
* nuttcp http://www.nuttcp.net&lt;br /&gt;
* argus http://qosient.com/argus/&lt;br /&gt;
* tcpick http://tcpick.sourceforge.net/&lt;br /&gt;
* tcpreen -- A TCP/IP re-engineering and monitoring program &lt;br /&gt;
* tcpdump -- A network traffic monitoring tool&lt;br /&gt;
* tcpflow -- Network traffic recorder&lt;br /&gt;
* tcpick -- A tcp stream sniffer, tracker and capturer&lt;br /&gt;
* tcping -- Check of TCP connection to a given IP/Port&lt;br /&gt;
* tcpjunk -- TCP protocols testing tool&lt;br /&gt;
* tcpreplay -- Replay captured network traffic&lt;br /&gt;
* tcptraceroute -- A traceroute implementation using TCP packets&lt;br /&gt;
* tcptrack -- Displays information about tcp connections on a network interface&lt;br /&gt;
* tcputils -- Utilities for TCP programming in shell-scripts&lt;br /&gt;
* tcp_wrappers -- A security tool which acts as a wrapper for TCP daemons&lt;br /&gt;
* tcpxtract -- Tool for extracting files from network traffic&lt;br /&gt;
* ttcp A tool for testing TCP connections http://www.pcausa.com/Utilities/pcattcp.htm&lt;br /&gt;
* unicornscan http://www.unicornscan.org/&lt;br /&gt;
* dsniff - Tools for network auditing and penetration testing &lt;br /&gt;
* httpry&lt;br /&gt;
* justniffer&lt;br /&gt;
* dietsniff&lt;br /&gt;
* Nast http://nast.berlios.de/&lt;br /&gt;
* brutessh http://www.edge-security.com/brutessh.php&lt;br /&gt;
* ettercap http://ettercap.sourceforge.net/ A network traffic sniffer/analyser&lt;br /&gt;
* icmpshell A tool that only uses ICMP for connections http://icmpshell.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
==Web Application Testing==&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
! Name&lt;br /&gt;
! Ready&lt;br /&gt;
! Description&lt;br /&gt;
! URL&lt;br /&gt;
|-&lt;br /&gt;
| xxx&lt;br /&gt;
| x&lt;br /&gt;
| xxx&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| xxx&lt;br /&gt;
| xxx&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* proxystrike http://www.edge-security.com/proxystrike.php&lt;br /&gt;
* sqlmap http://sqlmap.sourceforge.net/&lt;br /&gt;
* ratproxy - A passive web application security assessment tool &lt;br /&gt;
* sqlninja&lt;br /&gt;
* burpproxy&lt;br /&gt;
&lt;br /&gt;
== Misc tools ==&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
! URL&lt;br /&gt;
|-&lt;br /&gt;
| iptraf&lt;br /&gt;
| A console-based network monitoring utility &lt;br /&gt;
| http://iptraf.seul.org/&lt;br /&gt;
|-&lt;br /&gt;
| iptop&lt;br /&gt;
| Command line tool that displays bandwidth usage on an interface &lt;br /&gt;
| http://www.ex-parrot.com/~pdw/iftop/&lt;br /&gt;
|-&lt;br /&gt;
| clamav&lt;br /&gt;
| An anti-virus toolkit for UNIX&lt;br /&gt;
| http://www.clamav.net&lt;br /&gt;
|-&lt;br /&gt;
| p7zip&lt;br /&gt;
| A command-line port of the 7zip compression utility&lt;br /&gt;
| http://p7zip.sourceforge.net/&lt;br /&gt;
|-&lt;br /&gt;
| nano&lt;br /&gt;
| A simple ncurses text editor&lt;br /&gt;
| http://www.nano-editor.org/&lt;br /&gt;
|-&lt;br /&gt;
| ethtool&lt;br /&gt;
| ...&lt;br /&gt;
| ...&lt;br /&gt;
|-&lt;br /&gt;
| fping&lt;br /&gt;
| A utility to ping multiple hosts at once&lt;br /&gt;
| http://fping.sourceforge.net/&lt;br /&gt;
|-&lt;br /&gt;
| rsync&lt;br /&gt;
| A file transfer program to keep remote files in sync&lt;br /&gt;
| http://rsync.samba.org/&lt;br /&gt;
|-&lt;br /&gt;
| screen&lt;br /&gt;
| A window manager that multiplexes a physical terminal&lt;br /&gt;
| http://www.gnu.org/software/screen/&lt;br /&gt;
|-&lt;br /&gt;
| multitail&lt;br /&gt;
| A tool to view one or multiple files&lt;br /&gt;
| http://www.vanheusden.com/multitail&lt;br /&gt;
|-&lt;br /&gt;
| shed&lt;br /&gt;
| A simple hex editor&lt;br /&gt;
| http://shed.sourceforge.net/&lt;br /&gt;
|-&lt;br /&gt;
| mtr&lt;br /&gt;
| Full screen ncurses traceroute tool&lt;br /&gt;
| http://www.bitwizard.nl/mtr/&lt;br /&gt;
|-&lt;br /&gt;
| e2fsprogs&lt;br /&gt;
| Standard Ext2/3/4 filesystem utilities&lt;br /&gt;
| http://e2fsprogs.sourceforge.net/&lt;br /&gt;
|-&lt;br /&gt;
| openssh&lt;br /&gt;
| An open source implementation of SSH protocol versions 1 and 2&lt;br /&gt;
| http://www.openssh.org/&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* macchanger An utility for viewing/manipulating the MAC address of network interfaces http://www.alobbs.com/macchanger&lt;br /&gt;
&lt;br /&gt;
== Wireless ==&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
! URL&lt;br /&gt;
|-&lt;br /&gt;
| weplab&lt;br /&gt;
| Analyzing WEP encryption security on wireless networks&lt;br /&gt;
| http://weplab.sourceforge.net/&lt;br /&gt;
|-&lt;br /&gt;
| kismet&lt;br /&gt;
| A WLAN detector, sniffer, and IDS&lt;br /&gt;
| http://www.kismetwireless.org/&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| wavemon&lt;br /&gt;
| 0&lt;br /&gt;
| An ncurses-based monitoring application for wireless network devices. &lt;br /&gt;
| http://eden-feed.erg.abdn.ac.uk/wavemon/&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| aircrack-ng&lt;br /&gt;
| 802.11 (wireless) sniffer and WEP/WPA-PSK key cracker &lt;br /&gt;
| http://www.aircrack-ng.org/&lt;br /&gt;
&lt;br /&gt;
* pgpry PGP private key recovery http://pgpry.sourceforge.net/&lt;br /&gt;
* airsnarf A rogue AP setup utility http://airsnarf.shmoo.com/&lt;br /&gt;
* lorcon http://802.11ninja.net/lorcon/ A library for injecting 802.11 (WLAN) frames&lt;br /&gt;
&lt;br /&gt;
== Intrusion detection ==&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
! URL&lt;br /&gt;
|-&lt;br /&gt;
| nebula&lt;br /&gt;
| An Intrusion Signature Generator&lt;br /&gt;
| http://nebula.carnivore.it/&lt;br /&gt;
|-&lt;br /&gt;
| snort&lt;br /&gt;
| A network intrusion prevention and detection system&lt;br /&gt;
| http://www.snort.org/&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* aide - Intrusion detection environment&lt;br /&gt;
* chkrootkit - Tool to locally check for signs of a rootkit&lt;br /&gt;
* honeyd - Honeypot daemon&lt;br /&gt;
* labrea - Tarpit (slow to a crawl) worms and port scanners&lt;br /&gt;
* pads - Passive Asset Detection System&lt;br /&gt;
* rkhunter - A host-based tool to scan for rootkits, backdoors and local exploits&lt;br /&gt;
* tiger Security auditing on UNIX systems http://www.nongnu.org/tiger/&lt;br /&gt;
* prelude-lml - The prelude log analyzer&lt;br /&gt;
* prewikka - Graphical front-end analysis console for the Prelude Hybrid IDS * Framework&lt;br /&gt;
* prelude-manager - Prelude-Manager&lt;/div&gt;</summary>
		<author><name>Blinkkin</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Upgrading_to_Edge&amp;diff=5346</id>
		<title>Upgrading to Edge</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Upgrading_to_Edge&amp;diff=5346"/>
		<updated>2011-06-20T15:49:52Z</updated>

		<summary type="html">&lt;p&gt;Blinkkin: fix repository url&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An upgrade of Alpine Linux from a stable version to the rolling development version, &#039;&#039;edge&#039;&#039; can be done in a few simple steps.&lt;br /&gt;
&lt;br /&gt;
{{Warning|Edge is under constant development so be careful using it in production. It can break your system.}}&lt;br /&gt;
&lt;br /&gt;
# Add the edge repository to &#039;&#039;/etc/apk/repositories&#039;&#039;: {{Cmd|echo http://dl-3.alpinelinux.org/alpine/edge/main &amp;gt;&amp;gt; /etc/apk/repositories}} or just edit the file in-place (replace &#039;&#039;&#039;v2.2&#039;&#039;&#039; with your release) {{Cmd|sed -i -e &#039;s/v2.2/edge/g&#039; /etc/apk/repositories}}&lt;br /&gt;
# Upgrade all packages in one shot {{Cmd|apk upgrade -a -U}}&lt;br /&gt;
# Check your current release {{Cmd|cat /etc/alpine-release}} You will see the build date attached to the release.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
cat /etc/alpine-release | cut -c 0-3&lt;br /&gt;
This is not working at the moment&lt;br /&gt;
cat /etc/alpine-release | cut -c 0-3 | sed -i -e &#039;s/v{}/edge/g&#039; /etc/apk/repositories&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Blinkkin</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Tutorials_and_Howtos&amp;diff=5324</id>
		<title>Tutorials and Howtos</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Tutorials_and_Howtos&amp;diff=5324"/>
		<updated>2011-06-18T06:09:31Z</updated>

		<summary type="html">&lt;p&gt;Blinkkin: change link to more modern version of colinux guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:package_edutainment.svg|left|link=]]&lt;br /&gt;
{{TOC right}}&#039;&#039;&#039;Welcome to Tutorials and Howtos, a place of basic and advanced configuration tasks for your Alpine Linux.&#039;&#039;&#039;&lt;br /&gt;
The tutorials are hands-on and the reader is expected to try and achieve the goals described in each step, possibly with the help of a good examples. The output in one step is the starting point for the following step.&amp;lt;br/&amp;gt;&lt;br /&gt;
Howtos are smaller articles explaining how to perform a particular task with Alpine Linux. We encourage people to send in both complete articles as well as requesting topics to be covered. If you think you have the skills and knowledge to write an Alpine Linux related article please do so on this Wiki. If you want to request a topic, please add your request in this page [[Talk:Tutorials_and_Howtos|Discussion]]. 	&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a basic vserver]]&lt;br /&gt;
* [[Setting up Logical Volumes with LVM]]&lt;br /&gt;
* [[Replacing non-Alpine Linux with Alpine remotely]]&lt;br /&gt;
* [[XFCE Setup]]&lt;br /&gt;
* [[Gnome Setup]]&lt;br /&gt;
* [[Enable Serial Console on Boot]]&lt;br /&gt;
* [[Alpine Linux package management#Local_Cache | How to enable APK caching]]&lt;br /&gt;
* [[Install Alpine on VirtualBox]]&lt;br /&gt;
* [[Setting up Alpine in a chroot]]&lt;br /&gt;
* [[Upgrading to Edge]]&lt;br /&gt;
* [[Setting up a software raid1 array]]&lt;br /&gt;
* [[Running Alpine Linux As a QEMU networked Guest ]]&lt;br /&gt;
* [[Manually editing a existing apkovl]]&lt;br /&gt;
&lt;br /&gt;
== Networking ==&lt;br /&gt;
* [[Configure Networking]]&lt;br /&gt;
* [[Howto Configure a Network Bridge]]&lt;br /&gt;
* [[Howto Configure static routes]]&lt;br /&gt;
* [[Using serial modem]]&lt;br /&gt;
* [[Using HSDPA modem]]&lt;br /&gt;
* [[Using Alpine on Windows domain with IPSEC isolation]]&lt;br /&gt;
* [[Setting up Satellite Internet Connection]]&lt;br /&gt;
* [[Connecting to a wireless accesspoint]]&lt;br /&gt;
&lt;br /&gt;
== iSCSI ==&lt;br /&gt;
* [[iSCSI Target and Initiator Configuration]]&lt;br /&gt;
* [[iSCSI Raid and Clustered File Systems]]&lt;br /&gt;
* [[High performance SCST iSCSI Target on Linux software Raid]]&lt;br /&gt;
&lt;br /&gt;
== Network Services ==&lt;br /&gt;
* [[Setting Up Lighttpd With FastCGI]]&lt;br /&gt;
* [[Setting up a OpenVPN-server with Alpine]]&lt;br /&gt;
* [[Setting up Zaptel/Asterisk on Alpine]]&lt;br /&gt;
* [[Setting up Transmission (bittorrent) with Clutch WebUI]]&lt;br /&gt;
* [[Hosting services on Alpine]] &#039;&#039;(This applies to hosting mail, webservices and other services)&#039;&#039;&lt;br /&gt;
** [[Setting up postfix with virtual domains]]&lt;br /&gt;
** [[Protecting your email server with Alpine]]&lt;br /&gt;
** [[Hosting Web/Email services on Alpine]]&lt;br /&gt;
* [[Setting up a ssh-server]]&lt;br /&gt;
* [[Multiple Instances of Services]]&lt;br /&gt;
* [[ISP Mail Server HowTo]] &#039;&#039;(Postfix+PostfixAdmin+DoveCot+Roundcube+ClamAV+Spamd - A full-serivce ISP mail server)&#039;&#039;&lt;br /&gt;
** [[ISP Mail Server Upgrade 2.x]]&lt;br /&gt;
** [[ISP Mail Server 2.x HowTo]] &#039;&#039;(Beta, please test)&#039;&#039;&lt;br /&gt;
* [[Freepbx on Alpine Linux]]&lt;br /&gt;
* [[Apache authentication: NTLM Single Signon]]&lt;br /&gt;
* [[Generating SSL certs with ACF]]&lt;br /&gt;
* [[Changing passwords for ACF]]&lt;br /&gt;
* [[Freeradius Active Directory Integration]]&lt;br /&gt;
* [[High Availability High Performance Web Cache]] &#039;&#039;uCarp + HAProxy for High Availability Services such as Squid web proxy&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Web Applications ==&lt;br /&gt;
* [[2600hz]] &#039;&#039;FreeSWITCH, Asterisk GUI web acces tool.&#039;&#039;&lt;br /&gt;
* [[Awstats]] &#039;&#039;Free log file analyzer.&#039;&#039;&lt;br /&gt;
* [[Drupal]] &#039;&#039;Content Management System (CMS) written in PHP.&#039;&#039;&lt;br /&gt;
* [[EyeOS]] &#039;&#039;Cloud Computing Desktop.&#039;&#039;&lt;br /&gt;
* [[FreePBX_V3]] &#039;&#039;FreeSWITCH, Asterisk GUI web acces tool.&#039;&#039;&lt;br /&gt;
* [[Glpi]] &#039;&#039;Information Resource-Manager.&#039;&#039;&lt;br /&gt;
* [[MediaWiki]] &#039;&#039;Free web-based wiki software application&#039;&#039;&lt;br /&gt;
* [[Phpizabi]] &#039;&#039;Social Networking Platform.&#039;&#039;&lt;br /&gt;
* [[PhpPgAdmin]] &#039;&#039;Web-based administration tool for PostgreSQL.&#039;&#039;&lt;br /&gt;
* [[Phpmyadmin]] &#039;&#039;Web-based administration tool for MYSQL.&#039;&#039;&lt;br /&gt;
* [[Redmine]] &#039;&#039;Project management system &#039;&#039;&lt;br /&gt;
* [[Request-Tracker]] &#039;&#039;Ticket system&#039;&#039;&lt;br /&gt;
* [[Roundcube]] &#039;&#039;Webmail system&#039;&#039;&lt;br /&gt;
* [[Statusnet]] &#039;&#039;Microblogging Platform.&#039;&#039;&lt;br /&gt;
* [[Sqstat]] &#039;&#039;Script to look active squid users connections.&#039;&#039;&lt;br /&gt;
* [[Webmin]] &#039;&#039;A web-based interface for Linux system.&#039;&#039;&lt;br /&gt;
* [[WordPress]] &#039;&#039;Web software to create website or blog. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Monitoring ==&lt;br /&gt;
* [[Traffic monitoring]] &#039;&#039;(For Alpine Linux firewalls)&#039;&#039;&lt;br /&gt;
* [[Setting up traffic monitoring using rrdtool (and snmp)]]&lt;br /&gt;
* [[Setting up Smokeping]] &#039;&#039;(Smokeping network latency monitoring)&#039;&#039;&lt;br /&gt;
* [[Setting up Cacti]]&lt;br /&gt;
* [[Setting up NRPE daemon]] &#039;&#039;(Performs remote Nagios checks)&#039;&#039;&lt;br /&gt;
* [[Setting up Zabbix]]&lt;br /&gt;
* [[Setting Up Fprobe And Ntop]] &#039;&#039;NetFlow collection and analysis&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
* [[Setting up lm_sensors]]&lt;br /&gt;
* [[Formatting HD/Floppy/Other]]&lt;br /&gt;
* [[Screen on console]]&lt;br /&gt;
* [[Using espeak on Alpine Linux]]&lt;br /&gt;
* [[IPTV How To]]&lt;br /&gt;
* [[Pllua]]&lt;br /&gt;
* [[Error message on boot: Address space collision: host bridge window conflicts with Adaptor ROM]]&lt;br /&gt;
&lt;br /&gt;
== Drafts ==&lt;br /&gt;
Those are not finished yet.&lt;br /&gt;
* [[Install Alpine on coLinux]]&lt;br /&gt;
* [[Using Racoon for Remote Sites]]&lt;br /&gt;
* [[High Performance and Fault Tolerant Routing with Alpine Linux]]&lt;br /&gt;
* [[Setting up Transparent Squid Proxy]] &#039;&#039;(Covers Squid proxy and URL Filtering system)&#039;&#039;&lt;br /&gt;
** [[Obtaining user information via SNMP]] &#039;&#039;(Using the Squark Squid authentication helper)&#039;&#039;&lt;br /&gt;
* [[Setting up Streaming an Asterisk Channel]]&lt;br /&gt;
* [[Setting up A Network Monitoring and Inventory System]] &#039;&#039;((Nagios + OpenAudit and related components)&#039;&#039;&lt;br /&gt;
* [[Intrusion Detection using Snort]] &#039;&#039;Installing and configuring Snort and related applications on Alpine 2.0.x&#039;&#039;&lt;br /&gt;
* [[IP Accounting]] &#039;&#039;Installing and configuring pmacct for IP Accounting, Netflow/sFlow collector&#039;&#039;&lt;br /&gt;
* [[Howto Setup a Wireless Access Point]] &#039;&#039;Setting up Secure Wireless AP w/ WPA encryption with bridge to wired network&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Obsolete Docs ==&lt;br /&gt;
Those are candidates for rewriting/removal.&lt;br /&gt;
* [[Bootstrapping Alpine on Soekris net4xxx]]&lt;br /&gt;
* [[Bootstrapping Alpine on PC Engines ALIX.3]]&lt;br /&gt;
* [[Setting up a /var partition on software IDE raid1]]&lt;br /&gt;
* [[Native Harddisk Install]]&lt;br /&gt;
* [[Installing XUbuntu using Alpine boot floppy]]&lt;br /&gt;
* [[Setting up trac wiki]]&lt;/div&gt;</summary>
		<author><name>Blinkkin</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Install_Alpine_on_coLinux&amp;diff=5258</id>
		<title>Talk:Install Alpine on coLinux</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Install_Alpine_on_coLinux&amp;diff=5258"/>
		<updated>2011-06-15T15:36:08Z</updated>

		<summary type="html">&lt;p&gt;Blinkkin: Created page with &amp;quot;English isn&amp;#039;t even my second language, so any fixes regarding grammar and so on are more than welcomed. Also formatting is far from perfect, but hopefully I&amp;#039;ll fix that sooner th...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;English isn&#039;t even my second language, so any fixes regarding grammar and so on are more than welcomed. Also formatting is far from perfect, but hopefully I&#039;ll fix that sooner than later. -- [[User:Blinkkin|Blinkkin]] 15:36, 15 June 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Blinkkin</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installation&amp;diff=5188</id>
		<title>Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installation&amp;diff=5188"/>
		<updated>2011-06-07T14:31:58Z</updated>

		<summary type="html">&lt;p&gt;Blinkkin: update download url&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following information will assist you with the installation of Alpine Linux.&lt;br /&gt;
[[Image:hdd_mount.png|left|link=]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Installation Quick-Start in 3 Easy Steps =&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; font-size:30px; font-weight:bold;&amp;quot;&amp;gt;&lt;br /&gt;
1st&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:65px; background-color:#EDF2F2; border-style:solid; border-color:#6F7C91; border-width:0px; border-left-width:5px; min-height:55px; padding:5px;&amp;quot;&amp;gt;&lt;br /&gt;
[http://alpinelinux.org/downloads Download] the latest stable-release ISO.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; font-size:30px; font-weight:bold;&amp;quot;&amp;gt;&lt;br /&gt;
2nd&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:65px; background-color:#E0E9E9; border-style:solid; border-color:#606A82; border-width:0px; border-left-width:5px; min-height:55px; padding:5px;&amp;quot;&amp;gt;&lt;br /&gt;
Burn the ISO onto a blank CD using your favorite CD burning software.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; font-size:30px; font-weight:bold;&amp;quot;&amp;gt;&lt;br /&gt;
3rd&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:65px; background-color:#9faecc; border-style:solid; border-color:#324065; border-width:0px; border-left-width:5px; min-height:55px; padding:5px;&amp;quot;&amp;gt;&lt;br /&gt;
Boot from the CD, login as root with no password, and voilà! Enjoy Alpine Linux!&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
{{Tip|One of the first commands you might want to use is `setup-alpine`}}&lt;br /&gt;
{{Tip|For RAM-based installs, continue by reading about [[Alpine local backup|Alpine Local Backup]]. Otherwise, for HDD-based installs, etc., continue reading one of the documents below.}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Installation Handbook =&lt;br /&gt;
&lt;br /&gt;
* [[Installing Alpine on USB]]&lt;br /&gt;
* [[Installing Alpine on Compact Flash]]&lt;br /&gt;
* [[Installing Alpine on HDD overwriting everything ]] &#039;&#039;(Quick and dirty install on a new machine)&#039;&#039;&lt;br /&gt;
* [[Installing Alpine on HDD dualbooting]]&lt;br /&gt;
* [[Upgrading Alpine]]&lt;br /&gt;
* [[Booting ISO in VMWare]]&lt;br /&gt;
* [[Booting Alpine on an HP ML350 G6|Booting old Alpine on HP ML350 G6]]&lt;/div&gt;</summary>
		<author><name>Blinkkin</name></author>
	</entry>
</feed>