diff options
author | Shulhan | 2021-01-26 00:11:18 +0700 |
---|---|---|
committer | Shulhan | 2021-01-26 00:11:18 +0700 |
commit | c11177dcdf82ca340a90cf14060d86ff9581a216 (patch) | |
tree | 7162896bec38fd329e32d38652f82217dde8bfbd | |
parent | f7b93f0c054241d18c0f3a412f6399f5bb716e42 (diff) | |
download | aur-c11177dcdf82ca340a90cf14060d86ff9581a216.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"
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | rescached.install | 8 |
3 files changed, 16 insertions, 6 deletions
@@ -1,18 +1,18 @@ pkgbase = rescached-git pkgdesc = Resolver/DNS cache daemon - pkgver = 3.0.2.r0.g5c3f180 + pkgver = 4.0.0.r0.g004ca8b pkgrel = 1 url = https://github.com/shuLhan/rescached-go + install = rescached.install arch = i686 arch = x86_64 arch = armv7h license = custom:BSD makedepends = git - makedepends = go>=1.13 + makedepends = go>=1.14 depends = bash provides = rescached backup = etc/rescached/rescached.cfg - backup = etc/rescached/hosts.d/hosts.block backup = etc/rescached/localhost.cert.pem backup = etc/rescached/localhost.key.pem source = rescached-git::git+https://github.com/shuLhan/rescached-go.git @@ -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 } diff --git a/rescached.install b/rescached.install new file mode 100644 index 000000000000..f5f23821b798 --- /dev/null +++ b/rescached.install @@ -0,0 +1,8 @@ +## arg 1: the new package version +post_upgrade() { + cat <<EOF +!!! The "/etc/rescached/master.d" directory has been renamed to + "/etc/rescached/zone.d". You should copy the files manually before + restarting the rescached.service. +EOF +} |