diff options
-rw-r--r-- | net/rdist6/Makefile | 2 | ||||
-rw-r--r-- | net/rdist6/files/patch-ae | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/rdist6/Makefile b/net/rdist6/Makefile index 4c7536cb347e..a80f407134ae 100644 --- a/net/rdist6/Makefile +++ b/net/rdist6/Makefile @@ -7,7 +7,7 @@ PORTNAME= rdist PORTVERSION= 6.1.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://www.magnicomp.com/download/rdist/ \ ftp://ftp.sunet.se/pub/unix/admin/mirror-magnicomp/download/rdist/ diff --git a/net/rdist6/files/patch-ae b/net/rdist6/files/patch-ae index 8a8766b5a4a7..bd3a1ba9b120 100644 --- a/net/rdist6/files/patch-ae +++ b/net/rdist6/files/patch-ae @@ -29,7 +29,7 @@ if (becomeuser() != 0) exit(1); #else /* !DIRECT_RCMD */ -! if (geteuid() == 0 && strcmp(path_remsh, _PATH_REMSH) == 0) { +! if (geteuid() == 0 && strcmp(path_remsh, "/usr/bin/rsh") == 0) { ! debugmsg(DM_MISC, "I am root, using rsh, therefore direct rcmd\n"); (void) signal(SIGPIPE, sighandler); + |