Date: Wednesday, November 1, 2017 @ 13:20:16
  Author: archange
Revision: 264997

archrelease: copy trunk to community-x86_64, community-i686

Added:
  stubby/repos/community-i686/
  stubby/repos/community-i686/PKGBUILD
    (from rev 264996, stubby/trunk/PKGBUILD)
  stubby/repos/community-i686/fix-makefile.patch
    (from rev 264996, stubby/trunk/fix-makefile.patch)
  stubby/repos/community-i686/stubby.sysusers
    (from rev 264996, stubby/trunk/stubby.sysusers)
  stubby/repos/community-x86_64/
  stubby/repos/community-x86_64/PKGBUILD
    (from rev 264996, stubby/trunk/PKGBUILD)
  stubby/repos/community-x86_64/fix-makefile.patch
    (from rev 264996, stubby/trunk/fix-makefile.patch)
  stubby/repos/community-x86_64/stubby.sysusers
    (from rev 264996, stubby/trunk/stubby.sysusers)

-------------------------------------+
 community-i686/PKGBUILD             |   43 ++++++++++++++++++++++++++++++++++
 community-i686/fix-makefile.patch   |   22 +++++++++++++++++
 community-i686/stubby.sysusers      |    1 
 community-x86_64/PKGBUILD           |   43 ++++++++++++++++++++++++++++++++++
 community-x86_64/fix-makefile.patch |   22 +++++++++++++++++
 community-x86_64/stubby.sysusers    |    1 
 6 files changed, 132 insertions(+)

Copied: stubby/repos/community-i686/PKGBUILD (from rev 264996, 
stubby/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2017-11-01 13:20:16 UTC (rev 264997)
@@ -0,0 +1,43 @@
+# Maintainer: Bruno Pagani <[email protected]> 
+
+pkgname=stubby
+pkgver=0.1.4
+pkgrel=1
+pkgdesc="DNS Privacy stub resolver"
+arch=('x86_64' 'i686')
+url="https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby";
+license=('BSD')
+backup=('etc/stubby/stubby.yml')
+depends=('getdns')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/getdnsapi/stubby/archive/v${pkgver}.tar.gz";
+        "${pkgname}.sysusers"
+        'fix-makefile.patch')
+sha256sums=('cc10f253b6f0334cb5865982e8dbb25e012df4fff1ee01ea1860a10d41abf4b1'
+            '2acedcf2b65d6e802a70deb55a5befbb71ff83be68a0ba5231a09c126910142b'
+            'b9ea6a864f33dfeac7ad6cc20b35956bba3d61c8362512529f212604bc124939')
+
+prepare() {
+    cd ${pkgname}-${pkgver}
+    patch -p1 -i ../fix-makefile.patch
+}
+
+build() {
+    cd ${pkgname}-${pkgver}
+    autoreconf -vfi
+    ./configure \
+        --prefix=/usr \
+        --sysconfdir=/etc
+    make
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+
+    make DESTDIR="${pkgdir}" install
+
+    install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
+
+    install -Dm644 systemd/${pkgname}.service -t 
"${pkgdir}"/usr/lib/systemd/system/
+    install -Dm644 systemd/${pkgname}.conf -t "${pkgdir}"/usr/lib/tmpfiles.d/
+    install -Dm644 ../${pkgname}.sysusers 
"${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
+}

Copied: stubby/repos/community-i686/fix-makefile.patch (from rev 264996, 
stubby/trunk/fix-makefile.patch)
===================================================================
--- community-i686/fix-makefile.patch                           (rev 0)
+++ community-i686/fix-makefile.patch   2017-11-01 13:20:16 UTC (rev 264997)
@@ -0,0 +1,22 @@
+From 0ada751ca26dfcdd3b4cd9a1a95acdb6e6301881 Mon Sep 17 00:00:00 2001
+From: Sara Dickinson <[email protected]>
+Date: Wed, 1 Nov 2017 10:24:24 +0000
+Subject: [PATCH] Use DESTDIR when installing stubby.yml file
+
+---
+ Makefile.am | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index aab3b3b..1f86472 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -14,5 +14,6 @@ stubby.yml.windows: ${srcdir}/stubby.yml.example
+       awk "{sub(/$$/,\"\r\")}1" $< > $@
+ 
+ install-data-hook: $(CONFIG_FILE)
+-      test -f ${stubbyconfdir}/stubby.yml || \
+-              ${INSTALL_DATA} $(CONFIG_FILE) ${stubbyconfdir}/stubby.yml
++      $(INSTALL) -m 755 -d $(DESTDIR)$(stubbyconfdir)
++      test -f $(DESTDIR)${stubbyconfdir}/stubby.yml || \
++              ${INSTALL_DATA} $(CONFIG_FILE) 
$(DESTDIR)${stubbyconfdir}/stubby.yml

Copied: stubby/repos/community-i686/stubby.sysusers (from rev 264996, 
stubby/trunk/stubby.sysusers)
===================================================================
--- community-i686/stubby.sysusers                              (rev 0)
+++ community-i686/stubby.sysusers      2017-11-01 13:20:16 UTC (rev 264997)
@@ -0,0 +1 @@
+u stubby - "DNS Privacy Daemon" -

Copied: stubby/repos/community-x86_64/PKGBUILD (from rev 264996, 
stubby/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2017-11-01 13:20:16 UTC (rev 264997)
@@ -0,0 +1,43 @@
+# Maintainer: Bruno Pagani <[email protected]> 
+
+pkgname=stubby
+pkgver=0.1.4
+pkgrel=1
+pkgdesc="DNS Privacy stub resolver"
+arch=('x86_64' 'i686')
+url="https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby";
+license=('BSD')
+backup=('etc/stubby/stubby.yml')
+depends=('getdns')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/getdnsapi/stubby/archive/v${pkgver}.tar.gz";
+        "${pkgname}.sysusers"
+        'fix-makefile.patch')
+sha256sums=('cc10f253b6f0334cb5865982e8dbb25e012df4fff1ee01ea1860a10d41abf4b1'
+            '2acedcf2b65d6e802a70deb55a5befbb71ff83be68a0ba5231a09c126910142b'
+            'b9ea6a864f33dfeac7ad6cc20b35956bba3d61c8362512529f212604bc124939')
+
+prepare() {
+    cd ${pkgname}-${pkgver}
+    patch -p1 -i ../fix-makefile.patch
+}
+
+build() {
+    cd ${pkgname}-${pkgver}
+    autoreconf -vfi
+    ./configure \
+        --prefix=/usr \
+        --sysconfdir=/etc
+    make
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+
+    make DESTDIR="${pkgdir}" install
+
+    install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
+
+    install -Dm644 systemd/${pkgname}.service -t 
"${pkgdir}"/usr/lib/systemd/system/
+    install -Dm644 systemd/${pkgname}.conf -t "${pkgdir}"/usr/lib/tmpfiles.d/
+    install -Dm644 ../${pkgname}.sysusers 
"${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
+}

Copied: stubby/repos/community-x86_64/fix-makefile.patch (from rev 264996, 
stubby/trunk/fix-makefile.patch)
===================================================================
--- community-x86_64/fix-makefile.patch                         (rev 0)
+++ community-x86_64/fix-makefile.patch 2017-11-01 13:20:16 UTC (rev 264997)
@@ -0,0 +1,22 @@
+From 0ada751ca26dfcdd3b4cd9a1a95acdb6e6301881 Mon Sep 17 00:00:00 2001
+From: Sara Dickinson <[email protected]>
+Date: Wed, 1 Nov 2017 10:24:24 +0000
+Subject: [PATCH] Use DESTDIR when installing stubby.yml file
+
+---
+ Makefile.am | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index aab3b3b..1f86472 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -14,5 +14,6 @@ stubby.yml.windows: ${srcdir}/stubby.yml.example
+       awk "{sub(/$$/,\"\r\")}1" $< > $@
+ 
+ install-data-hook: $(CONFIG_FILE)
+-      test -f ${stubbyconfdir}/stubby.yml || \
+-              ${INSTALL_DATA} $(CONFIG_FILE) ${stubbyconfdir}/stubby.yml
++      $(INSTALL) -m 755 -d $(DESTDIR)$(stubbyconfdir)
++      test -f $(DESTDIR)${stubbyconfdir}/stubby.yml || \
++              ${INSTALL_DATA} $(CONFIG_FILE) 
$(DESTDIR)${stubbyconfdir}/stubby.yml

Copied: stubby/repos/community-x86_64/stubby.sysusers (from rev 264996, 
stubby/trunk/stubby.sysusers)
===================================================================
--- community-x86_64/stubby.sysusers                            (rev 0)
+++ community-x86_64/stubby.sysusers    2017-11-01 13:20:16 UTC (rev 264997)
@@ -0,0 +1 @@
+u stubby - "DNS Privacy Daemon" -

Reply via email to