blob: 8f615a19b85df8934eb4ed4c9bcbfbd8c61f417b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
pkgname=yadifa
pkgver=2.5.4
_buildnr=10442
pkgrel=1
pkgdesc="lightweight authoritative Name Server with DNSSEC capabilities"
arch=('x86_64')
url="http://www.yadifa.eu"
license=('BSD')
depends=('openssl')
backup=('etc/yadifad.conf')
options=(!libtool)
source=(
"https://www.yadifa.eu/sites/default/files/releases/$pkgname-$pkgver-$_buildnr.tar.gz"
"https://www.yadifa.eu/sites/default/files/$pkgname-$pkgver-$_buildnr.tar.gz.asc"
'yadifa.service'
)
sha256sums=('6adc5e3eedec90a7b34677cf0fe0673aff257450896af330dd1889b35188e35d'
'SKIP'
'f8a232461a4db320b40eed3573cfc71922c31b33dc5f5dd438a2b18f59e3daf7')
validpgpkeys=(
'9DF4F4485F6FC40513572886A75042DBD6669651' # "yadifa"
)
build() {
cd $pkgname-$pkgver-$_buildnr
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--localstatedir=/var \
--with-tools \
--enable-rrl \
--enable-nsid \
--enable-ctrl \
--enable-systemd-resolved-avoidance
make
}
package(){
cd $pkgname-$pkgver-$_buildnr
make DESTDIR="$pkgdir" install
# systemd service file
install -Dm644 "$srcdir/yadifa.service" \
"$pkgdir/usr/lib/systemd/system/yadifa.service"
# little cleanup
rm -rf "$pkgdir/var/run"
rm -rf "$pkgdir/var/log"
}
|