aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Tatje <jan@jnt.io>2018-08-15 21:50:31 +0000
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 10:44:15 -0300
commit3ec31077925f768317f83c3669a304098b879d42 (patch)
tree04efb38cf2f20b2f84144bfc1ec541968256431e
parent61c085378c61418e4cc3b2c28b3f3f24a41f3789 (diff)
downloadaports-3ec31077925f768317f83c3669a304098b879d42.tar.bz2
aports-3ec31077925f768317f83c3669a304098b879d42.tar.xz
testing/epoch: new aport
-rw-r--r--testing/epoch/APKBUILD32
-rw-r--r--testing/epoch/epoch.conf112
2 files changed, 144 insertions, 0 deletions
diff --git a/testing/epoch/APKBUILD b/testing/epoch/APKBUILD
new file mode 100644
index 0000000000..5e1fd1deaf
--- /dev/null
+++ b/testing/epoch/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Jan Tatje <jan@jnt.io>
+# Maintainer: Jan Tatje <jan@jnt.io>
+pkgname=epoch
+pkgver=1.3.0
+pkgrel=0
+pkgdesc="The Epoch Init System is a small but powerful init system for Linux 2.6+."
+url="https://universe2.us/epoch.html"
+arch="all"
+license="unlicense"
+options="!check" # epoch has no tests
+depends=""
+makedepends=""
+install=""
+subpackages=""
+source="http://universe2.us/epoch_1.3.0.tar.gz epoch.conf"
+builddir="$srcdir/${pkgname}_${pkgver}"
+
+build() {
+ cd $builddir
+ ./buildepoch.sh --disable-backtraces
+}
+
+package() {
+ cd $builddir
+ mkdir -p $pkgdir
+ cp -r built/* $pkgdir
+ mkdir -p $pkgdir/etc/epoch
+ cp $srcdir/epoch.conf $pkgdir/etc/epoch/epoch.conf
+}
+
+sha512sums="1e4a8bee26d8819303cbeb67265ee74e294502acfb3f5e594222bb7bdcb2d077fe19e73c40e9111a6ef9af788d767434f5a9a357430b59d6a0cac0e36a3b8f9e epoch_1.3.0.tar.gz
+0ec063230441d2dd8cbefada9bd8121dae8cd77a309a093889028a0bedfe60eeef9a8fba4b174b5b9af512de2874a714e1e9bcdf4123e6108deda16dade2047e epoch.conf"
diff --git a/testing/epoch/epoch.conf b/testing/epoch/epoch.conf
new file mode 100644
index 0000000000..cb83171250
--- /dev/null
+++ b/testing/epoch/epoch.conf
@@ -0,0 +1,112 @@
+DefaultRunlevel default
+
+DisableCAD true
+
+BootBannerText Booting Alpine Linux
+BootBannerColor GREEN
+
+Hostname FILE /etc/hostname
+#Domainname example.org
+
+#MountVirtual devfs devpts devshm procfs sysfs
+
+EnableLogging true
+BlankLogOnBoot true
+
+ObjectID rootfs
+ ObjectStartCommand /bin/mount -o remount,rw /
+# fstab already remounts as ro, busybox umount unmounts
+# /proc, so this would not work anyway.
+# ObjectStopCommand /bin/mount -o remount,ro /
+ ObjectStopCommand NONE
+ ObjectStartPriority 1
+ ObjectStopPriority 99
+ ObjectEnabled true
+ ObjectRunlevels default
+
+ObjectID fstab
+ ObjectStartCommand /bin/mount -a
+ ObjectStopCommand /bin/umount -ar
+ ObjectStartPriority 2
+ ObjectStopPriority 98
+ ObjectEnabled true
+ ObjectRunlevels default
+
+ObjectID getty_tty1
+ ObjectStartCommand /sbin/getty 38400 tty1&
+ ObjectStopCommand NONE
+ ObjectStartPriority 3
+ ObjectStopPriority 0
+ ObjectEnabled true
+ ObjectRunlevels default
+ ObjectOptions SERVICE AUTORESTART
+
+ObjectID getty_tty2
+ ObjectStartCommand /sbin/getty 38400 tty2&
+ ObjectStopCommand NONE
+ ObjectStartPriority 3
+ ObjectStopPriority 0
+ ObjectEnabled true
+ ObjectRunlevels default
+ ObjectOptions SERVICE AUTORESTART
+
+ObjectID getty_tty3
+ ObjectStartCommand /sbin/getty 38400 tty3&
+ ObjectStopCommand NONE
+ ObjectStartPriority 3
+ ObjectStopPriority 0
+ ObjectEnabled true
+ ObjectRunlevels default
+ ObjectOptions SERVICE AUTORESTART
+
+ObjectID getty_tty4
+ ObjectStartCommand /sbin/getty 38400 tty4&
+ ObjectStopCommand NONE
+ ObjectStartPriority 3
+ ObjectStopPriority 0
+ ObjectEnabled true
+ ObjectRunlevels default
+ ObjectOptions SERVICE AUTORESTART
+
+ObjectID getty_tty5
+ ObjectStartCommand /sbin/getty 38400 tty5&
+ ObjectStopCommand NONE
+ ObjectStartPriority 3
+ ObjectStopPriority 0
+ ObjectEnabled true
+ ObjectRunlevels default
+ ObjectOptions SERVICE AUTORESTART
+
+ObjectID getty_tty6
+ ObjectStartCommand /sbin/getty 38400 tty6&
+ ObjectStopCommand NONE
+ ObjectStartPriority 3
+ ObjectStopPriority 0
+ ObjectEnabled true
+ ObjectRunlevels default
+ ObjectOptions SERVICE AUTORESTART
+
+ObjectID eth0
+ ObjectStartCommand ip link set eth0 up
+ ObjectStopCommand NONE
+ ObjectStartPriority 4
+ ObjectStopPriority 0
+ ObjectEnabled true
+ ObjectRunlevels default
+
+ObjectID udhcpc
+ ObjectStartCommand udhcpc
+ ObjectStopCommand PID
+ ObjectStartPriority 5
+ ObjectStopPriority 95
+ ObjectEnabled true
+ ObjectRunlevels default
+ ObjectOptions SERVICE
+
+ObjectID killall
+ ObjectStopCommand killall5 -15
+ ObjectStartPriority 0
+ ObjectStopPriority 100
+ ObjectEnabled true
+ ObjectRunlevels default
+ ObjectOptions HALTONLY