aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2020-05-20 13:03:43 +0200
committerHenrik Riomar <henrik.riomar@gmail.com>2020-05-20 23:23:23 +0200
commita190f8b4e7a742ca51f0c79b88bee7b3dfbaba48 (patch)
tree85c6614743ee297a2a498a4e5d4a76753f74ef78
parent269cf2af793361a9bb5171db7d401dd106753a2b (diff)
downloadaports-a190f8b4e7a742ca51f0c79b88bee7b3dfbaba48.tar.gz
aports-a190f8b4e7a742ca51f0c79b88bee7b3dfbaba48.tar.bz2
aports-a190f8b4e7a742ca51f0c79b88bee7b3dfbaba48.tar.xz
testing/apt-dater: fix perms
Make sure we have sane perms on /etc /var/cache and /var/lib after installing this package :-) Also add a missing runtime dependency on util-linux, as screen is needed for session recordning that is default enabled in the now shipped apt-dater.xml config file.
-rw-r--r--testing/apt-dater/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/apt-dater/APKBUILD b/testing/apt-dater/APKBUILD
index 7d6a9067ef..f21315c001 100644
--- a/testing/apt-dater/APKBUILD
+++ b/testing/apt-dater/APKBUILD
@@ -2,12 +2,12 @@
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=apt-dater
pkgver=1.0.4
-pkgrel=0
+pkgrel=1
pkgdesc="terminal-based remote package update manager"
url="https://github.com/DE-IBH/apt-dater"
arch="all"
license="GPL-2.0-or-later"
-depends="lockfile-progs screen openssh-client"
+depends="lockfile-progs screen openssh-client util-linux"
makedepends="automake popt-dev glib-dev ncurses-dev tcl-dev libconfig-dev libxml2-dev
xxd"
subpackages="$pkgname-doc $pkgname-lang"
@@ -37,6 +37,10 @@ check() {
}
package() {
+ # sane permissions of top level directories
+ for _d in etc var/cache var/lib; do
+ mkdir -p "$pkgdir/$_d"
+ done
make -j1 DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/share/man/man1/apt-dater-host.1
}