Age | Commit message (Collapse) | Author |
|
Instead of using the same variable "$pkgname", create new variable
"$_sourcedir" that changes based on the type of repository.
|
|
The rescached project has been moved to SourceHut.
|
|
I believe there is something wrong with the latest tag, even thought it
exist in my local and github [1].
I think I may have re-pushed the tag with different commit hash earlier
but use the old hash in AUR which cause this issue.
The fix is by adding new commit and update the pkgver.
[1]: https://github.com/shuLhan/rescached-go/releases/tag/v4.4.2
|
|
This release,
* update the license to GPL-3.0 (using SPDX format) and
* fix the GOFLAGS build options by removing "-ldflags=-linkmode=external"
which causes error when building,
-: -linkmode=external requires external (cgo) linking, but cgo is not
enabled
|
|
|
|
|
|
|
|
Changes,
* Set minimum Go version to v1.16
* Remove /etc/rescached/hosts.d/hosts.block from backup
* Install LICENSE only in /usr/share/licenses/rescached/ directory
|
|
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"
|
|
|
|
The documentation will be pre-build, so the build script only build
the binaries for the current OS, thats it.
|
|
|
|
|
|
|
|
|
|
All the server core functionalities (caches and forwarding) now
implemented inside "dns.Server". The main function of this package are
for reading options from configuration file (or from command line options)
and watching changes from system resolv.conf.
== New Features
* Support serving and forwarding DNS over TLS
* Add launchd script for macOS and make tasks to install and uninstall on
macOS
== Breaking Changes
There are also some major changes on configuration file.
All configuration now break into two section '[rescached]' and
'[dns "server"]'.
For more information see new rescached.cfg manual page or an example in
`cmd/rescached/rescached.cfg`.
Some detailed changes are,
* "parent" option now use URI format instead of IP:PORT.
This will allow parent name servers to be UDP, TCP, and/or DoH
simultaneously.
* "server.doh.parent" and "server.parent.connection" are removed,
redundant with new "server.parent" format.
* "cache.threshold" is renamed to "cache.prune_threshold".
* "file.pid" is removed.
The concept of writing PID file when the program start on networking
service is not applicable or relevant anymore on systemd or launchd.
If the program already started, the second program will fail because
the port is already used.
|
|
* Fix make dependencies, change "asciidoc" to "asciidoctor"
* unset GOROOT environemnt in case user set it. This is to prevent an
error,
compile: version "devel ..." does not match go tool version "go1.12"
which caused by multiple Go binary in user environment.
|
|
|
|
|
|
|
|
|
|
|
|
Rewrite rescached from "C with class" to Go
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is quickfix release for error when removing cache from the memory when
limit is reached. Sorry for the inconvenience.
|
|
|
|
|
|
|
|
Since different system can have old asciidoc program, building it can be
problematic and error. From now on, we include man page in repo and use
it to install in target system.
|
|
Tested with Raspberry PI 2 with Arch Linux ARM.
Also, we add gcc, make, fakeroot, and git as dependency for make, to
automatically install the package without required manual install before
it.
|
|
|
|
Also,
- Use tagging on package version
- Add conflicted packages
- Add 'gcc-libs' as dependency as recommended by namcap
- Install license file
- Ignore generated tar file
|
|
* Get latest tags from git for package versioning.
* Remove expandtab from vim modeline.
|
|
The hosts.ads file in /etc/rescached is not used anymore.
It will be deleted when this package installed.
|
|
|
|
Add gitignore file.
|
|
|
|
|