summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormax.bra2020-05-11 17:47:15 +0200
committermax.bra2020-05-11 17:47:15 +0200
commitdf650ddd6a381ca9f37e776ef560941ff7ead485 (patch)
treea468e9ff3afdb9236947e028a4d2360aeccb4177
parente60486904a4fdd5176ff1322007272e185cfa35f (diff)
downloadaur-df650ddd6a381ca9f37e776ef560941ff7ead485.tar.gz
opt dep
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD2
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d127f451a8a..5c98343240b7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -17,14 +17,15 @@ pkgbase = pi-hole-server
optdepends = php-cgi: CGI and FCGI SAPI for PHP needed only for lighttpd
optdepends = nginx-mainline: lightweight http server
optdepends = php-fpm: FastCGI process manager for php needed for nginx
+ optdepends = php-sqlite: sqlite db access for nginx
conflicts = pi-hole-standalone
backup = etc/dnsmasq.d/01-pihole.conf
backup = etc/pihole/adlists.list
backup = etc/dnsmasq.conf
source = pi-hole-server-core-5.0.tar.gz::https://github.com/pi-hole/pi-hole/archive/v5.0.tar.gz
source = pi-hole-server-admin-5.0.tar.gz::https://github.com/pi-hole/AdminLTE/archive/v5.0.tar.gz
- source = arch-server-core-5.0-277764637.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.0.patch
- source = arch-server-admin-5.0-277764637.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.0.patch
+ source = arch-server-core-5.0-246667360.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.0.patch
+ source = arch-server-admin-5.0-246667360.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.0.patch
source = dnsmasq.include
source = lighttpd.pi-hole.conf
source = nginx.pi-hole.conf
diff --git a/PKGBUILD b/PKGBUILD
index 1f46b1cc1890..655ccb38b665 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,6 +18,7 @@ optdepends=(
'php-cgi: CGI and FCGI SAPI for PHP needed only for lighttpd'
'nginx-mainline: lightweight http server'
'php-fpm: FastCGI process manager for php needed for nginx'
+'php-sqlite: sqlite db access for nginx'
)
conflicts=('pi-hole-standalone')
install=$pkgname.install
@@ -87,7 +88,6 @@ package() {
install -dm750 "$pkgdir"/etc/sudoers.d
install -Dm440 $_pkgname-$pkgver/advanced/Templates/pihole.sudo "$pkgdir"/etc/sudoers.d/pihole
install -Dm644 $_pkgname-$pkgver/advanced/dnsmasq.conf.original "$pkgdir"/etc/dnsmasq.conf
-# install -Dm644 dnsmasq.main "$pkgdir"/usr/share/pihole/configs/dnsmasq.example.conf
install -Dm644 dnsmasq.include "$pkgdir"/etc/dnsmasq.d/01-pihole.conf
install -Dm644 pi-hole.tmpfile "$pkgdir"/usr/lib/tmpfiles.d/pi-hole.conf