From 28d6f95e78054862eca689ff1bf2bef9e6dcfb3c Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Mon, 25 Jan 2021 21:43:05 +0100 Subject: security: install the binary in 700 mode. --- .SRCINFO | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 0dfaa33..11ac4ce 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = honk pkgdesc = ActivityPub compatible server with web frontend. pkgver = 0.9.5 - pkgrel = 1 + pkgrel = 2 epoch = 0 url = https://humungus.tedunangst.com/r/honk install = honk.install diff --git a/PKGBUILD b/PKGBUILD index d0afd22..8045a37 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=honk pkgver=0.9.5 -pkgrel=1 +pkgrel=2 epoch=0 pkgdesc="ActivityPub compatible server with web frontend." arch=("x86_64") @@ -28,7 +28,7 @@ build() { package() { _PKG_HONKDIR="$pkgdir/usr/share/webapps/honk" - install -vDm755 "$pkgname-$pkgver/honk" "$_PKG_HONKDIR/honk" + install -vDm700 "$pkgname-$pkgver/honk" "$_PKG_HONKDIR/honk" install -vDm644 "$pkgname-$pkgver"/views/* -t "$_PKG_HONKDIR/views/" install -vDm644 "$pkgname-$pkgver"/docs/* -t "$_PKG_HONKDIR/docs/" install -vDm644 "$pkgname-$pkgver"/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" -- cgit v1.2.3-70-g09d2