Received: (at 48889) by debbugs.gnu.org; 7 Jun 2021 09:50:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 07 05:50:42 2021 Received: from localhost ([127.0.0.1]:54496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lqBu1-00041G-9I for submit <at> debbugs.gnu.org; Mon, 07 Jun 2021 05:50:41 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:54256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1lqBtx-000415-Cf for 48889 <at> debbugs.gnu.org; Mon, 07 Jun 2021 05:50:36 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by baptiste.telenet-ops.be with bizsmtp id E9qX2500P0mfAB4019qXsw; Mon, 07 Jun 2021 11:50:31 +0200 Message-ID: <95c21dc7fa0e9c6864df06b307f3375d511847a8.camel@HIDDEN> Subject: Re: [bug#48889] [PATCH 4/4] bpftool: new package From: Maxime Devos <maximedevos@HIDDEN> To: Ryan Sundberg <ryan@HIDDEN>, 48889 <at> debbugs.gnu.org Date: Mon, 07 Jun 2021 11:50:31 +0200 In-Reply-To: <20210606185204.17617-4-ryan@HIDDEN> References: <20210606185204.17617-1-ryan@HIDDEN> <20210606185204.17617-4-ryan@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-kL+qTxDP/GLos5O6SQJw" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623059431; bh=xeys/O+7CTJqUadzjT3/ac5d1jiTKmdlVBR7xFRG7u8=; h=Subject:From:To:Date:In-Reply-To:References; b=qgCQkrGlHHQvFOU1UiAaV9NIszuaQQRZJ6J9qQV2lDxoBjH5nfykrVpUIJN+gdWEM XCaz+6K0etkuV6kkB1GmJDOtraQxlYu+JYlISl/PRR9i5/Jh9G4m1rZKfDKxxGwc55 T8nBB/XEVRxz5OXrtcgzy6BwDmIRGCpYh/kTc0oItTo/0g9hmeIwfWqHG95E20VsC3 hWOTm8BkCBfB5qriF/hecrZRyAtMSkjJ+Rn5QPywTTcJhjNGByeODXwq/UBVooFPE/ eCyDUYHz5Gu9Xp0kcoKE4dKfDRp4BcsXSHj9MBllUz6g+W/USBirjeK3W0WwOscyFl Vd9CVpBoCxKRQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48889 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-kL+qTxDP/GLos5O6SQJw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ryan Sundberg via Guix-patches via schreef op zo 06-06-2021 om 11:52 [-0700= ]: > Adds the bpftool package from the Linux kernel source tree. > --- > gnu/packages/linux.scm | 40 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 40 insertions(+) >=20 > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index c8ec310665..06bb344475 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -54,6 +54,7 @@ > ;;; Copyright =C2=A9 2020 David Dashyan <mail@HIDDEN> > ;;; Copyright =C2=A9 2020 pukkamustard <pukkamustard@HIDDEN> > ;;; Copyright =C2=A9 2021 B. Wilson <elaexuotee@HIDDEN> > +;;; Copyright =C2=A9 2021 Ryan Sundberg <ryan@HIDDEN> > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -8108,3 +8109,42 @@ Availability and Serviceability} reports from Linu= x kernel trace events. > These trace events are logged in @file{/sys/kernel/debug/tracing} and re= ported > through standard log mechanisms like syslog.") > (license license:gpl2))) > + > +(define-public bpftool > + (package > + (name "bpftool") > + (version (package-version linux-libre)) > + (source (package-source linux-libre)) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f Why are tests disabled? > + #:phases=20 > + (modify-phases %standard-phases > + (add-before 'configure 'chdir=20 > + (lambda _ (chdir "tools/bpf") #t)) > + (delete 'configure) > + (replace 'build=20 > + (lambda _ (invoke "make" "CC=3Dgcc" "bpftool") #t)) Use ,(string-append "CC=3D" (cc-for-target)), to make sure cross-compiling = bpftools works. > + (replace 'install=20 > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")))=20 > + (mkdir-p (string-append out "/sbin")) > + (mkdir-p (string-append out "/share/bash-completion/comp= letions")) > + (invoke "make"=20 > + (string-append "prefix=3D" out) > + (string-append "bash_compdir=3D" out "/share/bas= h-completion/completions") > + "-C" "bpftool" > + "install") > + #t)))))) > + (inputs > + `(("bison" ,bison) Bison looks like a native input to me. > + ("python" ,python-3) Could be input, could be native-input. I don't know what's appropriate for = bpftools. You can check with ./pre-inst-env guix build bpftools --target=3Daarch64-linux-gnu If there is "command not found: python" or something like that, you'll need to move python to native-inputs. > + ("readline" ,readline))) > + (propagated-inputs > + `(("libcap" ,libcap) > + ("libelf" ,libelf) > + ("zlib" ,zlib))) bpftool is a tool, and not a library, right? Then these libraries should be in inputs, not propagated-inputs, to avoid polluting the profile. bpftool should still have access to these libraries by ELF's RPATH or something like that. > + (home-page (package-home-page linux-libre)) I don't see anything about bpftools on <https://www.gnu.org/software/linux-= libre/>. Maybe bpftools has a wiki somewhere? > + (synopsis "bpftool is a tool for inspection and simple manipulation = of eBPF programs and maps") > + (description "*bpftool* allows for inspection and simple modificatio= n of BPF objects on the system. Note that format of the output of all tool= s is not guaranteed to be stable and should not be depended upon.") Line is too long. Also, what's up with surrounding bpftools with *asterisks= *? Greetings, Maxime. --=-kL+qTxDP/GLos5O6SQJw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYL3r5xccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tZnAP4w6ax7410R6Llv1PpzKReLDD3a lB81L0kxY+3VXGUu3wEA+vWAOWv438Hb78+9uF8U80TqowvR014O3Yghk4U6GwI= =yDST -----END PGP SIGNATURE----- --=-kL+qTxDP/GLos5O6SQJw--
guix-patches@HIDDEN
:bug#48889
; Package guix-patches
.
Full text available.Received: (at 48889) by debbugs.gnu.org; 7 Jun 2021 09:41:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 07 05:41:08 2021 Received: from localhost ([127.0.0.1]:54481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lqBkq-0003ml-5d for submit <at> debbugs.gnu.org; Mon, 07 Jun 2021 05:41:08 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:51756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1lqBkk-0003m8-I8 for 48889 <at> debbugs.gnu.org; Mon, 07 Jun 2021 05:41:06 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by xavier.telenet-ops.be with bizsmtp id E9h02500H0mfAB4019h0H6; Mon, 07 Jun 2021 11:41:00 +0200 Message-ID: <cc3784abbd2d48a1749209ef18eb41b206d62761.camel@HIDDEN> Subject: Re: [bug#48889] [PATCH 2/4] Ceph: patch rbd to use $PATH lookups for modprobe From: Maxime Devos <maximedevos@HIDDEN> To: Ryan Sundberg <ryan@HIDDEN>, 48889 <at> debbugs.gnu.org Date: Mon, 07 Jun 2021 11:40:59 +0200 In-Reply-To: <20210606185204.17617-2-ryan@HIDDEN> References: <20210606185204.17617-1-ryan@HIDDEN> <20210606185204.17617-2-ryan@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-qkx10WlImDFXtyt4ie1k" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623058860; bh=HsPMaILckFVvwg9JUN7CgfVtIGj5aLWLuFbkIBwaB2A=; h=Subject:From:To:Date:In-Reply-To:References; b=JtjqdTd+Ar4fFPCXwQA40xG7X7JM90XvjKsmnmdueFO0DWn0g0dNRIiTTeX6JdxTv O4JdVq3sRbLUayJOWFBv5DnvzOr1zufyoq7UF8dFD5+R2LT6uYxhrsS0s+n28Torri /PAVcnoeFEMJtIyfD/EmTlhntdkYV0Zp1axiSYLwBCv+rlR/gOOExzlNfggfVIUmrx sbm5g0tzBhxf5PgmYbLPu690tZxReNc9rZw1Qnd9jTL4Ln8vgOQ72ejr8N6wBDSDVK R6IM8pz20JBOrWtRi7e5/pakvI+pOXHjlG6J3o0Zo5fGY8E28Qo1ihM2RjIJmq0mDP 8ajLLPYRStR0g== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48889 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-qkx10WlImDFXtyt4ie1k Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ryan Sundberg via Guix-patches via schreef op zo 06-06-2021 om 11:52 [-0700= ]: > Removes hardcoded paths assumed in /sbin and /bin compiled into the > `rbd` tool. >=20 > Patch originally discussed at https://github.com/ceph/ceph/pull/20938 > and rejected by upstream for ambiguous security concerns related to > relative paths. > --- > .../patches/ceph-relative-paths.patch | 22 +++++++++++++++++++ > gnu/packages/storage.scm | 2 +- > 2 files changed, 23 insertions(+), 1 deletion(-) > create mode 100644 gnu/packages/patches/ceph-relative-paths.patch >=20 > diff --git a/gnu/packages/patches/ceph-relative-paths.patch b/gnu/package= s/patches/ceph-relative-paths.patch > new file mode 100644 > index 0000000000..e1b1d3599f > --- /dev/null > +++ b/gnu/packages/patches/ceph-relative-paths.patch > @@ -0,0 +1,22 @@ > +diff --git a/src/common/module.c b/src/common/module.c > +index f19f74324c..53355b8185 100644 > +--- a/src/common/module.c > ++++ b/src/common/module.c > +@@ -66,7 +66,7 @@ int module_has_param(const char *module, const char *p= aram) > + char command[128]; > +=20 > + snprintf(command, sizeof(command), > +- "/sbin/modinfo -F parm %s | /bin/grep -q ^%s:", > ++ "modinfo -F parm %s | grep -q ^%s:", modinfo is not necessarily in the profile. I'd recommend using substitute* from a build phase to replace /sbin/modinfo with the appropriate /gnu/store path. ((string-append (assoc-ref inputs "???") "/sbin/modinfo") or something like that, were you'll need to replace "???") > +- snprintf(command, sizeof(command), "/sbin/modprobe %s %s", > ++ snprintf(command, sizeof(command), "modprobe %s %s", > + module, (options ? options : "")); Likewise. Greetings, Maxime. --=-qkx10WlImDFXtyt4ie1k Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYL3prBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qdpAQCk3YWvoRgiWH0OwYgPtRrv1gSk UEFjwdHwxn7+VpGC3gEA+NdZ567jcb/wuiG6e3kN5dxib7UE1eIredi6tMpueAs= =YRN8 -----END PGP SIGNATURE----- --=-qkx10WlImDFXtyt4ie1k--
guix-patches@HIDDEN
:bug#48889
; Package guix-patches
.
Full text available.Received: (at 48889) by debbugs.gnu.org; 7 Jun 2021 09:35:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 07 05:35:35 2021 Received: from localhost ([127.0.0.1]:54469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lqBfT-0003ef-4x for submit <at> debbugs.gnu.org; Mon, 07 Jun 2021 05:35:35 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:49776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1lqBfO-0003eT-CN for 48889 <at> debbugs.gnu.org; Mon, 07 Jun 2021 05:35:34 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id E9bT2500t0mfAB4019bUNJ; Mon, 07 Jun 2021 11:35:28 +0200 Message-ID: <aa14f41eefafa12b086fd826ce65730174d0ba69.camel@HIDDEN> Subject: Re: [bug#48889] [PATCH 1/4] New package: bird bgp daemon, versions 1 and 2 From: Maxime Devos <maximedevos@HIDDEN> To: Ryan Sundberg <ryan@HIDDEN>, 48889 <at> debbugs.gnu.org Date: Mon, 07 Jun 2021 11:35:21 +0200 In-Reply-To: <20210606185204.17617-1-ryan@HIDDEN> References: <20210606185204.17617-1-ryan@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-lFdR2O6dJRgQPr2TziGW" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623058528; bh=zu4HBxD3/u7m91dfpoHl8E3XVXxTdyHLvUlG0beAVtI=; h=Subject:From:To:Date:In-Reply-To:References; b=BrR5DxZ0A433D0prjg+GiLSbpIWpXO5eriTYLV8tloalQGGgQPhkhcClKUizL1+dD YGUJtr+dLAyBHNmzU/TLSoW+lwlEutS6U4cAg5XjMTmoUmGYeZ6qk/yt7xv7IPQH6G VIz8SjYLTicA2oQqlKHzvPFRRg9dtfk2TZAsESMnzBscf/I6ZLlV3mwxlJTL2RxOPA hbxMRusbx62VqOIkXCAlnoNmDE8k9WhU6GBbQ4YInbAKUOB5eozr+H5JqCib8alq+1 mzdozLY/pRtpjZrxqPrEnJYUCDIEo/YS/XzTN+3iJDrvT6xUzy6EQv/w/tT9ge556l +eyGAAkDrTRpA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48889 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-lFdR2O6dJRgQPr2TziGW Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Ryan Sundberg via Guix-patches via schreef op zo 06-06-2021 om 11:52 [-0700= ]: > Adds the bird BGP daemon to gnu/packages/bird.scm See commits (e.g. git log -n9) for how to format commit messages. > --- > gnu/packages/bird.scm | 74 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 74 insertions(+) > create mode 100644 gnu/packages/bird.scm >=20 > diff --git a/gnu/packages/bird.scm b/gnu/packages/bird.scm > new file mode 100644 > index 0000000000..5fac395906 > --- /dev/null > +++ b/gnu/packages/bird.scm Maybe gnu/packages/networking.scm, instead of creating a new module for a single package. > + #:phases (modify-phases %standard-phases > + ; Fix "cc not found" in tools/mergedirs > + (add-after 'bootstrap 'set-cc > + (lambda _=20 > + (setenv "CPP" "gcc -E") > + #t))))) This most likely should be ,(string-append (cc-for-target) " -E"), to make sure cross-compiling works. Also, the more declarative #:make-flags is preferred above imperative setenv. > + (inputs > + `(("autoconf" ,autoconf) > + ("bison" ,bison) > + ("flex" ,flex) autoconf, bison & flex most likely should be native inputs. > + ("ncurses" ,ncurses) > + ("readline" ,readline))) > + (home-page "http://bird.network.cz/") > + (synopsis "BIRD Internet Routing Daemon") > + (description "The BIRD project aims to develop a dynamic IP routing = daemon with full support of all modern routing protocols, easy to use confi= guration interface and powerful route filtering language, primarily targete= d on (but not limited to) Linux and other UNIX-like systems and distributed= under the GNU General Public License.") > + (license gpl2+))) The description line is too long. ./pre-inst-env guix lint bird@HIDDEN should detect that. Greetings, Maxime. --=-lFdR2O6dJRgQPr2TziGW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYL3oWRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hR6AQCtuGRi57sjeXSEode7Xks0lOAB iIUpDETJIxT52t3utQD/YNCV+cZP1Z7rVh3LpCznYZ0Uy2QRs26cEYmjWaUhZw0= =bTxw -----END PGP SIGNATURE----- --=-lFdR2O6dJRgQPr2TziGW--
guix-patches@HIDDEN
:bug#48889
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 6 Jun 2021 22:12:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 06 18:12:55 2021 Received: from localhost ([127.0.0.1]:54104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lq10o-0003gn-NL for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 18:12:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:56278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ryan@HIDDEN>) id 1lpxtP-0002uk-ER for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 14:53:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ryan@HIDDEN>) id 1lpxtP-0002mt-5R for guix-patches@HIDDEN; Sun, 06 Jun 2021 14:53:03 -0400 Received: from mail.arctype.co ([138.68.9.245]:59548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ryan@HIDDEN>) id 1lpxtN-0008VJ-DZ for guix-patches@HIDDEN; Sun, 06 Jun 2021 14:53:02 -0400 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id 5C5D211FB7C; Sun, 6 Jun 2021 11:52:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arctype.co; s=mail; t=1623005550; bh=H/IDeVMqlAArMHJWV7MDW7DdKsxsb+2H3xrafQ7xheg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gcr5IErPsUd3aiEbQTU0KKlW61W8NKxD2UV+lvXS9pCurorBZFwLJP6X2UndR0/GA joTJvBgI59hWqO9sfA/SZDdqZ/3M86v5ivWppESo6eu7GsT1dhQoxBHl843IUSpdtQ wk/HdYBChlfsl34QKAvffweNOruYgHyCUoWQYoL2yCNUc7LIsYUmdSLaMEQbPn+HDc R1jQSqt/Dj0hAyvndL7qp5vS8eHtw1icQPjO9XQ1oWboBPexc3ssV601IKjoBz8s+J e+2pKKtOoDuh0JpcyUOL2Q75Javc7e8ZLc5PGjdwKW05lRDhGMM/eRGaTlNc+KQ0It 1tdcDAutuiiaQ== From: Ryan Sundberg <ryan@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH 3/4] Ceph: upgrade minor version to latest stable release (14.2.21) Date: Sun, 6 Jun 2021 11:52:03 -0700 Message-Id: <20210606185204.17617-3-ryan@HIDDEN> In-Reply-To: <20210606185204.17617-1-ryan@HIDDEN> References: <20210606185204.17617-1-ryan@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=138.68.9.245; envelope-from=ryan@HIDDEN; helo=mail.arctype.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 06 Jun 2021 18:12:49 -0400 Cc: Ryan Sundberg <ryan@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) --- gnu/packages/storage.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/storage.scm b/gnu/packages/storage.scm index b4f7d5e301..9e64b9417f 100644 --- a/gnu/packages/storage.scm +++ b/gnu/packages/storage.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017, 2018, 2019, 2020 Marius Bakke <mbakke@HIDDEN> ;;; Copyright © 2017 Rutger Helling <rhelling@HIDDEN> ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@HIDDEN> +;;; Copyright © 2021 Ryan Sundberg <ryan@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -55,14 +56,14 @@ (define-public ceph (package (name "ceph") - (version "14.2.16") + (version "14.2.21") (source (origin (method url-fetch) (uri (string-append "https://download.ceph.com/tarballs/ceph-" version ".tar.gz")) (sha256 (base32 - "0lmdri415hqczc9565s5m5568pnj97ipqxgnw6085kps0flwq5zh")) + "1hhdxrmp7a8n00kmx9s4bib84dvfal98x7i9c65p4q6nknlcdvdw")) (patches (search-patches "ceph-disable-cpu-optimizations.patch" "ceph-relative-paths.patch")) (modules '((guix build utils))) @@ -76,7 +77,6 @@ ;"src/zstd" ;"src/civetweb" ;"src/seastar/fmt" - "src/test/downloads" "src/c-ares" "src/googletest" "src/rapidjson" -- 2.31.1
guix-patches@HIDDEN
:bug#48889
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 6 Jun 2021 22:12:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 06 18:12:54 2021 Received: from localhost ([127.0.0.1]:54102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lq10m-0003gd-Uy for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 18:12:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:56240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ryan@HIDDEN>) id 1lpxsy-0002tQ-Er for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 14:52:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ryan@HIDDEN>) id 1lpxsy-0002kC-5s for guix-patches@HIDDEN; Sun, 06 Jun 2021 14:52:36 -0400 Received: from mail.arctype.co ([138.68.9.245]:48079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ryan@HIDDEN>) id 1lpxsw-0008Bx-LX for guix-patches@HIDDEN; Sun, 06 Jun 2021 14:52:35 -0400 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id 90E5911F07C; Sun, 6 Jun 2021 11:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arctype.co; s=mail; t=1623005553; bh=JmWAd3G/ya4HiHbmoLCzSsE79WHkrJyQaVwDaJ5NeeM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EIzij1AGQ8JGOfdDvfuQK5YzaI++41wcOk1ocDkvIbrhmpzIsQ3ZQRq36FGMj4zK0 3jmEnrJ7KYM3guVo7+aNnN9z9Xv3+xhnCh261q9dboT4I0nlevhw/UMzOtjFA+ChTW vQCwwXBfQKX2V8p8guULU7HzG7oDziOJaGw9Wk6buq4mJa9asMJt8naqldr8O3xvfh HtBUAznF7wG2Vry5ZLfSuGZzdHxD11bD3D9IMB1d6AiCkPst57fawNUj+gD4DFaMcx hJPE2sv8N+eDnxrI6FbagjQqu84LIiqycNT27u6z3r6Pd0bIYsKDC/B9xe5kw1Wdz7 tHpJy6U8V/Q7Q== From: Ryan Sundberg <ryan@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH 4/4] bpftool: new package Date: Sun, 6 Jun 2021 11:52:04 -0700 Message-Id: <20210606185204.17617-4-ryan@HIDDEN> In-Reply-To: <20210606185204.17617-1-ryan@HIDDEN> References: <20210606185204.17617-1-ryan@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=138.68.9.245; envelope-from=ryan@HIDDEN; helo=mail.arctype.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 06 Jun 2021 18:12:49 -0400 Cc: Ryan Sundberg <ryan@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Adds the bpftool package from the Linux kernel source tree. --- gnu/packages/linux.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c8ec310665..06bb344475 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -54,6 +54,7 @@ ;;; Copyright © 2020 David Dashyan <mail@HIDDEN> ;;; Copyright © 2020 pukkamustard <pukkamustard@HIDDEN> ;;; Copyright © 2021 B. Wilson <elaexuotee@HIDDEN> +;;; Copyright © 2021 Ryan Sundberg <ryan@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -8108,3 +8109,42 @@ Availability and Serviceability} reports from Linux kernel trace events. These trace events are logged in @file{/sys/kernel/debug/tracing} and reported through standard log mechanisms like syslog.") (license license:gpl2))) + +(define-public bpftool + (package + (name "bpftool") + (version (package-version linux-libre)) + (source (package-source linux-libre)) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'configure 'chdir + (lambda _ (chdir "tools/bpf") #t)) + (delete 'configure) + (replace 'build + (lambda _ (invoke "make" "CC=gcc" "bpftool") #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/sbin")) + (mkdir-p (string-append out "/share/bash-completion/completions")) + (invoke "make" + (string-append "prefix=" out) + (string-append "bash_compdir=" out "/share/bash-completion/completions") + "-C" "bpftool" + "install") + #t)))))) + (inputs + `(("bison" ,bison) + ("python" ,python-3) + ("readline" ,readline))) + (propagated-inputs + `(("libcap" ,libcap) + ("libelf" ,libelf) + ("zlib" ,zlib))) + (home-page (package-home-page linux-libre)) + (synopsis "bpftool is a tool for inspection and simple manipulation of eBPF programs and maps") + (description "*bpftool* allows for inspection and simple modification of BPF objects on the system. Note that format of the output of all tools is not guaranteed to be stable and should not be depended upon.") + (license (package-license linux-libre)))) -- 2.31.1
guix-patches@HIDDEN
:bug#48889
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 6 Jun 2021 22:12:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 06 18:12:52 2021 Received: from localhost ([127.0.0.1]:54100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lq10k-0003gY-RF for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 18:12:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:56232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ryan@HIDDEN>) id 1lpxst-0002t7-2Q for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 14:52:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ryan@HIDDEN>) id 1lpxss-0002ju-D9 for guix-patches@HIDDEN; Sun, 06 Jun 2021 14:52:30 -0400 Received: from mail.arctype.co ([138.68.9.245]:55384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ryan@HIDDEN>) id 1lpxsq-00084g-Bl for guix-patches@HIDDEN; Sun, 06 Jun 2021 14:52:30 -0400 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id 087CD11FB7C; Sun, 6 Jun 2021 11:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arctype.co; s=mail; t=1623005547; bh=wdgPSt3GvZQvZ4M72O3bDobFAG/RZbq/LnxQpD1ecQ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bLxLviQrb016QiJLNNmDjrz8NDgGQzcqi6lBSsRbPcZu9JxbKE9SIS35N7BuxZUUa p/fvdVK3ckrcuYdvvqs1aUenS8AB4jUJy24QERQtd+1CCAieJmDNv29V9AZ3Qb2z/a rOhlaYAvPYEb6ElIjAVP9n4p7LvkyIv/3s3ameoqBk1SbAPQMd1pou82T+M+ZlOyKi 7jWBTMtKTRSp3S/BEIAbgf/KBqP+RhpWsro9Z2ekuoE0NdCwkbGS0ijqQbWpF16lzN 9+KyoCuttqGD9vB8mAH1/GrdmPzU8ZXB+Wi2y8OI84MMGZ1usAuEhc92Ofoa31R1wz FNo0bi4gRXWZQ== From: Ryan Sundberg <ryan@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH 2/4] Ceph: patch rbd to use $PATH lookups for modprobe Date: Sun, 6 Jun 2021 11:52:02 -0700 Message-Id: <20210606185204.17617-2-ryan@HIDDEN> In-Reply-To: <20210606185204.17617-1-ryan@HIDDEN> References: <20210606185204.17617-1-ryan@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=138.68.9.245; envelope-from=ryan@HIDDEN; helo=mail.arctype.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 06 Jun 2021 18:12:49 -0400 Cc: Ryan Sundberg <ryan@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Removes hardcoded paths assumed in /sbin and /bin compiled into the `rbd` tool. Patch originally discussed at https://github.com/ceph/ceph/pull/20938 and rejected by upstream for ambiguous security concerns related to relative paths. --- .../patches/ceph-relative-paths.patch | 22 +++++++++++++++++++ gnu/packages/storage.scm | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/ceph-relative-paths.patch diff --git a/gnu/packages/patches/ceph-relative-paths.patch b/gnu/packages/patches/ceph-relative-paths.patch new file mode 100644 index 0000000000..e1b1d3599f --- /dev/null +++ b/gnu/packages/patches/ceph-relative-paths.patch @@ -0,0 +1,22 @@ +diff --git a/src/common/module.c b/src/common/module.c +index f19f74324c..53355b8185 100644 +--- a/src/common/module.c ++++ b/src/common/module.c +@@ -66,7 +66,7 @@ int module_has_param(const char *module, const char *param) + char command[128]; + + snprintf(command, sizeof(command), +- "/sbin/modinfo -F parm %s | /bin/grep -q ^%s:", ++ "modinfo -F parm %s | grep -q ^%s:", + module, param); + + return run_command(command) == 0; +@@ -76,7 +76,7 @@ int module_load(const char *module, const char *options) + { + char command[128]; + +- snprintf(command, sizeof(command), "/sbin/modprobe %s %s", ++ snprintf(command, sizeof(command), "modprobe %s %s", + module, (options ? options : "")); + + return run_command(command); diff --git a/gnu/packages/storage.scm b/gnu/packages/storage.scm index d53327df75..b4f7d5e301 100644 --- a/gnu/packages/storage.scm +++ b/gnu/packages/storage.scm @@ -64,7 +64,7 @@ (base32 "0lmdri415hqczc9565s5m5568pnj97ipqxgnw6085kps0flwq5zh")) (patches - (search-patches "ceph-disable-cpu-optimizations.patch")) + (search-patches "ceph-disable-cpu-optimizations.patch" "ceph-relative-paths.patch")) (modules '((guix build utils))) (snippet '(begin -- 2.31.1
guix-patches@HIDDEN
:bug#48889
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 6 Jun 2021 21:57:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 06 17:57:56 2021 Received: from localhost ([127.0.0.1]:54083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lq0mJ-0003JM-BQ for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 17:57:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:56236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ryan@HIDDEN>) id 1lpxst-0002t8-Eb for submit <at> debbugs.gnu.org; Sun, 06 Jun 2021 14:52:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ryan@HIDDEN>) id 1lpxst-0002jz-5v for guix-patches@HIDDEN; Sun, 06 Jun 2021 14:52:31 -0400 Received: from mail.arctype.co ([138.68.9.245]:39183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ryan@HIDDEN>) id 1lpxsq-00081t-8u for guix-patches@HIDDEN; Sun, 06 Jun 2021 14:52:30 -0400 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id 7B61011F07C; Sun, 6 Jun 2021 11:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arctype.co; s=mail; t=1623005543; bh=xhQ3qw0PDcRP9yO8WEMW9EvccslGCx7e0/YcYifLI+4=; h=From:To:Cc:Subject:Date:From; b=W7VYCBY+vkyLNOCDm4arp5RKJDGRaRcUabyN+KK05OH8PSBGTIw6BSGOERJN3G6xe uffSQy1puARIfIbB/ftb1Th0gNahRyIB1Yomz+WW2YgWkZP2Ua/SFbwEj0nZ237451 APH+dIo38nA6+SkL80jPEHvjlmKhZa2qqlk5rDQKROz1jQI/TzpvEYW4yYeO3yEUH4 PxjPHIqolTouP1lxCTuRdr2+iWQWe3Jo31PHN62VhBGJzwhyt5GKq9Q48iowa/cgdF bqEkM6ok+aClAWByQqHpJuz+YlOnLF1c3ajmUiYp38XtXTttqMcgNRs7sTL/n5qT3a tnxx6kSKMea/g== From: Ryan Sundberg <ryan@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH 1/4] New package: bird bgp daemon, versions 1 and 2 Date: Sun, 6 Jun 2021 11:52:01 -0700 Message-Id: <20210606185204.17617-1-ryan@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=138.68.9.245; envelope-from=ryan@HIDDEN; helo=mail.arctype.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 06 Jun 2021 17:57:53 -0400 Cc: Ryan Sundberg <ryan@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Adds the bird BGP daemon to gnu/packages/bird.scm --- gnu/packages/bird.scm | 74 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 gnu/packages/bird.scm diff --git a/gnu/packages/bird.scm b/gnu/packages/bird.scm new file mode 100644 index 0000000000..5fac395906 --- /dev/null +++ b/gnu/packages/bird.scm @@ -0,0 +1,74 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Ryan Sundberg <ryan@HIDDEN> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages bird) + #:use-module (gnu packages autotools) + #:use-module (gnu packages bison) + #:use-module (gnu packages flex) + #:use-module (gnu packages ncurses) + #:use-module (gnu packages readline) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system gnu) + #:use-module (guix licenses)) + +(define-public bird-1 + (package + (name "bird") + (version "1.6.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.nic.cz/labs/bird.git") + (commit (string-append "v" version)))) + (sha256 (base32 "0vbjp42c2zqmcrqcwm4g4fq1v93l6rlk0c27i0k08f3v07w75cih")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--enable-ipv6") + #:tests? #f + #:phases (modify-phases %standard-phases + ; Fix "cc not found" in tools/mergedirs + (add-after 'bootstrap 'set-cc + (lambda _ + (setenv "CPP" "gcc -E") + #t))))) + (inputs + `(("autoconf" ,autoconf) + ("bison" ,bison) + ("flex" ,flex) + ("ncurses" ,ncurses) + ("readline" ,readline))) + (home-page "http://bird.network.cz/") + (synopsis "BIRD Internet Routing Daemon") + (description "The BIRD project aims to develop a dynamic IP routing daemon with full support of all modern routing protocols, easy to use configuration interface and powerful route filtering language, primarily targeted on (but not limited to) Linux and other UNIX-like systems and distributed under the GNU General Public License.") + (license gpl2+))) + +(define-public bird + (package + (inherit bird-1) + (version "2.0.8") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.nic.cz/labs/bird.git") + (commit (string-append "v" version)))) + (sha256 (base32 "07mh41hsmkcpf6f6lnygzp6g59jma542pcqdkl54ysiqnjmi5zz1")))) + (arguments + `(#:configure-flags '("--enable-ipv6"))))) -- 2.31.1
Ryan Sundberg <ryan@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#48889
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.