aboutsummaryrefslogtreecommitdiffstats
path: root/community/yadifa/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-04-05 09:04:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-06 05:19:28 +0000
commit1e7370bfac31ec71fcde04a53144c06fd2feb9bf (patch)
tree7557a6e4089dc8f2b630c7c1d7f6bbeaf337fed4 /community/yadifa/APKBUILD
parent6ac899103526b7d2ca92e4dc52b25f51676596cd (diff)
downloadaports-1e7370bfac31ec71fcde04a53144c06fd2feb9bf.tar.bz2
aports-1e7370bfac31ec71fcde04a53144c06fd2feb9bf.tar.xz
community/yadifa: use patch for musl and rebuild against libressl-2.7
Diffstat (limited to 'community/yadifa/APKBUILD')
-rw-r--r--community/yadifa/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/community/yadifa/APKBUILD b/community/yadifa/APKBUILD
index 1f8b385f17..8388ebd13f 100644
--- a/community/yadifa/APKBUILD
+++ b/community/yadifa/APKBUILD
@@ -3,7 +3,7 @@
pkgname=yadifa
pkgver=2.3.8
_buildnr=7713
-pkgrel=0
+pkgrel=1
pkgdesc="Lightweight authoritative Name Server with DNSSEC capabilities"
url="http://www.yadifa.eu"
arch="all"
@@ -13,18 +13,13 @@ install="$pkgname.post-install"
options="!libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="http://cdn.yadifa.eu/sites/default/files/releases/$pkgname-$pkgver-$_buildnr.tar.gz
+ musl-fixes.patch
+ libressl-2.7.patch
$pkgname.initd
$pkgname.confd"
builddir="$srcdir"/$pkgname-$pkgver-$_buildnr
-prepare() {
- cd "$builddir"
- sed -i -e "s/__linux__/__GLIBC__/g" lib/dnscore/src/debug.c
- sed -i -e "s/__linux__/__GLIBC__/g" sbin/yadifad/signals.c
- default_prepare
-}
-
build() {
cd "$builddir"
./configure \
@@ -57,5 +52,7 @@ package() {
}
sha512sums="4eec9cf0f0d5fba2d38f08d28e59fcb4968b7fc2759c823932781d133e7b81531fec3b81632ebe3c742fe1f8ac117c7ada48eccf3e51b0a48d7cd0c9ceb204a8 yadifa-2.3.8-7713.tar.gz
+dec2505a3d2f722a5d90cac94f29e01c91f29e8e6fc07d8ef3ff0ee070920164c72fc86b5ce578a5d016d1dade0b8540faded84a817caa4995a06333fd51f3f5 musl-fixes.patch
+41ce4dc505a59925b565b4de3e5acbf816eeafdebc7f723b9534b49f2e30fd854b59d2d0434d80f5770aa84a8785c6480d2bf4e5c8be2651ec1ed421b398a014 libressl-2.7.patch
a3a65bf13f41838d9493facc2903d955aafd107a29d8a73d4ed021690e1e2c511f48915360a9490ccbf8d9573f8e9c3fca988cb6dd5e57546787384e2b2d075d yadifa.initd
eac74148b58d3b7472602542622616bd0ef441b191356a5b7fd06d17284c579139c1fde9b35fbb30a8214394863e31bed4c8521aff7b3f7ea831f14c2a3ccf01 yadifa.confd"