diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-02 14:05:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-02 14:05:44 +0000 |
commit | 5f2f70b8b9f345e3bd96da11b8d5c8bf3e7f1d91 (patch) | |
tree | 60a53171f6ad5234d6908d6dec9f30392413ed57 /testing/gdnsd | |
parent | 09b3339a721ca4de965b765421411a919d103d67 (diff) | |
download | aports-5f2f70b8b9f345e3bd96da11b8d5c8bf3e7f1d91.tar.bz2 aports-5f2f70b8b9f345e3bd96da11b8d5c8bf3e7f1d91.tar.xz |
main/gdnsd: moved from testing
Diffstat (limited to 'testing/gdnsd')
-rw-r--r-- | testing/gdnsd/APKBUILD | 49 | ||||
-rwxr-xr-x | testing/gdnsd/gdnsd.initd | 18 | ||||
-rw-r--r-- | testing/gdnsd/gdnsd.pre-install | 5 |
3 files changed, 0 insertions, 72 deletions
diff --git a/testing/gdnsd/APKBUILD b/testing/gdnsd/APKBUILD deleted file mode 100644 index 6da9d6caad..0000000000 --- a/testing/gdnsd/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=gdnsd -pkgver=1.6.2 -pkgrel=2 -pkgdesc="Geographic Authoritative DNS server" -url="http://code.google.com/p/gdnsd/" -arch="all" -license="GPL-3" -depends="" -depends_dev="" -makedepends="libev-dev libcap-dev" -install="$pkgname.pre-install" -subpackages="$pkgname-dev $pkgname-doc" -source="http://gdnsd.googlecode.com/files/gdnsd-$pkgver.tar.xz - gdnsd.initd" - -_builddir="$srcdir"/gdnsd-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --enable-fast-install \ - || return 1 - make || return 1 - install -Dm755 "$srcdir"/gdnsd.initd "$pkgdir"/etc/init.d/gdnsd \ - || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm -f "$pkgdir"/usr/lib/*.la \ - "$pkgdir"/usr/lib/gdnsd/*.la -} - -md5sums="082f874d24cdc7073950ed6294f8d39b gdnsd-1.6.2.tar.xz -dad20779adfb4b85b57b45c7c903a636 gdnsd.initd" diff --git a/testing/gdnsd/gdnsd.initd b/testing/gdnsd/gdnsd.initd deleted file mode 100755 index e11a73d1d6..0000000000 --- a/testing/gdnsd/gdnsd.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/runscript - -depend() { - need net - after firewall -} - -start() { - ebegin "Starting dnsd" - start-stop-daemon --start --exec /usr/sbin/dnsd -- -d $DNSD_OPTS - eend $? -} - -stop () { - ebegin "Stopping dnsd" - start-stop-daemon --stop --exec /usr/sbin/dnsd - eend $? -} diff --git a/testing/gdnsd/gdnsd.pre-install b/testing/gdnsd/gdnsd.pre-install deleted file mode 100644 index 66de81a2e1..0000000000 --- a/testing/gdnsd/gdnsd.pre-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -addgroup gdnsd 2>/dev/null -adduser -S -H -h /dev/null -s /bin/false -D -G gdnsd gdnsd 2>/dev/null -exit 0 |