From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH 1/2] libseccomp: new package
Date: Tue, 9 Feb 2016 17:31:13 +0100 [thread overview]
Message-ID: <1455035474-14246-1-git-send-email-clemens.gruber@pqgruber.com> (raw)
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
rules/libseccomp.in | 13 ++++++++++++
rules/libseccomp.make | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
create mode 100644 rules/libseccomp.in
create mode 100644 rules/libseccomp.make
diff --git a/rules/libseccomp.in b/rules/libseccomp.in
new file mode 100644
index 0000000..ece48a2
--- /dev/null
+++ b/rules/libseccomp.in
@@ -0,0 +1,13 @@
+## SECTION=system_libraries
+
+config LIBSECCOMP
+ bool
+ prompt "libseccomp"
+ help
+ An Enhanced Seccomp (mode 2) Helper Library
+
+ 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.
diff --git a/rules/libseccomp.make b/rules/libseccomp.make
new file mode 100644
index 0000000..3ae5823
--- /dev/null
+++ b/rules/libseccomp.make
@@ -0,0 +1,56 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Clemens Gruber <clemens.gruber@pqgruber.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBSECCOMP) += libseccomp
+
+#
+# Paths and names
+#
+LIBSECCOMP_VERSION := 2.2.3
+LIBSECCOMP_MD5 := 7db418d35d7a6168400bf6b05502f8bf
+LIBSECCOMP := libseccomp-$(LIBSECCOMP_VERSION)
+LIBSECCOMP_SUFFIX := tar.gz
+LIBSECCOMP_URL := https://github.com/downloads/seccomp/libseccomp/$(LIBSECCOMP).$(LIBSECCOMP_SUFFIX)
+LIBSECCOMP_SOURCE := $(SRCDIR)/$(LIBSECCOMP).$(LIBSECCOMP_SUFFIX)
+LIBSECCOMP_DIR := $(BUILDDIR)/$(LIBSECCOMP)
+LIBSECCOMP_LICENSE := LGPL-2.1
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+LIBSECCOMP_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libseccomp.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libseccomp)
+ @$(call install_fixup, libseccomp, PRIORITY, optional)
+ @$(call install_fixup, libseccomp, SECTION, base)
+ @$(call install_fixup, libseccomp, AUTHOR, "Clemens Gruber <clemens.gruber@pqgruber.com>")
+ @$(call install_fixup, libseccomp, DESCRIPTION, missing)
+
+ @$(call install_lib, libseccomp, 0, 0, 0644, libseccomp)
+
+ @$(call install_finish, libseccomp)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.7.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2016-02-09 16:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-09 16:31 Clemens Gruber [this message]
2016-02-09 16:31 ` [ptxdist] [PATCH 2/2] systemd: add option for seccomp support Clemens Gruber
2016-02-11 11:33 ` Michael Olbrich
2016-02-11 11:32 ` [ptxdist] [PATCH 1/2] libseccomp: new package Michael Olbrich
2016-02-11 11:45 ` Clemens Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455035474-14246-1-git-send-email-clemens.gruber@pqgruber.com \
--to=clemens.gruber@pqgruber.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox