public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Updates and bug fixes
@ 2014-12-10  5:55 Saul Wold
  2014-12-10  5:55 ` [PATCH 1/6][v4] procps: Upgrade to 3.3.10 Saul Wold
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Saul Wold @ 2014-12-10  5:55 UTC (permalink / raw)
  To: openembedded-core

The nss* tarballs have been removed so we need to use the git repos at 
0pointer. These git repos need to build the README, but use lynx, so disable 
for now.

Sau!

The following changes since commit 219e793907406eabf632e784e3a11ab9acb77cfb:

  qemu/libc-package: Fix qemu option handling (2014-12-05 17:59:42 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib sgw/updates
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/updates

Saul Wold (6):
  procps: Upgrade to 3.3.10
  babeltrace: Update to 1.2.4
  npth: npth needs pthread in some cases
  libdaemon: Convert to git
  libnss-mdns: Convert to git
  nss-myhostname: Convert to git

 .../libnss-mdns/libnss-mdns-disable-docs.patch     |  23 +++++
 .../libnss-mdns/libnss-mdns_0.10.bb                |  10 +-
 .../procps-3.2.8/0001-Fix-musl-build-failure.patch |  29 ------
 .../procps-3.2.8/60_linux_version_init.patch       |  54 ----------
 .../procps/procps-3.2.8/detect_bitness.patch       |  26 -----
 .../procps/procps-3.2.8/gnu-kbsd-version.patch     |  44 --------
 .../procps/procps-3.2.8/install.patch              |  39 --------
 .../procps/procps-3.2.8/linux-limits.patch         |  15 ---
 .../procps/procps-3.2.8/procmodule.patch           |  38 -------
 .../procps-3.2.8/procps-3.2.7-top-remcpu.patch     | 111 ---------------------
 .../procps-3.2.8/procps-3.2.8+gmake-3.82.patch     |  19 ----
 .../procps-3.2.8/procps-3.2.8-ps-cgroup.patch      |  82 ---------------
 .../procps/procps-3.2.8/psmodule.patch             |  23 -----
 meta/recipes-extended/procps/procps.inc            |  31 ------
 .../procps/procps/fix-configure.patch              |  19 ++++
 .../procps/{procps-3.2.8 => procps}/sysctl.conf    |   0
 meta/recipes-extended/procps/procps_3.2.8.bb       |  37 -------
 meta/recipes-extended/procps/procps_3.3.10.bb      |  62 ++++++++++++
 .../{babeltrace_1.2.3.bb => babeltrace_1.2.4.bb}   |   4 +-
 meta/recipes-support/libdaemon/libdaemon_0.14.bb   |  13 +--
 meta/recipes-support/npth/npth/pkgconfig.patch     |   3 +-
 .../nss-myhostname-disable-docs.patch              |  25 +++++
 .../nss-myhostname/nss-myhostname_0.3.bb           |  12 ++-
 23 files changed, 153 insertions(+), 566 deletions(-)
 create mode 100644 meta/recipes-connectivity/libnss-mdns/libnss-mdns/libnss-mdns-disable-docs.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/0001-Fix-musl-build-failure.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/60_linux_version_init.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/gnu-kbsd-version.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/install.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/linux-limits.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procmodule.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procps-3.2.7-top-remcpu.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8+gmake-3.82.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8-ps-cgroup.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/psmodule.patch
 delete mode 100644 meta/recipes-extended/procps/procps.inc
 create mode 100644 meta/recipes-extended/procps/procps/fix-configure.patch
 rename meta/recipes-extended/procps/{procps-3.2.8 => procps}/sysctl.conf (100%)
 delete mode 100644 meta/recipes-extended/procps/procps_3.2.8.bb
 create mode 100644 meta/recipes-extended/procps/procps_3.3.10.bb
 rename meta/recipes-kernel/lttng/{babeltrace_1.2.3.bb => babeltrace_1.2.4.bb} (89%)
 create mode 100644 meta/recipes-support/nss-myhostname/nss-myhostname/nss-myhostname-disable-docs.patch

-- 
1.8.3.1



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

* [PATCH 1/6][v4] procps: Upgrade to 3.3.10
  2014-12-10  5:55 [PATCH 0/6] Updates and bug fixes Saul Wold
@ 2014-12-10  5:55 ` Saul Wold
  2014-12-10  5:55 ` [PATCH 2/6] babeltrace: Update to 1.2.4 Saul Wold
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Saul Wold @ 2014-12-10  5:55 UTC (permalink / raw)
  To: openembedded-core

This is now the procps-ng version

cleaned up patches
added to fix up usrbin_execprefix in OE-Core

Add CPPFLAGS to allow seperate build directory works

[YOCTO #6952]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 .../procps-3.2.8/0001-Fix-musl-build-failure.patch |  29 ------
 .../procps-3.2.8/60_linux_version_init.patch       |  54 ----------
 .../procps/procps-3.2.8/detect_bitness.patch       |  26 -----
 .../procps/procps-3.2.8/gnu-kbsd-version.patch     |  44 --------
 .../procps/procps-3.2.8/install.patch              |  39 --------
 .../procps/procps-3.2.8/linux-limits.patch         |  15 ---
 .../procps/procps-3.2.8/procmodule.patch           |  38 -------
 .../procps-3.2.8/procps-3.2.7-top-remcpu.patch     | 111 ---------------------
 .../procps-3.2.8/procps-3.2.8+gmake-3.82.patch     |  19 ----
 .../procps-3.2.8/procps-3.2.8-ps-cgroup.patch      |  82 ---------------
 .../procps/procps-3.2.8/psmodule.patch             |  23 -----
 meta/recipes-extended/procps/procps.inc            |  31 ------
 .../procps/procps/fix-configure.patch              |  19 ++++
 .../procps/{procps-3.2.8 => procps}/sysctl.conf    |   0
 meta/recipes-extended/procps/procps_3.2.8.bb       |  37 -------
 meta/recipes-extended/procps/procps_3.3.10.bb      |  62 ++++++++++++
 16 files changed, 81 insertions(+), 548 deletions(-)
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/0001-Fix-musl-build-failure.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/60_linux_version_init.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/gnu-kbsd-version.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/install.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/linux-limits.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procmodule.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procps-3.2.7-top-remcpu.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8+gmake-3.82.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8-ps-cgroup.patch
 delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/psmodule.patch
 delete mode 100644 meta/recipes-extended/procps/procps.inc
 create mode 100644 meta/recipes-extended/procps/procps/fix-configure.patch
 rename meta/recipes-extended/procps/{procps-3.2.8 => procps}/sysctl.conf (100%)
 delete mode 100644 meta/recipes-extended/procps/procps_3.2.8.bb
 create mode 100644 meta/recipes-extended/procps/procps_3.3.10.bb

diff --git a/meta/recipes-extended/procps/procps-3.2.8/0001-Fix-musl-build-failure.patch b/meta/recipes-extended/procps/procps-3.2.8/0001-Fix-musl-build-failure.patch
deleted file mode 100644
index 71dc3f0..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/0001-Fix-musl-build-failure.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 6f2fd55ef7621fd7ab7897aee2c2651b6faf9e6a Mon Sep 17 00:00:00 2001
-From: Paul Barker <paul@paulbarker.me.uk>
-Date: Wed, 20 Aug 2014 11:56:11 +0200
-Subject: [PATCH] Fix musl build failure
-
-Include <limits.h> for PATH_MAX.
-
-Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
-
-Upstream-status: Pending
----
- proc/readproc.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/proc/readproc.c b/proc/readproc.c
-index 4fad11d..c5b1869 100644
---- a/proc/readproc.c
-+++ b/proc/readproc.c
-@@ -26,6 +26,7 @@
- #include <sys/dir.h>
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <limits.h>
- 
- // sometimes it's easier to do this manually, w/o gcc helping
- #ifdef PROF
--- 
-1.9.1
-
diff --git a/meta/recipes-extended/procps/procps-3.2.8/60_linux_version_init.patch b/meta/recipes-extended/procps/procps-3.2.8/60_linux_version_init.patch
deleted file mode 100644
index 203ccb3..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/60_linux_version_init.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-## 60_linux_init.dpatch by  <david.sugar@canonical.com>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix Linux version detection which relied on elf loader side-effect.
-## DP: This patch also depends on 40_gnu-kbsd-version, which modified
-## DP: init_Linux_version().
-
-@DPATCH@
-
-Upstream-Status: inappropriate [upstream unmaintained]
----
- proc/sysinfo.c |    1 +
- proc/version.c |    5 +++--
- proc/version.h |    1 +
- 3 files changed, 5 insertions(+), 2 deletions(-)
-
-Index: procps-3.2.8/proc/sysinfo.c
-===================================================================
---- procps-3.2.8.orig/proc/sysinfo.c
-+++ procps-3.2.8/proc/sysinfo.c
-@@ -212,6 +212,7 @@ static int check_for_privs(void){
- static void init_libproc(void) __attribute__((constructor));
- static void init_libproc(void){
-   have_privs = check_for_privs();
-+  init_Linux_version(); // make sure we have version before continuing...
-   // ought to count CPUs in /proc/stat instead of relying
-   // on glibc, which foolishly tries to parse /proc/cpuinfo
-   //
-Index: procps-3.2.8/proc/version.c
-===================================================================
---- procps-3.2.8.orig/proc/version.c
-+++ procps-3.2.8/proc/version.c
-@@ -33,8 +33,7 @@ void display_version(void) {
- 
- int linux_version_code;
- 
--static void init_Linux_version(void) __attribute__((constructor));
--static void init_Linux_version(void) {
-+void init_Linux_version(void) {
-     int x = 0, y = 0, z = 0;	/* cleared in case sscanf() < 2 */
-     FILE *fp;
-     char buf[256];
-Index: procps-3.2.8/proc/version.h
-===================================================================
---- procps-3.2.8.orig/proc/version.h
-+++ procps-3.2.8/proc/version.h
-@@ -14,6 +14,7 @@
- 
- EXTERN_C_BEGIN
- 
-+extern void init_Linux_version(void);	/* initialize linux version */
- extern void display_version(void);	/* display suite version */
- extern const char procps_version[];		/* global buf for suite version */
- 
diff --git a/meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch b/meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch
deleted file mode 100644
index 1523c3d..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Do not try to detect 64bit/32bit system
-we already feed that information via compiler
-defaults
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Upstream-Status: Inappropriate [OE specific]
-Index: procps-3.2.8/Makefile
-===================================================================
---- procps-3.2.8.orig/Makefile	2014-05-03 01:00:01.707387583 -0700
-+++ procps-3.2.8/Makefile	2014-05-03 08:53:08.087175369 -0700
-@@ -118,15 +118,6 @@
- # until you go looking for a 64-bit curses library.
- check_gcc = $(shell if $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) dummy.c $(ALL_LDFLAGS) $(1) -o /dev/null $(CURSES) > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
- 
--# Be 64-bit if at all possible. In a cross-compiling situation, one may
--# do "make m64=-m32 lib64=lib" to produce 32-bit executables. DO NOT
--# attempt to use a 32-bit executable on a 64-bit kernel. Packagers MUST
--# produce separate executables for ppc and ppc64, s390 and s390x,
--# i386 and x86-64, mips and mips64, sparc and sparc64, and so on.
--# Failure to do so will cause data corruption.
--m64 := $(call check_gcc,-m64,$(call check_gcc,-mabi=64,))
--ALL_CFLAGS += $(m64)
--
- ALL_CFLAGS += $(call check_gcc,-Wdeclaration-after-statement,)
- ALL_CFLAGS += $(call check_gcc,-Wpadded,)
- ALL_CFLAGS += $(call check_gcc,-Wstrict-aliasing,)
diff --git a/meta/recipes-extended/procps/procps-3.2.8/gnu-kbsd-version.patch b/meta/recipes-extended/procps/procps-3.2.8/gnu-kbsd-version.patch
deleted file mode 100644
index 2582857..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/gnu-kbsd-version.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Upstream-Status: Inappropriate [not author, no upstream]
-
-Imported from Debian.
-Source: http://anonscm.debian.org/gitweb/?p=collab-maint/procps.git;a=blob;f=debian/patches/gnu-kbsd-version.patch;h=fe5489fc772a3355ff8c0dcf9b953bf0c05aa9f8;hb=b460cfd726b019f8d918b380f78af4c19c5f3e50
-Bugtracker: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632749
-
-Stops procps utilities from printing a warning when used with
-kernels having only two digit versions, e.g. 3.0.
-
-Author: <csmall@debian.org>
-Description: Rework version parsing so its ok with other OSes
---- a/proc/version.c
-+++ b/proc/version.c
-@@ -35,15 +35,23 @@
- 
- static void init_Linux_version(void) __attribute__((constructor));
- static void init_Linux_version(void) {
--    static struct utsname uts;
--    int x = 0, y = 0, z = 0;	/* cleared in case sscanf() < 3 */
-+    int x = 0, y = 0, z = 0;	/* cleared in case sscanf() < 2 */
-+    FILE *fp;
-+    char buf[256];
-     
--    if (uname(&uts) == -1)	/* failure implies impending death */
--	exit(1);
--    if (sscanf(uts.release, "%d.%d.%d", &x, &y, &z) < 3)
-+    if ( (fp=fopen("/proc/version","r")) == NULL) /* failure implies impending death */
-+      exit(1);
-+    if (fgets(buf, 256, fp) == NULL) {
-+      fprintf(stderr, "Cannot read kernel version from /proc/version\n");
-+      fclose(fp);
-+      exit(1);
-+    }
-+    fclose(fp);
-+    if (sscanf(buf, "Linux version %d.%d.%d", &x, &y, &z) < 2)
- 	fprintf(stderr,		/* *very* unlikely to happen by accident */
- 		"Non-standard uts for running kernel:\n"
--		"release %s=%d.%d.%d gives version code %d\n",
--		uts.release, x, y, z, LINUX_VERSION(x,y,z));
-+        "release %s=%d.%d.%d gives version code %d\n",
-+        buf,
-+        x, y, z, LINUX_VERSION(x,y,z));
-     linux_version_code = LINUX_VERSION(x, y, z);
- }
diff --git a/meta/recipes-extended/procps/procps-3.2.8/install.patch b/meta/recipes-extended/procps/procps-3.2.8/install.patch
deleted file mode 100644
index 2a59a5f..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/install.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Upstream-Status: Inappropriate [configuration]
-
-diff -ruN procps-3.2.8-orig//Makefile procps-3.2.8/Makefile
---- procps-3.2.8-orig//Makefile	2011-08-23 22:06:46.471163999 +0800
-+++ procps-3.2.8/Makefile	2011-08-23 22:15:01.091163999 +0800
-@@ -29,9 +29,6 @@
- ln_sf    := ln -sf
- install  := install -D --owner 0 --group 0
- 
--# Lame x86-64 /lib64 and /usr/lib64 abomination:
--lib64    := lib$(shell [ -d /lib64 ] && echo 64)
--
- usr/bin                  := $(DESTDIR)/usr/bin/
- bin                      := $(DESTDIR)/bin/
- sbin                     := $(DESTDIR)/sbin/
-@@ -39,8 +36,8 @@
- man1                     := $(DESTDIR)/usr/share/man/man1/
- man5                     := $(DESTDIR)/usr/share/man/man5/
- man8                     := $(DESTDIR)/usr/share/man/man8/
--lib                      := $(DESTDIR)/$(lib64)/
--usr/lib                  := $(DESTDIR)/usr/$(lib64)/
-+lib                      := $(DESTDIR)/$(base_libdir)/
-+usr/lib                  := $(DESTDIR)/$(libdir)/
- usr/include              := $(DESTDIR)/usr/include/
- 
- #SKIP     := $(bin)kill $(man1)kill.1
-@@ -222,10 +219,10 @@
- ###### install
- 
- $(BINFILES) : all
--	$(install) --mode a=rx $(notdir $@) $@
-+	$(install) -m 555 $(notdir $@) $@
- 
- $(MANFILES) : all
--	$(install) --mode a=r $(notdir $@) $@
-+	$(install) -m 444 $(notdir $@) $@
- 
- install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL))
- 	cd $(usr/bin) && $(ln_f) skill snice
diff --git a/meta/recipes-extended/procps/procps-3.2.8/linux-limits.patch b/meta/recipes-extended/procps/procps-3.2.8/linux-limits.patch
deleted file mode 100644
index 2ca9724..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/linux-limits.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Upstream-Status: Pending
-
-diff --git a/pwdx.c b/pwdx.c
-index cb96a52..29ebce2 100644
---- a/pwdx.c
-+++ b/pwdx.c
-@@ -13,7 +13,7 @@
- #include <stdlib.h>
- #include <sys/types.h>
- #include <regex.h>
--#include <limits.h>
-+#include <linux/limits.h>
- #include <unistd.h>
- #include <errno.h>
- 
diff --git a/meta/recipes-extended/procps/procps-3.2.8/procmodule.patch b/meta/recipes-extended/procps/procps-3.2.8/procmodule.patch
deleted file mode 100644
index 2a65c35..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/procmodule.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Upstream-Status: Pending
-
-*** procps-3.2.5/proc/module.mk.orig	Sun Jul 24 11:53:49 2005
---- procps-3.2.5/proc/module.mk	Sun Jul 24 11:54:32 2005
-***************
-*** 96,102 ****
-  #################### install rules ###########################
-  
-  $(lib)$(SOFILE) : proc/$(SONAME)
-! 	$(install) --mode a=rx $< $@
-  
-  ifneq ($(SOLINK),$(SOFILE))
-  .PHONY: $(lib)$(SOLINK)
---- 96,102 ----
-  #################### install rules ###########################
-  
-  $(lib)$(SOFILE) : proc/$(SONAME)
-! 	$(install) -m 555 $< $@
-  
-  ifneq ($(SOLINK),$(SOFILE))
-  .PHONY: $(lib)$(SOLINK)
-***************
-*** 115,121 ****
-  	$(ldconfig)
-  
-  $(usr/lib)$(ANAME) : proc/$(ANAME)
-! 	$(install) --mode a=r $< $@
-  
-  # Junk anyway... supposed to go in /usr/include/$(NAME)
-  #INSTALL += $(addprefix $(include),$(HDRFILES))
---- 115,121 ----
-  	$(ldconfig)
-  
-  $(usr/lib)$(ANAME) : proc/$(ANAME)
-! 	$(install) -m 444 $< $@
-  
-  # Junk anyway... supposed to go in /usr/include/$(NAME)
-  #INSTALL += $(addprefix $(include),$(HDRFILES))
diff --git a/meta/recipes-extended/procps/procps-3.2.8/procps-3.2.7-top-remcpu.patch b/meta/recipes-extended/procps/procps-3.2.8/procps-3.2.7-top-remcpu.patch
deleted file mode 100644
index 0306c8d..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/procps-3.2.7-top-remcpu.patch
+++ /dev/null
@@ -1,111 +0,0 @@
-Upstream-Status: Pending
-
-fix that top will quit after cpu offline
-    
-top utiliy fails to read /proc/stat after cpu offline, because Cpu_tot
-is still the original cpu numbers when calling cpus_refresh, in which
-it is trying to read and sscanf Cpu_tot times /proc/stat.
-
-The patch is from procps-3.2.8-2.fc12.src.rpm
-
-Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
-
----
---- procps-3.2.7/top.c.remcpu	2006-07-10 10:41:11.000000000 +0200
-+++ procps-3.2.7/top.c	2006-07-10 10:41:35.000000000 +0200
-@@ -912,6 +912,7 @@
- static CPU_t *cpus_refresh (CPU_t *cpus)
- {
-    static FILE *fp = NULL;
-+   static int cpu_max;
-    int i;
-    int num;
-    // enough for a /proc/stat CPU line (not the intr line)
-@@ -926,24 +927,29 @@
-                can hold tics representing the /proc/stat cpu summary (the first
-                line read) -- that slot supports our View_CPUSUM toggle */
-       cpus = alloc_c((1 + Cpu_tot) * sizeof(CPU_t));
-+      cpu_max = Cpu_tot;
-    }
-+   else if (cpu_max > Cpu_tot)
-+      /* move saved CUPs summary to cpu_max possition */
-+      memcpy(&cpus[cpu_max], &cpus[Cpu_tot], sizeof(CPU_t));
-+   
-    rewind(fp);
-    fflush(fp);
- 
-    // first value the last slot with the cpu summary line
-    if (!fgets(buf, sizeof(buf), fp)) std_err("failed /proc/stat read");
--   cpus[Cpu_tot].x = 0;  // FIXME: can't tell by kernel version number
--   cpus[Cpu_tot].y = 0;  // FIXME: can't tell by kernel version number
--   cpus[Cpu_tot].z = 0;  // FIXME: can't tell by kernel version number
-+   cpus[cpu_max].x = 0;  // FIXME: can't tell by kernel version number
-+   cpus[cpu_max].y = 0;  // FIXME: can't tell by kernel version number
-+   cpus[cpu_max].z = 0;  // FIXME: can't tell by kernel version number
-    num = sscanf(buf, "cpu %Lu %Lu %Lu %Lu %Lu %Lu %Lu %Lu",
--      &cpus[Cpu_tot].u,
--      &cpus[Cpu_tot].n,
--      &cpus[Cpu_tot].s,
--      &cpus[Cpu_tot].i,
--      &cpus[Cpu_tot].w,
--      &cpus[Cpu_tot].x,
--      &cpus[Cpu_tot].y,
--      &cpus[Cpu_tot].z
-+      &cpus[cpu_max].u,
-+      &cpus[cpu_max].n,
-+      &cpus[cpu_max].s,
-+      &cpus[cpu_max].i,
-+      &cpus[cpu_max].w,
-+      &cpus[cpu_max].x,
-+      &cpus[cpu_max].y,
-+      &cpus[cpu_max].z
-    );
-    if (num < 4)
-          std_err("failed /proc/stat read");
-@@ -955,7 +961,7 @@
-    }
- 
-    // now value each separate cpu's tics
--   for (i = 0; 1 < Cpu_tot && i < Cpu_tot; i++) {
-+   for (i = 0; ; i++) {
-       if (!fgets(buf, sizeof(buf), fp)) std_err("failed /proc/stat read");
-       cpus[i].x = 0;  // FIXME: can't tell by kernel version number
-       cpus[i].y = 0;  // FIXME: can't tell by kernel version number
-@@ -964,9 +970,35 @@
-          &cpus[i].id,
-          &cpus[i].u, &cpus[i].n, &cpus[i].s, &cpus[i].i, &cpus[i].w, &cpus[i].x, &cpus[i].y, &cpus[i].z
-       );
--      if (num < 4)
--            std_err("failed /proc/stat read");
-+      if (num < 4) {
-+	 Cpu_tot = i;
-+	 break;
-+      }
-+      if (i == cpu_max - 1) {
-+	 // Bump cpu_max and extend cpus
-+	 cpu_max++;
-+	 cpus = realloc(cpus, (1 + cpu_max) * sizeof(CPU_t));
-+	 if (!cpus) std_err("realloc failed");
-+	 memcpy(&cpus[cpu_max], &cpus[cpu_max-1], sizeof(CPU_t));
-+      }
-+   }
-+
-+   if (cpu_max > Cpu_tot)
-+      memcpy(&cpus[Cpu_tot], &cpus[cpu_max], sizeof(CPU_t));
-+
-+   // and just in case we're 2.2.xx compiled without SMP support...
-+   if (Cpu_tot == 1) {
-+      cpus[0].id = cpus[1].id = 0;
-+      cpus[0].u = cpus[1].u;
-+      cpus[0].n = cpus[1].n;
-+      cpus[0].s = cpus[1].s;
-+      cpus[0].i = cpus[1].i;
-+      cpus[0].w = cpus[1].w;
-+      cpus[0].x = cpus[1].x;
-+      cpus[0].y = cpus[1].y;
-+      cpus[0].z = cpus[1].z;
-    }
-+   
-    return cpus;
- }
- 
diff --git a/meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8+gmake-3.82.patch b/meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8+gmake-3.82.patch
deleted file mode 100644
index c8cee26..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8+gmake-3.82.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Upstream-Status: Backport
-
-Fix for stricter Makefile parser in Make 3.82 take from Gentoo bugzilla:
-http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-process/procps/files/procps-3.2.8%2Bgmake-3.82.patch?revision=1.1
-
-Index: procps-3.2.8/Makefile
-===================================================================
---- procps-3.2.8.orig/Makefile
-+++ procps-3.2.8/Makefile
-@@ -174,7 +174,8 @@ INSTALL := $(BINFILES) $(MANFILES)
- # want this rule first, use := on ALL, and ALL not filled in yet
- all: do_all
- 
---include */module.mk
-+-include proc/module.mk
-+-include ps/module.mk
- 
- do_all:    $(ALL)
- 
diff --git a/meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8-ps-cgroup.patch b/meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8-ps-cgroup.patch
deleted file mode 100644
index 1a29414..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8-ps-cgroup.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From e529ce0b53f6b73d8b760cd37b23e0397720cede Mon Sep 17 00:00:00 2001
-From: Daniel Novotny <dnovotny@fedoraproject.org>
-Date: Mon, 16 Feb 2009 12:22:20 +0000
-Subject: add cgroup support
-
-Rebased for 3.2.8: Andrei Gherzan <andrei.gherzan@windriver.com>
-
-Upstream-Status: Pending
-
-The patch was imported from the meta-ivi repository
-(git://git.yoctoproject.org/meta-ivi) as of commit id
-74b9624fe94b2b90810717a13d481b0db9d2d95a
-
-Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
-
-Index: procps-3.2.8/ps/output.c
-===================================================================
---- procps-3.2.8.orig/ps/output.c	2012-11-15 17:44:05.501337741 +0200
-+++ procps-3.2.8/ps/output.c	2012-11-15 17:48:31.585328231 +0200
-@@ -1099,6 +1099,39 @@
-   return snprintf(outbuf, COLWID, "*");
- }
- 
-+static int pr_cgroup(char *restrict const outbuf, const proc_t *restrict const pp){
-+  char filename[48];
-+  FILE *fd;
-+  int counter = 0;
-+  int c;
-+  int is_cgroup = 0;
-+
-+  outbuf[0]='\0';
-+  snprintf(filename, sizeof filename, "/proc/%d/cgroup", pp->tgid);
-+  fd = fopen(filename, "r");
-+  if (likely(fd == NULL)) goto fail;
-+  while (( (c = fgetc(fd)) != EOF) && (counter<665)) {
-+    if (is_cgroup == 0) {
-+      if (c == ':') {
-+        is_cgroup = 1;
-+        if (counter>0)
-+          outbuf[counter++]=';';
-+      }
-+    }else
-+      if ((c == '\n') || (c == '\0'))
-+        is_cgroup = 0;
-+      else
-+        outbuf[counter++]=c;
-+  }
-+  outbuf[counter]='\0';
-+  close(fd);
-+  if (counter>0)
-+    return counter;
-+fail:
-+  outbuf[0] = '-';
-+  outbuf[1] = '\0';
-+  return 1;
-+}
- 
- /****************** FLASK & seLinux security stuff **********************/
- // move the bulk of this to libproc sometime
-@@ -1293,6 +1326,7 @@
- {"bsdtime",   "TIME",    pr_bsdtime,  sr_nop,     6,   0,    LNX, ET|RIGHT},
- {"c",         "C",       pr_c,        sr_pcpu,    2,   0,    SUN, ET|RIGHT},
- {"caught",    "CAUGHT",  pr_sigcatch, sr_nop,     9,   0,    BSD, TO|SIGNAL}, /*sigcatch*/
-+{"cgroup",    "CGROUP",  pr_cgroup,   sr_nop,    35,   0,    LNX, PO|LEFT},  /* cgroups*/
- {"class",     "CLS",     pr_class,    sr_sched,   3,   0,    XXX, TO|LEFT},
- {"cls",       "CLS",     pr_class,    sr_sched,   3,   0,    HPU, TO|RIGHT}, /*says HPUX or RT*/
- {"cmaj_flt",  "-",       pr_nop,      sr_cmaj_flt, 1,  0,    LNX, AN|RIGHT},
-Index: procps-3.2.8/ps/ps.1
-===================================================================
---- procps-3.2.8.orig/ps/ps.1	2012-11-15 17:44:50.845336117 +0200
-+++ procps-3.2.8/ps/ps.1	2012-11-15 17:49:09.621326859 +0200
-@@ -904,6 +904,10 @@
- displayed.  (alias\ \fBsig_catch\fR,\ \fBsigcatch\fR).
- T}
- 
-+cgroup	CGROUP	T{
-+display control groups to which the process belonges.
-+t}
-+
- class	CLS	T{
- scheduling class of the process.  (alias\ \fBpolicy\fR,\ \fBcls\fR).
- Field's possible values are:
diff --git a/meta/recipes-extended/procps/procps-3.2.8/psmodule.patch b/meta/recipes-extended/procps/procps-3.2.8/psmodule.patch
deleted file mode 100644
index 0775eab..0000000
--- a/meta/recipes-extended/procps/procps-3.2.8/psmodule.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Upstream-Status: Pending
-
-*** procps-3.2.5/ps/module.mk.orig	Sun Jul 24 11:54:40 2005
---- procps-3.2.5/ps/module.mk	Sun Jul 24 11:55:02 2005
-***************
-*** 33,40 ****
-  
-  
-  $(bin)ps: ps/ps
-! 	$(install) --mode a=rx $< $@
-  
-  $(man1)ps.1 : ps/ps.1
-! 	$(install) --mode a=r $< $@
-  	-rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz
---- 33,40 ----
-  
-  
-  $(bin)ps: ps/ps
-! 	$(install) -m 555 $< $@
-  
-  $(man1)ps.1 : ps/ps.1
-! 	$(install) -m 444 $< $@
-  	-rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz
diff --git a/meta/recipes-extended/procps/procps.inc b/meta/recipes-extended/procps/procps.inc
deleted file mode 100644
index da91da2..0000000
--- a/meta/recipes-extended/procps/procps.inc
+++ /dev/null
@@ -1,31 +0,0 @@
-SUMMARY = "System and process monitoring utilities"
-DESCRIPTION = "Procps contains a set of system utilities that provide system information about processes using \
-the /proc filesystem. The package \ includes the programs ps, top, vmstat, w, kill, and skill."
-HOMEPAGE = "http://procps.sf.net"
-SECTION = "base"
-LICENSE = "GPLv2+ & LGPLv2+"
-LIC_FILES_CHKSUM="file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
-                  file://COPYING.LIB;md5=6e29c688d912da12b66b73e32b03d812 \
-                  file://ps/COPYING;md5=6e29c688d912da12b66b73e32b03d812 \
-                  file://proc/COPYING;md5=6e29c688d912da12b66b73e32b03d812"
-DEPENDS = "ncurses"
-
-SRC_URI = "http://procps.sourceforge.net/procps-${PV}.tar.gz \
-           file://install.patch"
-
-inherit autotools-brokensep update-alternatives
-
-do_install_append() {
-	mv ${D}${bindir}/watch ${D}${bindir}/watch.${BPN}
-}
-
-FILES_${PN} += "${libdir}/*-${PV}.so ${base_libdir}/*-${PV}.so"
-FILES_SOLIBSDEV = ""
-
-ALTERNATIVE_${PN} = "top uptime free pkill pmap kill sysctl ps pgrep pwdx watch"
-ALTERNATIVE_LINK_NAME[kill] = "${base_bindir}/kill"
-ALTERNATIVE_LINK_NAME[sysctl] = "${base_sbindir}/sysctl"
-ALTERNATIVE_LINK_NAME[ps] = "${base_bindir}/ps"
-ALTERNATIVE_LINK_NAME[watch] = "${base_bindir}/watch"
-ALTERNATIVE_TARGET[watch] = "${bindir}/watch.${BPN}"
-ALTERNATIVE_PRIORITY = "110"
diff --git a/meta/recipes-extended/procps/procps/fix-configure.patch b/meta/recipes-extended/procps/procps/fix-configure.patch
new file mode 100644
index 0000000..934ae80
--- /dev/null
+++ b/meta/recipes-extended/procps/procps/fix-configure.patch
@@ -0,0 +1,19 @@
+
+exec_prefix is /usr default in OE-Core
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
+Index: procps-ng-3.3.10/configure.ac
+===================================================================
+--- procps-ng-3.3.10.orig/configure.ac
++++ procps-ng-3.3.10/configure.ac
+@@ -70,7 +70,7 @@ AC_FUNC_MMAP
+ AC_FUNC_REALLOC
+ AC_FUNC_STRTOD
+ 
+-usrbin_execdir='${exec_prefix}/usr/bin'
++usrbin_execdir='${exec_prefix}/bin'
+ AC_SUBST([usrbin_execdir])
+ 
+ AM_GNU_GETTEXT_VERSION([0.14.1])
diff --git a/meta/recipes-extended/procps/procps-3.2.8/sysctl.conf b/meta/recipes-extended/procps/procps/sysctl.conf
similarity index 100%
rename from meta/recipes-extended/procps/procps-3.2.8/sysctl.conf
rename to meta/recipes-extended/procps/procps/sysctl.conf
diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb
deleted file mode 100644
index fcfde19..0000000
--- a/meta/recipes-extended/procps/procps_3.2.8.bb
+++ /dev/null
@@ -1,37 +0,0 @@
-require procps.inc
-
-PR = "r12"
-
-SRC_URI += "file://procmodule.patch \
-            file://psmodule.patch \
-            file://linux-limits.patch \
-            file://sysctl.conf \
-            file://procps-3.2.8+gmake-3.82.patch \
-            file://gnu-kbsd-version.patch \
-            file://60_linux_version_init.patch \
-            file://procps-3.2.7-top-remcpu.patch \
-            file://procps-3.2.8-ps-cgroup.patch \
-            file://detect_bitness.patch \
-            file://0001-Fix-musl-build-failure.patch \
-           "
-
-SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0"
-SRC_URI[sha256sum] = "11ed68d8a4433b91cd833deb714a3aa849c02aea738c42e6b4557982419c1535"
-
-EXTRA_OEMAKE = 'CFLAGS="${CFLAGS} -I${STAGING_INCDIR}" \
-                CPPFLAGS=-I${STAGING_INCDIR} \
-                LDFLAGS="${LDFLAGS}" \
-                CURSES=-lncurses \
-                install="install -D" \
-                ldconfig=echo'
-
-do_install_append () {
-	install -d ${D}${sysconfdir}
-	install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/sysctl.conf
-	if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
-		install -d ${D}${sysconfdir}/sysctl.d
-		ln -sf ../sysctl.conf ${D}${sysconfdir}/sysctl.d/99-sysctl.conf
-	fi
-}
-
-CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
diff --git a/meta/recipes-extended/procps/procps_3.3.10.bb b/meta/recipes-extended/procps/procps_3.3.10.bb
new file mode 100644
index 0000000..d8b04dc
--- /dev/null
+++ b/meta/recipes-extended/procps/procps_3.3.10.bb
@@ -0,0 +1,62 @@
+SUMMARY = "System and process monitoring utilities"
+DESCRIPTION = "Procps contains a set of system utilities that provide system information about processes using \
+the /proc filesystem. The package includes the programs ps, top, vmstat, w, kill, and skill."
+HOMEPAGE = "https://gitorious.org/procps"
+SECTION = "base"
+LICENSE = "GPLv2+ & LGPLv2+"
+LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                  file://COPYING.LIB;md5=4cf66a4984120007c9881cc871cf49db \
+                 "
+
+DEPENDS = "ncurses"
+
+inherit autotools gettext pkgconfig update-alternatives
+
+SRC_URI = "http://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-${PV}.tar.xz \
+           file://fix-configure.patch \
+           file://sysctl.conf \
+          "
+
+SRC_URI[md5sum] = "1fb7f3f6bf92ce6c5c9ed9949ae858fe"
+SRC_URI[sha256sum] = "a02e6f98974dfceab79884df902ca3df30b0e9bad6d76aee0fb5dce17f267f04"
+
+S = "${WORKDIR}/procps-ng-${PV}"
+
+EXTRA_OECONF = "--enable-skill"
+
+CPPFLAGS += "-I${S}"
+
+do_install_append () {
+	install -d ${D}${base_bindir}
+	[ "${bindir}" != "${base_bindir}" ] && for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i; done
+	install -d ${D}${base_sbindir}
+	[ "${sbindir}" != "${base_sbindir}" ] && for i in ${base_sbindir_progs}; do mv ${D}${sbindir}/$i ${D}${base_sbindir}/$i; done
+        # Remove now empty dir
+	rmdir ${D}/${sbindir}
+
+        install -d ${D}${sysconfdir}
+        install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/sysctl.conf
+        if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+                install -d ${D}${sysconfdir}/sysctl.d
+                ln -sf ../sysctl.conf ${D}${sysconfdir}/sysctl.d/99-sysctl.conf
+        fi
+}
+
+CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
+
+bindir_progs = "free pkill pmap pgrep pwdx skill snice top uptime"
+base_bindir_progs += "kill pidof ps watch"
+base_sbindir_progs += "sysctl"
+
+ALTERNATIVE_PRIORITY = "100"
+
+ALTERNATIVE_${PN} = "${bindir_progs} ${base_bindir_progs} ${base_sbindir_progs}"
+
+python __anonymous() {
+    for prog in d.getVar('base_bindir_progs', True).split():
+        d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir', True), prog))
+
+    for prog in d.getVar('base_sbindir_progs', True).split():
+        d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_sbindir', True), prog))
+}
+
-- 
1.8.3.1



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

* [PATCH 2/6] babeltrace: Update to 1.2.4
  2014-12-10  5:55 [PATCH 0/6] Updates and bug fixes Saul Wold
  2014-12-10  5:55 ` [PATCH 1/6][v4] procps: Upgrade to 3.3.10 Saul Wold
@ 2014-12-10  5:55 ` Saul Wold
  2014-12-10  5:55 ` [PATCH 3/6] npth: npth needs pthread in some cases Saul Wold
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Saul Wold @ 2014-12-10  5:55 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../recipes-kernel/lttng/{babeltrace_1.2.3.bb => babeltrace_1.2.4.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-kernel/lttng/{babeltrace_1.2.3.bb => babeltrace_1.2.4.bb} (89%)

diff --git a/meta/recipes-kernel/lttng/babeltrace_1.2.3.bb b/meta/recipes-kernel/lttng/babeltrace_1.2.4.bb
similarity index 89%
rename from meta/recipes-kernel/lttng/babeltrace_1.2.3.bb
rename to meta/recipes-kernel/lttng/babeltrace_1.2.4.bb
index c62589c..f616146 100644
--- a/meta/recipes-kernel/lttng/babeltrace_1.2.3.bb
+++ b/meta/recipes-kernel/lttng/babeltrace_1.2.4.bb
@@ -10,8 +10,8 @@ inherit autotools pkgconfig
 
 DEPENDS = "glib-2.0 util-linux popt bison-native flex-native"
 
-SRCREV = "753a40ead9fa4f6bd5e29d5765e2021122df9c1c"
-PV = "1.2.3+git${SRCPV}"
+SRCREV = "90395824efc007de88787a6b8e400a07c980be1c"
+PV = "1.2.4+git${SRCPV}"
 
 SRC_URI = "git://git.efficios.com/babeltrace.git;branch=stable-1.2"
 
-- 
1.8.3.1



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

* [PATCH 3/6] npth: npth needs pthread in some cases
  2014-12-10  5:55 [PATCH 0/6] Updates and bug fixes Saul Wold
  2014-12-10  5:55 ` [PATCH 1/6][v4] procps: Upgrade to 3.3.10 Saul Wold
  2014-12-10  5:55 ` [PATCH 2/6] babeltrace: Update to 1.2.4 Saul Wold
@ 2014-12-10  5:55 ` Saul Wold
  2014-12-10  5:55 ` [PATCH 4/6] libdaemon: Convert to git Saul Wold
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Saul Wold @ 2014-12-10  5:55 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/npth/npth/pkgconfig.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/npth/npth/pkgconfig.patch b/meta/recipes-support/npth/npth/pkgconfig.patch
index 55d12c2..178ed54 100644
--- a/meta/recipes-support/npth/npth/pkgconfig.patch
+++ b/meta/recipes-support/npth/npth/pkgconfig.patch
@@ -3,6 +3,7 @@ Added npth pkgconfig file
 Upstream-Status: Incompatible [oe-core specific]
 
 Signed-off-by: Saul Wold <sgw@linux.intel.com>
+
 Index: npth-1.1/src/npth.pc.in
 ===================================================================
 --- /dev/null
@@ -16,7 +17,7 @@ Index: npth-1.1/src/npth.pc.in
 +Name: npth
 +Description: a new portable posix threading library
 +Version: @VERSION@
-+Libs: -L${libdir} -lnpth
++Libs: -L${libdir} -lnpth -lpthread
 +Cflags: -I${includedir}
 Index: npth-1.1/src/Makefile.am
 ===================================================================
-- 
1.8.3.1



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

* [PATCH 4/6] libdaemon: Convert to git
  2014-12-10  5:55 [PATCH 0/6] Updates and bug fixes Saul Wold
                   ` (2 preceding siblings ...)
  2014-12-10  5:55 ` [PATCH 3/6] npth: npth needs pthread in some cases Saul Wold
@ 2014-12-10  5:55 ` Saul Wold
  2014-12-10  5:55 ` [PATCH 5/6] libnss-mdns: " Saul Wold
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Saul Wold @ 2014-12-10  5:55 UTC (permalink / raw)
  To: openembedded-core

The upstream tarball is no longer available, but the git repo still is, so use it instead
The license was changed to MIT, so reflect that change in LICENSE and CHKSUMs

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/libdaemon/libdaemon_0.14.bb | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-support/libdaemon/libdaemon_0.14.bb b/meta/recipes-support/libdaemon/libdaemon_0.14.bb
index e928781..92ae5eb 100644
--- a/meta/recipes-support/libdaemon/libdaemon_0.14.bb
+++ b/meta/recipes-support/libdaemon/libdaemon_0.14.bb
@@ -2,14 +2,15 @@ SUMMARY = "Lightweight C library which eases the writing of UNIX daemons"
 SECTION = "libs"
 AUTHOR = "Lennart Poettering <lennart@poettering.net>"
 HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/"
-LICENSE = "LGPLv2.1+"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
-                    file://libdaemon/daemon.h;beginline=9;endline=21;md5=bd9fbe57cd96d1a5848a8ba12d9a6bf4"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3f160358b580634d8dd2904c9f575c1d \
+                    file://libdaemon/daemon.h;beginline=6;endline=26;md5=6e104f268341f13ffbb7f0b2f409cf0f"
 
-SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz"
+SRCREV = "0630da04e575213229f695bdc3dc90aa92ca4f55"
+PV = "0.14+git${SRCPV}"
+SRC_URI = "git://git.0pointer.net/libdaemon.git"
 
-SRC_URI[md5sum] = "509dc27107c21bcd9fbf2f95f5669563"
-SRC_URI[sha256sum] = "fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834"
+S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig
 
-- 
1.8.3.1



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

* [PATCH 5/6] libnss-mdns: Convert to git
  2014-12-10  5:55 [PATCH 0/6] Updates and bug fixes Saul Wold
                   ` (3 preceding siblings ...)
  2014-12-10  5:55 ` [PATCH 4/6] libdaemon: Convert to git Saul Wold
@ 2014-12-10  5:55 ` Saul Wold
  2014-12-10  5:55 ` [PATCH 6/6] nss-myhostname: " Saul Wold
  2014-12-23 22:57 ` [PATCH 0/6] Updates and bug fixes Saul Wold
  6 siblings, 0 replies; 10+ messages in thread
From: Saul Wold @ 2014-12-10  5:55 UTC (permalink / raw)
  To: openembedded-core

The upstream tarball is no longer available, but the git repo still is, so use it instead
Add patch to prevent docs generation and README fixup

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../libnss-mdns/libnss-mdns-disable-docs.patch     | 23 ++++++++++++++++++++++
 .../libnss-mdns/libnss-mdns_0.10.bb                | 10 ++++++----
 2 files changed, 29 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-connectivity/libnss-mdns/libnss-mdns/libnss-mdns-disable-docs.patch

diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns/libnss-mdns-disable-docs.patch b/meta/recipes-connectivity/libnss-mdns/libnss-mdns/libnss-mdns-disable-docs.patch
new file mode 100644
index 0000000..aeb2823
--- /dev/null
+++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns/libnss-mdns-disable-docs.patch
@@ -0,0 +1,23 @@
+Index: git/Makefile.am
+===================================================================
+--- git.orig/Makefile.am
++++ git/Makefile.am
+@@ -18,15 +18,14 @@
+ # USA.
+ 
+ EXTRA_DIST=bootstrap.sh README LICENSE
+-SUBDIRS=src doc
++SUBDIRS=src
+ 
+ MAINTAINERCLEANFILES=README
+ noinst_DATA = README
+ 
+ README:
+-	rm -f README
+-	$(MAKE) -C doc README
+-	cd $(srcdir) && ln -s doc/README README
++	ln -s $(abs_top_builddir)/doc/README.html README
++
+ 
+ homepage: all dist
+ 	test -d $$HOME/homepage/private
diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
index 0b936ef..a199e6f 100644
--- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
+++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
@@ -8,12 +8,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
 DEPENDS = "avahi"
 PR = "r7"
 
-SRC_URI = "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-${PV}.tar.gz"
+SRCREV = "644e03cff7a587934bf62bce9b59bedcf06ddb26"
+PV = "0.10+git${SRCPV}"
 
-SRC_URI[md5sum] = "03938f17646efbb50aa70ba5f99f51d7"
-SRC_URI[sha256sum] = "1e683c2e7c3921814706d62fbbd3e9cbf493a75fa00255e0e715508d8134fa6d"
+SRC_URI = "git://git.0pointer.net/nss-mdns.git \
+           file://libnss-mdns-disable-docs.patch \
+          "
 
-S = "${WORKDIR}/nss-mdns-${PV}"
+S = "${WORKDIR}/git"
 
 inherit autotools
 
-- 
1.8.3.1



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

* [PATCH 6/6] nss-myhostname: Convert to git
  2014-12-10  5:55 [PATCH 0/6] Updates and bug fixes Saul Wold
                   ` (4 preceding siblings ...)
  2014-12-10  5:55 ` [PATCH 5/6] libnss-mdns: " Saul Wold
@ 2014-12-10  5:55 ` Saul Wold
  2014-12-23 22:57 ` [PATCH 0/6] Updates and bug fixes Saul Wold
  6 siblings, 0 replies; 10+ messages in thread
From: Saul Wold @ 2014-12-10  5:55 UTC (permalink / raw)
  To: openembedded-core

The upstream tarball is no longer available, but the git repo still is, so use it instead
Additionally fix up the Makefile.am to not build the README since it's not a deliverable file

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../nss-myhostname-disable-docs.patch              | 25 ++++++++++++++++++++++
 .../nss-myhostname/nss-myhostname_0.3.bb           | 12 ++++++-----
 2 files changed, 32 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-support/nss-myhostname/nss-myhostname/nss-myhostname-disable-docs.patch

diff --git a/meta/recipes-support/nss-myhostname/nss-myhostname/nss-myhostname-disable-docs.patch b/meta/recipes-support/nss-myhostname/nss-myhostname/nss-myhostname-disable-docs.patch
new file mode 100644
index 0000000..0af1903
--- /dev/null
+++ b/meta/recipes-support/nss-myhostname/nss-myhostname/nss-myhostname-disable-docs.patch
@@ -0,0 +1,25 @@
+Index: git/Makefile.am
+===================================================================
+--- git.orig/Makefile.am
++++ git/Makefile.am
+@@ -20,19 +20,10 @@ ACLOCAL_AMFLAGS = -I m4
+ 
+ lib_LTLIBRARIES = libnss_myhostname.la
+ 
+-EXTRA_DIST=bootstrap.sh README LICENSE
+-SUBDIRS=doc
++EXTRA_DIST=bootstrap.sh LICENSE
+ 
+ AM_CPPFLAGS = -include $(top_builddir)/config.h
+ 
+-MAINTAINERCLEANFILES=README
+-noinst_DATA = README
+-
+-README:
+-	rm -f README
+-	$(MAKE) -C doc README
+-	cd $(srcdir) && ln -s doc/README README
+-
+ homepage: all dist
+ 	test -d $$HOME/homepage/private
+ 	mkdir -p $$HOME/homepage/private/projects/nss-myhostname
diff --git a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
index bbce9e9..31d3c73 100644
--- a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
+++ b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
@@ -3,14 +3,16 @@ DESCRIPTION = "plugin for the GNU Name Service Switch (NSS) functionality of \
 the GNU C Library (glibc) providing host name resolution for the locally \
 configured system hostname as returned by gethostname(2)."
 HOMEPAGE = "http://0pointer.de/lennart/projects/nss-myhostname/"
-LICENSE = "LGPLv2.1"
+LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
-SRC_URI = "http://0pointer.de/lennart/projects/nss-myhostname/nss-myhostname-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "d4ab9ac36c053ab8fb836db1cbd4a48f"
-SRC_URI[sha256sum] = "2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2"
+SRCREV = "1df2a0fce427fab7754f6ac572cf68cef2e95696"
+PV = "0.3+git${SRCPV}"
+SRC_URI = "git://git.0pointer.net/nss-myhostname.git \
+           file://nss-myhostname-disable-docs.patch \
+          "
 
+S = "${WORKDIR}/git"
 inherit autotools distro_features_check
 
 # The systemd has its own copy of nss-myhostname
-- 
1.8.3.1



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

* Re: [PATCH 0/6] Updates and bug fixes
  2014-12-10  5:55 [PATCH 0/6] Updates and bug fixes Saul Wold
                   ` (5 preceding siblings ...)
  2014-12-10  5:55 ` [PATCH 6/6] nss-myhostname: " Saul Wold
@ 2014-12-23 22:57 ` Saul Wold
  2014-12-24  0:27   ` Richard Purdie
  6 siblings, 1 reply; 10+ messages in thread
From: Saul Wold @ 2014-12-23 22:57 UTC (permalink / raw)
  To: openembedded-core


ping!

On 12/09/2014 09:55 PM, Saul Wold wrote:
> The nss* tarballs have been removed so we need to use the git repos at
> 0pointer. These git repos need to build the README, but use lynx, so disable
> for now.
>
> Sau!
>
> The following changes since commit 219e793907406eabf632e784e3a11ab9acb77cfb:
>
>    qemu/libc-package: Fix qemu option handling (2014-12-05 17:59:42 +0000)
>
> are available in the git repository at:
>
>    git://git.openembedded.org/openembedded-core-contrib sgw/updates
>    http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/updates
>
> Saul Wold (6):
>    procps: Upgrade to 3.3.10
>    babeltrace: Update to 1.2.4
>    npth: npth needs pthread in some cases
>    libdaemon: Convert to git
>    libnss-mdns: Convert to git
>    nss-myhostname: Convert to git
>
>   .../libnss-mdns/libnss-mdns-disable-docs.patch     |  23 +++++
>   .../libnss-mdns/libnss-mdns_0.10.bb                |  10 +-
>   .../procps-3.2.8/0001-Fix-musl-build-failure.patch |  29 ------
>   .../procps-3.2.8/60_linux_version_init.patch       |  54 ----------
>   .../procps/procps-3.2.8/detect_bitness.patch       |  26 -----
>   .../procps/procps-3.2.8/gnu-kbsd-version.patch     |  44 --------
>   .../procps/procps-3.2.8/install.patch              |  39 --------
>   .../procps/procps-3.2.8/linux-limits.patch         |  15 ---
>   .../procps/procps-3.2.8/procmodule.patch           |  38 -------
>   .../procps-3.2.8/procps-3.2.7-top-remcpu.patch     | 111 ---------------------
>   .../procps-3.2.8/procps-3.2.8+gmake-3.82.patch     |  19 ----
>   .../procps-3.2.8/procps-3.2.8-ps-cgroup.patch      |  82 ---------------
>   .../procps/procps-3.2.8/psmodule.patch             |  23 -----
>   meta/recipes-extended/procps/procps.inc            |  31 ------
>   .../procps/procps/fix-configure.patch              |  19 ++++
>   .../procps/{procps-3.2.8 => procps}/sysctl.conf    |   0
>   meta/recipes-extended/procps/procps_3.2.8.bb       |  37 -------
>   meta/recipes-extended/procps/procps_3.3.10.bb      |  62 ++++++++++++
>   .../{babeltrace_1.2.3.bb => babeltrace_1.2.4.bb}   |   4 +-
>   meta/recipes-support/libdaemon/libdaemon_0.14.bb   |  13 +--
>   meta/recipes-support/npth/npth/pkgconfig.patch     |   3 +-
>   .../nss-myhostname-disable-docs.patch              |  25 +++++
>   .../nss-myhostname/nss-myhostname_0.3.bb           |  12 ++-
>   23 files changed, 153 insertions(+), 566 deletions(-)
>   create mode 100644 meta/recipes-connectivity/libnss-mdns/libnss-mdns/libnss-mdns-disable-docs.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/0001-Fix-musl-build-failure.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/60_linux_version_init.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/detect_bitness.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/gnu-kbsd-version.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/install.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/linux-limits.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procmodule.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procps-3.2.7-top-remcpu.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8+gmake-3.82.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/procps-3.2.8-ps-cgroup.patch
>   delete mode 100644 meta/recipes-extended/procps/procps-3.2.8/psmodule.patch
>   delete mode 100644 meta/recipes-extended/procps/procps.inc
>   create mode 100644 meta/recipes-extended/procps/procps/fix-configure.patch
>   rename meta/recipes-extended/procps/{procps-3.2.8 => procps}/sysctl.conf (100%)
>   delete mode 100644 meta/recipes-extended/procps/procps_3.2.8.bb
>   create mode 100644 meta/recipes-extended/procps/procps_3.3.10.bb
>   rename meta/recipes-kernel/lttng/{babeltrace_1.2.3.bb => babeltrace_1.2.4.bb} (89%)
>   create mode 100644 meta/recipes-support/nss-myhostname/nss-myhostname/nss-myhostname-disable-docs.patch
>


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

* Re: [PATCH 0/6] Updates and bug fixes
  2014-12-23 22:57 ` [PATCH 0/6] Updates and bug fixes Saul Wold
@ 2014-12-24  0:27   ` Richard Purdie
  2014-12-24  0:48     ` Saul Wold
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Purdie @ 2014-12-24  0:27 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core

On Tue, 2014-12-23 at 14:57 -0800, Saul Wold wrote:
> ping!

Three went in, the other three did not since when Ross and I tried
fetching them, the files existed and there was no need to convert to
git. Please retest.

Cheers,

Richard



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

* Re: [PATCH 0/6] Updates and bug fixes
  2014-12-24  0:27   ` Richard Purdie
@ 2014-12-24  0:48     ` Saul Wold
  0 siblings, 0 replies; 10+ messages in thread
From: Saul Wold @ 2014-12-24  0:48 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

On 12/23/2014 04:27 PM, Richard Purdie wrote:
> On Tue, 2014-12-23 at 14:57 -0800, Saul Wold wrote:
>> ping!
>
> Three went in, the other three did not since when Ross and I tried
> fetching them, the files existed and there was no need to convert to
> git. Please retest.
>
Ah, it seems to be correct, I checked a couple of times and those pages 
where gone, he must have put them back up. I sent a couple of emails to him.

I will drop those then

Sau!

> Cheers,
>
> Richard
>
>
>


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

end of thread, other threads:[~2014-12-24  0:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10  5:55 [PATCH 0/6] Updates and bug fixes Saul Wold
2014-12-10  5:55 ` [PATCH 1/6][v4] procps: Upgrade to 3.3.10 Saul Wold
2014-12-10  5:55 ` [PATCH 2/6] babeltrace: Update to 1.2.4 Saul Wold
2014-12-10  5:55 ` [PATCH 3/6] npth: npth needs pthread in some cases Saul Wold
2014-12-10  5:55 ` [PATCH 4/6] libdaemon: Convert to git Saul Wold
2014-12-10  5:55 ` [PATCH 5/6] libnss-mdns: " Saul Wold
2014-12-10  5:55 ` [PATCH 6/6] nss-myhostname: " Saul Wold
2014-12-23 22:57 ` [PATCH 0/6] Updates and bug fixes Saul Wold
2014-12-24  0:27   ` Richard Purdie
2014-12-24  0:48     ` Saul Wold

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