Setting up a compile vserver for third party packages
This material is work-in-progress ...
Do not follow instructions here until this notice is removed.
Goal: Create a buildserver that will compile third party packages (ones not in the main aports tree) that can be used for unofficial repositories. One example of use could be used to build packages that provide a set of custom default configurations for a group of packages (making quick roll-out of similar servers easier). This box will not build regular aports, just custom packages.
First, follow Setting up a compile vserver.
First, we're going to use this server as both a buildbox and a mirror, so we need lighttpd installed.
Next, set the buildozer package directory to be the lighttpd root, by editing the following lines in /etc/lighttpd/lighttpd.conf:
var.basedir = "/home/buildozer" server.document-root = var.basedir + "/packages"
Create a softlink to also share the distfiles directory.
Uploading to rsync.alpinelinux.org isn't going to work from this buildbox, so comment out line 133 in /usr/local/bin/update-repos.
Move the old aports directory, create a new aports directory, initialize it as a git directory, setup it's "upstream" source.
Make a new test package in the main repo and test build.
Edit /home/buildozer/aports/main/testing/APKBUILD, put in some bogus info so that the package will build, then test using the sircbot control that you made in the base document.