From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kNT8B75HMGWJGgEAG6o9tA:P1 (envelope-from ) for ; Wed, 18 Oct 2023 23:01:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kNT8B75HMGWJGgEAG6o9tA (envelope-from ) for ; Wed, 18 Oct 2023 23:01:50 +0200 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 AC95347363 for ; Wed, 18 Oct 2023 23:01:49 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="pGPW/ET3"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697662909; 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-to: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=/rn1BhtL4Cf/20u6YfYDdW+Wvrzn+4SnPeCYF5iu8uo=; b=WMCqSK2mTxD6HrYk2kFvCbKf0r9QQTaGIdjF4u1qaVhjqCU7olVzHzd9tVfqkIkETAWnEe akxfNCBERko7RUeVkUOpvk0+yDm+PhQz+8WaYWqTiu2s+9Y+/IOOlYzZSsNBxxhSqHms1K 72zJG8HKBcS45Uji0sb4perZYvfr5nxwo9OM4ycYP6linytbNIubvj+eibKYge3Eix3rf0 GRDBC6v+7zGwm6oF7fa2Lp4Uo6wFnsNKrj9zXhTkC1Y3oXzW3uhhvc/GWGs730Kv0H/3lS 9UdZ0+lE3SRgsHd9U2zn07m9hcFZ93jeSaVpra2iJNslzjIFiMwnUnw30/nhsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697662909; a=rsa-sha256; cv=none; b=u0UNcmx8ouPrQkUyFId5kgJY4KF6Zo2m+q4O8eJ8MeZ2n8SSuWd5Cptis7eZJaZWNbUpbD 9Yrl/joF1LiRkTp14A63+GIPvLLveAfVIM48nAmVDERFpQUeqhHi2/Shhb0F6HAOOcr+2h VkJuTVbTuvV1Ia4xrocursw8E3Jhsv0ISbhRn+pKzdi7b+shahx2M67CbACWdy+s7zgn6z gvgvcFjk8cDsEs7xIIStQnpM2K3+FVYmikWdIIxIEjGOKT7i7JkiQIsQx3F0DHRbGL0eMk ZQ95I1R5y8XXrT7EBuNVMU8wnYXXNFwPx8ONTaWWcGEwmzbkaVboQ7Y4aA5+yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="pGPW/ET3"; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtDfd-0000ZX-SU; Wed, 18 Oct 2023 17:01:37 -0400 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 1qtDfc-0000Z6-UP for guix-patches@gnu.org; Wed, 18 Oct 2023 17:01:36 -0400 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 1qtDfc-0004aF-Cj for guix-patches@gnu.org; Wed, 18 Oct 2023 17:01:36 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtDg2-0000cP-Ah for guix-patches@gnu.org; Wed, 18 Oct 2023 17:02:02 -0400 Subject: bug#65936: [PATCH] gnu: Add ipvsadm. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 18 Oct 2023 21:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65936 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "B. Wilson" Cc: 65936-done@debbugs.gnu.org Mail-Followup-To: 65936@debbugs.gnu.org, ludo@gnu.org, elaexuotee@wilsonb.com Received: via spool by 65936-done@debbugs.gnu.org id=D65936.16976628922334 (code D ref 65936); Wed, 18 Oct 2023 21:02:02 +0000 Received: (at 65936-done) by debbugs.gnu.org; 18 Oct 2023 21:01:32 +0000 Received: from localhost ([127.0.0.1]:34770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtDfX-0000bX-SI for submit@debbugs.gnu.org; Wed, 18 Oct 2023 17:01:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtDfU-0000bI-2t for 65936-done@debbugs.gnu.org; Wed, 18 Oct 2023 17:01:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtDey-0004Xo-AH; Wed, 18 Oct 2023 17:00:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=/rn1BhtL4Cf/20u6YfYDdW+Wvrzn+4SnPeCYF5iu8uo=; b=pGPW/ET3uSFB5wihXHMM epa/chhw2LcHFzT50KxNSHFTHV5PNlhSpQX+DrkmT5bmNS9b+9vuLERE8UyP2JN3bXnGGP4xx+17x IylQDOu7d/eu6nHvvnfihJCGDWDs+ESWC4p20xUKsefcHETQydbwFNgtrjX6eM8GmSyB8mJTX3GTK XxJYtcYg0OnUteifVdhGItQXBw31VnqNiZqs9+DFCGRdd7vzFpwHiIGc286wLyCtNtd2U4QL7hwP9 fWx5jKy4PbdkgaHybCXYyURbk2b1ihHfN8IVicmHDvPTgtBL0STd3OZ5yfZhDXwKt24RqCrldwP+t UgqHe87US1XLvQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <20230914055514.19256-1-elaexuotee@wilsonb.com> (B. Wilson's message of "Thu, 14 Sep 2023 14:55:13 +0900") References: <20230914055514.19256-1-elaexuotee@wilsonb.com> Date: Wed, 18 Oct 2023 23:00:53 +0200 Message-ID: <87ttqn4pdm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -5.85 X-Migadu-Queue-Id: AC95347363 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.85 X-TUID: rlo1yd8JNGmB --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "B. Wilson" skribis: > * gnu/packages/linux.scm (ipvsadm): New variable. I ran =E2=80=98guix style -S inputs=E2=80=99 and =E2=80=98guix style -S arg= uments=E2=80=99, and then I had to edit it quite a bit (see below). Committed. Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 08cc3823ed..457e41f303 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -10514,42 +10514,36 @@ (define-public ipvsadm (name "ipvsadm") (version "1.31") (source - (origin - (method url-fetch) - (uri (string-append "https://kernel.org/pub/linux/utils/kernel" - "/ipvsadm/ipvsadm-" version ".tar.xz")) - (sha256 - (base32 "1nyzpv1hx75k9lh0vfxfhc0p2fpqaqb38xpvs8sn88m1nljmw2hs")))) + (origin + (method url-fetch) + (uri (string-append "https://kernel.org/pub/linux/utils/kernel" + "/ipvsadm/ipvsadm-" version ".tar.xz")) + (sha256 + (base32 "1nyzpv1hx75k9lh0vfxfhc0p2fpqaqb38xpvs8sn88m1nljmw2hs")))) (build-system gnu-build-system) - (native-inputs `(("linux-libre-headers" ,linux-libre-headers) - ("pkg-config" ,pkg-config))) - (inputs `(("libnl" ,libnl) - ("popt" ,popt))) + (native-inputs (list linux-libre-headers pkg-config which)) + (inputs (list libnl popt)) (arguments - `(#:tests? #f - #:make-flags - (list (string-join - (list "CFLAGS=" - (string-append "-I" (assoc-ref %build-inputs "libnl") - "/include/libnl3") - (string-append "-L" (assoc-ref %build-inputs "libnl") - "/lib") - "-fPIC") - " ") - (string-append "CC=" ,(cc-for-target)) - (string-append "SBIN=" (assoc-ref %outputs "out") "/sbin") - (string-append "INIT=" (assoc-ref %outputs "out") "/etc/init.d") - (string-append "MANDIR=" (assoc-ref %outputs "out") "/share/man")) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (add-before 'build 'build-libs - (lambda* (#:key inputs make-flags #:allow-other-keys) - ;; XXX: libnl-* pkg-config checks are failing for some reason - (invoke "sed" "-i" "68,74d" "Makefile") - (apply invoke "make" "libs" make-flags)))))) + (list #:tests? #f + #:parallel-build? #f ;build fails randomly with '-j' + #:make-flags + #~(list (string-join + (list "CFLAGS=" + (string-append "-I" + #$(this-package-input "libnl") + "/include/libnl3") + (string-append "-L" #$(this-package-input "libnl") + "/lib") + "-fPIC") + " ") + (string-append "CC=" #$(cc-for-target)) + (string-append "SBIN=" #$output "/sbin") + (string-append "INIT=" #$output "/etc/init.d") + (string-append "MANDIR=" #$output "/share/man")) + #:phases #~(modify-phases %standard-phases + (delete 'configure)))) (home-page "http://www.linuxvirtualserver.org/software/ipvs.html") - (synopsis "IP Virtual Server administration utility") + (synopsis "IP virtual server administration utility") (description "@code{ipvsadm(8)} is used to set up, maintain or inspect the virtual server table in the Linux kernel. The Linux Virtual Server can be used to build scalable network services based on a cluster of two or more nodes.") --=-=-=--