aboutsummaryrefslogtreecommitdiffstats
path: root/package/rpcbind/rpcbind-01-no-yp-support.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-10 11:42:45 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-14 23:00:27 +0100
commitbff62a2a8783d9f65e05586ff61e7229c8cab357 (patch)
treef9e4babe1cf22ba257e2f352c181725f2e2be19c /package/rpcbind/rpcbind-01-no-yp-support.patch
parent96bdfdf08a88e190c8e36ec4112a09f5f7c07e89 (diff)
downloadbuildroot-novena-bff62a2a8783d9f65e05586ff61e7229c8cab357.tar.gz
buildroot-novena-bff62a2a8783d9f65e05586ff61e7229c8cab357.zip
rpcbind: convert to git patch
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/rpcbind/rpcbind-01-no-yp-support.patch')
-rw-r--r--package/rpcbind/rpcbind-01-no-yp-support.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/package/rpcbind/rpcbind-01-no-yp-support.patch b/package/rpcbind/rpcbind-01-no-yp-support.patch
deleted file mode 100644
index e9e6c9d76..000000000
--- a/package/rpcbind/rpcbind-01-no-yp-support.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Remove yellow pages support
-
-This support requires yellow pages support in libtirpc, which isn't
-available. As most Buildroot users are most likely never going to need
-such feature, get rid of it.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Index: b/src/security.c
-===================================================================
---- a/src/security.c
-+++ b/src/security.c
-@@ -23,9 +23,6 @@
- #include <rpcsvc/mount.h>
- #include <rpcsvc/rquota.h>
- #include <rpcsvc/nfs_prot.h>
--#include <rpcsvc/yp.h>
--#include <rpcsvc/ypclnt.h>
--#include <rpcsvc/yppasswd.h>
-
- #include "rpcbind.h"
-
-@@ -322,24 +319,9 @@
- args->rmt_proc != MOUNTPROC_UMNT)
- break;
- goto deny;
-- case YPBINDPROG:
-- if (args->rmt_proc != YPBINDPROC_SETDOM)
-- break;
-- /* FALLTHROUGH */
-- case YPPASSWDPROG:
- case NFS_PROGRAM:
- case RQUOTAPROG:
- goto deny;
-- case YPPROG:
-- switch (args->rmt_proc) {
-- case YPPROC_ALL:
-- case YPPROC_MATCH:
-- case YPPROC_FIRST:
-- case YPPROC_NEXT:
-- goto deny;
-- default:
-- break;
-- }
- default:
- break;
- }