From 1e11506f730b08413c79555492d71563bef77a4f Mon Sep 17 00:00:00 2001 From: "B. Wilson" Date: Thu, 14 Sep 2023 14:55:13 +0900 Subject: gnu: Add ipvsadm. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/linux.scm (ipvsadm): New variable. Co-authored-by: Ludovic Courtès --- gnu/packages/linux.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 6cd9540da3..457e41f303 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -10509,6 +10509,46 @@ against the several transient execution CVEs that were published since early 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 (list linux-libre-headers pkg-config which)) + (inputs (list libnl popt)) + (arguments + (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") + (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+))) + (define-public ryzen-smu (package (name "ryzen-smu") -- cgit v1.2.3 k.sh?id=ff1146fb4f7254a8f644f89d7af6b4b566528603'>tests: Adjust to cope with glibc graft....This is a followup to 1328c4cca531318e3ed90c6aecb522a5b22a4bcc, which led to failures for tests that were not prepared to cope with that. * tests/guix-environment-container.sh (hello_drv_nested): Pass “-E GUIX_BUILD_OPTIONS” so ‘--no-grafts’ is passed. * tests/guix-pack.sh (GUIX_BUILD_OPTIONS): Add ‘--no-grafts’. * tests/transformations.scm ("options->transformation, with-graft"): Skip when ‘glibc-final’ has a replacement. Change-Id: Ia65c9aeb06f524252815b8290a5ca7bf97ee8136 Ludovic Courtès 2023-04-21tests: Fix checks for expected failures....Addresses <https://issues.guix.gnu.org/62406>. With 'set -e', a return status inverted with '!' does not cause the shell to exit immediately. Instead use '&& false' to indicate an expected failure. * tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment-container.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh, tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with '... && false' or `test ! ...` as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Eric Bavier 2023-02-27pack: Adjust shell tests to read-only tarball root....Fixes <https://issues.guix.gnu.org/61853>. Fixes a regression introduced in 68380db4c40a2ee1156349a87254fd7b1f1a52d5, whereby the tarball's root entry is now read-only, due to the creation of "profile-directory" in the store. * tests/guix-pack.sh: Remove and recreate $test_directory before transformation option test. * tests/guix-pack-relocatable.sh: Add "chmod +w $test_directory" lines before attempts to write to it. Ludovic Courtès 2022-11-15shell: Detect --symlink spec problems early....* guix/scripts/pack.scm (symlink-spec-option-parser): Remove extraneous char-set. Raise an exception when the target is an absolute file name. (guix-pack): Move with-error-handler earlier. * guix/scripts/shell.scm (guix-shell): Likewise. * guix/scripts/environment.scm (guix-environment): Wrap the whole guix-environment* call with the with-error-handling handler. * tests/guix-environment-container.sh: Add tests. * tests/guix-pack.sh: Adjust symlink spec. Maxim Cournoyer 2022-05-25tests: Fix wrong target triplets....* tests/gexp.scm (ungexp + ungexp-native, input list + ungexp-native, input list splicing + ungexp-native-splicing, gexp list splicinng + ungexp-splicing, gexp->derivation, cross-compilation, gexp->derivation, ungexp-native, gexp->derivation, ungexp + ungexp-native, gexp->derivation, ungexp-native + composed gexps): Change mips64el-linux to mips64el-linux-gnu. * tests/guix-pack.sh: Change arm-unknown-linux-gnueabihf to arm-linux-gnueabihf. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Josselin Poiret