From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCH] gnu: Add libcap-ng. Date: Sun, 08 Feb 2015 23:06:21 -0500 Message-ID: <87vbjbsp8i.fsf@netris.org> References: <874mqwgoeg.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKfc9-0004Fz-Li for guix-devel@gnu.org; Sun, 08 Feb 2015 23:06:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKfc4-0007Hv-Mm for guix-devel@gnu.org; Sun, 08 Feb 2015 23:06:25 -0500 Received: from world.peace.net ([50.252.239.5]:41171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKfc4-0007Hq-JB for guix-devel@gnu.org; Sun, 08 Feb 2015 23:06:20 -0500 In-Reply-To: <874mqwgoeg.fsf@taylan.uni.cx> ("Taylan Ulrich \=\?utf-8\?Q\?\=5C\=22Bay\=C4\=B1rl\=C4\=B1\=2FKammer\=5C\=22\=22's\?\= message of "Sun, 08 Feb 2015 21:05:11 +0100") 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: Taylan Ulrich =?utf-8?Q?=22Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer=22?= Cc: guix-devel@gnu.org taylanbayirli@gmail.com (Taylan Ulrich "Bay=C4=B1rl=C4=B1/Kammer") writes: > From bb312c479e9f3384fc85abfa1d7be543a3cc0fa3 Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?Taylan=3D20Ulrich=3D20Bay=3DC4=3DB1rl=3DC4=3DB1/Kammer?= =3D > > 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)) >=20=20 > (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 exampl= e, 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 f= rom > +various ways that may be running with too much privilege.") > + (license gpl2+))) The programs are gpl2+ licensed, but the library has license lgpl2.1+. Therefore you should write (license (list lgpl2.1+ gpl2+)) and include a comment clarifying the situation. Also add your copyright notice. Otherwise looks good to me. Thanks, Mark