From b7e76f186ff50517ae71945e9fa96c8121e8248a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 29 Apr 2015 10:16:21 +0200 Subject: [PATCH] rpcbind: re-add patch to match service in /etc/services (close #1456). --- srcpkgs/rpcbind/patches/rpcbind-sunrpc.patch | 11 +++++++++++ srcpkgs/rpcbind/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/rpcbind/patches/rpcbind-sunrpc.patch diff --git a/srcpkgs/rpcbind/patches/rpcbind-sunrpc.patch b/srcpkgs/rpcbind/patches/rpcbind-sunrpc.patch new file mode 100644 index 00000000000..518095c4ec4 --- /dev/null +++ b/srcpkgs/rpcbind/patches/rpcbind-sunrpc.patch @@ -0,0 +1,11 @@ +--- src/rpcbind.c 2015-04-27 16:07:43.000000000 +0200 ++++ src/rpcbind.c 2015-04-27 19:48:44.518124944 +0200 +@@ -132,7 +132,7 @@ + char *udp_uaddr; /* Universal UDP address */ + char *tcp_uaddr; /* Universal TCP address */ + #endif +-static char servname[] = "rpcbind"; ++static char servname[] = "sunrpc"; + static char superuser[] = "superuser"; + + int main __P((int, char *[])); diff --git a/srcpkgs/rpcbind/template b/srcpkgs/rpcbind/template index f1987d95844..c596510a22c 100644 --- a/srcpkgs/rpcbind/template +++ b/srcpkgs/rpcbind/template @@ -1,7 +1,7 @@ # Template file for 'rpcbind' pkgname=rpcbind version=0.2.3 -revision=1 +revision=2 build_pie=yes build_style=gnu-configure configure_args="--enable-warmstarts --with-statedir=/run --with-rpcuser=rpc