unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/1] gnu: Add libseccomp.
@ 2016-10-19  2:44 Leo Famulari
  2016-10-19 11:32 ` Marius Bakke
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2016-10-19  2:44 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/linux.scm (libseccomp): New variable.
---
 gnu/packages/linux.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 08fd7ac..2d82093 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3018,3 +3018,28 @@ of flash storage.")
       (list license:gpl2 ; Almost everything is gpl2 or gpl2+
             license:mpl1.1 ; All ftl* files
             license:expat)))) ; libiniparser
+
+(define-public libseccomp
+  (package
+    (name "libseccomp")
+    (version "2.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/seccomp/libseccomp/"
+                                  "releases/download/v" version
+                                  "/libseccomp-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0asnlkzqms520r0dra08dzcz5hh6hs7lkajfw9wij3vrd0hxsnzz"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("which" ,which)))
+    (synopsis "Interface to Linux's seccomp syscall filtering mechanism")
+    (description "The libseccomp library provides an easy to use, platform
+independent, interface to the Linux Kernel's syscall filtering mechanism.  The
+libseccomp API is designed to abstract away the underlying BPF based syscall
+filter language and present a more conventional function-call based filtering
+interface that should be familiar to, and easily adopted by, application
+developers.")
+    (home-page "https://github.com/seccomp/libseccomp")
+    (license license:lgpl2.1)))
-- 
2.10.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] gnu: Add libseccomp.
  2016-10-19  2:44 [PATCH 1/1] gnu: Add libseccomp Leo Famulari
@ 2016-10-19 11:32 ` Marius Bakke
  2016-10-19 17:01   ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2016-10-19 11:32 UTC (permalink / raw)
  To: Leo Famulari, guix-devel

Leo Famulari <leo@famulari.name> writes:

> * gnu/packages/linux.scm (libseccomp): New variable.

Nice. This LGTM and is reproducible. License appears correct.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] gnu: Add libseccomp.
  2016-10-19 11:32 ` Marius Bakke
@ 2016-10-19 17:01   ` Leo Famulari
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2016-10-19 17:01 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel

On Wed, Oct 19, 2016 at 12:32:38PM +0100, Marius Bakke wrote:
> Leo Famulari <leo@famulari.name> writes:
> 
> > * gnu/packages/linux.scm (libseccomp): New variable.
> 
> Nice. This LGTM and is reproducible. License appears correct.

Thanks for the review!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-19 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-19  2:44 [PATCH 1/1] gnu: Add libseccomp Leo Famulari
2016-10-19 11:32 ` Marius Bakke
2016-10-19 17:01   ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).