From unknown Wed Jun 18 00:24:30 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#33026 <33026@debbugs.gnu.org> To: bug#33026 <33026@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add pdns. Reply-To: bug#33026 <33026@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:24:30 +0000 retitle 33026 [PATCH] gnu: Add pdns. reassign 33026 guix-patches submitter 33026 Tobias Geerinckx-Rice severity 33026 normal tag 33026 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 12 14:59:28 2018 Received: (at submit) by debbugs.gnu.org; 12 Oct 2018 18:59:28 +0000 Received: from localhost ([127.0.0.1]:47478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gB2em-0004VU-AU for submit@debbugs.gnu.org; Fri, 12 Oct 2018 14:59:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gB2ej-0004VE-Rv for submit@debbugs.gnu.org; Fri, 12 Oct 2018 14:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gB2ed-0004R2-5D for submit@debbugs.gnu.org; Fri, 12 Oct 2018 14:59:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53643) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gB2ec-0004QT-Vb for submit@debbugs.gnu.org; Fri, 12 Oct 2018 14:59:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gB2eb-0000yr-LA for guix-patches@gnu.org; Fri, 12 Oct 2018 14:59:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gB2ea-0004Nf-FU for guix-patches@gnu.org; Fri, 12 Oct 2018 14:59:17 -0400 Received: from tobias.gr ([2001:470:7405::1]:46190) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gB2eY-0004E7-4P for guix-patches@gnu.org; Fri, 12 Oct 2018 14:59:14 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 14251f7b for ; Fri, 12 Oct 2018 18:59:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=h8+IrpHeDywHq9Nbsh2B5PGYzeS4Zdthln5v +8qSig0=; b=G6B/AevyWg4DHIwVD9m+ZZFhQRMmY8LS1TO25XVicBDu/FuhvmTb 7CCyaV6EuAPDwUCPMxOuS9hD+AhUOcbEvyDznwhTCrrINbQKHDBDNJfh1UAJ/8OL p0MYeFardodVZZ54I8t7f/ccPHX8mkcRm26b4RXcB3n/RBWnMJeDEp0wPmeLT3R9 rqHglb+4T3RzhY2r+9eIHlScAECn/ss9TQnTiJmeXWpq9qAD1BYkD7/N9RVlZO3A nv66aVYdWhtSlYsczLWB6Oa3+romO1ZbCyEgRsube5r4o0omMva9sHhH9EBNglco hatRdIchNi8NyoLHcVe3pkjYf6NXdaCyZw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 8f4e4f5e (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 12 Oct 2018 18:59:09 +0000 (UTC) From: Tobias Geerinckx-Rice To: guix-patches@gnu.org Subject: [PATCH] gnu: Add pdns. Date: Fri, 12 Oct 2018 20:58:54 +0200 Message-Id: <20181012185854.9873-1-me@tobias.gr> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) * gnu/packages/dns.scm (pdns): New public variable. --- The p stands for power. gnu/packages/dns.scm | 133 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm index ad1a8638b..b91a7d77c 100644 --- a/gnu/packages/dns.scm +++ b/gnu/packages/dns.scm @@ -31,9 +31,11 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) + #:use-module (gnu packages boost) #:use-module (gnu packages databases) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) + #:use-module (gnu packages curl) #:use-module (gnu packages datastructures) #:use-module (gnu packages flex) #:use-module (gnu packages glib) @@ -43,6 +45,7 @@ #:use-module (gnu packages libevent) #:use-module (gnu packages libidn) #:use-module (gnu packages linux) + #:use-module (gnu packages lua) #:use-module (gnu packages ncurses) #:use-module (gnu packages nettle) #:use-module (gnu packages networking) @@ -360,6 +363,136 @@ run in a @code{chroot} jail, thus making any security flaws in NSD less likely to result in system-wide compromise.") (license (list license:bsd-3)))) +(define-public pdns + (package + (name "pdns") + (version "4.1.4") + (source + (origin + (method url-fetch) + (uri + (string-append "https://downloads.powerdns.com/releases/pdns-" + version ".tar.bz2")) + (sha256 + (base32 "1m9yhzrxh315gv855c590b2qc8bx31rrnl72pqxrnlix701qch79")))) + (build-system gnu-build-system) + ;; There's no make target or other way to cleanly separate the tools from + ;; the core. We have to rely on a hard-coded list below, which needs to + ;; be kept up to date when changing the package version or configuration. + (outputs (list "out" "tools")) + (arguments + `(#:configure-flags + (list "--enable-libsodium" ; ed25519 (DNSSEC algorithm 15) + ;; "--enable-libdecaf" ; ed25519 & Ed448 (XXX unpackaged) + "--enable-reproducible" + "--enable-tools" ; not the default, so we split them off + "--enable-unit-tests" + + ;; /sbin/pdns_server retains references to 'optional' dependencies + ;; like PostgreSQL, so packaging backends separately saves nothing. + (string-append + "--with-dynmodules=" ; build dynamic modules... + (string-join + (list "bind" ; BIND-style zone files + "gpgsql" ; generic PostgreSQL + "gsqlite3" ; generic Sqlite + "lua" ; Lua scripting + "pipe" ; simple stdin/stdout pipe + "remote") ; generic JSON/RPC connector + " ")) + "--with-modules=" ; ...and no static modules + + "--with-luajit" ; use JIT variant for Lua backend + "--with-protobuf" ; log DNS query information + "--with-sqlite3" + + (string-append "--docdir=" (assoc-ref %outputs "out") "/share/doc/" + ,name "-" ,version) + "--sysconfdir=/etc/powerdns" + "--with-socketdir=/run") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'omit-PDNS_CONFIG_ARGS + ;; Stop 'pdns_server --version' printing build-time details, like + ;; PKG_CONFIG_PATH, which embed references to almost every input. + (lambda _ + (substitute* "configure" + (("#define PDNS_CONFIG_ARGS.*") "")) + #t)) + (replace 'install + ;; Don't try to install configuration files to /etc. + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "sysconfdir=$(docdir)/examples" "install" + make-flags))) + (add-after 'install 'move-tools + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (tools (assoc-ref outputs "tools")) + (files + (list "bin/calidns" "share/man/man1/calidns.1" + "bin/dnsbulktest" "share/man/man1/dnsbulktest.1" + "bin/dnsgram" "share/man/man1/dnsgram.1" + "bin/dnsreplay" "share/man/man1/dnsreplay.1" + "bin/dnsscan" "share/man/man1/dnsscan.1" + "bin/dnsscope" "share/man/man1/dnsscope.1" + "bin/dnstcpbench" "share/man/man1/dnstcpbench.1" + "bin/dnswasher" "share/man/man1/dnswasher.1" + "bin/dumresp" "share/man/man1/dumresp.1" + "bin/ixplore" "share/man/man1/ixplore.1" + "bin/nproxy" "share/man/man1/nproxy.1" + "bin/nsec3dig" "share/man/man1/nsec3dig.1" + "bin/pdns_notify" "share/man/man1/pdns_notify.1" + "bin/saxfr" "share/man/man1/saxfr.1" + "bin/sdig" "share/man/man1/sdig.1" + "bin/stubquery"))) + (with-directory-excursion out + (for-each (lambda (file) + (let ((target (string-append tools "/" file))) + (mkdir-p (dirname target)) + (rename-file file target))) + files)) + #t)))))) + (native-inputs + `(("pkg-config" ,pkg-config) + + ;; For tests. + ("curl" ,curl))) + (inputs + `(("boost" ,boost) + ("libsodium" ,libsodium) + ("luajit" ,luajit) + ("openssl" ,openssl) + ("postgresql" ,postgresql) + ("protobuf" ,protobuf) + ("sqlite" ,sqlite) + ("zlib" ,zlib))) + (home-page "https://www.powerdns.com/") + (synopsis "Authoritative DNS name server with dynamic back-ends") + (description + "This is the PowerDNS Authoritative Server, a versatile name server for the +Domain Name System (@dfn{DNS}) that supports a wide variety of storage methods. + +The core server (@command{pdns_server}) handles all packet processing and DNS +intelligence, while retrieving and updating the actual DNS records (and any +additional metadata) through one or more of numerous loadable backends. + +Included backends range from simple BIND-style zone files and relational +databases to (geographical) load-balancing, JSON APIs, and entire scripting +languages. Records can be transparently signed for use with the @dfn{Domain Name +System Security Extensions} (DNSSEC). Automated key management is available. + +Real-time statistics can be exported to different formats, or through an optional +built-in Web server and API that allow for basic remote administration.") + (license + (list license:bsd-3 ; ext/luawrapper/include/LuaContext.* + license:expat ; ext/{json11,yahttp} + license:lgpl2.1+ ; m4/pdns* + ;; modules/oraclebackend/README says MIT, actual headers state GPL2, + ;; as do pdns/{ssqlite3,tcpreceiver,test-tsig,zone2ldap}.* and + ;; modules/ldapbackend. + license:gpl2 + license:gpl3+)))) ; the rest is GPL[23]+ + (define-public unbound (package (name "unbound") -- 2.18.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 15 16:08:31 2018 Received: (at 33026) by debbugs.gnu.org; 15 Oct 2018 20:08:31 +0000 Received: from localhost ([127.0.0.1]:51508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC9AF-0003GF-Er for submit@debbugs.gnu.org; Mon, 15 Oct 2018 16:08:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC9AD-0003G3-J6 for 33026@debbugs.gnu.org; Mon, 15 Oct 2018 16:08:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC9A6-0004vm-Mg for 33026@debbugs.gnu.org; Mon, 15 Oct 2018 16:08:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC9A6-0004vg-Dr; Mon, 15 Oct 2018 16:08:22 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46834 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gC9A5-00065P-Px; Mon, 15 Oct 2018 16:08:22 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Tobias Geerinckx-Rice Subject: Re: [bug#33026] [PATCH] gnu: Add pdns. References: <20181012185854.9873-1-me@tobias.gr> Date: Mon, 15 Oct 2018 22:08:20 +0200 In-Reply-To: <20181012185854.9873-1-me@tobias.gr> (Tobias Geerinckx-Rice's message of "Fri, 12 Oct 2018 20:58:54 +0200") Message-ID: <8736t7c6rv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33026 Cc: 33026@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi, Tobias Geerinckx-Rice skribis: > * gnu/packages/dns.scm (pdns): New public variable. > --- > > The p stands for power. What about =E2=80=9Cpowerdns=E2=80=9D then? > + ;; There's no make target or other way to cleanly separate the tools= from > + ;; the core. We have to rely on a hard-coded list below, which need= s to > + ;; be kept up to date when changing the package version or configura= tion. > + (outputs (list "out" "tools")) Why not keep all the commands in the same output? Is it to avoiding cluttering user profiles, or is it a matter of package size? > + (description > + "This is the PowerDNS Authoritative Server, a versatile name server= for the > +Domain Name System (@dfn{DNS}) that supports a wide variety of storage m= ethods. I think you can avoid @dfn here as well. :-) > + (license > + (list license:bsd-3 ; ext/luawrapper/include/LuaCont= ext.* > + license:expat ; ext/{json11,yahttp} > + license:lgpl2.1+ ; m4/pdns* > + ;; modules/oraclebackend/README says MIT, actual headers stat= e GPL2, > + ;; as do pdns/{ssqlite3,tcpreceiver,test-tsig,zone2ldap}.* and > + ;; modules/ldapbackend. > + license:gpl2 > + license:gpl3+)))) ; the rest is GPL[23]+ A few questions: =E2=80=A2 Are things under ext/ simply bundled libraries? If so, do you = think there=E2=80=99s something we could/should do about them? =E2=80=A2 I suppose we don=E2=80=99t build and thus don=E2=80=99t care ab= out the license of modules/oraclebackend, do we? :-) =E2=80=A2 The license of m4/* doesn=E2=80=99t matter for the combined wor= k; I=E2=80=99d just remove it. =E2=80=A2 GPLv2-only code cannot be combined with GPLv3+ code. Is it rea= lly what=E2=80=99s happening? Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 17 16:01:12 2018 Received: (at 33026) by debbugs.gnu.org; 17 Oct 2018 20:01:12 +0000 Received: from localhost ([127.0.0.1]:55693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCs0G-0005rK-FQ for submit@debbugs.gnu.org; Wed, 17 Oct 2018 16:01:12 -0400 Received: from tobias.gr ([80.241.217.52]:38148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCs0E-0005rB-77 for 33026@debbugs.gnu.org; Wed, 17 Oct 2018 16:01:10 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id d55533b3; Wed, 17 Oct 2018 20:01:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=references :from:to:cc:subject:in-reply-to:date:message-id:mime-version :content-type:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=ctyc5/UJwJQ5DOo4Ym3RL+qTiYGzbDsLsGFvraPySk8=; b=bVMD/zb5sfde yA/SiWB8TMXDtO+36kdNS5llgdfQ4KlYkjsy9aHHfU+iZI5CcUecNuN5Y4e4dyC5 L7RJLlo7D/4x9uGtAlvh/ZkjIL1GZ0FB94T/ac9OwV7RYKsKGZPMQL/afhbEPjPw 7TeGD26PwPeIFxLLWGyd4dugjBszUZYEyej6itSrO2Pr0VaDIE7FR0vfRzoLSag+ jXLNCIukecs8VoeVWr+Y0OBpv2d7tR9iZ4IdcQuf41+MECIei3RDh4PKqfumaoyf AcLF8Ltul9KcFcnGiQOeYUBw1Ao39J3KFFDy5tWBT3ZX1kQ/NMoRNOg5M+L3eIVu ULon+r6QpA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 833259a6 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 17 Oct 2018 20:01:06 +0000 (UTC) References: <20181012185854.9873-1-me@tobias.gr> <8736t7c6rv.fsf@gnu.org> From: Tobias Geerinckx-Rice To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#33026] [PATCH] gnu: Add pdns. In-reply-to: <8736t7c6rv.fsf@gnu.org> Date: Wed, 17 Oct 2018 22:01:11 +0200 Message-ID: <875zy0bawo.fsf@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 33026 Cc: 33026@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludo', Ludovic Court=C3=A8s wrote: > What about =E2=80=9Cpowerdns=E2=80=9D then? This patch originally added 'powerdns' (my preference), then I=20 changed it :-) pdns is the far more common name in GNU/Linux land. The BSDs tend=20 to go with powerdns. - pdns: Alpine, Debian, Fedora, Gentoo, brew, openSUSE, Slackware=20 :-), and derivatives - power: Arch, *BSD, Nix :-), and derivatives The upstream tarball also uses the pdns- prefix. So I'm all for using 'power' but expected some astonishment during=20 the review. POLA and all that. > Why not keep all the commands in the same output? Is it to=20 > avoiding > cluttering user profiles, or is it a matter of package size? The former. Building them is not the upstream default, and I=20 personally don't like them littering my profile (this is entirely=20 subjective). On the other hand I don't think users should have to go so far as=20 to customise the package to get to the tools, so this was the=20 compromise. I don't think either is ideal. >> +Domain Name System (@dfn{DNS}) that supports a wide variety of=20 >> storage methods. > > I think you can avoid @dfn here as well. :-) OK. I'll also remove it from my (already reviewed) NSD package for=20 consistency. > A few questions: > > =E2=80=A2 Are things under ext/ simply bundled libraries? If so, do=20 > you think > there=E2=80=99s something we could/should do about them? I'll take a closer look. > =E2=80=A2 I suppose we don=E2=80=99t build and thus don=E2=80=99t care = about the=20 > license of > modules/oraclebackend, do we? :-) Hm, is that how this works? Or is Oracle's DB non-free? I know=20 nothing about Oracle, which might itself be the anwser to that=20 question. If it is, shouldn't we remove the whole thing in a snippet unless=20 the build system really hates that? > =E2=80=A2 The license of m4/* doesn=E2=80=99t matter for the combined w= ork;=20 > I=E2=80=99d just > remove it. OK. I'll never fully grasp these legal combinatorics. > =E2=80=A2 GPLv2-only code cannot be combined with GPLv3+ code. Is it=20 > really > what=E2=80=99s happening? Let's hope and assume not, then. Closer look. Thanks! T G-R From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 19 04:35:44 2018 Received: (at 33026) by debbugs.gnu.org; 19 Oct 2018 08:35:44 +0000 Received: from localhost ([127.0.0.1]:58122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDQG0-0000Ti-2y for submit@debbugs.gnu.org; Fri, 19 Oct 2018 04:35:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDQFz-0000TV-5r for 33026@debbugs.gnu.org; Fri, 19 Oct 2018 04:35:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDQFs-0006Md-PR for 33026@debbugs.gnu.org; Fri, 19 Oct 2018 04:35:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDQFq-0006Gm-JV; Fri, 19 Oct 2018 04:35:35 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=44234 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gDQFp-0000a6-Qr; Fri, 19 Oct 2018 04:35:34 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Tobias Geerinckx-Rice Subject: Re: [bug#33026] [PATCH] gnu: Add pdns. References: <20181012185854.9873-1-me@tobias.gr> <8736t7c6rv.fsf@gnu.org> <875zy0bawo.fsf@tobias.gr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?utf-8?Q?Vend=C3=A9miaire?= an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 19 Oct 2018 10:35:32 +0200 In-Reply-To: <875zy0bawo.fsf@tobias.gr> (Tobias Geerinckx-Rice's message of "Wed, 17 Oct 2018 22:01:11 +0200") Message-ID: <87d0s6ibaj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33026 Cc: 33026@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello! Tobias Geerinckx-Rice skribis: > Ludovic Court=C3=A8s wrote: >> What about =E2=80=9Cpowerdns=E2=80=9D then? > > This patch originally added 'powerdns' (my preference), then I changed > it :-) > pdns is the far more common name in GNU/Linux land. The BSDs tend to > go with powerdns. > > - pdns: Alpine, Debian, Fedora, Gentoo, brew, openSUSE, Slackware > :-), and derivatives > - power: Arch, *BSD, Nix :-), and derivatives > > The upstream tarball also uses the pdns- prefix. Alright, go for =E2=80=9Cpdns=E2=80=9D then! Sorry for asking. ;-) >> Why not keep all the commands in the same output? Is it to avoiding >> cluttering user profiles, or is it a matter of package size? > > The former. Building them is not the upstream default, and I > personally don't like them littering my profile (this is entirely > subjective). > > On the other hand I don't think users should have to go so far as to > customise the package to get to the tools, so this was the compromise. OK, that makes sense to me. Maybe add a comment to explain this. >> A few questions: >> >> =E2=80=A2 Are things under ext/ simply bundled libraries? If so, do = you >> think >> there=E2=80=99s something we could/should do about them? > > I'll take a closer look. > >> =E2=80=A2 I suppose we don=E2=80=99t build and thus don=E2=80=99t care= about the license >> of >> modules/oraclebackend, do we? :-) > > Hm, is that how this works? Or is Oracle's DB non-free? I know nothing > about Oracle, which might itself be the anwser to that question. Oracle=E2=80=99s DB is non-free indeed (though Oracle also acquired MySQL, = but this isn=E2=80=99t usually referred to as =E2=80=9COracle DB=E2=80=9D.) > If it is, shouldn't we remove the whole thing in a snippet unless the > build system really hates that? We could do that indeed! Well the backend itself may be free, but it=E2=80= =99s useless without the non-free piece of software, so it makes sense to remove it (as long as the build system allows it.) >> =E2=80=A2 The license of m4/* doesn=E2=80=99t matter for the combined = work; I=E2=80=99d >> just >> remove it. > > OK. I'll never fully grasp these legal combinatorics. > >> =E2=80=A2 GPLv2-only code cannot be combined with GPLv3+ code. Is it >> really >> what=E2=80=99s happening? > > Let's hope and assume not, then. Closer look. OK, thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 07 16:11:31 2018 Received: (at 33026) by debbugs.gnu.org; 7 Nov 2018 21:11:31 +0000 Received: from localhost ([127.0.0.1]:39966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKV6p-0004NH-1H for submit@debbugs.gnu.org; Wed, 07 Nov 2018 16:11:31 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:34625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKV6l-0004N3-R3 for 33026@debbugs.gnu.org; Wed, 07 Nov 2018 16:11:28 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 84A0B21F5F; Wed, 7 Nov 2018 16:11:22 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 07 Nov 2018 16:11:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=ksRP7mmPZ7HmQqU+7+f6aW3d 6hR9k7yIh2JSwG4rWSM=; b=qfOevVkUN2MoJd3Wpaz2wagPXIYBO22CIQCKxgL7 cTqYHtjJOat1bETFmaH/5UybzJojk2u8mGHBNkaZXYMvVb1wu22w3UvDv/V8qerI ffY5kFw/zW9X3VOh2FxT0q3W9WtWK6F7+G4xc5W5xApq2Q1X5dl3Qb83PmMoHuoB y+c= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ksRP7m mPZ7HmQqU+7+f6aW3d6hR9k7yIh2JSwG4rWSM=; b=kXzrk4aRqMR2NX0NJRREiP 9shVI80W8ifcbAtNw81Ldp+5PGibj8FpPnjo4o6c1SfcsUPfgMKudgmeD3Bsy7Q1 fvaY8UiWm3Y6PlUQIuoA14qHfNuotNnqJ4gGNmYIwKVlKBkZThv9+EhQVnYy/ErE OqUzJE4eiSM9pGiQPbkK5QlC0xswO2YH5Db+fd/w2UJKIALchRuQqS3ygRncOtjm GY3w0V5JPNF6b4++CSWTlW4BOxzB7Dr+LP/XhuK0ObsKkqdi+vEQgDXGWHk6zGIp Iz7WXy3PnKsZqE7s/YEUGelt12s5tO7MH932qmmPoatgF8g8KRx+1yudS/1HxEwA == X-ME-Sender: X-ME-Proxy: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 68984102DE; Wed, 7 Nov 2018 16:11:19 -0500 (EST) Date: Wed, 7 Nov 2018 16:11:18 -0500 From: Leo Famulari To: Tobias Geerinckx-Rice Subject: Re: [bug#33026] [PATCH] gnu: Add pdns. Message-ID: <20181107211118.GA31141@jasmine.lan> References: <20181012185854.9873-1-me@tobias.gr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20181012185854.9873-1-me@tobias.gr> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33026 Cc: 33026@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Oct 12, 2018 at 08:58:54PM +0200, Tobias Geerinckx-Rice wrote: > +(define-public pdns > + (package > + (name "pdns") > + (version "4.1.4") Please update to 4.1.5 before pushing, in order to get fixes for these bugs: * 2018-03: Crafted zone record can cause a denial of service (CVE-2018-10851, Authoritative) * 2018-04: Crafted answer can cause a denial of service (CVE-2018-10851, Recursor) * 2018-05: Packet cache pollution via crafted query (CVE-2018-14626, Authoritative >= 4.1.0) * 2018-06: Packet cache pollution via crafted query (CVE-2018-14626, Recursor >= 4.0.0) * 2018-07: Crafted query for meta-types can cause a denial of service (CVE-2018-14644, Recursor >= 4.0.0) https://seclists.org/oss-sec/2018/q4/137 --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlvjVPYACgkQJkb6MLrK fwgzmA//biez4qhAlwko3p607AlNHOjMF26WMMmVweKVBtFsQyv1HKU91ioVcR7Q ZeLRuIrynd2ybc0p/nUf1IOjxEgd4Av1FBNdK71YOsuU+amF+CEu+G4zCW7by9IX jEIgENeS5jNVesKKg6Pe1hUQrQbkea4Jm/n2kWuEEPap1hTRrOzwBrEkgGFvdqW+ BhOck5trGOC4BRP3WX5S2P3fRU285Xb9JPqTEGoA/vi8gR8FVhIuXpNn9Esx0OYP Rux+C5sv8RhgkOwRC6j7ez8S+zQfSoM4o/qZPnfgVBpQ6xhsKLVQCVz/tdd7DxDP Y7aARNRHrSljxfWnfsLTYmFFFiyTKyadulrGQDD7wGiNfg+vAVpyPYLwhEswc7co E1l8bFzn4Ac5EYrPJeIPDppcvZeUHm0X+dUq9Qv9sMR2/E0au9bGTpGwGUSsdoOi 6BVZKDJfybiq0IwjBvKRNPbfMHAdssfCpvlEjzkplNCcpv1MZI3tpEv8ScG5L3x0 Iaq3DLVCY3KjqPvAg+bwt+ZxFWTVUVsoZfpLjm94nFW9U5tNHP0lLYB8oPMnJxnQ 8i3N1HH2tC7+R6mUsGckhaEWHypdbue+E33xHZOlSdquZHkyxxnYVETQXU7P3LRm KXVaoMg13R+mRlAFD+umeIn0Dyv6PhjnrZ5jagNjivzpco4Tkc0= =L7HL -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 19 18:07:50 2019 Received: (at 33026) by debbugs.gnu.org; 19 Feb 2019 23:07:50 +0000 Received: from localhost ([127.0.0.1]:56908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwEUP-0003vO-Rr for submit@debbugs.gnu.org; Tue, 19 Feb 2019 18:07:50 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:54836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwEUO-0003vB-8P; Tue, 19 Feb 2019 18:07:48 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 13DBB2BCC; Wed, 20 Feb 2019 00:07:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YIRmMcONrHwr; Wed, 20 Feb 2019 00:07:46 +0100 (CET) Received: from jurong (unknown [IPv6:2001:910:103f:0:2d09:8018:be35:9702]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 505D52854; Wed, 20 Feb 2019 00:07:46 +0100 (CET) Date: Wed, 20 Feb 2019 00:07:44 +0100 From: Andreas Enge To: 33026@debbugs.gnu.org, 33020@debbugs.gnu.org Subject: Progress Message-ID: <20190219230744.GA3513@jurong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 33026 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Is this patch still of interest, or should we close the bug report? Andreas From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 11:20:16 2019 Received: (at 33026) by debbugs.gnu.org; 4 Mar 2019 16:20:16 +0000 Received: from localhost ([127.0.0.1]:60101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0qK8-00081k-Fd for submit@debbugs.gnu.org; Mon, 04 Mar 2019 11:20:16 -0500 Received: from tobias.gr ([80.241.217.52]:59964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0qK4-00081P-Vf for 33026@debbugs.gnu.org; Mon, 04 Mar 2019 11:20:15 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id cc2f4ca4; Mon, 4 Mar 2019 16:20:10 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id ba551b1c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 4 Mar 2019 16:20:09 +0000 (UTC) From: Tobias Geerinckx-Rice To: 33026@debbugs.gnu.org Subject: [PATCH v2 0/2] gnu: Add pdns. Date: Mon, 4 Mar 2019 17:19:53 +0100 Message-Id: <20190304161955.12712-1-somebody@not-sent-or-endorsed-by.tobias.gr> X-Mailer: git-send-email 2.20.1 In-Reply-To: <8736t7c6rv.fsf@gnu.org> References: <8736t7c6rv.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 33026 Cc: Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Tobias Geerinckx-Rice Ludo', Thanks for the review and sorry for the late reply. I've think I've addressed all your points below, apart from the last one. I've also added Ruby and Perl to run the full test suite, and tried to make the ‘move-tools’ phase a bit more straightforward. Ludovic Courtès wrote: > What about “powerdns” then? > > Tobias Geerinckx-Rice skribis: >> [blah blah blah blah] > > Alright, go for “pdns” then! Sorry for asking. ;-) You'll never make that mistake again. > We could do that indeed! Well the backend itself may be free, but > it's useless without the non-free piece of software, so it makes > sense to remove it (as long as the build system allows it.) OK. > I think you can avoid @dfn here as well. :-) OK. Replaced with @acronym if that's all right. > A few questions: > > • Are things under ext/ simply bundled libraries? If so, do you think > there’s something we could/should do about them? There are 3 libraries under ext/: - json11 (https://github.com/dropbox/json11) is a one-C++-file library without own build system, intended for bundling; - luawrapper is just a lone header file (LuaContext.hpp); - yahttp (https://github.com/cmouse/yahttp) is most like a real package, and while the README instructs developers to just plonk its headers in with their own and ship it that way, I was able to package & use it. > • I suppose we don’t build and thus don’t care about the license of > modules/oraclebackend, do we? :-) Out it goes. > • The license of m4/* doesn’t matter for the combined work; I’d just > remove it. Done. > • GPLv2-only code cannot be combined with GPLv3+ code. Is it really > what’s happening? I think so: $ head pdns/ssqlite3.cc /* SQLite backend for PowerDNS * Copyright (C) 2003, Michel Stol * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. * * Additionally, the license of this program contains a special * exception which allows to distribute the program in binary form when * it is linked against OpenSSL. Is this really a deal-breaker? We could disable the sqlite and LDAP back ends (hardly ideal) but pdns/tcpreceiver.cc is linked into the core pdns_server… Uh oh, T G-R Tobias Geerinckx-Rice (2): gnu: Add yahttp. gnu: Add pdns. gnu/packages/dns.scm | 176 +++++++++++++++++++++++++++++++++++++++++++ gnu/packages/web.scm | 42 +++++++++++ 2 files changed, 218 insertions(+) -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 11:20:17 2019 Received: (at 33026) by debbugs.gnu.org; 4 Mar 2019 16:20:17 +0000 Received: from localhost ([127.0.0.1]:60104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0qK8-00081m-SX for submit@debbugs.gnu.org; Mon, 04 Mar 2019 11:20:17 -0500 Received: from tobias.gr ([80.241.217.52]:59964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0qK7-00081P-Mz for 33026@debbugs.gnu.org; Mon, 04 Mar 2019 11:20:16 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id 6066eddc; Mon, 4 Mar 2019 16:20:11 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id b120b615 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 4 Mar 2019 16:20:09 +0000 (UTC) From: Tobias Geerinckx-Rice To: 33026@debbugs.gnu.org Subject: [PATCH v2 1/2] gnu: Add yahttp. Date: Mon, 4 Mar 2019 17:19:54 +0100 Message-Id: <20190304161955.12712-2-somebody@not-sent-or-endorsed-by.tobias.gr> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190304161955.12712-1-somebody@not-sent-or-endorsed-by.tobias.gr> References: <8736t7c6rv.fsf@gnu.org> <20190304161955.12712-1-somebody@not-sent-or-endorsed-by.tobias.gr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 33026 Cc: Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Tobias Geerinckx-Rice * gnu/packages/web.scm (yahttp): New public variable. --- gnu/packages/web.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index b0ee78b92b..95099e450e 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -66,6 +66,7 @@ #:use-module (gnu packages admin) #:use-module (gnu packages adns) #:use-module (gnu packages apr) + #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages documentation) #:use-module (gnu packages docbook) @@ -86,6 +87,7 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) #:use-module (gnu packages gperf) + #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages guile-xyz) @@ -4907,6 +4909,46 @@ and xinetd usually launches another daemon to handle the request. It can be used to start services with both privileged and non-privileged port numbers.") (license (l:fsf-free "file://COPYRIGHT")))) +(define-public yahttp + (package + (name "yahttp") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cmouse/yahttp.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09pxykgby8hlyvaff106p6m847idg6nkprahx62kr05ks5r6i77v")))) + ;; Separate the ~7.5 MiB of HTML documentation from the rest (~700 KiB). + ;; Installing the package without it would require patching Makefiles. + (outputs (list "out" "doc")) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--htmldir=" (assoc-ref %outputs "doc") + "/share/doc/" ,name "-" ,version)))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + + ;; For creating the documentation. + ("doxygen" ,doxygen) + ("graphviz" ,graphviz))) + (inputs + `(("boost" ,boost))) + (home-page "https://github.com/cmouse/yahttp") + (synopsis "Small-footprint HTTP request/response parser") + (description + "@acronym{YaHTTP, Yet Another HTTP Library} aims to be purely an HTTP +request/response parser with no input/output ties. It is intended to be used in +small-footprint applications and other utilities that want to use HTTP over +something else than network I/O.") + (license l:expat))) + (define-public tidy-html (package (name "tidy-html") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 11:20:18 2019 Received: (at 33026) by debbugs.gnu.org; 4 Mar 2019 16:20:18 +0000 Received: from localhost ([127.0.0.1]:60106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0qKA-000824-8c for submit@debbugs.gnu.org; Mon, 04 Mar 2019 11:20:18 -0500 Received: from tobias.gr ([80.241.217.52]:59964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0qK8-00081P-G3 for 33026@debbugs.gnu.org; Mon, 04 Mar 2019 11:20:17 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id f6a78c0c; Mon, 4 Mar 2019 16:20:11 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 91f7a2e2 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 4 Mar 2019 16:20:09 +0000 (UTC) From: Tobias Geerinckx-Rice To: 33026@debbugs.gnu.org Subject: [PATCH v2 2/2] gnu: Add pdns. Date: Mon, 4 Mar 2019 17:19:55 +0100 Message-Id: <20190304161955.12712-3-somebody@not-sent-or-endorsed-by.tobias.gr> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190304161955.12712-1-somebody@not-sent-or-endorsed-by.tobias.gr> References: <8736t7c6rv.fsf@gnu.org> <20190304161955.12712-1-somebody@not-sent-or-endorsed-by.tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 33026 Cc: Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Tobias Geerinckx-Rice * gnu/packages/dns.scm (pdns): New public variable. --- gnu/packages/dns.scm | 176 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm index 9cc707e5b4..b929f8b426 100644 --- a/gnu/packages/dns.scm +++ b/gnu/packages/dns.scm @@ -32,9 +32,11 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) + #:use-module (gnu packages boost) #:use-module (gnu packages databases) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) + #:use-module (gnu packages curl) #:use-module (gnu packages datastructures) #:use-module (gnu packages flex) #:use-module (gnu packages glib) @@ -44,6 +46,7 @@ #:use-module (gnu packages libevent) #:use-module (gnu packages libidn) #:use-module (gnu packages linux) + #:use-module (gnu packages lua) #:use-module (gnu packages ncurses) #:use-module (gnu packages nettle) #:use-module (gnu packages networking) @@ -51,6 +54,8 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) + #:use-module (gnu packages ruby) + #:use-module (gnu packages sqlite) #:use-module (gnu packages swig) #:use-module (gnu packages tls) #:use-module (gnu packages web) @@ -403,6 +408,177 @@ run in a @code{chroot} jail, thus making any security flaws in NSD less likely to result in system-wide compromise.") (license (list license:bsd-3)))) +(define-public pdns + (package + (name "pdns") + (version "4.1.6") + (source + (origin + (method url-fetch) + (uri + (string-append "https://downloads.powerdns.com/releases/pdns-" + version ".tar.bz2")) + (sha256 + (base32 "0ggpcvzj90a31qf71m8788ql0hbxnkb9y6c3wgqr9l0qwv8dsgpm")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete (free) back ends for a non-free database. This also + ;; side-steps some licence confusion where modules/oraclebackend's + ;; README says ‘MIT’ but the actual file headers state GPL2 [only]. + (for-each + (lambda (back-end) + (with-directory-excursion "modules" + (delete-file-recursively back-end)) + (substitute* "configure" + (((format " modules/~a/Makefile" back-end)) + "")) + (substitute* "modules/Makefile.in" + (((format ".*~a.*" back-end)) ; delete the whole line + ""))) + (list "goraclebackend" + "oraclebackend")) + #t)))) + (build-system gnu-build-system) + ;; Keep the extra tools from littering the user's profile unless desired. + ;; There's no make target or other way to cleanly separate the tools from + ;; the core. We have to rely on a hard-coded list (below), which needs to + ;; be double-checked when changing the package version or configuration. + (outputs (list "out" "tools")) + (arguments + `(#:configure-flags + (list "--enable-libsodium" ; ed25519 (DNSSEC algorithm 15) + ;; "--enable-libdecaf" ; ed25519 & Ed448 (XXX unpackaged) + "--enable-reproducible" + "--enable-tools" + "--enable-unit-tests" + + ;; XXX The 'core' (sbin/pdns_server) retains references to some + ;; dependencies (e.g. luajit, sqlite) but not all of them (e.g. + ;; postgresql). Moving backend modules to their own output (or + ;; package?) might reduce the closure size significantly and/or + ;; allow us to build more (all?) of them. Something to consider. + (string-append + "--with-dynmodules=" ; build dynamic modules... + (string-join + (list "bind" ; BIND-style zone files + "gpgsql" ; generic PostgreSQL + "gsqlite3" ; generic Sqlite + "lua" ; Lua scripting + "pipe" ; simple stdin/stdout pipe + "remote") ; generic JSON/RPC connector + " ")) + "--with-modules=" ; ...and no static modules + + "--with-luajit" ; use JIT variant for Lua backend + "--with-protobuf" ; for logging DNS query information + "--with-sqlite3" ; include the sqlite3 driver + + (string-append "--docdir=" (assoc-ref %outputs "out") "/share/doc/" + ,name "-" ,version) + "--sysconfdir=/etc/powerdns" + "--with-socketdir=/run") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'use-packaged-yahttp + (lambda* (#:key inputs #:allow-other-keys) + (let ((yahttp (assoc-ref inputs "yahttp"))) + (delete-file-recursively "ext/yahttp") + (substitute* "configure" + (("\\$\\(top_builddir\\)/ext/yahttp/yahttp") + (string-append yahttp "/lib")) + (("ext/(yahttp/)+Makefile") "")) + (substitute* "ext/Makefile.in" + (("yahttp ") "")) + #t))) + (add-after 'unpack 'omit-PDNS_CONFIG_ARGS + ;; Avoid ‘pdns_server --version’ printing build-time details, like + ;; PKG_CONFIG_PATH, which embed references to almost every input. + (lambda _ + (substitute* "configure" + (("#define PDNS_CONFIG_ARGS.*") "")) + #t)) + (replace 'install + ;; Don't try to install configuration files to /etc. + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "sysconfdir=$(docdir)/examples" "install" + make-flags))) + (add-after 'install 'move-tools + ;; Move tools (and their documentation) to a separate output. + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (tools (assoc-ref outputs "tools")) + (move (lambda (file) + (let ((target (string-append tools "/" file))) + (mkdir-p (dirname target)) + (rename-file file target))))) + (with-directory-excursion out + (for-each (lambda (tool) + (move (string-append "bin/" tool)) + (move (string-append "share/man/man1/" + tool ".1"))) + (list "calidns" + "dnsbulktest" + "dnsgram" + "dnsreplay" + "dnsscan" + "dnsscope" + "dnstcpbench" + "dnswasher" + "dumresp" + "ixplore" + "nproxy" + "nsec3dig" + "pdns_notify" + "saxfr" + "sdig")) + + ;; This one weird tool doesn't have a man page. + (move "bin/stubquery") + #t))))))) + (native-inputs + `(("pkg-config" ,pkg-config) + + ;; For tests. + ("curl" ,curl) + ("perl" ,perl) + ("ruby" ,ruby))) + (inputs + `(("boost" ,boost) + ("libsodium" ,libsodium) + ("luajit" ,luajit) + ("openssl" ,openssl) + ("postgresql" ,postgresql) + ("protobuf" ,protobuf) + ("sqlite" ,sqlite) + ("yahttp" ,yahttp) + ("zlib" ,zlib))) + (home-page "https://www.powerdns.com/") + (synopsis "Authoritative DNS name server with dynamic back-ends") + (description + "This is the PowerDNS Authoritative Server, a versatile name server for the +@acronym{DNS, Domain Name System} that supports a wide variety of storage back +ends. + +The core server (@command{pdns_server}) handles all packet processing and DNS +intelligence, while retrieving and updating the actual DNS records (and any +additional metadata) through one or more of numerous loadable backends. + +Included back ends range from simple BIND-style zone files and relational +databases to (geographical) load-balancing, JSON APIs, and entire scripting +languages. Records can be transparently signed for use with @acronym{DNSSEC, +Domain Name System Security Extensions}. Automated key management is available. + +Real-time statistics can be exported to different formats, or through an optional +built-in Web server and API that allow for basic remote administration.") + (license + (list license:bsd-3 ; ext/luawrapper/include/LuaContext.* + license:expat ; ext/{json11,yahttp} + ;; pdns/{ssqlite3,tcpreceiver,test-tsig,zone2ldap}.* and + ;; modules/ldapbackend are GPL2-only. + license:gpl2 + license:gpl3+)))) ; the rest is GPL[23]+ + (define-public unbound (package (name "unbound") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 07 08:22:48 2019 Received: (at 33026-done) by debbugs.gnu.org; 7 Mar 2019 13:22:48 +0000 Received: from localhost ([127.0.0.1]:35034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1sz2-00073n-Bv for submit@debbugs.gnu.org; Thu, 07 Mar 2019 08:22:48 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:54516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1sz0-00073W-Df; Thu, 07 Mar 2019 08:22:47 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 24014B243; Thu, 7 Mar 2019 14:22:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b2cnGlY_cU3Q; Thu, 7 Mar 2019 14:22:43 +0100 (CET) Received: from jurong (nat-eduroam-36-gw-01-bso.bordeaux.inria.fr [194.199.1.36]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 0157CB233; Thu, 7 Mar 2019 14:22:42 +0100 (CET) Date: Thu, 7 Mar 2019 14:22:40 +0100 From: Andreas Enge To: 33026-done@debbugs.gnu.org, 33020-done@debbugs.gnu.org Subject: Re: [bug#33020] Progress Message-ID: <20190307132240.GA2183@jurong> References: <20181011230632.13515-1-me@tobias.gr> <20190219230744.GA3513@jurong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190219230744.GA3513@jurong> User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 33026-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Two weeks later without any reaction, closing. Andreas From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 07 09:02:29 2019 Received: (at 33026) by debbugs.gnu.org; 7 Mar 2019 14:02:29 +0000 Received: from localhost ([127.0.0.1]:35054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1tbR-0007zo-6C for submit@debbugs.gnu.org; Thu, 07 Mar 2019 09:02:29 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:55174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1tbO-0007ze-TA for 33026@debbugs.gnu.org; Thu, 07 Mar 2019 09:02:27 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CDE32B2A2; Thu, 7 Mar 2019 15:02:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9vZsyM4mwRtI; Thu, 7 Mar 2019 15:02:24 +0100 (CET) Received: from jurong (nat-eduroam-36-gw-01-bso.bordeaux.inria.fr [194.199.1.36]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D3437AEE2; Thu, 7 Mar 2019 15:02:23 +0100 (CET) Date: Thu, 7 Mar 2019 15:02:22 +0100 From: Andreas Enge To: Tobias Geerinckx-Rice Subject: Re: bug#33026: [bug#33020] Progress Message-ID: <20190307140222.GA2745@jurong> References: <20181011230632.13515-1-me@tobias.gr> <20190219230744.GA3513@jurong> <20190307132240.GA2183@jurong> <87tvge7qjv.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tvge7qjv.fsf@nckx> User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 33026 Cc: 33026@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) On Thu, Mar 07, 2019 at 02:38:28PM +0100, Tobias Geerinckx-Rice wrote: > Do you think this is reasonable? I do - in the spirit of dropping packages that do not build after about two weeks, as discussed around FOSDEM. I think there is no point in keeping orphaned patches around for packages that apparently nobody cares about any more. > I'm reopening this and welcome any feedback that will help get this merged. That is fine as well, if you care about the package, that contradicts my motivation above! > If no-one answers in the next 2 weeks, fine. Well, then you replace 2 weeks by twice 2 weeks, which is also fine, but not fundamentally different from the approach that apparently you find unreasonable. Andreas From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 07 09:08:30 2019 Received: (at 33026) by debbugs.gnu.org; 7 Mar 2019 14:08:30 +0000 Received: from localhost ([127.0.0.1]:35058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1thF-00087z-Sj for submit@debbugs.gnu.org; Thu, 07 Mar 2019 09:08:30 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:55264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1thD-00087q-Dm for 33026@debbugs.gnu.org; Thu, 07 Mar 2019 09:08:27 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 192C0B2A9; Thu, 7 Mar 2019 15:08:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id joMOSUsHWVBI; Thu, 7 Mar 2019 15:08:25 +0100 (CET) Received: from jurong (nat-eduroam-36-gw-01-bso.bordeaux.inria.fr [194.199.1.36]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6CF7EB2A1; Thu, 7 Mar 2019 15:08:25 +0100 (CET) Date: Thu, 7 Mar 2019 15:08:23 +0100 From: Andreas Enge To: Tobias Geerinckx-Rice Subject: Re: bug#33026: [bug#33020] Progress Message-ID: <20190307140823.GB2745@jurong> References: <20181011230632.13515-1-me@tobias.gr> <20190219230744.GA3513@jurong> <20190307132240.GA2183@jurong> <87tvge7qjv.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tvge7qjv.fsf@nckx> User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 33026 Cc: 33026@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) On Thu, Mar 07, 2019 at 02:38:28PM +0100, Tobias Geerinckx-Rice wrote: > Do you think this is reasonable? Sorry, actually I did not see your reply from March 4 - the closing message was sent to two entangled bug reports (this one and 33020), and the other one did not receive any reply. Apologies for closing this one, and feel free to reopen 33020 as well if you would still like to push nullmailer. Andreas From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 07 09:58:23 2019 Received: (at 33026) by debbugs.gnu.org; 7 Mar 2019 14:58:23 +0000 Received: from localhost ([127.0.0.1]:35550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1uTX-0000us-3t for submit@debbugs.gnu.org; Thu, 07 Mar 2019 09:58:23 -0500 Received: from tobias.gr ([80.241.217.52]:59162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1uTS-0000ud-O7; Thu, 07 Mar 2019 09:58:21 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id b8d60957; Thu, 7 Mar 2019 14:58:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=NXZbrP5j/nW8I2HbhEpsaOn35r36j7zynxyI7buzx3k=; b=kpV+70JCgi7z qkSIN2nfC3ZmG/DlfKUimvHDbnN7eT/lc8FEKCZpqXcD6M5Zh7pKpyZ6O5Co6UTz aiCtWCnCCmIVBQOJTjgfmc2Ppp660NCsexO5A/Di2ZIzvCBuYHsTHHjpBm90iRiJ dKUoRaYhuPRRwjTgLf38t1w5s9kv6XtU3g9aAW3ueHIHC2tHDIEpAcJ2RLzLxjTp iXtQBu9JK4ABazXvjVsI7r+YAqOw/ROSDr2KhF9o7Y3O3OkCKB2jJH/MNa7Y+iPQ cJDpCl148UTHqmca22voU+89HfJuTJVNntaH9z0Oso1MyCrTbJwVu9Q2DmHblKIk QX5wBm9/2A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id ab150290 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 7 Mar 2019 14:58:11 +0000 (UTC) From: Tobias Geerinckx-Rice To: Andreas Enge Subject: Re: [bug#33026] [bug#33020] Progress References: <20181011230632.13515-1-me@tobias.gr> <20190219230744.GA3513@jurong> <20190307132240.GA2183@jurong> <87tvge7qjv.fsf@nckx> <20190307140823.GB2745@jurong> In-reply-to: <20190307140823.GB2745@jurong> Date: Thu, 07 Mar 2019 15:58:09 +0100 Message-ID: <87sgvy7mv2.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 33026 Cc: Tobias Geerinckx-Rice , 33026@debbugs.gnu.org, 33020-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas, Andreas Enge wrote: > On Thu, Mar 07, 2019 at 02:38:28PM +0100, Tobias Geerinckx-Rice=20 > wrote: >> Do you think this is reasonable? > > Sorry, actually I did not see your reply from March 4 - the=20 > closing message > was sent to two entangled bug reports (this one and 33020), and=20 > the other > one did not receive any reply. Oh, OK. I hadn't yet received any notification for done-33020=20 when I replied to done-33026, and you did also ping 33026 exactly=20 two weeks ago, so it seemed plausibly=E2=80=A6 intentional? Apologies for= =20 acting slighted. > Apologies for closing this one, and feel free > to reopen 33020 as well if you would still like to push=20 > nullmailer. -done! With an upgrade to 2.2 to boot. Kind regards, T G-R From unknown Wed Jun 18 00:24:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 05 Apr 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator