From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CK9YDufxKGc6CAEAqHPOHw:P1 (envelope-from ) for ; Mon, 04 Nov 2024 16:10:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CK9YDufxKGc6CAEAqHPOHw (envelope-from ) for ; Mon, 04 Nov 2024 17:10:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sraGlpk7; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730736615; a=rsa-sha256; cv=none; b=Y3ErSCBGWCo+E88/sk0gkvi/STZFnrPYAs1r7+jKEQ6TS3pT480ejQbHCqzz89uuv55Uiz 22QJN10DWleSF6IIJsu4QkzWajZZSpOTgHKxwhn9sSlvyMR982TUJ1nh74jpXohtxJBRC8 GLV0AMaL8MBdP+6VtvWBzJfkf5g0RCOscRw+ftBQzETh/3rT32kyrqDxexCKWWHLNmNmph vKKXHHytHS/+2qsufflfmG8McDFrYZnJyReJ7HEqlv/EkekrPDHJe7PfSs2iwyupFwqcW3 3aCoUK3qzJmaJsva1ypjsa3iZjdLILkXomElCVDuYaqiobq+h2LvCarilcbYWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sraGlpk7; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730736615; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Fz2z4DfLug62NHPtyvUYNmI1E88PHqI27pgYozd7LZA=; b=nT/OZlp6dagG4TQT+tz+S3uJPi5cux3hIk8OPCr97/Umyc4dTjg3KQSAc79CsPxHRE0HbF 93v5eoNKmS2hTfy1t8wID9MRAuFp0i4UVyEx8BobR05w5IZCB6qIgTOzTGMtma87pbfFl4 qL96nIfieSLRLZu2yZyGmsLGon7ZupVvvFwPWMziO5g9dEDvfyLxh56AwtJkiOp32ceAFR sewAZZS/+dnYtPW39Bu7f7SPKXWVbOUxa9pEbCn523N3kl49eDkkPKE8a7zBqkFA9Y06h/ sGwvfQ/8gr69v4EG/Uosn8eP/miIzJ3K4VXGehJ5uvC3scv5hETDL+mRwiifkw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 006781EB89 for ; Mon, 04 Nov 2024 17:10:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7zeZ-0002e0-EC; Mon, 04 Nov 2024 11:10:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7zeW-0002aB-0i for guix-patches@gnu.org; Mon, 04 Nov 2024 11:10:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t7zeV-0008Vt-Mw for guix-patches@gnu.org; Mon, 04 Nov 2024 11:10:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Fz2z4DfLug62NHPtyvUYNmI1E88PHqI27pgYozd7LZA=; b=sraGlpk79o75Vd7NVeBgELVv/tIZfa8/YvsxEPd+donJsp8HcS+wy0Ai62BHRin4JV4qSnESEQmdCxNSXG6Z0dwe5WrIX7dBnlDE8Ry8Oqxol2YN+7aFLk7M98zbcMpASn6kC8oGz5m+rp0Ia8ywvLc3JFkSzkxi7X7/GSn+Em7KzD2zvxV7f9o1jXG7UfrfuZ8JJXqDcNAyjeT/3jc/AKWkafDGiGDxcKf9NTvP6uQZ6g5UmNm2X2bE08cqeGiRdOnsiFcy7/nwW6rqlmcoSPjhOGMmF3bdY8F0Xit/CjGEx3UEPnqOiDMj6TMTa49X/4rxFOZ7u9XE7d6i+g6wIg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t7zeV-0008JV-GQ for guix-patches@gnu.org; Mon, 04 Nov 2024 11:10:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74035] [PATCH v2 04/26] gnu: maradns: Improve style. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Nov 2024 16:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74035 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74035@debbugs.gnu.org Cc: ngraves@ngraves.fr X-Debbugs-Original-To: Nicolas Graves via Guix-patches via X-Debbugs-Original-Cc: Nicolas Graves , 74035@debbugs.gnu.org Received: via spool by 74035-submit@debbugs.gnu.org id=B74035.173073657831830 (code B ref 74035); Mon, 04 Nov 2024 16:10:03 +0000 Received: (at 74035) by debbugs.gnu.org; 4 Nov 2024 16:09:38 +0000 Received: from localhost ([127.0.0.1]:40820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7ze5-0008HF-UC for submit@debbugs.gnu.org; Mon, 04 Nov 2024 11:09:38 -0500 Received: from smtp21.cstnet.cn ([159.226.251.21]:56510 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7ze3-0008Fy-Ju for 74035@debbugs.gnu.org; Mon, 04 Nov 2024 11:09:36 -0500 Received: from m (unknown [107.174.64.25]) by APP-01 (Coremail) with SMTP id qwCowABXXn6z8Shnqo8vAA--.9321S2; Tue, 05 Nov 2024 00:09:27 +0800 (CST) From: Zheng Junjie In-Reply-To: <20241103160239.6772-4-ngraves@ngraves.fr> (Nicolas Graves via Guix-patches via's message of "Sun, 3 Nov 2024 17:01:59 +0100") References: <20241103160239.6772-1-ngraves@ngraves.fr> <20241103160239.6772-4-ngraves@ngraves.fr> Date: Tue, 05 Nov 2024 00:09:20 +0800 Message-ID: <87v7x3oua7.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-CM-TRANSID: qwCowABXXn6z8Shnqo8vAA--.9321S2 X-Coremail-Antispam: 1UD129KBjvJXoWxCr18Cw4kXw4fXry5JF48tFb_yoW5Aryrpa n093sagr4rAw17Ka1fWF4qqr15Ka40kw1Ykrn7A3sIkw4YyFy0qrWagFZ5Aa4Igwn7C3y7 XF4rCFW5uFW7GwUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvlb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVWUJVW8JwA2z4x0Y4vEx4 A2jsIEc7CjxVAFwI0_Gr0_Gr1UM2vj62AExVA0xI801c8C04v26x02cVCv0xWle2I262IY c4CY6c8Ij28IcVAaY2xG8wASzI0EjI02j7AqF2xKxwAqx4xG64xvF2IEw4CE5I8CrVC2j2 WlYx0E2Ix0cI8IcVAFwI0_JF0_Jw1lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkE bVWUJVW8JwACjcxG0xvEwIxGrwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJV W8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF 1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6x IIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvE x4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvj DU0xZFpf9x07j_IDcUUUUU= X-Originating-IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.40 X-Spam-Score: -7.40 X-Migadu-Queue-Id: 006781EB89 X-Migadu-Scanner: mx10.migadu.com X-TUID: TCx7c8lANHis --=-=-= Content-Type: text/plain Nicolas Graves via Guix-patches via writes: > * gnu/packages/dns.scm (maradns)[arguments]: Use gexps. > --- > gnu/packages/dns.scm | 58 ++++++++++++++++++++++---------------------- > 1 file changed, 29 insertions(+), 29 deletions(-) > > diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm > index bd2df30f01..7a78fb0308 100644 > --- a/gnu/packages/dns.scm > +++ b/gnu/packages/dns.scm > @@ -1192,35 +1192,35 @@ (define-public maradns > (base32 "185kl7zfvnwzfpyxbzpwck13m468av74kbqijp0s4v33iicfpnvc")))) > (build-system gnu-build-system) > (arguments > - `(#:tests? #f ; need to be root to run tests > - #:make-flags > - (list > - ,(string-append "CC=" (cc-for-target)) > - (string-append "PREFIX=" %output) > - (string-append "RPM_BUILD_ROOT=" %output)) > - #:phases > - (modify-phases %standard-phases > - (replace 'configure > - (lambda* (#:key native-inputs target #:allow-other-keys) > - ;; make_32bit_tables generates a header file that is used during > - ;; compilation. Hence, during cross compilation, it should be > - ;; built for the host system. > - (when target > - (substitute* "rng/Makefile" > - (("\\$\\(CC\\) -o make_32bit_tables") > - (string-append (assoc-ref native-inputs "gcc") > - "/bin/gcc -o make_32bit_tables")))) > - (invoke "./configure"))) > - (add-before 'install 'create-install-directories > - (lambda* (#:key outputs #:allow-other-keys) > - (let ((out (assoc-ref outputs "out"))) > - (for-each (lambda (dir) > - (mkdir-p (string-append out dir))) > - (list "/bin" "/sbin" "/etc" > - "/share/man/man1" > - "/share/man/man5" > - "/share/man/man8")) > - #t)))))) > + (list > + #:tests? #f ; need to be root to run tests > + #:make-flags > + #~(list > + (string-append "CC=" #$(cc-for-target)) > + (string-append "PREFIX=" #$output) > + (string-append "RPM_BUILD_ROOT=" #$output)) > + #:phases > + #~(modify-phases %standard-phases > + (replace 'configure > + (lambda* (#:key native-inputs target #:allow-other-keys) > + ;; make_32bit_tables generates a header file that is used during > + ;; compilation. Hence, during cross compilation, it should be > + ;; built for the host system. > + (when target > + (substitute* "rng/Makefile" > + (("\\$\\(CC\\) -o make_32bit_tables") > + (string-append (search-input-file native-inputs "/bin/gcc") > + " -o make_32bit_tables")))) > + ;; ./configure doesn't support default flags > + (invoke "./configure"))) > + (add-before 'install 'create-install-directories > + (lambda _ > + (for-each (lambda (dir) > + (mkdir-p (string-append #$output dir))) > + (list "/bin" "/sbin" "/etc" > + "/share/man/man1" > + "/share/man/man5" > + "/share/man/man8"))))))) > (home-page "https://maradns.samiam.org") > (synopsis "Small lightweight DNS server") > (description "MaraDNS is a small and lightweight DNS server. MaraDNS apply. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmco8bAACgkQO1qpk+Gi 3/BlzBAAkavhAKy2Zsu/r0NIEgbKdMte3JwqBM1fGCpczEgLG//+JvKkNyQlp+ds KZtz3BaLvAHtm3FNRmMn0eeI0U+W0FeFR0at6D8piE0Kqs680dFdNufTRY0FCf9c x5NmP3361EempZo8hXK0IOELHng/GVIU4lmy4ChszsoOShWRq4wmzO/qhlQGhcEP a5/k5YBauQCy2UWW64O9njoCe1rj8MTJ7v6tPI3JvGD+988b3rKL7w2hFgUJ46Cb gJUBEPPv1M/fSaODU1gGPgo4BI66Z8oVzGzVbjw7XzjpPjJZQlANPuyjDmMcAXyn 7Kzj6nNJusl0o1bK5aMAQBn/L5mvh9vYbHyK4pDdqMcWPIS5Axxh8TJG1BEIYpK3 Q1wtu9Ur4kNpiSTnfxnHGxqeoS+tZwCMSifAEKF3BEdIS+o8qn3KZ9ZX3XKl5kzq /rDCWc/7nehOQSTXJZM89qEEclZAhqSXNN+j22LTC2iPwDNxZnn21HjEm4r8Sn68 yHP7JEm0nB9fhdGrtFhbwn/3yjfJ2zpzEXkH3g6nZOoaMpcm5+G0sxB1wFyqW9xC K3Uw8QAjYsNc47XqMj6VMp+Dnk1J+66jMcF+W5o0ivPun2IddriPz3E3e1LxFM3J gmBW/Tlibg06zXUdNYOZvP690kbuiBeN8tSRC8+AtPvgBhbmK7I= =uIq9 -----END PGP SIGNATURE----- --=-=-=--