From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4lv1-0002PO-5x for guix-patches@gnu.org; Sat, 07 Apr 2018 07:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4lv0-0006qQ-9x for guix-patches@gnu.org; Sat, 07 Apr 2018 07:22:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32946) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f4lv0-0006qH-6r for guix-patches@gnu.org; Sat, 07 Apr 2018 07:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f4lv0-00081E-0Y for guix-patches@gnu.org; Sat, 07 Apr 2018 07:22:02 -0400 Subject: [bug#31087] [PATCH] gnu: Add libcgroup. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4luU-0002IS-4I for guix-patches@gnu.org; Sat, 07 Apr 2018 07:21:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4luT-0006SN-86 for guix-patches@gnu.org; Sat, 07 Apr 2018 07:21:30 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4luT-0006SH-4N for guix-patches@gnu.org; Sat, 07 Apr 2018 07:21:29 -0400 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Date: Sat, 7 Apr 2018 13:21:25 +0200 Message-Id: <20180407112125.18650-1-sleep_walker@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31087@debbugs.gnu.org * gnu/packages/linux.scm (libcgroup): New variable. --- gnu/packages/linux.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index b6333af99..18956bd0f 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4562,3 +4562,32 @@ text-mode or graphical applications that don't use a display server. Also included is @command{fbgrab}, a wrapper around @command{fbcat} that emulates the behaviour of Gunnar Monell's older fbgrab utility.") (license license:gpl2))) + +(define-public libcgroup + (package + (name "libcgroup") + (version "0.41") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/libcg/" name "/" + version "/" name "-" version ".tar.bz2")) + (sha256 + (base32 "0lgvyq37gq84sk30sg18admxaj0j0p5dq3bl6g74a1ppgvf8pqz4")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; tests try to mount cgroup filesystem and fails because it seems it + ;; can't be mounted twice + ;; let's disable it + (delete 'check)))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex) + ("linux-pam" ,linux-pam))) + (home-page "https://sourceforge.net/projects/libcg/") + (synopsis "Userspace interface to control groups features in Linux kernel") + (description "TBD") + (license license:lgpl2.1))) -- 2.16.3