aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-02-16 22:37:34 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-16 21:23:38 -0300
commitac610dc2be3603a0a51821268c608c5083f1213d (patch)
treea9ab660d54f8510873f4e43133fcd3c8a9db7ca7
parent4fff9596d09a05b0667a184d196902b1343e6d75 (diff)
downloadaports-ac610dc2be3603a0a51821268c608c5083f1213d.tar.gz
aports-ac610dc2be3603a0a51821268c608c5083f1213d.tar.bz2
aports-ac610dc2be3603a0a51821268c608c5083f1213d.tar.xz
testing/dnscrypt-wrapper: new aport
https://github.com/Cofyc/dnscrypt-wrapper dnscrypt wrapper (server-side dnscrypt proxy), which helps to add dnscrypt support to any name resolver fixes #6406
-rw-r--r--testing/dnscrypt-wrapper/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/dnscrypt-wrapper/APKBUILD b/testing/dnscrypt-wrapper/APKBUILD
new file mode 100644
index 0000000000..5bec041a52
--- /dev/null
+++ b/testing/dnscrypt-wrapper/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=dnscrypt-wrapper
+pkgver=0.4.2
+pkgrel=0
+pkgdesc="dnscrypt wrapper (server-side dnscrypt proxy), which helps to add dnscrypt support to any name resolver"
+url="https://github.com/Cofyc/dnscrypt-wrapper"
+arch="all"
+license="MIT"
+makedepends="libevent-dev libsodium-dev bsd-compat-headers autoconf automake libtool"
+source="https://github.com/cofyc/dnscrypt-wrapper/archive/v$pkgver/dnscrypt-wrapper-$pkgver.tar.gz"
+
+prepare() {
+ default_prepare
+ autoreconf -fi
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make -C tests
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f45afc6e0468c48ad9ded54cfd7d5314c68d49afda5faf3c7c3b6f8f41f77501565967ba6666f3723ba735c8d7f8d98a7777010a4fcf215b3d76707411243400 dnscrypt-wrapper-0.4.2.tar.gz"