<?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=OxR463</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=OxR463"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/OxR463"/>
	<updated>2026-04-30T16:36:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15719</id>
		<title>User:OxR463/Drafts/installation on android</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15719"/>
		<updated>2019-02-13T00:54:17Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Setup Disk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Root Access&lt;br /&gt;
&lt;br /&gt;
* Busybox&lt;br /&gt;
&lt;br /&gt;
* ADB / Terminal Emulator&lt;br /&gt;
&lt;br /&gt;
== Setup Disk ==&lt;br /&gt;
&lt;br /&gt;
=== File Structure ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/data/data/org.alpinelinux/&lt;br /&gt;
├── cache&lt;br /&gt;
│   └── alpine-minirootfs-3.9.0-aarch64.tar.gz&lt;br /&gt;
└── files&lt;br /&gt;
    └── rootfs.bin&lt;br /&gt;
&lt;br /&gt;
2 directories, 2 files&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Virtual Disk Creation ===&lt;br /&gt;
&lt;br /&gt;
{{Cmd|fallocate -l 1G rootfs.bin}}&lt;br /&gt;
&lt;br /&gt;
=== Encryption via LUKS ===&lt;br /&gt;
&lt;br /&gt;
{{Cmd|cryptsetup luksFormat rootfs.bin}}&lt;br /&gt;
&lt;br /&gt;
For more on this, see [https://wiki.alpinelinux.org/wiki/LVM_on_LUKS LVM on LUKS].&lt;br /&gt;
&lt;br /&gt;
=== Format File System ===&lt;br /&gt;
&lt;br /&gt;
{{Cmd|cryptsetup luksOpen rootfs.bin alpine}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|mkfs.ext4 /dev/mapper/alpine}}&lt;br /&gt;
&lt;br /&gt;
== Bootstrap System ==&lt;br /&gt;
&lt;br /&gt;
* Fetch File System Tarball&lt;br /&gt;
&lt;br /&gt;
* Chroot&lt;br /&gt;
&lt;br /&gt;
== Further Configuration ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== Helper Scripts ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and file storage overview | Android Developers]&lt;br /&gt;
* [https://developer.android.com/google/play/expansion-files APK Expansion Files | Android Developers]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15718</id>
		<title>User:OxR463/Drafts/installation on android</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15718"/>
		<updated>2019-02-13T00:38:43Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Root Access&lt;br /&gt;
&lt;br /&gt;
* Busybox&lt;br /&gt;
&lt;br /&gt;
* ADB / Terminal Emulator&lt;br /&gt;
&lt;br /&gt;
== Setup Disk ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/data/data/org.alpinelinux/&lt;br /&gt;
├── cache&lt;br /&gt;
│   └── alpine-minirootfs-3.9.0-aarch64.tar.gz&lt;br /&gt;
└── files&lt;br /&gt;
    └── rootfs.bin&lt;br /&gt;
&lt;br /&gt;
2 directories, 2 files&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Cmd|fallocate -l 1G rootfs.bin}}&lt;br /&gt;
&lt;br /&gt;
* Encrypt via LUKS&lt;br /&gt;
&lt;br /&gt;
* Mount&lt;br /&gt;
&lt;br /&gt;
* Format File System&lt;br /&gt;
&lt;br /&gt;
== Bootstrap System ==&lt;br /&gt;
&lt;br /&gt;
* Fetch File System Tarball&lt;br /&gt;
&lt;br /&gt;
* Chroot&lt;br /&gt;
&lt;br /&gt;
== Further Configuration ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== Helper Scripts ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and file storage overview | Android Developers]&lt;br /&gt;
* [https://developer.android.com/google/play/expansion-files APK Expansion Files | Android Developers]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15717</id>
		<title>User:OxR463/Drafts/installation on android</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15717"/>
		<updated>2019-02-13T00:25:40Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Setup Disk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Root Access&lt;br /&gt;
&lt;br /&gt;
* Busybox&lt;br /&gt;
&lt;br /&gt;
* ADB / Termux or other Shell&lt;br /&gt;
&lt;br /&gt;
== Setup Disk ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/data/data/org.alpinelinux/&lt;br /&gt;
├── cache&lt;br /&gt;
│   └── alpine-minirootfs-3.9.0-aarch64.tar.gz&lt;br /&gt;
└── files&lt;br /&gt;
    └── rootfs.bin&lt;br /&gt;
&lt;br /&gt;
2 directories, 2 files&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Cmd|fallocate -l 1G rootfs.bin}}&lt;br /&gt;
&lt;br /&gt;
* Encrypt via LUKS&lt;br /&gt;
&lt;br /&gt;
* Mount&lt;br /&gt;
&lt;br /&gt;
* Format File System&lt;br /&gt;
&lt;br /&gt;
== Bootstrap System ==&lt;br /&gt;
&lt;br /&gt;
* Fetch File System Tarball&lt;br /&gt;
&lt;br /&gt;
* Chroot&lt;br /&gt;
&lt;br /&gt;
== Further Configuration ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== Helper Scripts ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and file storage overview | Android Developers]&lt;br /&gt;
* [https://developer.android.com/google/play/expansion-files APK Expansion Files | Android Developers]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15716</id>
		<title>User:OxR463/Drafts/installation on android</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15716"/>
		<updated>2019-02-13T00:22:52Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Setup Disk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Root Access&lt;br /&gt;
&lt;br /&gt;
* Busybox&lt;br /&gt;
&lt;br /&gt;
* ADB / Termux or other Shell&lt;br /&gt;
&lt;br /&gt;
== Setup Disk ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
/data/data/org.alpinelinux/&lt;br /&gt;
├── cache&lt;br /&gt;
│   └── alpine-minirootfs-3.9.0-aarch64.tar.gz&lt;br /&gt;
└── files&lt;br /&gt;
    └── rootfs.bin&lt;br /&gt;
&lt;br /&gt;
2 directories, 2 files&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Cmd|fallocate -l 1G rootfs.bin}}&lt;br /&gt;
&lt;br /&gt;
* Encrypt via LUKS&lt;br /&gt;
&lt;br /&gt;
* Mount&lt;br /&gt;
&lt;br /&gt;
* Format File System&lt;br /&gt;
&lt;br /&gt;
== Bootstrap System ==&lt;br /&gt;
&lt;br /&gt;
* Fetch File System Tarball&lt;br /&gt;
&lt;br /&gt;
* Chroot&lt;br /&gt;
&lt;br /&gt;
== Further Configuration ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== Helper Scripts ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and file storage overview | Android Developers]&lt;br /&gt;
* [https://developer.android.com/google/play/expansion-files APK Expansion Files | Android Developers]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15715</id>
		<title>User:OxR463/Drafts/installation on android</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15715"/>
		<updated>2019-02-12T03:22:13Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Root Access&lt;br /&gt;
&lt;br /&gt;
* Busybox&lt;br /&gt;
&lt;br /&gt;
* ADB / Termux or other Shell&lt;br /&gt;
&lt;br /&gt;
== Setup Disk ==&lt;br /&gt;
&lt;br /&gt;
{{Cmd|fallocate -l 1G rootfs.bin}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/data/data/org.alpinelinux/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Encrypt via LUKS&lt;br /&gt;
&lt;br /&gt;
* Mount&lt;br /&gt;
&lt;br /&gt;
* Format File System&lt;br /&gt;
&lt;br /&gt;
== Bootstrap System ==&lt;br /&gt;
&lt;br /&gt;
* Fetch File System Tarball&lt;br /&gt;
&lt;br /&gt;
* Chroot&lt;br /&gt;
&lt;br /&gt;
== Further Configuration ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== Helper Scripts ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and file storage overview | Android Developers]&lt;br /&gt;
* [https://developer.android.com/google/play/expansion-files APK Expansion Files | Android Developers]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15714</id>
		<title>User:OxR463/Drafts/installation on android</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15714"/>
		<updated>2019-02-12T03:21:28Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Setup Disk ==&lt;br /&gt;
&lt;br /&gt;
{{Cmd|fallocate -l 1G rootfs.bin}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/data/data/org.alpinelinux/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Encrypt via LUKS&lt;br /&gt;
&lt;br /&gt;
* Mount&lt;br /&gt;
&lt;br /&gt;
* Format File System&lt;br /&gt;
&lt;br /&gt;
== Bootstrap System ==&lt;br /&gt;
&lt;br /&gt;
* Fetch File System Tarball&lt;br /&gt;
&lt;br /&gt;
* Chroot&lt;br /&gt;
&lt;br /&gt;
== Further Configuration ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== Helper Scripts ==&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and file storage overview | Android Developers]&lt;br /&gt;
* [https://developer.android.com/google/play/expansion-files APK Expansion Files | Android Developers]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15713</id>
		<title>User:OxR463/Drafts/installation on android</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15713"/>
		<updated>2019-02-12T03:16:24Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Create Virtual Disk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Create Virtual Disk ==&lt;br /&gt;
&lt;br /&gt;
{{Cmd|fallocate -l 1G rootfs.bin}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/data/data/org.alpinelinux/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and file storage overview | Android Developers]&lt;br /&gt;
* [https://developer.android.com/google/play/expansion-files APK Expansion Files | Android Developers]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15712</id>
		<title>User:OxR463/Drafts/installation on android</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15712"/>
		<updated>2019-02-12T03:15:40Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Create Virtual Disk ==&lt;br /&gt;
&lt;br /&gt;
{{Cmd|fallocate -l 1G rootfs.bin}}&lt;br /&gt;
&lt;br /&gt;
/data/data/org.alpinelinux/&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and file storage overview | Android Developers]&lt;br /&gt;
* [https://developer.android.com/google/play/expansion-files APK Expansion Files | Android Developers]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15711</id>
		<title>User:OxR463/Drafts/installation on android</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15711"/>
		<updated>2019-02-12T03:14:56Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Create Virtual Disk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Create Virtual Disk ==&lt;br /&gt;
&lt;br /&gt;
fallocate -l 1G rootfs.bin&lt;br /&gt;
&lt;br /&gt;
/data/data/org.alpinelinux/&lt;br /&gt;
&lt;br /&gt;
* [https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and file storage overview | Android Developers]&lt;br /&gt;
* [https://developer.android.com/google/play/expansion-files APK Expansion Files | Android Developers]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15710</id>
		<title>User:OxR463/Drafts/installation on android</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463/Drafts/installation_on_android&amp;diff=15710"/>
		<updated>2019-02-12T03:14:44Z</updated>

		<summary type="html">&lt;p&gt;OxR463: Created page with &amp;quot;== Create Virtual Disk ==  fallocate -l 1G rootfs.bin  /data/data/org.alpinelinux/  * https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and fil...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Create Virtual Disk ==&lt;br /&gt;
&lt;br /&gt;
fallocate -l 1G rootfs.bin&lt;br /&gt;
&lt;br /&gt;
/data/data/org.alpinelinux/&lt;br /&gt;
&lt;br /&gt;
* [[https://developer.android.com/guide/topics/data/data-storage#filesInternal Data and file storage overview | Android Developers]]&lt;br /&gt;
* [[https://developer.android.com/google/play/expansion-files APK Expansion Files | Android Developers]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15709</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15709"/>
		<updated>2019-02-12T02:53:25Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Articles ==&lt;br /&gt;
&lt;br /&gt;
* [[/Drafts/installation_on_android|Installation On Android]] &lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ====&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ====&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ====&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ====&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ====&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
=== Work In Progress ===&lt;br /&gt;
&lt;br /&gt;
These are packages I am slowly working on adding.&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/festival/testing/festival testing/festival] ====&lt;br /&gt;
&lt;br /&gt;
Festival Speech Synthesis System&lt;br /&gt;
&lt;br /&gt;
http://festvox.org/festival&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/issues/3 testing/pocketsphinx] ====&lt;br /&gt;
&lt;br /&gt;
Speaker-independent large vocabulary continuous speech recognizer&lt;br /&gt;
&lt;br /&gt;
https://cmusphinx.github.io&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/usbguard/testing/usbguard testing/usbguard] ====&lt;br /&gt;
&lt;br /&gt;
A USB device whitelisting tool&lt;br /&gt;
&lt;br /&gt;
https://usbguard.github.io&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/oxr463/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/oxr463/overlay Ebuild Overlay]&lt;br /&gt;
* [https://www.funtoo.org/User:Rage Funtoo Wiki]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@protonmail.com Repology]&lt;br /&gt;
* [http://lramage.gitlab.io Website]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Creating_patches Creating Patches]&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package Creating Alpine Packages]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15708</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15708"/>
		<updated>2019-02-12T00:47:03Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* External */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ====&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ====&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ====&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ====&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ====&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
=== Work In Progress ===&lt;br /&gt;
&lt;br /&gt;
These are packages I am slowly working on adding.&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/festival/testing/festival testing/festival] ====&lt;br /&gt;
&lt;br /&gt;
Festival Speech Synthesis System&lt;br /&gt;
&lt;br /&gt;
http://festvox.org/festival&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/issues/3 testing/pocketsphinx] ====&lt;br /&gt;
&lt;br /&gt;
Speaker-independent large vocabulary continuous speech recognizer&lt;br /&gt;
&lt;br /&gt;
https://cmusphinx.github.io&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/usbguard/testing/usbguard testing/usbguard] ====&lt;br /&gt;
&lt;br /&gt;
A USB device whitelisting tool&lt;br /&gt;
&lt;br /&gt;
https://usbguard.github.io&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/oxr463/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/oxr463/overlay Ebuild Overlay]&lt;br /&gt;
* [https://www.funtoo.org/User:Rage Funtoo Wiki]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@protonmail.com Repology]&lt;br /&gt;
* [http://lramage.gitlab.io Website]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Creating_patches Creating Patches]&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package Creating Alpine Packages]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15608</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15608"/>
		<updated>2018-12-13T01:37:02Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ====&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ====&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ====&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ====&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ====&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
=== Work In Progress ===&lt;br /&gt;
&lt;br /&gt;
These are packages I am slowly working on adding.&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/festival/testing/festival testing/festival] ====&lt;br /&gt;
&lt;br /&gt;
Festival Speech Synthesis System&lt;br /&gt;
&lt;br /&gt;
http://festvox.org/festival&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/issues/3 testing/pocketsphinx] ====&lt;br /&gt;
&lt;br /&gt;
Speaker-independent large vocabulary continuous speech recognizer&lt;br /&gt;
&lt;br /&gt;
https://cmusphinx.github.io&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/usbguard/testing/usbguard testing/usbguard] ====&lt;br /&gt;
&lt;br /&gt;
A USB device whitelisting tool&lt;br /&gt;
&lt;br /&gt;
https://usbguard.github.io&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [https://www.funtoo.org/User:Rage Funtoo Wiki]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Creating_patches Creating Patches]&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package Creating Alpine Packages]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15446</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15446"/>
		<updated>2018-08-23T16:15:58Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Wiki */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ====&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ====&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ====&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ====&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ====&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
=== Work In Progress ===&lt;br /&gt;
&lt;br /&gt;
These are packages I am slowly working on adding.&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/festival/testing/festival testing/festival] ====&lt;br /&gt;
&lt;br /&gt;
Festival Speech Synthesis System&lt;br /&gt;
&lt;br /&gt;
http://festvox.org/festival&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/issues/3 testing/pocketsphinx] ====&lt;br /&gt;
&lt;br /&gt;
Speaker-independent large vocabulary continuous speech recognizer&lt;br /&gt;
&lt;br /&gt;
https://cmusphinx.github.io&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/usbguard/testing/usbguard testing/usbguard] ====&lt;br /&gt;
&lt;br /&gt;
A USB device whitelisting tool&lt;br /&gt;
&lt;br /&gt;
https://usbguard.github.io&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [https://www.funtoo.org/User:Rage Funtoo Wiki]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Creating_patches Creating Patches]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15445</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15445"/>
		<updated>2018-08-23T16:12:59Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ====&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ====&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ====&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ====&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ====&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
=== Work In Progress ===&lt;br /&gt;
&lt;br /&gt;
These are packages I am slowly working on adding.&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/festival/testing/festival testing/festival] ====&lt;br /&gt;
&lt;br /&gt;
Festival Speech Synthesis System&lt;br /&gt;
&lt;br /&gt;
http://festvox.org/festival&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/issues/3 testing/pocketsphinx] ====&lt;br /&gt;
&lt;br /&gt;
Speaker-independent large vocabulary continuous speech recognizer&lt;br /&gt;
&lt;br /&gt;
https://cmusphinx.github.io&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/usbguard/testing/usbguard testing/usbguard] ====&lt;br /&gt;
&lt;br /&gt;
A USB device whitelisting tool&lt;br /&gt;
&lt;br /&gt;
https://usbguard.github.io&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [https://www.funtoo.org/User:Rage Funtoo Wiki]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;br /&gt;
&lt;br /&gt;
== Wiki ==&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Creating_patches Creating Patches]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Writing_Init_Scripts&amp;diff=15363</id>
		<title>Writing Init Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Writing_Init_Scripts&amp;diff=15363"/>
		<updated>2018-07-26T14:54:46Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Introduction */ fix typos&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Draft}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Alpine Linux uses the [https://github.com/OpenRC/openrc OpenRC] init system to start services. Don&#039;t confuse OpenRC init with our system init (the first process that is executed aka pid 1). Many of the current init.d script found in Alpine Linux are taken from Gentoo. If you want to save time you could search [https://packages.gentoo.org/categories Gentoo&#039;s repository] for an existing initscript for your service. You can also check [https://wiki.gentoo.org/wiki/Handbook:X86/Working/Initscripts#Writing_initscripts Gentoo&#039;s wiki] for some additional OpenRC information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;NOTE&amp;lt;/strong&amp;gt;: OpenRC recently added [https://github.com/OpenRC/openrc/blob/master/service-script-guide.md documentation] on how to write proper Init scripts. Make sure you read it!&lt;br /&gt;
&lt;br /&gt;
If you cannot find an init.d script from Gentoo, or you just want to start to write your own init.d scripts, we provide you with some basic information on how to write simple OpenRC init scripts.&lt;br /&gt;
&lt;br /&gt;
Primary information about the OpenRC format can be found in the [http://manpages.org/openrc-run/8 OpenRC man page openrc-run].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;apk add openrc-doc man&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;man openrc-run&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Minimal Templates ==&lt;br /&gt;
&lt;br /&gt;
Every init.d script you write needs to start with a [https://en.wikipedia.org/wiki/Shebang_(Unix) shebang] like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#!/sbin/openrc-run&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Services relying on OpenRC exclusively ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/sbin/openrc-run&lt;br /&gt;
&lt;br /&gt;
command=&amp;quot;/path/to/command&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Services supervised by [http://www.skarnet.org/software/s6/ s6] ===&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
&lt;br /&gt;
* Install and configure the &amp;lt;code&amp;gt;s6-scan&amp;lt;/code&amp;gt; service to start on system boot&lt;br /&gt;
* Exclude &amp;lt;code&amp;gt;start()&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;stop()&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;status()&amp;lt;/code&amp;gt; functions in order for s6 supervision to work reliably. OpenRC has built-in equivalent functions which invoke the necessary s6 commands.&lt;br /&gt;
* Include a &amp;lt;code&amp;gt;depend()&amp;lt;/code&amp;gt; stanza to ensure that the &amp;lt;code&amp;gt;s6-svscan&amp;lt;/code&amp;gt; service is already running.&lt;br /&gt;
* Add a &amp;lt;code&amp;gt;start_pre()&amp;lt;/code&amp;gt; stanza to symlink the service directory into the scan directory, because the &amp;lt;code&amp;gt;/etc/init.d/bootmisc&amp;lt;/code&amp;gt; scripts cleans out the &amp;lt;code&amp;gt;/run&amp;lt;/code&amp;gt; directory on system boot.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/sbin/openrc-run&lt;br /&gt;
&lt;br /&gt;
name=&amp;quot;foo&amp;quot;&lt;br /&gt;
supervisor=&amp;quot;s6&amp;quot;&lt;br /&gt;
s6_service_path=&amp;quot;${RC_SVCDIR}/s6-scan/${name}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
depend() {&lt;br /&gt;
    need s6-svscan&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
start_pre() {&lt;br /&gt;
    if [ ! -L &amp;quot;${RC_SVC_DIR}/s6-scan/${name}&amp;quot; ]; then&lt;br /&gt;
        ln -s &amp;quot;/path/to/${name}/service/dir&amp;quot; &amp;quot;${RC_SVCDIR}/s6-scan/${name}&amp;quot;&lt;br /&gt;
    fi&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The rest of the below basic example could be omitted, but that would most probably leave you with an non working initd script.&lt;br /&gt;
&lt;br /&gt;
== Basic example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/sbin/openrc-run&lt;br /&gt;
  &lt;br /&gt;
name=$RC_SVCNAME&lt;br /&gt;
cfgfile=&amp;quot;/etc/$RC_SVCNAME/$RC_SVCNAME.conf&amp;quot;&lt;br /&gt;
command=&amp;quot;/usr/bin/my_daemon&amp;quot;&lt;br /&gt;
command_args=&amp;quot;--my-daemon-args&amp;quot;&lt;br /&gt;
command_user=&amp;quot;my_system_user&amp;quot;&lt;br /&gt;
pidfile=&amp;quot;/run/$RC_SVCNAME/$RC_SVCNAME.pid&amp;quot;&lt;br /&gt;
start_stop_daemon_args=&amp;quot;--args-for-start-stop-daemon&amp;quot;&lt;br /&gt;
command_background=&amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
depend() {&lt;br /&gt;
        need net&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
start_pre() {&lt;br /&gt;
        checkpath --directory --owner $command_user:$command_user --mode 0775 \&lt;br /&gt;
                /run/$RC_SVCNAME /var/log/$RC_SVCNAME&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== start, stop, restart functions ==&lt;br /&gt;
&lt;br /&gt;
OpenRC defined a few basic functions ie: start, stop, restart. These functions are defined by default but can be overwritten by defining your own set of functions.&lt;br /&gt;
This is generally only necessary if you want to do something special which is not provided by the default start/stop/restart implementations.&lt;br /&gt;
&lt;br /&gt;
=== start ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
start() {&lt;br /&gt;
    ebegin &amp;quot;Starting mydaemon&amp;quot;&lt;br /&gt;
    start-stop-daemon --start \&lt;br /&gt;
        --exec /usr/sbin/mydaemon \&lt;br /&gt;
        --pidfile /var/run/mydaemon.pid \&lt;br /&gt;
        -- \&lt;br /&gt;
        --args-for-mydaemon&lt;br /&gt;
    eend $?&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== stop ===&lt;br /&gt;
&lt;br /&gt;
=== restart ===&lt;br /&gt;
&lt;br /&gt;
== Daemon, Forking, Logging ==&lt;br /&gt;
&lt;br /&gt;
TODO...&lt;br /&gt;
&lt;br /&gt;
[[Category:Booting]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15308</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15308"/>
		<updated>2018-06-29T16:41:44Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* External */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ====&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ====&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ====&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ====&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ====&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
=== Work In Progress ===&lt;br /&gt;
&lt;br /&gt;
These are packages I am slowly working on adding.&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/festival/testing/festival testing/festival] ====&lt;br /&gt;
&lt;br /&gt;
Festival Speech Synthesis System&lt;br /&gt;
&lt;br /&gt;
http://festvox.org/festival&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/issues/3 testing/pocketsphinx] ====&lt;br /&gt;
&lt;br /&gt;
Speaker-independent large vocabulary continuous speech recognizer&lt;br /&gt;
&lt;br /&gt;
https://cmusphinx.github.io&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/usbguard/testing/usbguard testing/usbguard] ====&lt;br /&gt;
&lt;br /&gt;
A USB device whitelisting tool&lt;br /&gt;
&lt;br /&gt;
https://usbguard.github.io&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [https://www.funtoo.org/User:Rage Funtoo Wiki]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15290</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15290"/>
		<updated>2018-06-23T21:44:19Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Work In Progress */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ====&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ====&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ====&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ====&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ====&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
=== Work In Progress ===&lt;br /&gt;
&lt;br /&gt;
These are packages I am slowly working on adding.&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/festival/testing/festival testing/festival] ====&lt;br /&gt;
&lt;br /&gt;
Festival Speech Synthesis System&lt;br /&gt;
&lt;br /&gt;
http://festvox.org/festival&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/issues/3 testing/pocketsphinx] ====&lt;br /&gt;
&lt;br /&gt;
Speaker-independent large vocabulary continuous speech recognizer&lt;br /&gt;
&lt;br /&gt;
https://cmusphinx.github.io&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/usbguard/testing/usbguard testing/usbguard] ====&lt;br /&gt;
&lt;br /&gt;
A USB device whitelisting tool&lt;br /&gt;
&lt;br /&gt;
https://usbguard.github.io&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15289</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15289"/>
		<updated>2018-06-23T21:43:57Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* testing/festival */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ====&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ====&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ====&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ====&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ====&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
=== Work In Progress ===&lt;br /&gt;
&lt;br /&gt;
These are packages I am slowly working on adding.&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/festival/testing/festival testing/festival] ====&lt;br /&gt;
&lt;br /&gt;
Festival Speech Synthesis System&lt;br /&gt;
&lt;br /&gt;
http://festvox.org/festival&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/issues/3 testing/pocketsphinx] ====&lt;br /&gt;
&lt;br /&gt;
Speaker-independent large vocabulary continuous speech recognizer&lt;br /&gt;
&lt;br /&gt;
https://cmusphinx.github.io&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/usbguard testing/usbguard] ====&lt;br /&gt;
&lt;br /&gt;
A USB device whitelisting tool&lt;br /&gt;
&lt;br /&gt;
https://usbguard.github.io&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15288</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15288"/>
		<updated>2018-06-23T21:43:02Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Work In Progress */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ====&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ====&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ====&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ====&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ====&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
=== Work In Progress ===&lt;br /&gt;
&lt;br /&gt;
These are packages I am slowly working on adding.&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/festival testing/festival] ====&lt;br /&gt;
&lt;br /&gt;
Festival Speech Synthesis System&lt;br /&gt;
&lt;br /&gt;
http://festvox.org/festival&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/issues/3 testing/pocketsphinx] ====&lt;br /&gt;
&lt;br /&gt;
Speaker-independent large vocabulary continuous speech recognizer&lt;br /&gt;
&lt;br /&gt;
https://cmusphinx.github.io&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/tree/testing/usbguard testing/usbguard] ====&lt;br /&gt;
&lt;br /&gt;
A USB device whitelisting tool&lt;br /&gt;
&lt;br /&gt;
https://usbguard.github.io&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15287</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15287"/>
		<updated>2018-06-23T21:39:46Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
=== Current ===&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ====&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ====&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ====&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ====&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
==== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ====&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
=== Work In Progress ===&lt;br /&gt;
&lt;br /&gt;
These are packages I am slowly working on adding.&lt;br /&gt;
&lt;br /&gt;
==== [https://gitlab.com/lramage94/aports/issues/3 testing/pocketsphinx] ====&lt;br /&gt;
&lt;br /&gt;
Speaker-independent large vocabulary continuous speech recognizer&lt;br /&gt;
&lt;br /&gt;
https://cmusphinx.github.io&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15280</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15280"/>
		<updated>2018-06-21T15:05:36Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* External */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ===&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ===&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ===&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ===&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ===&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15277</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15277"/>
		<updated>2018-06-19T19:10:44Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [https://pkgs.alpinelinux.org/packages Packages] ==&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ===&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ===&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ===&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ===&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ===&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage/ Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15276</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15276"/>
		<updated>2018-06-19T14:58:08Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ===&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ===&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ===&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ===&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ===&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage/ Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15275</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15275"/>
		<updated>2018-06-19T14:57:26Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
These are the packages that I currently maintain.&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion main/bash-completion] ===&lt;br /&gt;
&lt;br /&gt;
Command-line tab-completion for bash&lt;br /&gt;
&lt;br /&gt;
HOMEPAGE: https://github.com/scop/bash-completion&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/community/ecl community/ecl] ===&lt;br /&gt;
&lt;br /&gt;
Embeddable Common Lisp&lt;br /&gt;
&lt;br /&gt;
HOMEPAGE: https://common-lisp.net/project/ecl&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr testing/efibootmgr] ===&lt;br /&gt;
&lt;br /&gt;
Linux user-space application to modify the Intel Extensible Firmware Interface&lt;br /&gt;
&lt;br /&gt;
HOMEPAGE: https://github.com/rhboot/efibootmgr&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/efivar testing/efivar] ===&lt;br /&gt;
&lt;br /&gt;
Tools and library to manipulate EFI variables&lt;br /&gt;
&lt;br /&gt;
HOMEPAGE: https://github.com/rhboot/efivar&lt;br /&gt;
&lt;br /&gt;
=== [https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite testing/phoronix-test-suite] ===&lt;br /&gt;
&lt;br /&gt;
The most comprehensive testing and benchmarking platform available for Linux&lt;br /&gt;
&lt;br /&gt;
HOMEPAGE: https://www.phoronix-test-suite.com&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage/ Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15273</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15273"/>
		<updated>2018-06-19T13:47:17Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
* https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion&lt;br /&gt;
* https://git.alpinelinux.org/cgit/aports/tree/community/ecl&lt;br /&gt;
* https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr&lt;br /&gt;
* https://git.alpinelinux.org/cgit/aports/tree/testing/efivar&lt;br /&gt;
* https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage/ Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://repology.org/metapackages/by-maintainer/ramage.lucas@openmailbox.org Repology]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15262</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15262"/>
		<updated>2018-06-10T20:22:11Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
* https://git.alpinelinux.org/cgit/aports/tree/main/bash-completion&lt;br /&gt;
* https://git.alpinelinux.org/cgit/aports/tree/community/ecl&lt;br /&gt;
* https://git.alpinelinux.org/cgit/aports/tree/testing/efibootmgr&lt;br /&gt;
* https://git.alpinelinux.org/cgit/aports/tree/testing/efivar&lt;br /&gt;
* https://git.alpinelinux.org/cgit/aports/tree/testing/phoronix-test-suite&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage/ Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15261</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=15261"/>
		<updated>2018-06-08T16:01:14Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://gitlab.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://gitlab.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage/ Gentoo Wiki]&lt;br /&gt;
* [http://gitlab.com/lramage94 Gitlab]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://lramage94.gitlab.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=File:Alogo_64x64.png&amp;diff=15247</id>
		<title>File:Alogo 64x64.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=File:Alogo_64x64.png&amp;diff=15247"/>
		<updated>2018-05-16T15:44:33Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Creating_an_Alpine_package&amp;diff=14325</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=14325"/>
		<updated>2018-01-30T04:37:10Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* pkgrel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== 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 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;${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.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 &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. 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;
* [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], use the identifier specified by SPDX.&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;
{{Warning|It is not acceptable to package software with &amp;quot;unknown&amp;quot; license! If you can&#039;t find license of the source code, please contact the author and ask him 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 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. 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 if you change something to 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 add the missing dependency. When there&#039;s an upstream version changes, 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 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 have an 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. 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;
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;
Add names of the patch files to the &#039;&#039;source&#039;&#039; variable. If you haven&#039;t declared custom &#039;&#039;prepare&#039;&#039; function, then it&#039;s all what you need to do. Otherwise 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 for loop in the &#039;&#039;prepare&#039;&#039; function to apply patches. This is not needed anymore, patches are handled by &#039;&#039;default_prepare&#039;&#039;.&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 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&#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 you 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 github repo, you can create PR&#039;s for each package. Please squash all commits into a single one per PR.&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;
In the commit message, add the following (remove the comments in the last four lines):&lt;br /&gt;
&lt;br /&gt;
{{Cmd| # Please enter the commit message for your changes&lt;br /&gt;
 #[snip]&lt;br /&gt;
 #&lt;br /&gt;
 testing/$pkgname: new aport   # this will be the subject line&lt;br /&gt;
                               # a blank line&lt;br /&gt;
 $pkgurl                       # homepage of project&lt;br /&gt;
 $pkgdesc                      # a one line description}}&lt;br /&gt;
&lt;br /&gt;
Or you could add the following to your `aports/.git/hooks/prepare-commit-msg` to automatically generate the commit message:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 case &amp;quot;$2,$3&amp;quot; in&lt;br /&gt;
   ,|template,)&lt;br /&gt;
     if git status --porcelain | grep -q &#039;^A.*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;
       cat &amp;gt; &amp;quot;$1&amp;quot; &amp;lt;&amp;lt;EOF&lt;br /&gt;
 testing/$(meta pkgname): new aport&lt;br /&gt;
 &lt;br /&gt;
 $(meta url)&lt;br /&gt;
 $(meta pkgdesc)&lt;br /&gt;
 EOF&lt;br /&gt;
     else&lt;br /&gt;
       git status --porcelain | sed -n &#039;s/...\(.*\)\/APKBUILD/\1: /p;T;q&#039; &amp;gt; &amp;quot;$1&amp;quot;&lt;br /&gt;
     fi;;&lt;br /&gt;
 esac&lt;br /&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 pull request to [https://github.com/alpinelinux/aports/ Alpine&#039;s mirror on GitHub] (read instructions [https://github.com/alpinelinux/aports/blob/master/.github/CONTRIBUTING.md here]).&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;
[http://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;
== 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;
* [[APKBUILD examples]]&lt;br /&gt;
* [[Development using git]]&lt;br /&gt;
* [[Development using git:Quality assurance]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14231</id>
		<title>Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14231"/>
		<updated>2017-12-12T15:37:01Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Copy gummiboot efi binary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains how to create an UEFI boot USB with parted and gummiboot.&lt;br /&gt;
&lt;br /&gt;
In this example we will use {{Path|/dev/sdX}}. This will be different depending on your system.&lt;br /&gt;
&lt;br /&gt;
== Create GPT boot partition ==&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|parted}}&lt;br /&gt;
{{Cmd | apk add parted }}&lt;br /&gt;
&lt;br /&gt;
Create a single UEFI boot partitions.&lt;br /&gt;
{{warning| this will erase all content of your {{Path|/dev/sdX}}. Make sure that you use correct device}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd | parted --script /dev/sdX mklabel gpt}}&lt;br /&gt;
{{Cmd | parted --script --align{{=}}optimal /dev/sdX mkpart ESP fat32 1MiB 512MiB }}&lt;br /&gt;
{{Cmd | parted --script /dev/sdX set 1 boot on }}&lt;br /&gt;
&lt;br /&gt;
== Create fat32 filesystem ==&lt;br /&gt;
&lt;br /&gt;
Create a fat32 system with the name `Alpine`.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkfs.vfat -n Alpine /dev/sdX1 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Copy content of ISO image to filesystem ==&lt;br /&gt;
&lt;br /&gt;
It is possible to mount the iso image and copy files with {{codeline|cp}} or {{codeline|rsync}} and it is also possible to use {{codeline|7z}} to extract content from the iso. In this example I will use the {{codeline|uniso}} utility from {{Pkg|alpine-conf}} package.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mount -t vfat /dev/sdX1 /mnt }}&lt;br /&gt;
{{Cmd | cd /mnt &amp;amp;&amp;amp; uniso &amp;lt; /path/to/alpine-3.4.0-x86_64.iso }}&lt;br /&gt;
&lt;br /&gt;
== Copy gummiboot efi binary ==&lt;br /&gt;
&lt;br /&gt;
{{note| Gummiboot has been forked in Alpine Linux since it has been [https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/ consumed by systemd upstream].}}&lt;br /&gt;
&lt;br /&gt;
UEFI will look for a {{Path|EFI/bootx64.efi}} as a fallback efi loader. We copy {{Path|gummibootx64.efi}} to this location.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkdir -p /mnt/EFI/Boot }}&lt;br /&gt;
{{Cmd | apk add gummiboot }}&lt;br /&gt;
{{Cmd | cp /usr/lib/gummiboot/gummibootx64.efi /mnt/EFI/Boot/bootx64.efi }}&lt;br /&gt;
&lt;br /&gt;
== Create configuration files for boot loader ==&lt;br /&gt;
&lt;br /&gt;
We need create some configuration files for gummiboot.&lt;br /&gt;
{{Cmd | mkdir -p loader/entries }}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/loader.conf |default alpine&lt;br /&gt;
timeout 4&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The options are taken from {{Path|boot/syslinux/syslinux.cfg}}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/entries/alpine.conf |title    Alpine Linux&lt;br /&gt;
linux    /boot/vmlinuz-hardened&lt;br /&gt;
initrd   /boot/initramfs-hardened&lt;br /&gt;
options  modloop{{=}}/boot/modloop-hardened modules{{=}}loop,squashfs,sd-mod,usb-storage quiet&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally umount the disk&lt;br /&gt;
{{Cmd | cd ~ &amp;amp;&amp;amp; umount /mnt}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_UEFI_boot_USB&amp;diff=14230</id>
		<title>Talk:Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_UEFI_boot_USB&amp;diff=14230"/>
		<updated>2017-12-12T15:31:46Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;del&amp;gt;Ideally, gummiboot [systemd-boot] should be replaced by grub2 now that it has been consumed by systemd.&lt;br /&gt;
--[[User:OxR463|OxR463]] 19:52, 2 June 2017 (UTC)&amp;lt;/del&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hopefully I&#039;m putting this in the correct spot, but I for one would also like to see instructions on configuring a UEFI bootable USB assuming there&#039;s already a boot manager such as rEFInd on the target system.[[User:Siernan|Regards, Siernan]] ([[User talk:Siernan|talk]]) 23:13, 14 August 2017 (UTC)&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Developer_Documentation&amp;diff=14154</id>
		<title>Talk:Developer Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Developer_Documentation&amp;diff=14154"/>
		<updated>2017-11-29T17:08:53Z</updated>

		<summary type="html">&lt;p&gt;OxR463: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I wonder if we should move/rename the &amp;quot;Alpine &#039;edge&#039; buildsystem&amp;quot; out. In old days we had a separate build environment, a gentoo environment. We dont have that anymore. We just build in alpine so setting up build env is a question of &#039;&#039;apk add alpine-sdk&#039;&#039; and thats it.&lt;br /&gt;
&lt;br /&gt;
Installing alpine in a chroot is other topic and not related to build env really.&lt;br /&gt;
--[[User:Ncopa|Ncopa]] 03:09, 21 May 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
There does not seem to be any documentation concerning package stabilization procedures.&lt;br /&gt;
--[[User:OxR463|OxR463]] 17:08, 29 November 2017 (UTC)&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=14110</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=14110"/>
		<updated>2017-11-01T15:24:08Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* External */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://github.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://github.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage/ Gentoo Wiki]&lt;br /&gt;
* [http://github.com/lramage94 Github]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/User:Oxr463 PostmarketOS Wiki]&lt;br /&gt;
* [http://lramage94.github.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=14109</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=14109"/>
		<updated>2017-11-01T15:19:52Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* External */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://github.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://github.com/lramage94/overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage/ Gentoo Wiki]&lt;br /&gt;
* [http://github.com/lramage94 Github]&lt;br /&gt;
* [http://lramage94.github.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14021</id>
		<title>Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14021"/>
		<updated>2017-10-03T19:20:53Z</updated>

		<summary type="html">&lt;p&gt;OxR463: Undo revision 14016 by OxR463 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains how to create an UEFI boot USB with parted and gummiboot.&lt;br /&gt;
&lt;br /&gt;
In this example we will use {{Path|/dev/sdX}}. This will be different depending on your system.&lt;br /&gt;
&lt;br /&gt;
== Create GPT boot partition ==&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|parted}}&lt;br /&gt;
{{Cmd | apk add parted }}&lt;br /&gt;
&lt;br /&gt;
Create a single UEFI boot partitions.&lt;br /&gt;
{{warning| this will erase all content of your {{Path|/dev/sdX}}. Make sure that you use correct device}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd | parted --script /dev/sdX mklabel gpt}}&lt;br /&gt;
{{Cmd | parted --script --align{{=}}optimal /dev/sdX mkpart ESP fat32 1MiB 512MiB }}&lt;br /&gt;
{{Cmd | parted --script /dev/sdX set 1 boot on }}&lt;br /&gt;
&lt;br /&gt;
== Create fat32 filesystem ==&lt;br /&gt;
&lt;br /&gt;
Create a fat32 system with the name `Alpine`.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkfs.vfat -n Alpine /dev/sdX1 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Copy content of ISO image to filesystem ==&lt;br /&gt;
&lt;br /&gt;
It is possible to mount the iso image and copy files with {{codeline|cp}} or {{codeline|rsync}} and it is also possible to use {{codeline|7z}} to extract content from the iso. In this example I will use the {{codeline|uniso}} utility from {{Pkg|alpine-conf}} package.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mount -t vfat /dev/sdX1 /mnt }}&lt;br /&gt;
{{Cmd | cd /mnt &amp;amp;&amp;amp; uniso &amp;lt; /path/to/alpine-3.4.0-x86_64.iso }}&lt;br /&gt;
&lt;br /&gt;
== Copy gummiboot efi binary ==&lt;br /&gt;
&lt;br /&gt;
UEFI will look for a {{Path|EFI/bootx64.efi}} as a fallback efi loader. We copy {{Path|gummibootx64.efi}} to this location.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkdir -p /mnt/EFI/Boot }}&lt;br /&gt;
{{Cmd | apk add gummiboot }}&lt;br /&gt;
{{Cmd | cp /usr/lib/gummiboot/gummibootx64.efi /mnt/EFI/Boot/bootx64.efi }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Create configuration files for boot loader ==&lt;br /&gt;
&lt;br /&gt;
We need create some configuration files for gummiboot.&lt;br /&gt;
{{Cmd | mkdir -p loader/entries }}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/loader.conf |default alpine&lt;br /&gt;
timeout 4&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The options are taken from {{Path|boot/syslinux/syslinux.cfg}}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/entries/alpine.conf |title    Alpine Linux&lt;br /&gt;
linux    /boot/vmlinuz-hardened&lt;br /&gt;
initrd   /boot/initramfs-hardened&lt;br /&gt;
options  modloop{{=}}/boot/modloop-hardened modules{{=}}loop,squashfs,sd-mod,usb-storage quiet&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally umount the disk&lt;br /&gt;
{{Cmd | cd ~ &amp;amp;&amp;amp; umount /mnt}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14020</id>
		<title>Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14020"/>
		<updated>2017-10-03T19:20:40Z</updated>

		<summary type="html">&lt;p&gt;OxR463: Undo revision 14017 by OxR463 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains how to create an UEFI boot USB with parted and gummiboot.&lt;br /&gt;
&lt;br /&gt;
In this example we will use {{Path|/dev/sdX}}. This will be different depending on your system.&lt;br /&gt;
&lt;br /&gt;
== Create GPT boot partition ==&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|parted}}&lt;br /&gt;
{{Cmd | apk add parted }}&lt;br /&gt;
&lt;br /&gt;
Create a single UEFI boot partitions.&lt;br /&gt;
{{warning| this will erase all content of your {{Path|/dev/sdX}}. Make sure that you use correct device}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd | parted --script /dev/sdX mklabel gpt}}&lt;br /&gt;
{{Cmd | parted --script --align{{=}}optimal /dev/sdX mkpart ESP fat32 1MiB 512MiB }}&lt;br /&gt;
{{Cmd | parted --script /dev/sdX set 1 boot on }}&lt;br /&gt;
&lt;br /&gt;
== Create fat32 filesystem ==&lt;br /&gt;
&lt;br /&gt;
Create a fat32 system with the name `Alpine`.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkfs.vfat -n Alpine /dev/sdX1 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Copy content of ISO image to filesystem ==&lt;br /&gt;
&lt;br /&gt;
It is possible to mount the iso image and copy files with {{codeline|cp}} or {{codeline|rsync}} and it is also possible to use {{codeline|7z}} to extract content from the iso. In this example I will use the {{codeline|uniso}} utility from {{Pkg|alpine-conf}} package.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mount -t vfat /dev/sdX1 /mnt }}&lt;br /&gt;
{{Cmd | cd /mnt &amp;amp;&amp;amp; uniso &amp;lt; /path/to/alpine-3.4.0-x86_64.iso }}&lt;br /&gt;
&lt;br /&gt;
== Create efi binary ==&lt;br /&gt;
&lt;br /&gt;
UEFI will look for a {{Path|EFI/bootx64.efi}} as a fallback efi loader. We copy {{Path|bootx64.efi}} to this location.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkdir -p /mnt/EFI/Boot }}&lt;br /&gt;
{{Cmd | apk add grub-efi }}&lt;br /&gt;
{{Cmd | grub-install --target=x86_64-efi --efi-directory=/mnt/EFI/Boot/ }}&lt;br /&gt;
&lt;br /&gt;
== Create configuration files for boot loader ==&lt;br /&gt;
&lt;br /&gt;
We need create some configuration files for gummiboot.&lt;br /&gt;
{{Cmd | mkdir -p loader/entries }}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/loader.conf |default alpine&lt;br /&gt;
timeout 4&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The options are taken from {{Path|boot/syslinux/syslinux.cfg}}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/entries/alpine.conf |title    Alpine Linux&lt;br /&gt;
linux    /boot/vmlinuz-hardened&lt;br /&gt;
initrd   /boot/initramfs-hardened&lt;br /&gt;
options  modloop{{=}}/boot/modloop-hardened modules{{=}}loop,squashfs,sd-mod,usb-storage quiet&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally umount the disk&lt;br /&gt;
{{Cmd | cd ~ &amp;amp;&amp;amp; umount /mnt}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14019</id>
		<title>Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14019"/>
		<updated>2017-10-03T19:20:28Z</updated>

		<summary type="html">&lt;p&gt;OxR463: Undo revision 14018 by OxR463 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains how to create an UEFI boot USB with parted and gummiboot.&lt;br /&gt;
&lt;br /&gt;
In this example we will use {{Path|/dev/sdX}}. This will be different depending on your system.&lt;br /&gt;
&lt;br /&gt;
== Create GPT boot partition ==&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|parted}}&lt;br /&gt;
{{Cmd | apk add parted }}&lt;br /&gt;
&lt;br /&gt;
Create a single UEFI boot partitions.&lt;br /&gt;
{{warning| this will erase all content of your {{Path|/dev/sdX}}. Make sure that you use correct device}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd | parted --script /dev/sdX mklabel gpt}}&lt;br /&gt;
{{Cmd | parted --script --align{{=}}optimal /dev/sdX mkpart ESP fat32 1MiB 512MiB }}&lt;br /&gt;
{{Cmd | parted --script /dev/sdX set 1 boot on }}&lt;br /&gt;
&lt;br /&gt;
== Create fat32 filesystem ==&lt;br /&gt;
&lt;br /&gt;
Create a fat32 system with the name `Alpine`.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkfs.vfat -n Alpine /dev/sdX1 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Copy content of ISO image to filesystem ==&lt;br /&gt;
&lt;br /&gt;
It is possible to mount the iso image and copy files with {{codeline|cp}} or {{codeline|rsync}} and it is also possible to use {{codeline|7z}} to extract content from the iso. In this example I will use the {{codeline|uniso}} utility from {{Pkg|alpine-conf}} package.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mount -t vfat /dev/sdX1 /mnt }}&lt;br /&gt;
{{Cmd | cd /mnt &amp;amp;&amp;amp; uniso &amp;lt; /path/to/alpine-3.4.0-x86_64.iso }}&lt;br /&gt;
&lt;br /&gt;
== Create efi binary ==&lt;br /&gt;
&lt;br /&gt;
UEFI will look for a {{Path|EFI/bootx64.efi}} as a fallback efi loader. We copy {{Path|bootx64.efi}} to this location.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkdir -p /mnt/EFI/Boot }}&lt;br /&gt;
{{Cmd | apk add grub-efi }}&lt;br /&gt;
{{Cmd | grub-install --target{{=}}x86_64-efi --efi-directory{{=}}/mnt/EFI/Boot/ }}&lt;br /&gt;
&lt;br /&gt;
== Create configuration files for boot loader ==&lt;br /&gt;
&lt;br /&gt;
We need create some configuration files for gummiboot.&lt;br /&gt;
{{Cmd | mkdir -p loader/entries }}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/loader.conf |default alpine&lt;br /&gt;
timeout 4&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The options are taken from {{Path|boot/syslinux/syslinux.cfg}}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/entries/alpine.conf |title    Alpine Linux&lt;br /&gt;
linux    /boot/vmlinuz-hardened&lt;br /&gt;
initrd   /boot/initramfs-hardened&lt;br /&gt;
options  modloop{{=}}/boot/modloop-hardened modules{{=}}loop,squashfs,sd-mod,usb-storage quiet&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally umount the disk&lt;br /&gt;
{{Cmd | cd ~ &amp;amp;&amp;amp; umount /mnt}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14018</id>
		<title>Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14018"/>
		<updated>2017-10-03T19:17:56Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Create efi binary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains how to create an UEFI boot USB with parted and gummiboot.&lt;br /&gt;
&lt;br /&gt;
In this example we will use {{Path|/dev/sdX}}. This will be different depending on your system.&lt;br /&gt;
&lt;br /&gt;
== Create GPT boot partition ==&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|parted}}&lt;br /&gt;
{{Cmd | apk add parted }}&lt;br /&gt;
&lt;br /&gt;
Create a single UEFI boot partitions.&lt;br /&gt;
{{warning| this will erase all content of your {{Path|/dev/sdX}}. Make sure that you use correct device}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd | parted --script /dev/sdX mklabel gpt}}&lt;br /&gt;
{{Cmd | parted --script --align{{=}}optimal /dev/sdX mkpart ESP fat32 1MiB 512MiB }}&lt;br /&gt;
{{Cmd | parted --script /dev/sdX set 1 boot on }}&lt;br /&gt;
&lt;br /&gt;
== Create fat32 filesystem ==&lt;br /&gt;
&lt;br /&gt;
Create a fat32 system with the name `Alpine`.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkfs.vfat -n Alpine /dev/sdX1 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Copy content of ISO image to filesystem ==&lt;br /&gt;
&lt;br /&gt;
It is possible to mount the iso image and copy files with {{codeline|cp}} or {{codeline|rsync}} and it is also possible to use {{codeline|7z}} to extract content from the iso. In this example I will use the {{codeline|uniso}} utility from {{Pkg|alpine-conf}} package.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mount -t vfat /dev/sdX1 /mnt }}&lt;br /&gt;
{{Cmd | cd /mnt &amp;amp;&amp;amp; uniso &amp;lt; /path/to/alpine-3.4.0-x86_64.iso }}&lt;br /&gt;
&lt;br /&gt;
== Create efi binary ==&lt;br /&gt;
&lt;br /&gt;
UEFI will look for a {{Path|EFI/bootx64.efi}} as a fallback efi loader. We install {{Path|bootx64.efi}} to this location.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkdir -p /mnt/EFI/Boot }}&lt;br /&gt;
{{Cmd | apk add grub-efi }}&lt;br /&gt;
{{Cmd | grub-install --target{{=}}x86_64-efi --efi-directory{{=}}/mnt/EFI/Boot/ }}&lt;br /&gt;
&lt;br /&gt;
== Create configuration files for boot loader ==&lt;br /&gt;
&lt;br /&gt;
We need create some configuration files for gummiboot.&lt;br /&gt;
{{Cmd | mkdir -p loader/entries }}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/loader.conf |default alpine&lt;br /&gt;
timeout 4&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The options are taken from {{Path|boot/syslinux/syslinux.cfg}}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/entries/alpine.conf |title    Alpine Linux&lt;br /&gt;
linux    /boot/vmlinuz-hardened&lt;br /&gt;
initrd   /boot/initramfs-hardened&lt;br /&gt;
options  modloop{{=}}/boot/modloop-hardened modules{{=}}loop,squashfs,sd-mod,usb-storage quiet&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally umount the disk&lt;br /&gt;
{{Cmd | cd ~ &amp;amp;&amp;amp; umount /mnt}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14017</id>
		<title>Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14017"/>
		<updated>2017-10-03T19:17:34Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Create efi binary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains how to create an UEFI boot USB with parted and gummiboot.&lt;br /&gt;
&lt;br /&gt;
In this example we will use {{Path|/dev/sdX}}. This will be different depending on your system.&lt;br /&gt;
&lt;br /&gt;
== Create GPT boot partition ==&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|parted}}&lt;br /&gt;
{{Cmd | apk add parted }}&lt;br /&gt;
&lt;br /&gt;
Create a single UEFI boot partitions.&lt;br /&gt;
{{warning| this will erase all content of your {{Path|/dev/sdX}}. Make sure that you use correct device}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd | parted --script /dev/sdX mklabel gpt}}&lt;br /&gt;
{{Cmd | parted --script --align{{=}}optimal /dev/sdX mkpart ESP fat32 1MiB 512MiB }}&lt;br /&gt;
{{Cmd | parted --script /dev/sdX set 1 boot on }}&lt;br /&gt;
&lt;br /&gt;
== Create fat32 filesystem ==&lt;br /&gt;
&lt;br /&gt;
Create a fat32 system with the name `Alpine`.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkfs.vfat -n Alpine /dev/sdX1 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Copy content of ISO image to filesystem ==&lt;br /&gt;
&lt;br /&gt;
It is possible to mount the iso image and copy files with {{codeline|cp}} or {{codeline|rsync}} and it is also possible to use {{codeline|7z}} to extract content from the iso. In this example I will use the {{codeline|uniso}} utility from {{Pkg|alpine-conf}} package.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mount -t vfat /dev/sdX1 /mnt }}&lt;br /&gt;
{{Cmd | cd /mnt &amp;amp;&amp;amp; uniso &amp;lt; /path/to/alpine-3.4.0-x86_64.iso }}&lt;br /&gt;
&lt;br /&gt;
== Create efi binary ==&lt;br /&gt;
&lt;br /&gt;
UEFI will look for a {{Path|EFI/bootx64.efi}} as a fallback efi loader. We copy {{Path|bootx64.efi}} to this location.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkdir -p /mnt/EFI/Boot }}&lt;br /&gt;
{{Cmd | apk add grub-efi }}&lt;br /&gt;
{{Cmd | grub-install --target{{=}}x86_64-efi --efi-directory{{=}}/mnt/EFI/Boot/ }}&lt;br /&gt;
&lt;br /&gt;
== Create configuration files for boot loader ==&lt;br /&gt;
&lt;br /&gt;
We need create some configuration files for gummiboot.&lt;br /&gt;
{{Cmd | mkdir -p loader/entries }}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/loader.conf |default alpine&lt;br /&gt;
timeout 4&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The options are taken from {{Path|boot/syslinux/syslinux.cfg}}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/entries/alpine.conf |title    Alpine Linux&lt;br /&gt;
linux    /boot/vmlinuz-hardened&lt;br /&gt;
initrd   /boot/initramfs-hardened&lt;br /&gt;
options  modloop{{=}}/boot/modloop-hardened modules{{=}}loop,squashfs,sd-mod,usb-storage quiet&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally umount the disk&lt;br /&gt;
{{Cmd | cd ~ &amp;amp;&amp;amp; umount /mnt}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14016</id>
		<title>Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Create_UEFI_boot_USB&amp;diff=14016"/>
		<updated>2017-10-03T19:13:53Z</updated>

		<summary type="html">&lt;p&gt;OxR463: Replace gummiboot instructions with grub 2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explains how to create an UEFI boot USB with parted and gummiboot.&lt;br /&gt;
&lt;br /&gt;
In this example we will use {{Path|/dev/sdX}}. This will be different depending on your system.&lt;br /&gt;
&lt;br /&gt;
== Create GPT boot partition ==&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|parted}}&lt;br /&gt;
{{Cmd | apk add parted }}&lt;br /&gt;
&lt;br /&gt;
Create a single UEFI boot partitions.&lt;br /&gt;
{{warning| this will erase all content of your {{Path|/dev/sdX}}. Make sure that you use correct device}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd | parted --script /dev/sdX mklabel gpt}}&lt;br /&gt;
{{Cmd | parted --script --align{{=}}optimal /dev/sdX mkpart ESP fat32 1MiB 512MiB }}&lt;br /&gt;
{{Cmd | parted --script /dev/sdX set 1 boot on }}&lt;br /&gt;
&lt;br /&gt;
== Create fat32 filesystem ==&lt;br /&gt;
&lt;br /&gt;
Create a fat32 system with the name `Alpine`.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkfs.vfat -n Alpine /dev/sdX1 }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Copy content of ISO image to filesystem ==&lt;br /&gt;
&lt;br /&gt;
It is possible to mount the iso image and copy files with {{codeline|cp}} or {{codeline|rsync}} and it is also possible to use {{codeline|7z}} to extract content from the iso. In this example I will use the {{codeline|uniso}} utility from {{Pkg|alpine-conf}} package.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mount -t vfat /dev/sdX1 /mnt }}&lt;br /&gt;
{{Cmd | cd /mnt &amp;amp;&amp;amp; uniso &amp;lt; /path/to/alpine-3.4.0-x86_64.iso }}&lt;br /&gt;
&lt;br /&gt;
== Create efi binary ==&lt;br /&gt;
&lt;br /&gt;
UEFI will look for a {{Path|EFI/bootx64.efi}} as a fallback efi loader. We copy {{Path|bootx64.efi}} to this location.&lt;br /&gt;
&lt;br /&gt;
{{Cmd | mkdir -p /mnt/EFI/Boot }}&lt;br /&gt;
{{Cmd | apk add grub-efi }}&lt;br /&gt;
{{Cmd | grub-install --target=x86_64-efi --efi-directory=/mnt/EFI/Boot/ }}&lt;br /&gt;
&lt;br /&gt;
== Create configuration files for boot loader ==&lt;br /&gt;
&lt;br /&gt;
We need create some configuration files for gummiboot.&lt;br /&gt;
{{Cmd | mkdir -p loader/entries }}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/loader.conf |default alpine&lt;br /&gt;
timeout 4&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The options are taken from {{Path|boot/syslinux/syslinux.cfg}}&lt;br /&gt;
&lt;br /&gt;
{{Cat | loader/entries/alpine.conf |title    Alpine Linux&lt;br /&gt;
linux    /boot/vmlinuz-hardened&lt;br /&gt;
initrd   /boot/initramfs-hardened&lt;br /&gt;
options  modloop{{=}}/boot/modloop-hardened modules{{=}}loop,squashfs,sd-mod,usb-storage quiet&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally umount the disk&lt;br /&gt;
{{Cmd | cd ~ &amp;amp;&amp;amp; umount /mnt}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=14015</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=14015"/>
		<updated>2017-10-03T18:50:20Z</updated>

		<summary type="html">&lt;p&gt;OxR463: /* Rage  */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://github.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://github.com/lramage94/gentoo-overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage/ Gentoo Wiki]&lt;br /&gt;
* [http://github.com/lramage94 Github]&lt;br /&gt;
* [http://lramage94.github.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=14014</id>
		<title>User:OxR463</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:OxR463&amp;diff=14014"/>
		<updated>2017-10-03T18:45:59Z</updated>

		<summary type="html">&lt;p&gt;OxR463: Created page with &amp;quot;= Rage &amp;lt;OxR463&amp;gt; =  &amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;  == External == * [https://github.com/lramage94/aports Aports Development Fork] * [https://github...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Rage &amp;lt;OxR463&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;elitist&amp;gt;the command line is all you need anyway&amp;lt;/elitist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External ==&lt;br /&gt;
* [https://github.com/lramage94/aports Aports Development Fork]&lt;br /&gt;
* [https://github.com/lramage94/gentoo-overlay Ebuild Overlay]&lt;br /&gt;
* [http://wiki.gentoo.org/wiki/User:Rage/ Gentoo Wiki]&lt;br /&gt;
* [http://github.com/lramage94 Github]&lt;br /&gt;
* [http://lramage94.github.io Website]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Creating_an_Alpine_package&amp;diff=14013</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=14013"/>
		<updated>2017-10-03T18:41:31Z</updated>

		<summary type="html">&lt;p&gt;OxR463: Removed dead link to www.gentoo-portage.com; updated link to gentoo source tree&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== 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 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;${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.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 &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. 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;
* [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. Please use the short name and the release number in the license tag, e.g &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;
! Short name&lt;br /&gt;
! Full name&lt;br /&gt;
|-&lt;br /&gt;
| GPL2&lt;br /&gt;
| GNU General Public License Version 2.0&lt;br /&gt;
|-&lt;br /&gt;
| LGPL2+&lt;br /&gt;
| GNU Lesser General Public License Version 2.1&lt;br /&gt;
|-&lt;br /&gt;
| ASL 2.0&lt;br /&gt;
| Apache License Version 2.0&lt;br /&gt;
|-&lt;br /&gt;
| BSD&lt;br /&gt;
| BSD License&lt;br /&gt;
|-&lt;br /&gt;
| MIT&lt;br /&gt;
| MIT license&lt;br /&gt;
|-&lt;br /&gt;
| MPL 2.0&lt;br /&gt;
| Mozilla Public License v2.0&lt;br /&gt;
|-&lt;br /&gt;
| ZPL 2.0 &lt;br /&gt;
| Zope Public License v 2.0&lt;br /&gt;
|-&lt;br /&gt;
| PHP&lt;br /&gt;
| PHP License v3.0&lt;br /&gt;
|-&lt;br /&gt;
| zlib&lt;br /&gt;
| zlib/libpng License&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For the GNU General Public License the &#039;+&#039; means &#039;&#039;or (at your option) any later version.&#039;&#039; which covers future releases of that license. We skip the &#039;&#039;v&#039;&#039; because it&#039;s obvious that the number shows the version. If you are unsure about the short name of a license, please check the resources below for additional information.&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.archlinux.org/index.php/Licenses ArchLinux and Licensing] &lt;br /&gt;
* [https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses Fedora and Licensing]&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. 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 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. When there&#039;s an upstream version changes, 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 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 have an 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. 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;
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;
Add names of the patch files to the &#039;&#039;source&#039;&#039; variable. If you haven&#039;t declared custom &#039;&#039;prepare&#039;&#039; function, then it&#039;s all what you need to do. Otherwise 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 for loop in the &#039;&#039;prepare&#039;&#039; function to apply patches. This is not needed anymore, patches are handled by &#039;&#039;default_prepare&#039;&#039;.&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 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&#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 you 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 github repo, you can create PR&#039;s for each package. Please squash all commits into a single one per PR.&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;
In the commit message, add the following (remove the comments in the last four lines):&lt;br /&gt;
&lt;br /&gt;
{{Cmd| # Please enter the commit message for your changes&lt;br /&gt;
 #[snip]&lt;br /&gt;
 #&lt;br /&gt;
 testing/$pkgname: new aport   # this will be the subject line&lt;br /&gt;
                               # a blank line&lt;br /&gt;
 $pkgurl                       # homepage of project&lt;br /&gt;
 $pkgdesc                      # a one line description}}&lt;br /&gt;
&lt;br /&gt;
Or you could add the following to your `aports/.git/hooks/prepare-commit-msg` to automatically generate the commit message:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 case &amp;quot;$2,$3&amp;quot; in&lt;br /&gt;
   ,|template,)&lt;br /&gt;
     if git status --porcelain | grep -q &#039;^A.*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;
       cat &amp;gt; &amp;quot;$1&amp;quot; &amp;lt;&amp;lt;EOF&lt;br /&gt;
 testing/$(meta pkgname): new aport&lt;br /&gt;
 &lt;br /&gt;
 $(meta url)&lt;br /&gt;
 $(meta pkgdesc)&lt;br /&gt;
 EOF&lt;br /&gt;
     else&lt;br /&gt;
       git status --porcelain | sed -n &#039;s/...\(.*\)\/APKBUILD/\1: /p;T;q&#039; &amp;gt; &amp;quot;$1&amp;quot;&lt;br /&gt;
     fi;;&lt;br /&gt;
 esac&lt;br /&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 pull request to [https://github.com/alpinelinux/aports/ Alpine&#039;s mirror on GitHub] (read instructions [https://github.com/alpinelinux/aports/blob/master/.github/CONTRIBUTING.md here]).&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;
[http://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;
== 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;
* [[APKBUILD examples]]&lt;br /&gt;
* [[Development using git]]&lt;br /&gt;
* [[Development using git:Quality assurance]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_UEFI_boot_USB&amp;diff=13563</id>
		<title>Talk:Create UEFI boot USB</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Create_UEFI_boot_USB&amp;diff=13563"/>
		<updated>2017-06-02T19:52:33Z</updated>

		<summary type="html">&lt;p&gt;OxR463: Created page with &amp;quot;Ideally, gummiboot [systemd-boot] should be replaced by grub2 now that it has been consumed by systemd. --OxR463 19:52, 2 June 2017 (UTC)&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ideally, gummiboot [systemd-boot] should be replaced by grub2 now that it has been consumed by systemd.&lt;br /&gt;
--[[User:OxR463|OxR463]] 19:52, 2 June 2017 (UTC)&lt;/div&gt;</summary>
		<author><name>OxR463</name></author>
	</entry>
</feed>