Diff dnscrypt-proxy-2.1.15 with a dnscrypt-proxy-9999
| /usr/portage/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild 2026-06-30 20:03:05.909341881 +0300 | ||
|---|---|---|
| 13 | 13 |
inherit git-r3 |
| 14 | 14 |
else |
| 15 | 15 |
SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
| 16 |
KEYWORDS="amd64 arm arm64 ppc64 x86" |
|
| 16 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
|
| 17 | 17 |
fi |
| 18 | 18 | |
| 19 | 19 |
LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0" |
| ... | ... | |
| 23 | 23 |
acct-group/dnscrypt-proxy |
| 24 | 24 |
acct-user/dnscrypt-proxy |
| 25 | 25 |
" |
| 26 |
DEPEND="${RDEPEND}"
|
|
| 27 |
BDEPEND=">=dev-lang/go-1.25" |
|
| 26 | 28 | |
| 27 | 29 |
FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy ) |
| 28 | 30 | |
| 29 | 31 |
PATCHES=( |
| 30 |
"${FILESDIR}"/${PN}-2.1.11-config-full-paths.patch
|
|
| 32 |
"${FILESDIR}"/${PN}-2.1.16-config-full-paths.patch
|
|
| 31 | 33 |
) |
| 32 | 34 | |
| 33 | 35 |
src_compile() {
|
| ... | ... | |
| 60 | 62 |
newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
|
| 61 | 63 |
newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
|
| 62 | 64 | |
| 63 |
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service
|
|
| 65 |
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service-r1 dnscrypt-proxy.service
|
|
| 64 | 66 |
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket dnscrypt-proxy.socket
|
| 65 | 67 | |
| 66 | 68 |
insinto /etc/logrotate.d |
| 67 |
newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
|
|
| 69 |
newins "${FILESDIR}"/dnscrypt-proxy.logrotate-r1 dnscrypt-proxy
|
|
| 68 | 70 | |
| 69 | 71 |
einstalldocs |
| 70 | 72 |
} |
| ... | ... | |
| 89 | 91 |
elog "It is disabled by default for new installations" |
| 90 | 92 |
elog "check "$(systemd_get_systemunitdir)/${PN}.service" for details"
|
| 91 | 93 |
elog |
| 92 | ||
| 93 | 94 |
fi |
| 94 | 95 | |
| 95 | 96 |
elog "After starting the service you will need to update your" |