summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorShulhan2021-01-26 00:11:18 +0700
committerShulhan2021-01-26 00:11:18 +0700
commitc11177dcdf82ca340a90cf14060d86ff9581a216 (patch)
tree7162896bec38fd329e32d38652f82217dde8bfbd /PKGBUILD
parentf7b93f0c054241d18c0f3a412f6399f5bb716e42 (diff)
downloadaur-rescached-git.tar.gz
Release rescached v4.0.0
Rescached now have a web user interface (wui) that can be accessed at http://127.0.0.1:5380. The interface can be used to monitoring caches, managing caches, environment, blocked hosts, internal hosts files, and zone files. == Breaking changes * The `rescached::dir.hosts` now default to "/etc/rescached/hosts.d" * The `rescached::dir.master` now default to "/etc/rescached/zone.d"
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3c2df6e6171..07b7c61501a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: shulhan <ms@kilabit.info>
pkgname=rescached-git
-pkgver=3.0.2.r0.g5c3f180
+pkgver=4.0.0.r0.g004ca8b
pkgrel=1
pkgdesc="Resolver/DNS cache daemon"
arch=('i686' 'x86_64' 'armv7h')
@@ -10,7 +10,7 @@ license=('custom:BSD')
depends=('bash')
provides=('rescached')
-makedepends=('git' 'go>=1.13')
+makedepends=('git' 'go>=1.14')
source=(
"$pkgname::git+https://github.com/shuLhan/rescached-go.git"
)
@@ -20,11 +20,12 @@ sha1sums=(
backup=(
'etc/rescached/rescached.cfg'
- 'etc/rescached/hosts.d/hosts.block'
'etc/rescached/localhost.cert.pem'
'etc/rescached/localhost.key.pem'
)
+install=rescached.install
+
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
@@ -40,6 +41,7 @@ build() {
echo ">> make ..."
echo ">>"
unset GOROOT
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
make || return 1
}