Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : dnscrypt-proxy | name : dnscrypt-proxy | ||||
| version : 1.8.1 | version : 2.0.15 | ||||
| release : 2 | release : 3 | ||||
| source : | source : | ||||
| - https://launchpad.net/ubuntu/+archive/primary/+files/dnscrypt-proxy_1.8.1.orig.tar.gz : 5cad1d2357852dc16957085e7a9b32384fb9b95c609e185b7ae1a3959fc13769 | - https://github.com/jedisct1/dnscrypt-proxy/archive/2.0.15.tar.gz : 84c9d94776422b539a2473e586e0cd4d3c65b059a1ec0531e916ebb1d44cce60 | ||||
| license : MIT | license : ISC | ||||
| extract : no | |||||
| component : network.utils | component : network.utils | ||||
| summary : A tool for securing communications between a client and a DNS resolver | summary : A flexible DNS proxy, with support for encrypted DNS protocols. | ||||
| description: | | description: | | ||||
| A tool for securing communications between a client and a DNS resolver | A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTPS. | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(libevent) | - golang | ||||
| - pkgconfig(libsodium) | |||||
| setup : | | setup : | | ||||
| sed -i "s|local/bin|bin|" dnscrypt-proxy.service | mkdir root | ||||
| sed -i "s|/usr/local||" dnscrypt-proxy.service | tar -xf $sources/$version.tar.gz -C root | ||||
| %reconfigure --with-systemd | cd root && | ||||
| rename dnscrypt-proxy-$version src dnscrypt-proxy-$version | |||||
| build : | | build : | | ||||
| %make | export GOPATH=$PWD | ||||
| export GOOS=linux | |||||
| export GOARCH=amd64 | |||||
| cd src/dnscrypt-proxy | |||||
| go build -ldflags="-s -w" -o $GOPATH/linux-amd64/dnscrypt-proxy | |||||
| cp example-dnscrypt-proxy.toml $GOPATH/linux-amd64/ | |||||
| install : | | install : | | ||||
| %make_install | install -Dm00755 linux-amd64/dnscrypt-proxy $installdir/usr/bin/dnscrypt-proxy | ||||
| install -D -m 00644 dnscrypt-proxy.service $installdir/usr/lib64/systemd/system/dnscrypt-proxy.service | install -Dm00644 linux-amd64/example-dnscrypt-proxy.toml $installdir/etc/dnscrypt-proxy.toml | ||||
| install -D -m 00644 dnscrypt-proxy.socket $installdir/usr/lib64/systemd/system/dnscrypt-proxy.socket | install -Dm00644 $pkgfiles/dnscrypt-proxy.service $installdir/etc/systemd/system/dnscrypt-proxy.service | ||||
| patterns : | |||||
| - devel : | |||||
| - /usr/lib64/dnscrypt-proxy/ | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.