From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: [PATCH] gnu: Add libcap-ng. Date: Sun, 08 Feb 2015 21:05:11 +0100 Message-ID: <874mqwgoeg.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: text/x-diff Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKY6U-0003yM-WE for guix-devel@gnu.org; Sun, 08 Feb 2015 15:05:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKY6U-0002mY-0w for guix-devel@gnu.org; Sun, 08 Feb 2015 15:05:14 -0500 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:63175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKY6T-0002ls-Pq for guix-devel@gnu.org; Sun, 08 Feb 2015 15:05:13 -0500 Received: by mail-wg0-f46.google.com with SMTP id a1so1636286wgh.5 for ; Sun, 08 Feb 2015 12:05:13 -0800 (PST) Received: from taylan.uni.cx (p200300514A1A69220213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a1a:6922:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id r3sm11340452wic.10.2015.02.08.12.05.12 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 08 Feb 2015 12:05:12 -0800 (PST) Content-Disposition: inline; filename=0001-gnu-Add-libcap-ng.patch Content-Description: patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org >From bb312c479e9f3384fc85abfa1d7be543a3cc0fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Sun, 8 Feb 2015 15:45:30 +0100 Subject: [PATCH 1/2] gnu: Add libcap-ng. * gnu/packages/admin.scm (libcap-ng): New variable. --- gnu/packages/admin.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index b1666bd..dacae60 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -52,7 +52,8 @@ #:use-module (gnu packages libusb) #:use-module (gnu packages libftdi) #:use-module (gnu packages image) - #:use-module (gnu packages xorg)) + #:use-module (gnu packages xorg) + #:use-module (gnu packages python)) (define-public dmd (package @@ -1000,3 +1001,28 @@ within the file system where it occurred. Thus, \"direvent\" provides an easy way to react immediately if given files undergo changes, for example, to track changes in important system configuration files.") (license gpl3+))) + +(define-public libcap-ng + (package + (name "libcap-ng") + (version "0.7.4") + (source (origin + (method url-fetch) + (uri (string-append + "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-" + version ".tar.gz")) + (sha256 + (base32 + "0ssvnh4cvhya0c1j6k6192zvqcq7nc0x01fb5nwhr0prfqr0i8j8")))) + (build-system gnu-build-system) + (inputs `(("python" ,python))) + (home-page "http://people.redhat.com/sgrubb/libcap-ng/") + (synopsis "Library for more easily working with POSIX capabilities") + (description + "The libcap-ng library is intended to make programming with POSIX +capabilities easier than the traditional libcap library. It includes +utilities that can analyse all currently running applications and print out +any capabilities and whether or not it has an open ended bounding set. The +included utilities are designed to let admins and developers spot apps from +various ways that may be running with too much privilege.") + (license gpl2+))) -- 2.2.1