diff options
| -rw-r--r-- | meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch | 28 | ||||
| -rw-r--r-- | meta-networking/recipes-support/nis/yp-tools/0002-yp_dump_bindings.c-Include-string.h-for-memset.patch | 30 | ||||
| -rw-r--r-- | meta-networking/recipes-support/nis/yp-tools_4.2.3.bb (renamed from meta-networking/recipes-support/nis/yp-tools_4.2.2.bb) | 11 |
3 files changed, 6 insertions, 63 deletions
diff --git a/meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch b/meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch deleted file mode 100644 index 3d4d4f278d..0000000000 --- a/meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | From 420cb6927553bbca5b49b7681cf208e6df6e4d7c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 8 Sep 2017 08:42:45 -0700 | ||
| 4 | Subject: [PATCH 1/2] ypbind3_binding_dup.c: Include string.h for strdup | ||
| 5 | declaration | ||
| 6 | |||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | --- | ||
| 9 | Upstream-Status: Submitted | ||
| 10 | |||
| 11 | lib/ypbind3_binding_dup.c | 1 + | ||
| 12 | 1 file changed, 1 insertion(+) | ||
| 13 | |||
| 14 | diff --git a/lib/ypbind3_binding_dup.c b/lib/ypbind3_binding_dup.c | ||
| 15 | index ce4aadf..8199c0b 100644 | ||
| 16 | --- a/lib/ypbind3_binding_dup.c | ||
| 17 | +++ b/lib/ypbind3_binding_dup.c | ||
| 18 | @@ -19,6 +19,7 @@ | ||
| 19 | |||
| 20 | #if defined(HAVE_YPBIND3) | ||
| 21 | |||
| 22 | +#include <string.h> | ||
| 23 | #include <rpcsvc/yp_prot.h> | ||
| 24 | #include "internal.h" | ||
| 25 | |||
| 26 | -- | ||
| 27 | 2.14.1 | ||
| 28 | |||
diff --git a/meta-networking/recipes-support/nis/yp-tools/0002-yp_dump_bindings.c-Include-string.h-for-memset.patch b/meta-networking/recipes-support/nis/yp-tools/0002-yp_dump_bindings.c-Include-string.h-for-memset.patch deleted file mode 100644 index 0562e58afb..0000000000 --- a/meta-networking/recipes-support/nis/yp-tools/0002-yp_dump_bindings.c-Include-string.h-for-memset.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | From 03ccabb6264c008430c4b1739351df5a63829f8e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 8 Sep 2017 08:52:32 -0700 | ||
| 4 | Subject: [PATCH 2/2] yp_dump_bindings.c: Include string.h for memset | ||
| 5 | |||
| 6 | Fixes | ||
| 7 | error: implicitly declaring library function 'memset' | ||
| 8 | |||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | Upstream-Status: Submitted | ||
| 12 | |||
| 13 | src/yp_dump_binding.c | 1 + | ||
| 14 | 1 file changed, 1 insertion(+) | ||
| 15 | |||
| 16 | diff --git a/src/yp_dump_binding.c b/src/yp_dump_binding.c | ||
| 17 | index a5ab920..d75e2c2 100644 | ||
| 18 | --- a/src/yp_dump_binding.c | ||
| 19 | +++ b/src/yp_dump_binding.c | ||
| 20 | @@ -26,6 +26,7 @@ | ||
| 21 | #include <libintl.h> | ||
| 22 | #include <locale.h> | ||
| 23 | #include <getopt.h> | ||
| 24 | +#include <string.h> | ||
| 25 | #include <sys/stat.h> | ||
| 26 | #include <arpa/inet.h> | ||
| 27 | #include <rpcsvc/ypclnt.h> | ||
| 28 | -- | ||
| 29 | 2.14.1 | ||
| 30 | |||
diff --git a/meta-networking/recipes-support/nis/yp-tools_4.2.2.bb b/meta-networking/recipes-support/nis/yp-tools_4.2.3.bb index 9ac973812c..4e27e32d48 100644 --- a/meta-networking/recipes-support/nis/yp-tools_4.2.2.bb +++ b/meta-networking/recipes-support/nis/yp-tools_4.2.3.bb | |||
| @@ -11,13 +11,14 @@ ypwhich, yppasswd, domainname, nisdomainname \ | |||
| 11 | and ypdomainname. \ | 11 | and ypdomainname. \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2 \ | 14 | # v4.2.3 |
| 15 | SRCREV = "1bfda29c342a81b97cb1995ffd9e8da5de63e7ab" | ||
| 16 | |||
| 17 | SRC_URI = "git://github.com/thkukuk/yp-tools \ | ||
| 15 | file://domainname.service \ | 18 | file://domainname.service \ |
| 16 | file://0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch \ | ||
| 17 | file://0002-yp_dump_bindings.c-Include-string.h-for-memset.patch \ | ||
| 18 | " | 19 | " |
| 19 | SRC_URI[md5sum] = "fb4a8bffb44ae5d3390351d67f320ef3" | 20 | |
| 20 | SRC_URI[sha256sum] = "137f19a986382b275bf4a2b1a69eb26689d6f4ac056ddaa21784d6b80eb98faa" | 21 | S = "${WORKDIR}/git" |
| 21 | 22 | ||
| 22 | DEPENDS = "libtirpc libnsl2" | 23 | DEPENDS = "libtirpc libnsl2" |
| 23 | 24 | ||
