diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/pdnsd | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/pdnsd')
-rw-r--r-- | community/pdnsd/PKGBUILD | 29 | ||||
-rw-r--r-- | community/pdnsd/service | 9 |
2 files changed, 38 insertions, 0 deletions
diff --git a/community/pdnsd/PKGBUILD b/community/pdnsd/PKGBUILD new file mode 100644 index 000000000..d8fe5189d --- /dev/null +++ b/community/pdnsd/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 91500 2013-05-23 10:14:34Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Henrik Nymann Jensen <h@henriknj.dk> + +pkgname=pdnsd +pkgver=1.2.9.a +_pkgver=${pkgver/.a/a} +pkgrel=4 +pkgdesc="Proxy DNS server with permanent caching" +arch=(i686 x86_64) +url="http://members.home.nl/p.a.rombouts/pdnsd/" +license=('GPL') +depends=('glibc') +source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$_pkgver-par.tar.gz + service) +md5sums=('2f3e705d59a0f9308ad9504b24400769' + '4f86bdbd8495b53341070d5720491996') + +build() { + cd $srcdir/$pkgname-${_pkgver} + ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --enable-ipv6 + make +} + +package() { + cd $srcdir/$pkgname-${_pkgver} + make DESTDIR=$pkgdir install + install -Dm0644 $srcdir/service $pkgdir/usr/lib/systemd/system/pdnsd.service +} diff --git a/community/pdnsd/service b/community/pdnsd/service new file mode 100644 index 000000000..d284cd933 --- /dev/null +++ b/community/pdnsd/service @@ -0,0 +1,9 @@ +[Unit] +Description=proxy name server +After=network.target + +[Service] +ExecStart=/usr/bin/pdnsd + +[Install] +WantedBy=multi-user.target |