rpms/rsh/devel netkit-rsh-0.17-nohostcheck-compat.patch, NONE, 1.1 rsh.spec, 1.39, 1.40

Adam Tkac (atkac) fedora-extras-commits at redhat.com
Tue Oct 16 13:29:19 UTC 2007


Author: atkac

Update of /cvs/pkgs/rpms/rsh/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32637

Modified Files:
	rsh.spec 
Added Files:
	netkit-rsh-0.17-nohostcheck-compat.patch 
Log Message:
- added -D option for compatibility with F8 test releases
- fixed rsh-server description


netkit-rsh-0.17-nohostcheck-compat.patch:

--- NEW FILE netkit-rsh-0.17-nohostcheck-compat.patch ---
diff -up netkit-rsh-0.17/rshd/rshd.c.nohostcheck-compat netkit-rsh-0.17/rshd/rshd.c
--- netkit-rsh-0.17/rshd/rshd.c.nohostcheck-compat	2007-10-03 13:06:08.000000000 +0200
+++ netkit-rsh-0.17/rshd/rshd.c	2007-10-03 13:07:15.000000000 +0200
@@ -90,7 +90,7 @@ char rcsid[] = 
 static pam_handle_t *pamh;
 #endif /* USE_PAM */
 
-#define	OPTIONS	"ahlLn"
+#define	OPTIONS	"aDhlLn"
 
 static int keepalive = 1;
 static int check_all = 0;
@@ -658,6 +658,9 @@ main(int argc, char *argv[])
 			check_all = 1;
 			break;
 
+		case 'D':
+			break;
+
 		case 'h':
 			allow_root_rhosts = 1;
 			break;
diff -up netkit-rsh-0.17/rlogind/rlogind.c.nohostcheck-compat netkit-rsh-0.17/rlogind/rlogind.c
--- netkit-rsh-0.17/rlogind/rlogind.c.nohostcheck-compat	2007-10-03 13:06:08.000000000 +0200
+++ netkit-rsh-0.17/rlogind/rlogind.c	2007-10-03 13:06:45.000000000 +0200
@@ -450,9 +450,10 @@ int main(int argc, char **argv) {
     openlog("rlogind", LOG_PID | LOG_CONS, LOG_AUTH);
 
     opterr = 0;
-    while ((ch = getopt(argc, argv, "ahLln")) != EOF) {
+    while ((ch = getopt(argc, argv, "aDhLln")) != EOF) {
 	switch (ch) {
 	    case 'a': check_all = 1; break;
+	    case 'D': break;
 	    case 'h': allow_root_rhosts = 1; break;
 	    case 'L': deny_all_rhosts_hequiv = 1; break;
 	    case 'l': use_rhosts = 0; break;


Index: rsh.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rsh/devel/rsh.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- rsh.spec	15 Oct 2007 16:41:00 -0000	1.39
+++ rsh.spec	16 Oct 2007 13:28:47 -0000	1.40
@@ -1,7 +1,7 @@
 Summary: Clients for remote access commands (rsh, rlogin, rcp).
 Name: rsh
 Version: 0.17
-Release: 43%{?dist}
+Release: 44%{?dist}
 License: BSD
 Group: Applications/Internet
 
@@ -51,6 +51,7 @@
 Patch30: netkit-rsh-0.17-ipv6.patch
 Patch31: netkit-rsh-0.17-pam_env.patch
 Patch33: netkit-rsh-0.17-dns.patch
+Patch34: netkit-rsh-0.17-nohostcheck-compat.patch
 
 %description
 The rsh package contains a set of programs which allow users to run
@@ -74,8 +75,7 @@
 servers needed for all of these services.  It also contains a server
 for rexec, an alternate method of executing remote commands.
 All of these servers are run by inetd and configured using
-/etc/inetd.conf and PAM.  The rexecd server is disabled by default,
-but the other servers are enabled.
+/etc/xinet.d/ and PAM.
 
 The rsh-server package should be installed to enable remote access
 from other machines.
@@ -114,6 +114,7 @@
 %patch30 -p1 -b .ipv6
 %patch31 -p1 -b .pam_env
 %patch33 -p1 -b .dns
+%patch34 -p1 -b .compat
 
 # No, I don't know what this is doing in the tarball.
 rm -f rexec/rexec
@@ -182,6 +183,10 @@
 %{_mandir}/man8/*.8*
 
 %changelog
+* Tue Oct 16 2007 Adam Tkac <atkac redhat com> 0.17-44
+- added -D option for compatibility with F8 test releases
+- fixed rsh-server description
+
 * Thu Sep 27 2007 Adam Tkac <atkac redhat com> 0.17-43
 - removed -D option from rshd and rlogind (we have -a option when
   we need force reverse DNS lookup)




More information about the fedora-extras-commits mailing list