summaryrefslogtreecommitdiffstats
path: root/extra/djbdns/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/djbdns/APKBUILD')
-rw-r--r--extra/djbdns/APKBUILD86
1 files changed, 0 insertions, 86 deletions
diff --git a/extra/djbdns/APKBUILD b/extra/djbdns/APKBUILD
deleted file mode 100644
index 0596907a7..000000000
--- a/extra/djbdns/APKBUILD
+++ /dev/null
@@ -1,86 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=djbdns
-pkgver=1.05
-pkgrel=26
-pkgdesc="Excellent high-performance DNS services"
-url="http://cr.yp.to/djbdns.html"
-license="public-domain"
-depends=
-subpackages="tinydns dnscache"
-source="http://cr.yp.to/djbdns/$pkgname-$pkgver.tar.gz
- headtail.patch
- dnsroots.patch
- dnstracesort.patch
- $pkgver-errno.patch
- $pkgver-response.patch
- tinydns.pre-install
- tinydns.initd
- tinydns.confd
- dnscache.pre-install
- dnscache.initd
- dnscache.confd
- "
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver
- for i in ../*.patch; do
- msg "Applying $i..."
- patch -p1 < $i || return 1
- done
-
- echo "${CC:-"gcc"} ${CFLAGS}" > conf-cc
- echo "${CC:-"gcc"} ${LDFLAGS}" > conf-ld
- echo "/usr" > conf-home
- make -j1 || return 1
-
- mkdir -p "$pkgdir"/etc/
- cp dnsroots.global "$pkgdir"/etc/
- mkdir -p "$pkgdir"/usr/bin
- cp *-conf dnscache tinydns walldns rbldns pickdns axfrdns \
- *-get *-data *-edit dnsip dnsipq dnsname dnstxt dnsmx \
- dnsfilter random-ip dnsqr dnsq dnstrace dnstracesort \
- "$pkgdir"/usr/bin/
- mkdir -p "$pkgdir"/usr/share/doc/djbdns
-}
-
-tinydns() {
- pkgdesc="A small and secure DNS server"
- install=tinydns.pre-install
- mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/etc/tinydns \
- "$subpkgdir"/var/cache/tinydns
- mv "$pkgdir"/usr/bin/tinydns* "$subpkgdir"/usr/bin
- install -D -m755 "$srcdir"/tinydns.initd \
- "$subpkgdir"/etc/init.d/tinydns
- install -D -m644 "$srcdir"/tinydns.confd \
- "$subpkgdir"/etc/conf.d/tinydns
-}
-
-dnscache() {
- pkgdesc="A recursive resolver"
- install=dnscache.pre-install
- mkdir -p "$subpkgdir"/usr/bin \
- "$subpkgdir"/etc/dnscache/ip \
- "$subpkgdir"/etc/dnscache/servers
-
- cp "$pkgdir"/etc/dnsroots.global "$subpkgdir"/etc/dnscache/servers/@
- touch "$subpkgdir"/etc/dnscache/ip/127 || return 1
-
- mv "$pkgdir"/usr/bin/dnscache* "$subpkgdir"/usr/bin
- install -D -m755 "$srcdir"/dnscache.initd \
- "$subpkgdir"/etc/init.d/dnscache
- install -D -m644 "$srcdir"/dnscache.confd \
- "$subpkgdir"/etc/conf.d/dnscache
-}
-
-md5sums="3147c5cd56832aa3b41955c7a51cbeb2 djbdns-1.05.tar.gz
-0d2adaf9f1626043e8702b825cdccdd6 headtail.patch
-dfd675b2775efcbb604413a84db8bf1a dnsroots.patch
-6fe7f473233f1c86b76261afd8345bf0 dnstracesort.patch
-c7be73fe2fb4ae02d5096fa2c1f55a68 1.05-errno.patch
-1292500c04baba3995d9753fe40fdc94 1.05-response.patch
-7695bf50559c09798ec852b578ac8698 tinydns.pre-install
-e8a84fc4ee5ff1525b4f74889422e93c tinydns.initd
-7dcf6674c07d46c736b3c25d9c92384a tinydns.confd
-e09c3a6ba6917e16f4736ab5c070dbe9 dnscache.pre-install
-e368a86ddc320937d663dd47684ba410 dnscache.initd
-e2938593277d7a87806e70e145a90c3f dnscache.confd"