Diff dnscrypt-proxy-2.1.4 with a dnscrypt-proxy-2.1.5

/usr/portage/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild 2023-10-09 14:52:33.356368448 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit fcaps go-module systemd
6
inherit fcaps go-module prefix systemd
7 7

  
8
DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
8
DESCRIPTION="Flexible DNS proxy, with support for encrypted DNS protocols"
9 9
HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy"
10 10

  
11 11
if [[ ${PV} == 9999 ]]; then
......
18 18

  
19 19
LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
20 20
SLOT="0"
21
IUSE="+pie"
22 21

  
23 22
RDEPEND="
24 23
	acct-group/dnscrypt-proxy
......
28 27
FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
29 28

  
30 29
PATCHES=(
31
	"${FILESDIR}"/${PN}-2.1.2-config-full-paths.patch
30
	"${FILESDIR}"/${PN}-2.1.5-config-full-paths.patch
32 31
)
33 32

  
34 33
src_compile() {
35 34
	pushd "${PN}" >/dev/null || die
36
	go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie default)" || die
35
	ego build -v -x -mod=readonly -mod=vendor
37 36
	popd >/dev/null || die
38 37
}
39 38

  
40 39
src_test() {
41 40
	cd "${PN}" || die
42
	go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests"
41
	ego test -mod=vendor
43 42
}
44 43

  
45 44
src_install() {
......
47 46

  
48 47
	dobin dnscrypt-proxy
49 48

  
49
	eprefixify example-dnscrypt-proxy.toml
50 50
	insinto /etc/dnscrypt-proxy
51 51
	newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
52 52
	doins example-{allowed,blocked}-{ips.txt,names.txt}
Thank you!