summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/nis
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-04-02 11:05:44 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2018-04-25 15:53:45 -0400
commit73d958b50bb2f993070add862fa1ef79dfcf5da3 (patch)
tree4c7406469265534986cd571c59940a5a19e549a5 /meta-networking/recipes-support/nis
parent2bf7775742cc51e5081c6dce472575c6bd8a1746 (diff)
downloadmeta-openembedded-73d958b50bb2f993070add862fa1ef79dfcf5da3.tar.gz
yp-tools: Upgrade to 4.2.3
Switch to github for SRC_URI Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/nis')
-rw-r--r--meta-networking/recipes-support/nis/yp-tools/0001-ypbind3_binding_dup.c-Include-string.h-for-strdup-de.patch28
-rw-r--r--meta-networking/recipes-support/nis/yp-tools/0002-yp_dump_bindings.c-Include-string.h-for-memset.patch30
-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 3d4d4f278..000000000
--- 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 @@
1From 420cb6927553bbca5b49b7681cf208e6df6e4d7c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 8 Sep 2017 08:42:45 -0700
4Subject: [PATCH 1/2] ypbind3_binding_dup.c: Include string.h for strdup
5 declaration
6
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9Upstream-Status: Submitted
10
11 lib/ypbind3_binding_dup.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/lib/ypbind3_binding_dup.c b/lib/ypbind3_binding_dup.c
15index 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--
272.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 0562e58af..000000000
--- 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 @@
1From 03ccabb6264c008430c4b1739351df5a63829f8e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 8 Sep 2017 08:52:32 -0700
4Subject: [PATCH 2/2] yp_dump_bindings.c: Include string.h for memset
5
6Fixes
7error: implicitly declaring library function 'memset'
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Submitted
12
13 src/yp_dump_binding.c | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/src/yp_dump_binding.c b/src/yp_dump_binding.c
17index 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--
292.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 9ac973812..4e27e32d4 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 \
11and ypdomainname. \ 11and ypdomainname. \
12" 12"
13 13
14SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2 \ 14# v4.2.3
15SRCREV = "1bfda29c342a81b97cb1995ffd9e8da5de63e7ab"
16
17SRC_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 "
19SRC_URI[md5sum] = "fb4a8bffb44ae5d3390351d67f320ef3" 20
20SRC_URI[sha256sum] = "137f19a986382b275bf4a2b1a69eb26689d6f4ac056ddaa21784d6b80eb98faa" 21S = "${WORKDIR}/git"
21 22
22DEPENDS = "libtirpc libnsl2" 23DEPENDS = "libtirpc libnsl2"
23 24