Skip to contentSkip to conversation

package/collectd: bump version to 5.5.1

PATCH New Bernd Kuhls 2 participants 2 messages Jan 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/collectd: bump version to 5.5.1

Removed COLLECTD_AUTORECONF=yes because our patches applied were applied upstream:
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=780e6a76021a240e95007a04b723d827120afa95
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=3e3848349b753d78a0b1d19648fb394866856bda

---
 ...libavltree-libcommon-libheap-dependencies.patch | 21 ----------------
 package/collectd/0002-ipc-enable-gnu-source.patch  | 28 ----------------------
 package/collectd/collectd.hash                     |  4 ++--
 package/collectd/collectd.mk                       |  4 +---
 4 files changed, 3 insertions(+), 54 deletions(-)
 delete mode 100644 package/collectd/0001-build-add-libavltree-libcommon-libheap-dependencies.patch
 delete mode 100644 package/collectd/0002-ipc-enable-gnu-source.patch
package/collectd/0001-build-add-libavltree-libcommon-libheap-dependencies.patch deleted +0 -21
deleted file mode 100644
index 1ee1e7c..0000000
@@ -1,21 +0,0 @@
-build: add libavltree, libcommon & libheap dependencies
-
-Otherwise it can break on very parallel builds since collectd link time
-arrives before one or more of these were built.
-
-Status: requested github pull (patch slightly different for newer rev).
-
-Signed-off-by: Gustavo Zacarias <[email protected]>
-
-diff -Nura collectd-5.5.0.orig/src/daemon/Makefile.am collectd-5.5.0/src/daemon/Makefile.am
---- collectd-5.5.0.orig/src/daemon/Makefile.am	2015-07-06 10:01:17.820506239 -0300
-+++ collectd-5.5.0/src/daemon/Makefile.am	2015-07-06 10:02:03.364054763 -0300
-@@ -49,7 +49,7 @@
- collectd_CFLAGS = $(AM_CFLAGS)
- collectd_LDFLAGS = -export-dynamic
- collectd_LDADD = libavltree.la libcommon.la libheap.la -lm
--collectd_DEPENDENCIES =
-+collectd_DEPENDENCIES = libavltree.la libcommon.la libheap.la
- 
- # Link to these libraries..
- if BUILD_WITH_LIBRT
package/collectd/0002-ipc-enable-gnu-source.patch deleted +0 -28
deleted file mode 100644
index 459fdbd..0000000
@@ -1,28 +0,0 @@
-https://github.com/collectd/collectd/commit/3e3848349b753d78a0b1d19648fb394866856bda
-
-    ipc: enable _GNU_SOURCE to fix build with musl libc
-
-    This fixes compile the compile error:
-
-    > ipc.c:154:49: error: 'struct shm_info' has no member named 'used_ids'
-    >    ipc_submit_g("shm", "segments", NULL, shm_info.used_ids);
-    >                                                   ^
-
-    Fixes #1147
-
-Signed-off-by: Alex Suykov <[email protected]>
-
-diff --git a/src/ipc.c b/src/ipc.c
-index 3763f24..b403847 100644
---- a/src/ipc.c
-+++ b/src/ipc.c
-@@ -32,6 +32,9 @@
- #include "configfile.h"
- 
- #if KERNEL_LINUX
-+  /* _GNU_SOURCE is needed for struct shm_info.used_ids on musl libc */
-+# define _GNU_SOURCE
-+
-   /* X/OPEN tells us to use <sys/{types,ipc,sem}.h> for semctl() */
-   /* X/OPEN tells us to use <sys/{types,ipc,msg}.h> for msgctl() */
-   /* X/OPEN tells us to use <sys/{types,ipc,shm}.h> for shmctl() */
package/collectd/collectd.hash +2 -2
index 43bcfdd..3d982fe 100644
@@ -1,2 +1,2 @@
-# From http://collectd.org/download.shtml
-sha256	847684cf5c10de1dc34145078af3fcf6e0d168ba98c14f1343b1062a4b569e88	collectd-5.5.0.tar.bz2
+# From https://collectd.org/files/SHA256SUM
+sha256	f9c5d526e1f0429a7db1ccd90bdf9e23923a2fd43b7285cfda8f0341e5c0bc3f	collectd-5.5.1.tar.bz2
package/collectd/collectd.mk +1 -3
index d7fd8f9..06c5389 100644
@@ -4,15 +4,13 @@
 #
 ################################################################################
 
-COLLECTD_VERSION = 5.5.0
+COLLECTD_VERSION = 5.5.1
 COLLECTD_SITE = http://collectd.org/files
 COLLECTD_SOURCE = collectd-$(COLLECTD_VERSION).tar.bz2
 COLLECTD_CONF_ENV = ac_cv_lib_yajl_yajl_alloc=yes
 COLLECTD_INSTALL_STAGING = YES
 COLLECTD_LICENSE = GPLv2, LGPLv2.1
 COLLECTD_LICENSE_FILES = COPYING
-# For 0001-build-add-libavltree-libcommon-libheap-dependencies.patch
-COLLECTD_AUTORECONF = YES
 
 # These require unmet dependencies, are fringe, pointless or deprecated
 COLLECTD_PLUGINS_DISABLE = \
Signature · 1 line
2.7.0.rc3
#1 lore raw

PATCH 1/1 package/collectd: bump version to 5.5.1

Dear Bernd Kuhls,

Quoted 6 lines · Bernd Kuhls

Removed COLLECTD_AUTORECONF=yes because our patches applied were applied upstream:
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=780e6a76021a240e95007a04b723d827120afa95
http://git.verplant.org/?p=collectd.git;a=commitdiff;h=3e3848349b753d78a0b1d19648fb394866856bda

Quoted 8 lines
---
 ...libavltree-libcommon-libheap-dependencies.patch | 21 ----------------
 package/collectd/0002-ipc-enable-gnu-source.patch  | 28 ----------------------
 package/collectd/collectd.hash                     |  4 ++--
 package/collectd/collectd.mk                       |  4 +---
 4 files changed, 3 insertions(+), 54 deletions(-)
 delete mode 100644 package/collectd/0001-build-add-libavltree-libcommon-libheap-dependencies.patch
 delete mode 100644 package/collectd/0002-ipc-enable-gnu-source.patch

Aaah, this one, I like! I like when we can drop patches because they have been upstreamed, and when in addition to this we can drop a <pkg>_AUTORECONF = YES assignment.

I want more of such patches ! :-)

Obviously applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com