summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-01-25 21:43:05 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-01-25 21:43:05 +0100
commit28d6f95e78054862eca689ff1bf2bef9e6dcfb3c (patch)
tree7f0ff518ffda1f18c0cbf5cda9db6fd9e521060e
parent79bbaa8539c4165ff9516cdae89c02362697f341 (diff)
downloadhonk_aur-28d6f95e78054862eca689ff1bf2bef9e6dcfb3c.tar.gz
honk_aur-28d6f95e78054862eca689ff1bf2bef9e6dcfb3c.zip
security: install the binary in 700 mode.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
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"