[arch-commits] Commit in gdnsd/repos (3 files)

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


    Date: Friday, March 16, 2018 @ 08:52:57
  Author: felixonmars
Revision: 308803

archrelease: copy trunk to community-x86_64

Added:
  gdnsd/repos/community-x86_64/
  gdnsd/repos/community-x86_64/PKGBUILD
    (from rev 308802, gdnsd/trunk/PKGBUILD)
  gdnsd/repos/community-x86_64/gdnsd.sysusers
    (from rev 308802, gdnsd/trunk/gdnsd.sysusers)

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

Copied: gdnsd/repos/community-x86_64/PKGBUILD (from rev 308802, gdnsd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-03-16 08:52:57 UTC (rev 308803)
@@ -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"
+}

Copied: gdnsd/repos/community-x86_64/gdnsd.sysusers (from rev 308802, gdnsd/trunk/gdnsd.sysusers)
===================================================================
--- community-x86_64/gdnsd.sysusers	                        (rev 0)
+++ community-x86_64/gdnsd.sysusers	2018-03-16 08:52:57 UTC (rev 308803)
@@ -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