summaryrefslogtreecommitdiff
path: root/package/rpcbind
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-27 16:52:05 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-27 16:52:05 -0500
commita8c74738577cdc2233086f06ddc3f2bf69d13f98 (patch)
treecfdb2e73343a3bf3a10740a53d638cf031a6f315 /package/rpcbind
parent22c39a7cfb66225ec68a211205434255e95c5e0b (diff)
fix build
Diffstat (limited to 'package/rpcbind')
-rw-r--r--package/rpcbind/Makefile2
-rw-r--r--package/rpcbind/patches/patch-src_security_c25
2 files changed, 26 insertions, 1 deletions
diff --git a/package/rpcbind/Makefile b/package/rpcbind/Makefile
index 97860e902..252d046ca 100644
--- a/package/rpcbind/Makefile
+++ b/package/rpcbind/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= rpcbind
PKG_VERSION:= 0.2.3
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= 9897823a9d820ea011d9ea02054d5ab99469b9ca5346265fee380713c8fed27b
PKG_DESCR:= converts rpc program numbers into universal addresses
PKG_SECTION:= net/misc
diff --git a/package/rpcbind/patches/patch-src_security_c b/package/rpcbind/patches/patch-src_security_c
new file mode 100644
index 000000000..1222754ad
--- /dev/null
+++ b/package/rpcbind/patches/patch-src_security_c
@@ -0,0 +1,25 @@
+--- rpcbind-0.2.3.orig/src/security.c 2015-04-27 09:07:43.000000000 -0500
++++ rpcbind-0.2.3/src/security.c 2015-06-27 16:49:53.302652574 -0500
+@@ -20,14 +20,6 @@
+ /*
+ * XXX for special case checks in check_callit.
+ */
+-#ifdef HAVE_RPCSVC_MOUNT_H
+-#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>
+-#else
+ # define MOUNTPROC_MNT 1
+ # define MOUNTPROC_UMNT 3
+ # define NFS_PROGRAM 100003
+@@ -42,7 +34,6 @@
+ # define YPPROC_FIRST 4
+ # define YPPROC_NEXT 5
+ # define YPPROC_ALL 8
+-#endif
+
+ #include "rpcbind.h"
+