[arch-commits] Commit in (5 files)

Felix Yan felixonmars at archlinux.org
Fri Mar 16 08:52:32 UTC 2018


    Date: Friday, March 16, 2018 @ 08:52:30
  Author: felixonmars
Revision: 308801

addpkg: gdnsd 2.4.0-1

Added:
  gdnsd/
  gdnsd/repos/
  gdnsd/trunk/
  gdnsd/trunk/PKGBUILD
  gdnsd/trunk/gdnsd.sysusers

----------------+
 PKGBUILD       |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 gdnsd.sysusers |    2 ++
 2 files changed, 51 insertions(+)

Added: gdnsd/trunk/PKGBUILD
===================================================================
--- gdnsd/trunk/PKGBUILD	                        (rev 0)
+++ gdnsd/trunk/PKGBUILD	2018-03-16 08:52:30 UTC (rev 308801)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
+
+pkgname=gdnsd
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="an Authoritative-only DNS server which does geographic balancing, redirection, weighting, and service-state-conscious failover at the DNS layer"
+arch=('x86_64')
+url="http://gdnsd.org/"
+license=('GPL3')
+depends=('libev')
+makedepends=('ragel')
+checkdepends=('perl-socket6' 'perl-io-socket-inet6' 'perl-http-daemon' 'perl-libwww')
+source=("https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"
+		gdnsd.sysusers)
+md5sums=('57ff995eafb30e7d23a4e491c782031d'
+         '046488b1a1b36294a2a559aacbe71782')
+
+prepare() {
+	cd "$pkgname-$pkgver"
+	autoreconf -vif
+}
+
+build() {
+	cd "$pkgname-$pkgver"
+	./configure \
+ 	  --prefix=/usr \
+	  --sbindir=/usr/bin \
+	  --localstatedir=/ \
+	  --libexecdir=/usr/lib \
+	  --sysconfdir=/etc \
+	  --with-systemdsystemunitdir=/usr/lib/systemd/system
+	  
+	make
+}
+
+check() {
+	cd "$pkgname-$pkgver"
+	make -k check
+}
+
+package() {
+	cd "$pkgname-$pkgver"
+	make DESTDIR="$pkgdir/" install
+	rm -rf "$pkgdir"/{lib,run}
+
+	install -Dm644 ../gdnsd.sysusers "$pkgdir/usr/lib/sysusers.d/gdnsd.conf"
+}

Added: gdnsd/trunk/gdnsd.sysusers
===================================================================
--- gdnsd/trunk/gdnsd.sysusers	                        (rev 0)
+++ gdnsd/trunk/gdnsd.sysusers	2018-03-16 08:52:30 UTC (rev 308801)
@@ -0,0 +1,2 @@
+u gdnsd - "gdnsd" /etc/gdnsd
+g gdnsd -
\ No newline at end of file



More information about the arch-commits mailing list