aboutsummaryrefslogtreecommitdiffstats
path: root/extra/djbdns
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-12 18:29:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-12 18:29:24 +0000
commitf7460473e0f62576af952f986ebf72e5064c218f (patch)
tree3040a82d007ab6940596e3857959682fba25464d /extra/djbdns
parent3080bd24cc82dfcd63e519ccb8fee5e02bfd3590 (diff)
downloadaports-f7460473e0f62576af952f986ebf72e5064c218f.tar.bz2
aports-f7460473e0f62576af952f986ebf72e5064c218f.tar.xz
extra/djbdns: new style install scripts
Diffstat (limited to 'extra/djbdns')
-rw-r--r--extra/djbdns/APKBUILD14
-rw-r--r--extra/djbdns/dnscache.install10
-rw-r--r--extra/djbdns/dnscache.pre-install5
-rw-r--r--extra/djbdns/tinydns.install10
-rw-r--r--extra/djbdns/tinydns.pre-install5
5 files changed, 17 insertions, 27 deletions
diff --git a/extra/djbdns/APKBUILD b/extra/djbdns/APKBUILD
index f05c456088..0181c1ad03 100644
--- a/extra/djbdns/APKBUILD
+++ b/extra/djbdns/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=djbdns
pkgver=1.05
-pkgrel=23
+pkgrel=24
pkgdesc="Excellent high-performance DNS services"
url="http://cr.yp.to/djbdns.html"
license="public-domain"
@@ -13,10 +13,10 @@ source="http://cr.yp.to/djbdns/$pkgname-$pkgver.tar.gz
dnstracesort.patch
$pkgver-errno.patch
$pkgver-response.patch
- tinydns.install
+ tinydns.pre-install
tinydns.initd
tinydns.confd
- dnscache.install
+ dnscache.pre-install
dnscache.initd
dnscache.confd
"
@@ -45,7 +45,7 @@ build() {
tinydns() {
pkgdesc="A small and secure DNS server"
- install=tinydns.install
+ install=tinydns.pre-install
mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/etc/tinydns \
"$subpkgdir"/var/cache/tinydns
mv "$pkgdir"/usr/bin/tinydns* "$subpkgdir"/usr/bin
@@ -57,7 +57,7 @@ tinydns() {
dnscache() {
pkgdesc="A recursive resolver"
- install=dnscache.install
+ install=dnscache.pre-install
mkdir -p "$subpkgdir"/usr/bin \
"$subpkgdir"/etc/dnscache/ip \
"$subpkgdir"/etc/dnscache/servers
@@ -78,9 +78,9 @@ dfd675b2775efcbb604413a84db8bf1a dnsroots.patch
6fe7f473233f1c86b76261afd8345bf0 dnstracesort.patch
c7be73fe2fb4ae02d5096fa2c1f55a68 1.05-errno.patch
1292500c04baba3995d9753fe40fdc94 1.05-response.patch
-2e1cd0923248120f8d066967781538be tinydns.install
+7695bf50559c09798ec852b578ac8698 tinydns.pre-install
d7be449f5f90457ba785aebb1cadbf88 tinydns.initd
7dcf6674c07d46c736b3c25d9c92384a tinydns.confd
-6f42e0c25d35ccf7b0af5f26aea04f55 dnscache.install
+e09c3a6ba6917e16f4736ab5c070dbe9 dnscache.pre-install
e368a86ddc320937d663dd47684ba410 dnscache.initd
e2938593277d7a87806e70e145a90c3f dnscache.confd"
diff --git a/extra/djbdns/dnscache.install b/extra/djbdns/dnscache.install
deleted file mode 100644
index 63ffb14cb7..0000000000
--- a/extra/djbdns/dnscache.install
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- pre_install)
- adduser -h /etc/dnscache -g dnscache -s /bin/false -H -D \
- dnscache 2>/dev/null
- ;;
-esac
-exit 0
-
diff --git a/extra/djbdns/dnscache.pre-install b/extra/djbdns/dnscache.pre-install
new file mode 100644
index 0000000000..061b8f0280
--- /dev/null
+++ b/extra/djbdns/dnscache.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+adduser -h /etc/dnscache -g dnscache -s /bin/false -H -D dnscache 2>/dev/null
+exit 0
+
diff --git a/extra/djbdns/tinydns.install b/extra/djbdns/tinydns.install
deleted file mode 100644
index 2e52b72c6c..0000000000
--- a/extra/djbdns/tinydns.install
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- pre_install)
- adduser -h /etc/tinydns -g tinydns -s /bin/false -H -D \
- tinydns 2>/dev/null
- ;;
-esac
-exit 0
-
diff --git a/extra/djbdns/tinydns.pre-install b/extra/djbdns/tinydns.pre-install
new file mode 100644
index 0000000000..11ea87abcb
--- /dev/null
+++ b/extra/djbdns/tinydns.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+adduser -h /etc/tinydns -g tinydns -s /bin/false -H -D tinydns 2>/dev/null
+exit 0
+