ppa update

This commit is contained in:
moparisthebest
2019-07-27 10:40:51 -04:00
parent 326dadd136
commit 4150b9c6b5
70 changed files with 487 additions and 397 deletions

View File

@@ -3,10 +3,10 @@
pkgname=pi-hole-server
_pkgname=pi-hole
pkgver=4.2.2
pkgver=4.3.1
pkgrel=1
_wwwpkgname=AdminLTE
_wwwpkgver=4.2
_wwwpkgver=4.3
pkgdesc='The Pi-hole is an advertising-aware DNS/Web server. Arch adaptation for lan wide DNS server.'
arch=('any')
license=('EUPL-1.1')
@@ -26,7 +26,7 @@ backup=('etc/pihole/whitelist.txt' 'etc/pihole/blacklist.txt' 'etc/pihole/regex.
source=(pihole-$pkgver.tar.gz::https://github.com/$_pkgname/$_pkgname/archive/v$pkgver.tar.gz
admin-$_wwwpkgver.tar.gz::https://github.com/$_pkgname/$_wwwpkgname/archive/v$_wwwpkgver.tar.gz
"https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-$pkgver.patch"
"https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-$pkgver.patch"
"https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-$_wwwpkgver.patch"
dnsmasq.include
lighttpd.pi-hole.conf
nginx.pi-hole.conf
@@ -40,10 +40,10 @@ source=(pihole-$pkgver.tar.gz::https://github.com/$_pkgname/$_pkgname/archive/v$
piholeDebug.sh
)
md5sums=('deebe32fd4867b289687689e0f377d72'
'36f3125e753c0e6f37496b26309501da'
'fc9f91dee70d0e73a14a63ecd3743ec1'
'e93d67128df08b0ed66893f3fbf5ed68'
md5sums=('3973f2a9d7fcd6ea10265feaa397f108'
'670e5c4c4ca0cba6f732bf622918784c'
'e7bd89ed7b60cda7905176d338615c00'
'f5fd7abfcf0ffdbfd181d839fb8edd60'
'4d9038588164bb9130c8ca11653f83f3'
'971cc2859672341d77f8deba702fb7f7'
'b63fcf29c29796023a2677bcf2b369a7'
@@ -61,7 +61,7 @@ prepare() {
patch -Np1 -i "$srcdir"/arch-server-core-$pkgver.patch
patch -p1 -i "$srcdir"/version.patch
cd "$srcdir"/"$_wwwpkgname"-"$_wwwpkgver"
patch -Np1 -i "$srcdir"/arch-server-admin-$pkgver.patch
patch -Np1 -i "$srcdir"/arch-server-admin-$_wwwpkgver.patch
}
package() {
@@ -101,6 +101,7 @@ package() {
install -dm755 "$pkgdir"/etc/pihole
install -dm755 "$pkgdir"/usr/share/pihole/configs
install -Dm644 $_pkgname-$pkgver/adlists.list "$pkgdir"/etc/pihole/adlists.list
install -Dm644 $_pkgname-$pkgver/dns-servers.conf "$pkgdir"/etc/pihole/dns-servers.conf
install -Dm644 $_pkgname-$pkgver/advanced/Templates/logrotate "$pkgdir"/etc/pihole/logrotate
install -Dm644 /dev/null "$pkgdir"/etc/pihole/whitelist.txt
install -Dm644 /dev/null "$pkgdir"/etc/pihole/blacklist.txt