aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-06-16 11:56:16 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-06-16 11:56:16 +0000
commit9bc4a9cd47df627f5d3b1dc7bf42013d991b06a0 (patch)
treeee68e96755b31a6da8fadb67d6b533858b6c95e3
parent4a3c868b15d95b69380efe5e2d6366e714a98cdf (diff)
downloadaports-9bc4a9cd47df627f5d3b1dc7bf42013d991b06a0.tar.bz2
aports-9bc4a9cd47df627f5d3b1dc7bf42013d991b06a0.tar.xz
community/dnscrypt-proxy: upgrade to 1.9.5
-rw-r--r--community/dnscrypt-proxy/APKBUILD34
1 files changed, 14 insertions, 20 deletions
diff --git a/community/dnscrypt-proxy/APKBUILD b/community/dnscrypt-proxy/APKBUILD
index 0a691c7307..42acb33ff8 100644
--- a/community/dnscrypt-proxy/APKBUILD
+++ b/community/dnscrypt-proxy/APKBUILD
@@ -1,34 +1,36 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=dnscrypt-proxy
-pkgver=1.9.4
+pkgver=1.9.5
pkgrel=0
pkgdesc="A tool for securing communications between a client and a DNS resolver"
url="http://dnscrypt.org/"
arch="all"
license="custom"
-depends=""
-depends_dev=""
makedepends="$depends_dev libsodium-dev"
install="$pkgname.pre-install"
pkgusers=dnscrypt
pkggroups=dnscrypt
subpackages="$pkgname-doc $pkgname-setup::noarch"
-source="http://download.dnscrypt.org/$pkgname/$pkgname-$pkgver.tar.bz2
+source="http://download.dnscrypt.org/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
$pkgname.setup
"
builddir="$srcdir"/$pkgname-$pkgver
+check() {
+ cd "$builddir"
+ make check
+}
+
build() {
- cd "$builddir"
- CFLAGS="$CFLAGS -fPIC" ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ cd "$builddir"
+ CFLAGS="$CFLAGS -fPIC" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
}
package() {
@@ -54,15 +56,7 @@ setup() {
install -m755 -D "$srcdir"/$pkgname.setup "$subpkgdir"/sbin/setup-dnscrypt
}
-md5sums="aebafce53bc91274c7b8278585734ce4 dnscrypt-proxy-1.9.4.tar.bz2
-6ca1f01a62ca9e937851986560709a61 dnscrypt-proxy.initd
-77b800da6d8cdf6316afacbff740b09a dnscrypt-proxy.confd
-5f29e17b4345d8ac9bdba26a69e3ba9a dnscrypt-proxy.setup"
-sha256sums="fdf4a708e7922e13b14555f315ca8d5361aec89b0595b06fdbbcaacfa4e6f11e dnscrypt-proxy-1.9.4.tar.bz2
-aa2b83b1944ba5f47ee5b7f2cf3cf63fbef4735753a2daf83fea3bf0ea51a7a3 dnscrypt-proxy.initd
-36bd49d3fdada3ed8fc6abae7a8dd40a1f7a0aabf0eb1311698030b7ec710699 dnscrypt-proxy.confd
-887c0c2d3b3d1a5326e3229ff8180351bc813f7853997e6772123beafc8bd62a dnscrypt-proxy.setup"
-sha512sums="6fca8983b57810d3db297eb12c24ef9cbdafc56cd580d4c80ce3ece8a6520f27e3ba5be8390c58e0c30ba8d0b06e332daa33de3df228706d229b8cb211ca92fd dnscrypt-proxy-1.9.4.tar.bz2
+sha512sums="af5abcd08e3a51c1c8e142647946773c7afb4ba5076f95e74a5cbf7c54a62082de98014b6c9a1349ec6938f90d4f3584b6e6caa136902345922e16e7c9689132 dnscrypt-proxy-1.9.5.tar.gz
5ad36161fc44d9c8c86a13e20d4d5fa0be81b317097bf1c092aab1e1e307021a8b6f1a92dbf2bec5fb7c534b59cf926235ea507fa6b4ccd2974ac2e3b7baa257 dnscrypt-proxy.initd
8cd2d40c1f465a3b26aa934fe2103650beba9504676faca3ccc9ee2b5bad940e561b3dd201d84c380bfdada72cacbe4862fc1315a4bd44fd7c56ef4f19a884f9 dnscrypt-proxy.confd
904965588e8e1119600413445627dc85a5efc0e32f7f3ad029921f59f214dd5c999bcd98a6622b572e528da4c5265083221fea189ed96407612842033ffcffe1 dnscrypt-proxy.setup"