[arch-commits] Commit in stubby/repos/community-x86_64 (6 files)

Bruno Pagani archange at archlinux.org
Mon Dec 18 22:54:54 UTC 2017


    Date: Monday, December 18, 2017 @ 22:54:51
  Author: archange
Revision: 274820

archrelease: copy trunk to community-x86_64

Added:
  stubby/repos/community-x86_64/PKGBUILD
    (from rev 274819, stubby/trunk/PKGBUILD)
  stubby/repos/community-x86_64/stubby.sysusers
    (from rev 274819, stubby/trunk/stubby.sysusers)
Deleted:
  stubby/repos/community-x86_64/PKGBUILD
  stubby/repos/community-x86_64/fix-makefile.patch
  stubby/repos/community-x86_64/ignore-sigpipe.patch
  stubby/repos/community-x86_64/stubby.sysusers

----------------------+
 PKGBUILD             |   86 +++++++++++++++++++++----------------------------
 fix-makefile.patch   |   21 -----------
 ignore-sigpipe.patch |   35 -------------------
 stubby.sysusers      |    2 -
 4 files changed, 39 insertions(+), 105 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-18 22:54:25 UTC (rev 274819)
+++ PKGBUILD	2017-12-18 22:54:51 UTC (rev 274820)
@@ -1,48 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org> 
-
-pkgname=stubby
-pkgver=0.1.5
-pkgrel=1
-pkgdesc="DNS Privacy stub resolver"
-arch=('x86_64')
-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'
-        'ignore-sigpipe.patch')
-sha256sums=('f909cd56922e861c830ad6fe3c6f18e1100704345f17891368df9f9430aef80c'
-            '2acedcf2b65d6e802a70deb55a5befbb71ff83be68a0ba5231a09c126910142b'
-            '82d8e44bda864d634a5e917064af1ea7f172e662b4d6c5a0046570c581418d03'
-            'f5cca7d4cdc5cd879c3120996f4817fcd9b81d694528e8dd2680be7e42b9b838')
-
-prepare() {
-    cd ${pkgname}-${pkgver}
-    patch -p1 -i ../fix-makefile.patch
-    patch -p1 -i ../ignore-sigpipe.patch
-}
-
-build() {
-    cd ${pkgname}-${pkgver}
-    autoreconf -vfi
-    ./configure \
-        --prefix=/usr \
-        --sysconfdir=/etc \
-        --localstatedir=/var
-    make
-}
-
-package() {
-    cd ${pkgname}-${pkgver}
-
-    make DESTDIR="${pkgdir}" install
-
-    install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
-    rmdir "${pkgdir}"/var{/run,}
-
-    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/PKGBUILD (from rev 274819, stubby/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-18 22:54:51 UTC (rev 274820)
@@ -0,0 +1,38 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org> 
+
+pkgname=stubby
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="DNS Privacy stub resolver"
+arch=('x86_64')
+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")
+sha256sums=('d827e6b83fbd27a64a08e94924c98ad032cd7217b1c27f85783c7f91dd7ce4d9'
+            '2acedcf2b65d6e802a70deb55a5befbb71ff83be68a0ba5231a09c126910142b')
+
+build() {
+    cd ${pkgname}-${pkgver}
+    autoreconf -vfi
+    ./configure \
+        --prefix=/usr \
+        --sysconfdir=/etc \
+        --localstatedir=/var
+    make
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+
+    make DESTDIR="${pkgdir}" install
+
+    install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
+    rmdir "${pkgdir}"/var{/run,}
+
+    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
+}

Deleted: fix-makefile.patch
===================================================================
--- fix-makefile.patch	2017-12-18 22:54:25 UTC (rev 274819)
+++ fix-makefile.patch	2017-12-18 22:54:51 UTC (rev 274820)
@@ -1,21 +0,0 @@
-From 55f136eb5b160a5dcaf149988f28d2f02b707fa3 Mon Sep 17 00:00:00 2001
-From: Sara Dickinson <sara at sinodun.com>
-Date: Wed, 8 Nov 2017 11:44:41 +0000
-Subject: [PATCH] Add DESTDIR to runstatedir creation path
-
----
- Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 1c8186f..94d05d0 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -16,4 +16,4 @@ stubby.yml.windows: ${srcdir}/stubby.yml.example
- install-data-hook: $(CONFIG_FILE)
- 	test -f $(DESTDIR)${stubbyconfdir}/stubby.yml || \
- 		${INSTALL_DATA} $(CONFIG_FILE) $(DESTDIR)${stubbyconfdir}/stubby.yml
--	$(INSTALL) -m 755 -d $(runstatedir)
-\ No newline at end of file
-+	$(INSTALL) -m 755 -d $(DESTDIR)$(runstatedir)
-\ No newline at end of file

Deleted: ignore-sigpipe.patch
===================================================================
--- ignore-sigpipe.patch	2017-12-18 22:54:25 UTC (rev 274819)
+++ ignore-sigpipe.patch	2017-12-18 22:54:51 UTC (rev 274820)
@@ -1,35 +0,0 @@
-From 9c3c83d1a0cacde5f43c28752e1767cf9af802b9 Mon Sep 17 00:00:00 2001
-From: Willem Toorop <willem at nlnetlabs.nl>
-Date: Fri, 10 Nov 2017 10:52:50 +0100
-Subject: [PATCH] Ignore SIGPIPE signal (for not suddenly stopping)
-
----
- src/stubby.c | 9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/src/stubby.c b/src/stubby.c
-index 53996ad..a2f987f 100644
---- a/src/stubby.c
-+++ b/src/stubby.c
-@@ -819,13 +819,20 @@ main(int argc, char **argv)
- 				        strerror(errno));
- 				exit(EXIT_FAILURE);
- 			}
--		} else
-+		} else {
-+#ifdef SIGPIPE
-+			(void)signal(SIGPIPE, SIG_IGN);
-+#endif
- 			getdns_context_run(context);
-+		}
- 	} else
- #endif
- 	{
- 		stubby_local_log(NULL,GETDNS_LOG_UPSTREAM_STATS, GETDNS_LOG_DEBUG,
- 			       "Starting DAEMON....\n");
-+#ifdef SIGPIPE
-+		(void)signal(SIGPIPE, SIG_IGN);
-+#endif
- 		getdns_context_run(context);
- 	}
- 

Deleted: stubby.sysusers
===================================================================
--- stubby.sysusers	2017-12-18 22:54:25 UTC (rev 274819)
+++ stubby.sysusers	2017-12-18 22:54:51 UTC (rev 274820)
@@ -1 +0,0 @@
-u stubby - "DNS Privacy Daemon" -

Copied: stubby/repos/community-x86_64/stubby.sysusers (from rev 274819, stubby/trunk/stubby.sysusers)
===================================================================
--- stubby.sysusers	                        (rev 0)
+++ stubby.sysusers	2017-12-18 22:54:51 UTC (rev 274820)
@@ -0,0 +1 @@
+u stubby - "DNS Privacy Daemon" -



More information about the arch-commits mailing list