Page Menu
Home
Solus
Search
Configure Global Search
Log In
Files
F11038226
D3162.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
6 KB
Referenced Files
None
Subscribers
None
D3162.diff
View Options
diff --git a/files/dnscrypt-proxy.service b/files/dnscrypt-proxy.service
new file mode 100644
--- /dev/null
+++ b/files/dnscrypt-proxy.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Encrypted/authenticated DNS proxy
+ConditionFileIsExecutable=/usr/bin/dnscrypt-proxy
+
+[Service]
+StartLimitInterval=5
+StartLimitBurst=10
+ExecStart=/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy.toml
+
+Restart=always
+RestartSec=120
+EnvironmentFile=-/etc/sysconfig/dnscrypt-proxy
+
+[Install]
+WantedBy=multi-user.target
diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -1,26 +1,29 @@
name : dnscrypt-proxy
-version : 1.8.1
-release : 2
+version : 2.0.16
+release : 3
source :
- - https://launchpad.net/ubuntu/+archive/primary/+files/dnscrypt-proxy_1.8.1.orig.tar.gz : 5cad1d2357852dc16957085e7a9b32384fb9b95c609e185b7ae1a3959fc13769
-license : MIT
+ - https://github.com/jedisct1/dnscrypt-proxy/archive/2.0.16.tar.gz : 7ff4cb7890fdf6b1b54ec4a9ef9f8ba5e71bcaff8522f324ef6ecc739ce95e5e
+license : ISC
+extract : no
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: |
- 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 :
- - pkgconfig(libevent)
- - pkgconfig(libsodium)
+ - golang
setup : |
- sed -i "s|local/bin|bin|" dnscrypt-proxy.service
- sed -i "s|/usr/local||" dnscrypt-proxy.service
- %reconfigure --with-systemd
+ mkdir root
+ tar -xf $sources/$version.tar.gz -C root
+ cd root &&
+ rename dnscrypt-proxy-$version src dnscrypt-proxy-$version
build : |
- %make
+ export GOPATH="${workdir}"
+ 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 : |
- %make_install
- install -D -m 00644 dnscrypt-proxy.service $installdir/usr/lib64/systemd/system/dnscrypt-proxy.service
- install -D -m 00644 dnscrypt-proxy.socket $installdir/usr/lib64/systemd/system/dnscrypt-proxy.socket
-patterns :
- - devel :
- - /usr/lib64/dnscrypt-proxy/
+ install -Dm00755 linux-amd64/dnscrypt-proxy $installdir/usr/bin/dnscrypt-proxy
+ install -Dm00644 linux-amd64/example-dnscrypt-proxy.toml $installdir/etc/dnscrypt-proxy.toml
+ install -Dm00644 $pkgfiles/dnscrypt-proxy.service $installdir/etc/systemd/system/dnscrypt-proxy.service
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -2,53 +2,35 @@
<Source>
<Name>dnscrypt-proxy</Name>
<Packager>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solus-project.com</Email>
+ <Name>Asaf Niv</Name>
+ <Email>asafniv@disroot.org</Email>
</Packager>
- <License>MIT</License>
+ <License>ISC</License>
<PartOf>network.utils</PartOf>
- <Summary xml:lang="en">A tool for securing communications between a client and a DNS resolver</Summary>
- <Description xml:lang="en">A tool for securing communications between a client and a DNS resolver
+ <Summary xml:lang="en">A flexible DNS proxy, with support for encrypted DNS protocols.</Summary>
+ <Description xml:lang="en">A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTPS.
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
</Source>
<Package>
<Name>dnscrypt-proxy</Name>
- <Summary xml:lang="en">A tool for securing communications between a client and a DNS resolver</Summary>
- <Description xml:lang="en">A tool for securing communications between a client and a DNS resolver
+ <Summary xml:lang="en">A flexible DNS proxy, with support for encrypted DNS protocols.</Summary>
+ <Description xml:lang="en">A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTPS.
</Description>
<PartOf>network.utils</PartOf>
<Files>
- <Path fileType="config">/etc/dnscrypt-proxy.conf</Path>
- <Path fileType="executable">/usr/bin</Path>
- <Path fileType="library">/usr/lib64/systemd/system/dnscrypt-proxy.service</Path>
- <Path fileType="library">/usr/lib64/systemd/system/dnscrypt-proxy.socket</Path>
- <Path fileType="executable">/usr/sbin</Path>
- <Path fileType="data">/usr/share/dnscrypt-proxy</Path>
- <Path fileType="man">/usr/share/man</Path>
- </Files>
- </Package>
- <Package>
- <Name>dnscrypt-proxy-devel</Name>
- <Summary xml:lang="en">Development files for dnscrypt-proxy</Summary>
- <Description xml:lang="en">A tool for securing communications between a client and a DNS resolver
-</Description>
- <PartOf>programming.devel</PartOf>
- <RuntimeDependencies>
- <Dependency release="2">dnscrypt-proxy</Dependency>
- </RuntimeDependencies>
- <Files>
- <Path fileType="header">/usr/include/</Path>
- <Path fileType="library">/usr/lib64/dnscrypt-proxy/</Path>
+ <Path fileType="config">/etc/dnscrypt-proxy.toml</Path>
+ <Path fileType="config">/etc/systemd/system/dnscrypt-proxy.service</Path>
+ <Path fileType="executable">/usr/bin/dnscrypt-proxy</Path>
</Files>
</Package>
<History>
- <Update release="2">
- <Date>2018-01-29</Date>
- <Version>1.8.1</Version>
+ <Update release="3">
+ <Date>2018-07-13</Date>
+ <Version>2.0.16</Version>
<Comment>Packaging update</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solus-project.com</Email>
+ <Name>Asaf Niv</Name>
+ <Email>asafniv@disroot.org</Email>
</Update>
</History>
</PISI>
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 10, 10:21 PM (1 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5816832
Default Alt Text
D3162.diff (6 KB)
Attached To
Mode
D3162: Update dnscrypt-proxy to v2.0.16
Attached
Detach File
Event Timeline
Log In to Comment