summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormax.bra2019-10-05 19:59:29 +0200
committermax.bra2019-10-05 19:59:29 +0200
commit38a8b540e2c4c4df17abd2004ca1350d1cf9efe6 (patch)
treece2cd0b7013ba9a80f05a6f8252a6a4a7c0f7cbd
parentdaca9a4f5c5d145f95cead8e2352d78eb6183967 (diff)
downloadaur-38a8b540e2c4c4df17abd2004ca1350d1cf9efe6.tar.gz
back to pihole user
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD4
-rw-r--r--pi-hole-server.install4
-rw-r--r--pi-hole.tmpfile4
4 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 94489a5db30e..23eb65ac39fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pi-hole-server
pkgdesc = The Pi-hole is an advertising-aware DNS/Web server. Arch adaptation for lan wide DNS server.
pkgver = 4.3.2
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/pi-hole/pi-hole
install = pi-hole-server.install
arch = any
@@ -26,8 +26,8 @@ pkgbase = pi-hole-server
backup = etc/dnsmasq.conf
source = pihole-4.3.2.tar.gz::https://github.com/pi-hole/pi-hole/archive/v4.3.2.tar.gz
source = admin-4.3.2.tar.gz::https://github.com/pi-hole/AdminLTE/archive/v4.3.2.tar.gz
- source = arch-server-core-4.3.2-749423715.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-4.3.2.patch
- source = arch-server-admin-4.3.2-749423715.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-4.3.2.patch
+ source = arch-server-core-4.3.2-823955595.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-4.3.2.patch
+ source = arch-server-admin-4.3.2-823955595.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-4.3.2.patch
source = dnsmasq.include
source = lighttpd.pi-hole.conf
source = nginx.pi-hole.conf
@@ -45,7 +45,7 @@ pkgbase = pi-hole-server
md5sums = 4d9038588164bb9130c8ca11653f83f3
md5sums = 971cc2859672341d77f8deba702fb7f7
md5sums = b63fcf29c29796023a2677bcf2b369a7
- md5sums = 9bc23c314397a0f59978cfe246140cda
+ md5sums = 37e7d5e5aad2d812e825b584e07bbd02
md5sums = 047f13d4ac97877f724f87b002aaee63
md5sums = d42a864f88299998f8233c0bc0dd093d
md5sums = 20c5b0c6b4e23e55b25ab6c28dda709d
diff --git a/PKGBUILD b/PKGBUILD
index 749da376e4b1..2e624f9c03fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pi-hole-server
_pkgname=pi-hole
pkgver=4.3.2
-pkgrel=5
+pkgrel=6
_wwwpkgname=AdminLTE
_wwwpkgver=4.3.2
_now=`date +%N`
@@ -47,7 +47,7 @@ md5sums=('33ea26a46937a0b5d20037639eb0ee34'
'4d9038588164bb9130c8ca11653f83f3'
'971cc2859672341d77f8deba702fb7f7'
'b63fcf29c29796023a2677bcf2b369a7'
- '9bc23c314397a0f59978cfe246140cda'
+ '37e7d5e5aad2d812e825b584e07bbd02'
'047f13d4ac97877f724f87b002aaee63'
'd42a864f88299998f8233c0bc0dd093d'
'20c5b0c6b4e23e55b25ab6c28dda709d'
diff --git a/pi-hole-server.install b/pi-hole-server.install
index bca05c30db20..3e51e2390992 100644
--- a/pi-hole-server.install
+++ b/pi-hole-server.install
@@ -8,7 +8,7 @@ post_install() {
# permissions
chown -R http:http /srv/http/pihole
- chown nobody:nobody /etc/pihole
+ chown pihole:pihole /etc/pihole
chown http:root /etc/pihole/regex.list
/opt/pihole/mimic_setupVars.conf.sh
@@ -27,7 +27,7 @@ post_upgrade() {
[ -e /etc/pihole/.useIPv6 ] && rm /etc/pihole/.useIPv6
# update owner of existing dir and file
- chown nobody:nobody /etc/pihole
+ chown pihole:pihole /etc/pihole
chown http:root /etc/pihole/regex.list
# warning
diff --git a/pi-hole.tmpfile b/pi-hole.tmpfile
index 6f25c4b72270..0d1030589b45 100644
--- a/pi-hole.tmpfile
+++ b/pi-hole.tmpfile
@@ -1,3 +1,3 @@
d /run/pihole 0755 http root - -
-d /run/log/pihole 0755 nobody root - -
-f /run/log/pihole/pihole.log 0644 nobody root - -
+d /run/log/pihole 0755 pihole pihole - -
+f /run/log/pihole/pihole.log 0644 pihole pihole - -