summaryrefslogtreecommitdiff
path: root/package/rpcbind/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/rpcbind/patches')
-rw-r--r--package/rpcbind/patches/patch-src_Makefile_am10
-rw-r--r--package/rpcbind/patches/patch-src_rpcbind_c14
-rw-r--r--package/rpcbind/patches/patch-src_security_c6
3 files changed, 3 insertions, 27 deletions
diff --git a/package/rpcbind/patches/patch-src_Makefile_am b/package/rpcbind/patches/patch-src_Makefile_am
deleted file mode 100644
index 5ae859550..000000000
--- a/package/rpcbind/patches/patch-src_Makefile_am
+++ /dev/null
@@ -1,10 +0,0 @@
---- rpcbind-0.2.0.orig/src/Makefile.am 2009-05-29 15:38:22.000000000 +0200
-+++ rpcbind-0.2.0/src/Makefile.am 2013-10-29 15:53:05.000000000 +0100
-@@ -29,6 +29,6 @@ rpcinfo_LDADD = $(LIB_TIRPC)
-
- rpcbind_LDFLAGS = -lpthread -ltirpc
- rpcbind_LDADD = $(LIB_TIRPC)
--AM_CPPFLAGS = -I/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP \
-+AM_CPPFLAGS = -DCHECK_LOCAL -DPORTMAP \
- -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO
-
diff --git a/package/rpcbind/patches/patch-src_rpcbind_c b/package/rpcbind/patches/patch-src_rpcbind_c
deleted file mode 100644
index 358bdc0c0..000000000
--- a/package/rpcbind/patches/patch-src_rpcbind_c
+++ /dev/null
@@ -1,14 +0,0 @@
---- rpcbind-0.2.0.orig/src/rpcbind.c 2009-05-29 15:38:22.000000000 +0200
-+++ rpcbind-0.2.0/src/rpcbind.c 2010-02-06 01:54:03.194325296 +0100
-@@ -67,7 +67,11 @@
- #include <pwd.h>
- #include <string.h>
- #include <errno.h>
-+#if defined(__UCLIBC__)
-+#define __nss_configure_lookup(x,y)
-+#else
- #include <nss.h>
-+#endif
- #include "config.h"
- #include "rpcbind.h"
-
diff --git a/package/rpcbind/patches/patch-src_security_c b/package/rpcbind/patches/patch-src_security_c
index 08a86565a..36035d1b0 100644
--- a/package/rpcbind/patches/patch-src_security_c
+++ b/package/rpcbind/patches/patch-src_security_c
@@ -1,5 +1,5 @@
---- rpcbind-0.2.0.orig/src/security.c 2009-05-29 15:38:22.000000000 +0200
-+++ rpcbind-0.2.0/src/security.c 2010-02-27 19:57:02.000000000 +0100
+--- rpcbind-0.2.1.orig/src/security.c 2013-08-19 16:49:34.000000000 +0200
++++ rpcbind-0.2.1/src/security.c 2014-05-14 18:57:44.779341743 +0200
@@ -20,12 +20,28 @@
/*
* XXX for special case checks in check_callit.
@@ -10,7 +10,6 @@
-#include <rpcsvc/yp.h>
-#include <rpcsvc/ypclnt.h>
-#include <rpcsvc/yppasswd.h>
-+
+#define MOUNTPROC_MNT 1
+#define MOUNTPROC_UMNT 3
+
@@ -32,6 +31,7 @@
+#define YPPROC_ALL 8
+
+#define YPBINDPROC_SETDOM 2
++
#include "rpcbind.h"