diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-06-30 13:56:09 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-06-30 23:34:59 +0200 |
commit | 4414f7f165a32ba5934261d23a882b1152024cd1 (patch) | |
tree | 02e37d00300147fa3c947233babcbc9948377df3 /package/rpcbind/rpcbind-0002-Do-not-try-to-use-NSS-support-when-not-available-in-.patch | |
parent | f2ac23454f2e6724ab252447452101c420b7cf90 (diff) | |
download | buildroot-4414f7f165a32ba5934261d23a882b1152024cd1.tar.gz buildroot-4414f7f165a32ba5934261d23a882b1152024cd1.zip |
rpcbind: bump to version 0.2.1
Patches that were updated to take into account minor upstream
changes:
- rpcbind-0001-Remove-yellow-pages-support.patch
- rpcbind-0003-Make-IPv6-configurable.patch
Patches that were removed as they were no longer needed thanks to
upstream changes:
- rpcbind-0002-Do-not-try-to-use-NSS-support-when-not-available-in-.patch
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/rpcbind/rpcbind-0002-Do-not-try-to-use-NSS-support-when-not-available-in-.patch')
-rw-r--r-- | package/rpcbind/rpcbind-0002-Do-not-try-to-use-NSS-support-when-not-available-in-.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/package/rpcbind/rpcbind-0002-Do-not-try-to-use-NSS-support-when-not-available-in-.patch b/package/rpcbind/rpcbind-0002-Do-not-try-to-use-NSS-support-when-not-available-in-.patch deleted file mode 100644 index f7cc4a68c9..0000000000 --- a/package/rpcbind/rpcbind-0002-Do-not-try-to-use-NSS-support-when-not-available-in-.patch +++ /dev/null @@ -1,60 +0,0 @@ -From cfc70fb4c54e044f724516e9352f974187adb448 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> -Date: Sat, 10 Nov 2012 22:04:12 +0100 -Subject: [PATCH] Do not try to use NSS support when not available in the C - library - -uClibc does not have NSS support, so it is unnecessary to tell the C -library to use the "files" as the source for "services", since it is -the only possible choice. - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---- - src/rpcbind.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/src/rpcbind.c b/src/rpcbind.c -index 525ffba..cde8685 100644 ---- a/src/rpcbind.c -+++ b/src/rpcbind.c -@@ -67,7 +67,9 @@ - #include <pwd.h> - #include <string.h> - #include <errno.h> -+#ifdef HAVE_NSS_H - #include <nss.h> -+#endif - #include "config.h" - #include "rpcbind.h" - -@@ -156,11 +158,13 @@ main(int argc, char *argv[]) - exit(1); - } - -+#ifdef HAVE_NSS_H - /* - * Make sure we use the local service file - * for service lookkups - */ - __nss_configure_lookup("services", "files"); -+#endif - - nc_handle = setnetconfig(); /* open netconfig file */ - if (nc_handle == NULL) { -@@ -222,11 +226,13 @@ main(int argc, char *argv[]) - struct passwd *p; - char *id = runasdaemon ? RUN_AS : rpcbinduser; - -+#ifdef HAVE_NSS_H - /* - * Make sure we use the local password file - * for these lookups. - */ - __nss_configure_lookup("passwd", "files"); -+#endif - - if((p = getpwnam(id)) == NULL) { - syslog(LOG_ERR, "cannot get uid of '%s': %m", id); --- -1.7.9.5 - |