From patchwork Thu Sep 14 05:55:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "B. Wilson" X-Patchwork-Id: 53801 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B448E27BBEA; Thu, 14 Sep 2023 06:56:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B8B2827BBE2 for ; Thu, 14 Sep 2023 06:56:21 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgfKZ-0004xP-3J; Thu, 14 Sep 2023 01:55:59 -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 1qgfKX-0004xB-2j for guix-patches@gnu.org; Thu, 14 Sep 2023 01:55:57 -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 1qgfKW-0003Wd-PE for guix-patches@gnu.org; Thu, 14 Sep 2023 01:55:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgfKc-0004iR-D1 for guix-patches@gnu.org; Thu, 14 Sep 2023 01:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65936] [PATCH] gnu: Add ipvsadm. Resent-From: "B. Wilson" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Sep 2023 05:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65936 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65936@debbugs.gnu.org Cc: "B. Wilson" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169467095118108 (code B ref -1); Thu, 14 Sep 2023 05:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Sep 2023 05:55:51 +0000 Received: from localhost ([127.0.0.1]:36586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgfKO-0004hx-76 for submit@debbugs.gnu.org; Thu, 14 Sep 2023 01:55:51 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgfKK-0004hh-CF for submit@debbugs.gnu.org; Thu, 14 Sep 2023 01:55:47 -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 1qgfK8-0004pN-V5 for guix-patches@gnu.org; Thu, 14 Sep 2023 01:55:32 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgfK6-0003St-F8 for guix-patches@gnu.org; Thu, 14 Sep 2023 01:55:32 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1694670929; x=1694678129; h=Content-Transfer-Encoding: MIME-Version: Message-ID: Date: Subject: Subject: Cc: To: To: From: From: Sender: Sender; bh=N8MRNllZVW9gMXnfM0DTcQkTsyXhOkcrZ+/5Yc+cn4s=; b=Im6wu2wIg07WTlFw4HV4OySc5ryOQLTli6UEYE6vic+jKRd7tntvPXwXie9HNbc7x8UBt3oiY0t2W/FERBX3aalk5YnkOBbPSquJy6UIvGPjNYDRqzxpp5lgpDo51KMWi830scMuQCQ8iNNRh3Xf838AsVk8zockcfZXNUGup+u3ItHpEEa+VL3kTxq5gLp2kZ5v/40XOg/7sEmw+HILBtM6dLxFNBO6dMWgMgUUDyPejAssEGRmQINAvDqmBm6H0L+pm0kgGZ8QLuvdCf2YkNEm/JlIhp3Eh5KaGWs4afOeOyuVd4iGsWJknITXwr2RFoefXZ5LXJLezqv8fP1TLg== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI5MmEzMyIsImd1aXgtcGF0Y2hlc0BnbnUub3JnIiwiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by d69ea03e0bea with SMTP id 6502a051be9205796b857ae9 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Thu, 14 Sep 2023 05:55:29 GMT Received: from localhost (199.147.145.153.ap.dti.ne.jp [153.145.147.199]) by wilsonb.com (Postfix) with ESMTPSA id 35397A0571; Thu, 14 Sep 2023 05:55:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1694670927; bh=N8MRNllZVW9gMXnfM0DTcQkTsyXhOkcrZ+/5Yc+cn4s=; h=From:To:Cc:Subject:Date:From; b=5qFwY/NWoT2UT7rBPJ5Z1kzRFxfhe9QLpweEh7vPSKtKH2yrXjNOFw7YlYPXw+u0j oNRrk5vkjJmyy3OYH4mvVRg6OshNEXniOkt+vf9mq7ohmz2yQfBam/MhbWSirpmlHk sDkrxn+WVmiDZSfG0nJDmAQuEJJRy4V+zHtbqDFn/tYSScZ4JiQebyDBbWKfZnNDZF aBFqa0dAbfuN6QUMxtx7qvMNLVxUgwJRlVIMlEb08fZcoAoQCmqcOeRJcK2ioh3f6H 0YCRTG3U/u2ntB2lNXNEAedz/4f0ssjyriJDY0iAI+PKQX1s6ioFwCfbTvU1ay6L6K gFrWKF3WfVHQGCGovqVUvEItJTasVj/2W0SucCg19H8aIc1dzcwmFFPEJTgMi+h9KU qFWXk6586q7UAiaFWT8wLymYe6EWPqX/bf6DTofens9fAISY4Y7mGg6bFslSjMQuZa R2FQJ5p4HCUjZDG5qiOBYWJJ2BUSYQR9F0N0+Hu865fXbb7rkYGeMoxA1zaicDDigr 1niSL2NB8X57M+UO+YEJfanKalrbbwYXXzptYizkslQP7uQ0jX19SkCQ8c1kZY56x/ RtQqRmiCxRep7+9v48ulRSsZkTZ6UY3lyuqJYKMg1xZOXk0L0cIGjAfgh0B+iWYAtp 5INzk5v7xmo4GegnlWL6MpeM= Date: Thu, 14 Sep 2023 14:55:13 +0900 Message-ID: <20230914055514.19256-1-elaexuotee@wilsonb.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+686de0.08547a-guix-patches=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 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, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Reply-to: "B. Wilson" X-ACL-Warn: , "B. Wilson via Guix-patches" X-Patchwork-Original-From: "B. Wilson via Guix-patches" via From: "B. Wilson" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (ipvsadm): New variable. --- gnu/packages/linux.scm | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 91109c41d9..aa4bca1050 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -10414,3 +10414,49 @@ (define-public csmith (description "The primary purpose of Csmith is to find compiler bugs with random programs using differential testing.") (license license:bsd-4))) + +(define-public ipvsadm + (package + (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")))) + (build-system gnu-build-system) + (native-inputs `(("linux-libre-headers" ,linux-libre-headers) + ("pkg-config" ,pkg-config))) + (inputs `(("libnl" ,libnl) + ("popt" ,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)))))) + (home-page "http://www.linuxvirtualserver.org/software/ipvs.html") + (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.") + (license license:gpl2+)))