rpcbind: update to 0.2.3.

This commit is contained in:
Juan RP 2015-04-28 07:07:03 +02:00
parent dca9b1b0e7
commit dfb7a666b6
2 changed files with 3 additions and 27 deletions

View File

@ -1,24 +0,0 @@
# patch for iana services file
--- src/rpcbind.c.orig 2008-11-19 14:17:34.000000000 +0100
+++ src/rpcbind.c 2010-01-07 13:03:37.416632894 +0100
@@ -114,7 +114,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 *[]));
--- src/rpcinfo.c~ 2010-01-08 16:14:24.592156602 +0000
+++ src/rpcinfo.c 2010-01-08 16:14:31.578838609 +0000
@@ -633,7 +633,7 @@
{
memset (&hints, 0, sizeof hints);
hints.ai_family = AF_INET;
- if ((error = getaddrinfo (host, "rpcbind", &hints, &res)) != 0 &&
+ if ((error = getaddrinfo (host, "sunrpc", &hints, &res)) != 0 &&
(error = getaddrinfo (host, "portmapper", &hints, &res)) != 0)
{
fprintf (stderr, "rpcinfo: %s: %s\n",

View File

@ -1,7 +1,7 @@
# Template file for 'rpcbind'
pkgname=rpcbind
version=0.2.2
revision=2
version=0.2.3
revision=1
build_pie=yes
build_style=gnu-configure
configure_args="--enable-warmstarts --with-statedir=/run --with-rpcuser=rpc
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://rpcbind.sourceforge.net"
license="BSD"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=13dbc8c796dbe0ce8df873007bea0490c8460b56202d918c9eb6fa0358a08f29
checksum=9897823a9d820ea011d9ea02054d5ab99469b9ca5346265fee380713c8fed27b
build_options="systemd"
system_accounts="rpc"