diff --git a/apk/acme-sh/APKBUILD b/apk/acme-sh/APKBUILD deleted file mode 100644 index 72ee413..0000000 --- a/apk/acme-sh/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Disassembler -# Maintainer: Disassembler -pkgname=acme-sh -pkgver=2.8.1 -pkgrel=0 -pkgdesc="A pure Unix shell ACME protocol client" -url="https://github.com/Neilpang/acme.sh" -arch="noarch" -license="GPL" -_commit=09bce5e6d6be6b97b3c843b815087874e3e44a21 -source="${pkgname}-${pkgver}.tar.gz::https://github.com/Neilpang/acme.sh/archive/${_commit}.tar.gz" -builddir="${srcdir}/acme.sh-${_commit}" -options="!check" - -build() { - return 0 -} - -package() { - mkdir -p ${pkgdir}/usr/bin - mkdir -p ${pkgdir}/etc/acme.sh.d - mkdir -p ${pkgdir}/etc/periodic/daily - sed 's|$HOME/.$PROJECT_NAME|/etc/acme.sh.d|' ${builddir}/acme.sh > ${pkgdir}/usr/bin/acme.sh - chmod +x ${pkgdir}/usr/bin/acme.sh - cp ${startdir}/source/acme-sh ${pkgdir}/etc/periodic/daily/ -} - -sha512sums="b2d3d1c3f0ba1d57f40373aa430f53b8398e3798cadb4ab6bc376c9c70edda08cda4380bc8fe9fd272b9e02bd9f763de0a399aeeb5ea8d1a2e8ff5b1d8cef86a acme-sh-2.8.1.tar.gz" diff --git a/apk/acme-sh/source/acme-sh b/apk/acme-sh/source/acme-sh deleted file mode 100644 index 94303b8..0000000 --- a/apk/acme-sh/source/acme-sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# Sleep randomly up to 1hr to avoid peak on ACME server -/bin/sleep $(/usr/bin/shuf -i 60-3600 -n 1) -/usr/bin/acme.sh --cron >/dev/null diff --git a/build/build-all.sh b/build/build-all.sh index d186e78..7b0f44a 100755 --- a/build/build-all.sh +++ b/build/build-all.sh @@ -12,9 +12,6 @@ cd ${ROOT}/vm tar cpf /srv/build/vm.tar * # Build native apps -cd ${ROOT}/apk/acme-sh -abuild -F - cd ${ROOT}/apk/geos apk add -U swig python2-dev abuild -F diff --git a/vm.sh b/vm.sh index e3b2bad..36422d4 100755 --- a/vm.sh +++ b/vm.sh @@ -88,7 +88,7 @@ chroot /mnt setup-timezone -z Europe/Prague apk --no-cache add apache2-utils gettext wget https://repo.spotter.cz/vm.tar -O - | tar xf - -C /mnt envsubst /mnt/boot/extlinux.conf -chroot /mnt apk --no-cache add bridge ca-certificates curl e2fsprogs-extra gettext iptables kbd-misc logrotate postfix nginx openssh-server openssh-sftp-server util-linux wireguard-virt wireguard-tools-wg acme-sh@vm spoc@vm vmmgr@vm +chroot /mnt apk --no-cache add bridge ca-certificates curl e2fsprogs-extra gettext iptables kbd-misc logrotate postfix nginx openssh-server openssh-sftp-server util-linux wireguard-virt wireguard-tools-wg spoc@vm vmmgr@vm chroot /mnt newaliases for SERVICE in consolefont crond iptables networking nginx ntpd postfix spoc swap urandom vmmgr; do ln -s /etc/init.d/${SERVICE} /mnt/etc/runlevels/boot