Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] Add libcap-ng package.
@ 2012-04-04 19:57 Peter Korsgaard
  2012-04-05  7:27 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2012-04-04 19:57 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=defa173e08a34723f7a168ea4b76b10578591d6c
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/Config.in              |    1 +
 package/libcap-ng/Config.in    |   10 ++++++++++
 package/libcap-ng/libcap-ng.mk |   12 ++++++++++++
 3 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index e1629c8..e4f7dd2 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -377,6 +377,7 @@ source "package/argp-standalone/Config.in"
 source "package/boost/Config.in"
 source "package/libatomic_ops/Config.in"
 source "package/libcap/Config.in"
+source "package/libcap-ng/Config.in"
 source "package/libdaemon/Config.in"
 source "package/libelf/Config.in"
 source "package/libevent/Config.in"
diff --git a/package/libcap-ng/Config.in b/package/libcap-ng/Config.in
new file mode 100644
index 0000000..d1663cd
--- /dev/null
+++ b/package/libcap-ng/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBCAP_NG
+	bool "libcap-ng"
+	help
+	  The libcap-ng library is intended to make programming with
+	  posix capabilities much 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.
+
+	  http://people.redhat.com/sgrubb/libcap-ng/
diff --git a/package/libcap-ng/libcap-ng.mk b/package/libcap-ng/libcap-ng.mk
new file mode 100644
index 0000000..6ea5de4
--- /dev/null
+++ b/package/libcap-ng/libcap-ng.mk
@@ -0,0 +1,12 @@
+#############################################################
+#
+# libcap-ng
+#
+#############################################################
+
+LIBCAP_NG_VERSION = 0.6.6
+LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng/
+LIBCAP_NG_SOURCE = libcap-ng-$(LIBCAP_NG_VERSION).tar.gz
+LIBCAP_NG_INSTALL_STAGING = YES
+
+$(eval $(call AUTOTARGETS))

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

* [Buildroot] [git commit] Add libcap-ng package.
  2012-04-04 19:57 [Buildroot] [git commit] Add libcap-ng package Peter Korsgaard
@ 2012-04-05  7:27 ` Thomas Petazzoni
  2012-04-05  7:49   ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2012-04-05  7:27 UTC (permalink / raw)
  To: buildroot

Le Wed, 4 Apr 2012 21:57:47 +0200,
Peter Korsgaard <jacmet@sunsite.dk> a ?crit :

> --- /dev/null
> +++ b/package/libcap-ng/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_LIBCAP_NG
> +	bool "libcap-ng"
> +	help
> +	  The libcap-ng library is intended to make programming with
> +	  posix capabilities much 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.
> +
> +	  http://people.redhat.com/sgrubb/libcap-ng/

This new package should probably depends on BR2_LARGEFILE, or get some
sort of fix for largefile support. See:

http://autobuild.buildroot.org/results/7aab0aecc3a49b55d65f168bb2a7165bcfc62acb/build-end.log
http://autobuild.buildroot.org/results/22ec96b9a821c89ebba804f71b97707718038549/build-end.log
http://autobuild.buildroot.org/results/15d94ece63b89517d8d896785fec5085a573e740/build-end.log
http://autobuild.buildroot.org/results/b76c3195656fa96ffa8446ac03bde51690a4dc90/build-end.log

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] [git commit] Add libcap-ng package.
  2012-04-05  7:27 ` Thomas Petazzoni
@ 2012-04-05  7:49   ` Peter Korsgaard
  2012-04-05  8:04     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2012-04-05  7:49 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

Hi,

 Thomas> Le Wed, 4 Apr 2012 21:57:47 +0200,
 Thomas> Peter Korsgaard <jacmet@sunsite.dk> a ?crit :

 >> --- /dev/null
 >> +++ b/package/libcap-ng/Config.in
 >> @@ -0,0 +1,10 @@
 >> +config BR2_PACKAGE_LIBCAP_NG
 >> +	bool "libcap-ng"
 >> +	help
 >> +	  The libcap-ng library is intended to make programming with
 >> +	  posix capabilities much 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.
 >> +
 >> +	  http://people.redhat.com/sgrubb/libcap-ng/

 Thomas> This new package should probably depends on BR2_LARGEFILE, or get some
 Thomas> sort of fix for largefile support. See:

Seems like it, but only for the python bindings. The library itself
builds fine without largefile support (I tested that).

It should also ensure it builds after python if enabled for the
bindings.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [git commit] Add libcap-ng package.
  2012-04-05  7:49   ` Peter Korsgaard
@ 2012-04-05  8:04     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2012-04-05  8:04 UTC (permalink / raw)
  To: buildroot

Le Thu, 05 Apr 2012 09:49:17 +0200,
Peter Korsgaard <jacmet@uclibc.org> a ?crit :

> Seems like it, but only for the python bindings. The library itself
> builds fine without largefile support (I tested that).
> 
> It should also ensure it builds after python if enabled for the
> bindings.

And disable the build of the Python bindings if Python is not selected
as a package for the target.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2012-04-05  8:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04 19:57 [Buildroot] [git commit] Add libcap-ng package Peter Korsgaard
2012-04-05  7:27 ` Thomas Petazzoni
2012-04-05  7:49   ` Peter Korsgaard
2012-04-05  8:04     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox