summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormax.bra2021-02-08 14:14:43 +0100
committermax.bra2021-02-08 14:14:43 +0100
commit452ed3f419648371d299fddaaf35f8bf6c3aa532 (patch)
tree3d9f70b7f95059d44511296e80a08982c9cde0d5
parentaf3a80c485dda2f5f779a8c1dbd6f14f31aeb931 (diff)
downloadaur-452ed3f419648371d299fddaaf35f8bf6c3aa532.tar.gz
query logging admin variable needed
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD2
-rw-r--r--pi-hole-server.install5
3 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5dcebf2e54c3..2662efcdd4ef 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 = 5.2.4
- pkgrel = 3
+ pkgrel = 4
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 = pi-hole-server-core-5.2.4.tar.gz::https://github.com/pi-hole/pi-hole/archive/v5.2.4.tar.gz
source = pi-hole-server-admin-5.3.2.tar.gz::https://github.com/pi-hole/AdminLTE/archive/v5.3.2.tar.gz
- source = arch-server-core-5.2.4-694282427.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.2.4.patch
- source = arch-server-admin-5.3.2-694282427.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.3.2.patch
+ source = arch-server-core-5.2.4-674241446.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.2.4.patch
+ source = arch-server-admin-5.3.2-674241446.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.3.2.patch
source = dnsmasq.include
source = lighttpd.pi-hole.conf
source = nginx.pi-hole.conf
diff --git a/PKGBUILD b/PKGBUILD
index 9800427debb7..c9793172c79e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pi-hole-server
_pkgname=pi-hole
pkgver=5.2.4
-pkgrel=3
+pkgrel=4
_wwwpkgname=AdminLTE
_wwwpkgver=5.3.2
_now=`date +%N`
diff --git a/pi-hole-server.install b/pi-hole-server.install
index 80429414c0a6..dace15dba754 100644
--- a/pi-hole-server.install
+++ b/pi-hole-server.install
@@ -32,9 +32,12 @@ post_upgrade() {
# update owner of existing dir and file
chown pihole:pihole /etc/pihole
- # pihoel version output improvement
+ # pihole version output improvement
grep -qxF 'INSTALL_WEB_INTERFACE=true' /etc/pihole/setupVars.conf || echo 'INSTALL_WEB_INTERFACE=true' >> /etc/pihole/setupVars.conf
+ # query logging disabling needs this
+ grep -qxF 'QUERY_LOGGING=' /etc/pihole/setupVars.conf || echo 'QUERY_LOGGING=true' >> /etc/pihole/setupVars.conf
+
# warning
cache_problem