summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
-rw-r--r--system.service4
3 files changed, 11 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5f313e78bf35..f17f5d4e909a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# mar jan 12 23:25:03 UTC 2016
+# ven fév 12 22:29:00 UTC 2016
pkgbase = shout-irc
pkgdesc = Web-based IRC client
pkgver = 0.53.0
- pkgrel = 1
+ pkgrel = 2
url = http://shout-irc.com/
install = install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 1806fcd9e557..e83f5b0068d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer: Maxime Poulin <maxpoulin64@gmail.com>
+# Contributor: Maxime Poulin <maxpoulin64@gmail.com>
# Contributor: Duncan K. <duncank@fastmail.fm>
pkgname=shout-irc
pkgver=0.53.0
-pkgrel=1
+pkgrel=2
pkgdesc="Web-based IRC client"
url='http://shout-irc.com/'
arch=('any')
@@ -42,4 +42,7 @@ package() {
install -Dm644 $srcdir/system.service $pkgdir/usr/lib/systemd/system/${pkgname}.service
install -Dm644 $srcdir/user.service $pkgdir/usr/lib/systemd/user/${pkgname}.service
+
+ grep -FRlZ "$startdir" "$pkgdir" | \
+ xargs -0 -- sed -i "s|$startdir|/tmp/build|g"
}
diff --git a/system.service b/system.service
index ead49578b54e..e251a4121c22 100644
--- a/system.service
+++ b/system.service
@@ -7,6 +7,10 @@ User=shout-irc
Group=shout-irc
Type=simple
ExecStart=/usr/bin/shout-irc --home /etc/shout-irc
+ProtectSystem=yes
+ProtectHome=yes
+NoNewPrivileges=yes
+PrivateTmp=yes
[Install]
WantedBy=multi-user.target