* [Buildroot] [PATCH 0/3] sysdig bump to 0.17.0
@ 2017-08-11 16:00 Angelo Compagnucci
2017-08-11 16:00 ` [Buildroot] [PATCH 1/3] package/libb64: new package Angelo Compagnucci
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Angelo Compagnucci @ 2017-08-11 16:00 UTC (permalink / raw)
To: buildroot
This patch series bumps sysdig to version 0.17.0,
adds a new package libb64 as a dependency and
fixes the staging installation for jq.
Angelo Compagnucci (3):
package/libb64: new package
package/jq: install to staging
package/sysdig: bump to version 0.17.0
package/Config.in | 1 +
package/jq/jq.mk | 1 +
package/libb64/Config.in | 12 ++++++++++++
package/libb64/libb64.hash | 3 +++
package/libb64/libb64.mk | 32 ++++++++++++++++++++++++++++++++
package/sysdig/Config.in | 5 +++++
package/sysdig/sysdig.hash | 2 +-
package/sysdig/sysdig.mk | 8 +++++---
8 files changed, 60 insertions(+), 4 deletions(-)
create mode 100644 package/libb64/Config.in
create mode 100644 package/libb64/libb64.hash
create mode 100644 package/libb64/libb64.mk
--
2.7.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/3] package/libb64: new package
2017-08-11 16:00 [Buildroot] [PATCH 0/3] sysdig bump to 0.17.0 Angelo Compagnucci
@ 2017-08-11 16:00 ` Angelo Compagnucci
2017-08-13 16:00 ` Arnout Vandecappelle
2017-08-11 16:00 ` [Buildroot] [PATCH 2/3] package/jq: install to staging Angelo Compagnucci
2017-08-11 16:00 ` [Buildroot] [PATCH 3/3] package/sysdig: bump to version 0.17.0 Angelo Compagnucci
2 siblings, 1 reply; 6+ messages in thread
From: Angelo Compagnucci @ 2017-08-11 16:00 UTC (permalink / raw)
To: buildroot
This patch adds libb64, a library of ANSI C routines for fast
encoding/decoding data into and from a base64-encoded format.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
package/Config.in | 1 +
package/libb64/Config.in | 12 ++++++++++++
package/libb64/libb64.hash | 3 +++
package/libb64/libb64.mk | 32 ++++++++++++++++++++++++++++++++
4 files changed, 48 insertions(+)
create mode 100644 package/libb64/Config.in
create mode 100644 package/libb64/libb64.hash
create mode 100644 package/libb64/libb64.mk
diff --git a/package/Config.in b/package/Config.in
index b5170b0..02022b2 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -984,6 +984,7 @@ menu "Crypto"
source "package/gcr/Config.in"
source "package/gnutls/Config.in"
source "package/libassuan/Config.in"
+ source "package/libb64/Config.in"
source "package/libgcrypt/Config.in"
source "package/libgpg-error/Config.in"
source "package/libgpgme/Config.in"
diff --git a/package/libb64/Config.in b/package/libb64/Config.in
new file mode 100644
index 0000000..a994731
--- /dev/null
+++ b/package/libb64/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LIBB64
+ bool "libb64"
+ help
+ libb64 is a library of ANSI C routines for fast encoding/decoding
+ data into and from a base64-encoded format. C++ wrappers are
+ included, as well as the source code for standalone encoding
+ and decoding executables.
+ Base64 uses a subset of displayable ASCII characters, and is
+ therefore a useful encoding for storing binary data in a text
+ file, such as XML, or sending binary data over text-only email.
+
+ http://libb64.sourceforge.net
diff --git a/package/libb64/libb64.hash b/package/libb64/libb64.hash
new file mode 100644
index 0000000..012a7b0
--- /dev/null
+++ b/package/libb64/libb64.hash
@@ -0,0 +1,3 @@
+# sha1 from sourceforge, sha256 locally computed
+sha1 04b3e21b8c951d27f02fe91249ca3474554af0b9 libb64-1.2.1.zip
+sha256 20106f0ba95cfd9c35a13c71206643e3fb3e46512df3e2efb2fdbf87116314b2 libb64-1.2.1.zip
diff --git a/package/libb64/libb64.mk b/package/libb64/libb64.mk
new file mode 100644
index 0000000..8130aef
--- /dev/null
+++ b/package/libb64/libb64.mk
@@ -0,0 +1,32 @@
+################################################################################
+#
+# libb64
+#
+################################################################################
+
+LIBB64_VERSION = 1.2.1
+LIBB64_SOURCE = libb64-$(LIBB64_VERSION).zip
+LIBB64_SITE = https://downloads.sourceforge.net/project/libb64/libb64/libb64
+LIBB64_LICENSE = Public Domain
+LIBB64_LICENSE_FILES = LICENSE
+LIBB64_INSTALL_STAGING = YES
+
+define LIBB64_EXTRACT_CMDS
+ unzip $(DL_DIR)/$(LIBB64_SOURCE) -d $(BUILD_DIR)
+endef
+
+define LIBB64_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CCFLAGS="$(TARGET_CFLAGS)" -C $(@D) all_src
+endef
+
+define LIBB64_INSTALL_STAGING_CMDS
+ $(INSTALL) -d -m 0755 $(STAGING_DIR)/usr/include/b64
+ $(INSTALL) -D -m 0755 $(@D)/include/b64/* $(STAGING_DIR)/usr/include/b64
+ $(INSTALL) -D -m 0755 $(@D)/src/libb64.a $(STAGING_DIR)/usr/lib
+endef
+
+define LIBB64_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/src/libb64.a $(STAGING_DIR)/usr/lib
+endef
+
+$(eval $(generic-package))
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/3] package/jq: install to staging
2017-08-11 16:00 [Buildroot] [PATCH 0/3] sysdig bump to 0.17.0 Angelo Compagnucci
2017-08-11 16:00 ` [Buildroot] [PATCH 1/3] package/libb64: new package Angelo Compagnucci
@ 2017-08-11 16:00 ` Angelo Compagnucci
2017-08-11 16:00 ` [Buildroot] [PATCH 3/3] package/sysdig: bump to version 0.17.0 Angelo Compagnucci
2 siblings, 0 replies; 6+ messages in thread
From: Angelo Compagnucci @ 2017-08-11 16:00 UTC (permalink / raw)
To: buildroot
Install the libraries to staging to be usable by other packages.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
package/jq/jq.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/jq/jq.mk b/package/jq/jq.mk
index 9a094ba..aecdba2 100644
--- a/package/jq/jq.mk
+++ b/package/jq/jq.mk
@@ -8,6 +8,7 @@ JQ_VERSION = 1.5
JQ_SITE = https://github.com/stedolan/jq/releases/download/jq-$(JQ_VERSION)
JQ_LICENSE = MIT (code), CC-BY-3.0 (documentation)
JQ_LICENSE_FILES = COPYING
+JQ_INSTALL_STAGING = YES
# uses c99 specific features
JQ_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/3] package/sysdig: bump to version 0.17.0
2017-08-11 16:00 [Buildroot] [PATCH 0/3] sysdig bump to 0.17.0 Angelo Compagnucci
2017-08-11 16:00 ` [Buildroot] [PATCH 1/3] package/libb64: new package Angelo Compagnucci
2017-08-11 16:00 ` [Buildroot] [PATCH 2/3] package/jq: install to staging Angelo Compagnucci
@ 2017-08-11 16:00 ` Angelo Compagnucci
2017-08-13 16:02 ` Arnout Vandecappelle
2 siblings, 1 reply; 6+ messages in thread
From: Angelo Compagnucci @ 2017-08-11 16:00 UTC (permalink / raw)
To: buildroot
This patch bumps sysdig to version 0.17.0 and updates the
dependencies accordingly.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
package/sysdig/Config.in | 5 +++++
package/sysdig/sysdig.hash | 2 +-
package/sysdig/sysdig.mk | 8 +++++---
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in
index dfb9db5..8b5ec48 100644
--- a/package/sysdig/Config.in
+++ b/package/sysdig/Config.in
@@ -8,6 +8,11 @@ config BR2_PACKAGE_SYSDIG
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_LUAJIT
select BR2_PACKAGE_JSONCPP
+ select BR2_PACKAGE_LIBCURL
+ select BR2_PACKAGE_NCURSES
+ select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_JQ
+ select BR2_PACKAGE_LIBB64
help
Sysdig is open source, system-level exploration:
capture system state and activity from a running Linux instance,
diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash
index f64ef9e..8305413 100644
--- a/package/sysdig/sysdig.hash
+++ b/package/sysdig/sysdig.hash
@@ -1,2 +1,2 @@
# locally computed
-sha256 e72490eaf413745aef87965a5abb1024908053064f86593b257f12bf5b0d6b97 sysdig-0.1.100.tar.gz
+sha256 f009acc32f2b15fcb0d2267bde6f6de9b3445179003c979ba61a8836abdb78f9 sysdig-0.17.0.tar.gz
diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk
index f967727..2d5ad23 100644
--- a/package/sysdig/sysdig.mk
+++ b/package/sysdig/sysdig.mk
@@ -4,13 +4,15 @@
#
################################################################################
-SYSDIG_VERSION = 0.1.100
+SYSDIG_VERSION = 0.17.0
SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION))
SYSDIG_LICENSE = GPL-2.0
SYSDIG_LICENSE_FILES = COPYING
SYSDIG_CONF_OPTS = -DUSE_BUNDLED_LUAJIT=OFF -DUSE_BUNDLED_ZLIB=OFF \
- -DUSE_BUNDLED_JSONCPP=OFF -DENABLE_DKMS=OFF
-SYSDIG_DEPENDENCIES = zlib luajit jsoncpp
+ -DUSE_BUNDLED_JSONCPP=OFF -DENABLE_DKMS=OFF -DUSE_BUNDLED_CURL=OFF \
+ -DUSE_BUNDLED_NCURSES=OFF -DUSE_BUNDLED_OPENSSL=OFF \
+ -DUSE_BUNDLED_JQ=OFF -DUSE_BUNDLED_B64=OFF
+SYSDIG_DEPENDENCIES = zlib luajit jsoncpp libcurl ncurses openssl jq libb64
SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO
# sysdig creates the module Makefile from a template, which contains a
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/3] package/libb64: new package
2017-08-11 16:00 ` [Buildroot] [PATCH 1/3] package/libb64: new package Angelo Compagnucci
@ 2017-08-13 16:00 ` Arnout Vandecappelle
0 siblings, 0 replies; 6+ messages in thread
From: Arnout Vandecappelle @ 2017-08-13 16:00 UTC (permalink / raw)
To: buildroot
On 11-08-17 18:00, Angelo Compagnucci wrote:
> This patch adds libb64, a library of ANSI C routines for fast
> encoding/decoding data into and from a base64-encoded format.
>
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Applied to next with significant changes:
- properly wrap Config.in
- move from Crypto to Other menu
- don't install to target
- don't make headers executable
- don't add -D to install with multiple source files
- extend commit log
Could you re-test the final version on the next branch?
One of the issues was the wrapping of Config.in. For future patches, please use
the check-package script before submitting.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/3] package/sysdig: bump to version 0.17.0
2017-08-11 16:00 ` [Buildroot] [PATCH 3/3] package/sysdig: bump to version 0.17.0 Angelo Compagnucci
@ 2017-08-13 16:02 ` Arnout Vandecappelle
0 siblings, 0 replies; 6+ messages in thread
From: Arnout Vandecappelle @ 2017-08-13 16:02 UTC (permalink / raw)
To: buildroot
On 11-08-17 18:00, Angelo Compagnucci wrote:
> This patch bumps sysdig to version 0.17.0 and updates the
> dependencies accordingly.
>
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Applied to next, thanks.
I also changed it to depend on GCC 4.8 because that's what upstream claims they
support - I haven't actually tested with GCC 4.7.
Note that this package doesn't get tested in the autobuilders since it depends
on the kernel. We really should find a solution for that...
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-08-13 16:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-11 16:00 [Buildroot] [PATCH 0/3] sysdig bump to 0.17.0 Angelo Compagnucci
2017-08-11 16:00 ` [Buildroot] [PATCH 1/3] package/libb64: new package Angelo Compagnucci
2017-08-13 16:00 ` Arnout Vandecappelle
2017-08-11 16:00 ` [Buildroot] [PATCH 2/3] package/jq: install to staging Angelo Compagnucci
2017-08-11 16:00 ` [Buildroot] [PATCH 3/3] package/sysdig: bump to version 0.17.0 Angelo Compagnucci
2017-08-13 16:02 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox