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

Felix Yan felixonmars at archlinux.org
Fri Mar 1 10:36:12 UTC 2019


    Date: Friday, March 1, 2019 @ 10:36:11
  Author: felixonmars
Revision: 437205

archrelease: copy trunk to community-testing-x86_64

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

----------------+
 PKGBUILD       |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 gdnsd.sysusers |    2 ++
 2 files changed, 50 insertions(+)

Copied: gdnsd/repos/community-testing-x86_64/PKGBUILD (from rev 437204, gdnsd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-03-01 10:36:11 UTC (rev 437205)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daichi Shinozaki <dsdseg at gmail.com>
+
+pkgname=gdnsd
+pkgver=3.0.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' 'libmaxminddb' 'libsodium' 'libunwind' 'liburcu')
+makedepends=('ragel')
+checkdepends=('perl-socket6' 'perl-io-socket-inet6' 'perl-http-daemon' 'perl-libwww' 'perl-net-dns')
+source=("https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"
+        gdnsd.sysusers)
+md5sums=('d733929703b963b77964669c5ce6d2d6'
+         '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-testing-x86_64/gdnsd.sysusers (from rev 437204, gdnsd/trunk/gdnsd.sysusers)
===================================================================
--- community-testing-x86_64/gdnsd.sysusers	                        (rev 0)
+++ community-testing-x86_64/gdnsd.sysusers	2019-03-01 10:36:11 UTC (rev 437205)
@@ -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