rpms/rsh/devel netkit-rsh-0.17-nodns.patch, 1.1, 1.2 rsh.spec, 1.36, 1.37
Adam Tkac (atkac)
fedora-extras-commits at redhat.com
Thu Jul 26 11:51:32 UTC 2007
- Previous message (by thread): rpms/perl-Want/FC-6 .cvsignore, 1.6, 1.7 perl-Want.spec, 1.7, 1.8 sources, 1.6, 1.7
- Next message (by thread): rpms/subversion/F-7 sources, 1.26, 1.27 subversion.spec, 1.94, 1.95 upstream, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: atkac
Update of /cvs/pkgs/rpms/rsh/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28312
Modified Files:
netkit-rsh-0.17-nodns.patch rsh.spec
Log Message:
- improved nodns patch (in.rshd also has -D option now)
netkit-rsh-0.17-nodns.patch:
Index: netkit-rsh-0.17-nodns.patch
===================================================================
RCS file: /cvs/pkgs/rpms/rsh/devel/netkit-rsh-0.17-nodns.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- netkit-rsh-0.17-nodns.patch 11 Apr 2007 17:00:09 -0000 1.1
+++ netkit-rsh-0.17-nodns.patch 26 Jul 2007 11:51:30 -0000 1.2
@@ -1,6 +1,56 @@
---- netkit-rsh-0.17/rlogind/rlogind.8.nodns 2007-04-11 18:57:18.000000000 +0200
-+++ netkit-rsh-0.17/rlogind/rlogind.8 2007-04-11 18:58:03.000000000 +0200
-@@ -53,6 +53,8 @@
+diff -up netkit-rsh-0.17/rshd/rshd.8.nodns netkit-rsh-0.17/rshd/rshd.8
+--- netkit-rsh-0.17/rshd/rshd.8.nodns 2000-07-31 01:57:04.000000000 +0200
++++ netkit-rsh-0.17/rshd/rshd.8 2007-07-26 13:45:04.000000000 +0200
+@@ -40,7 +40,7 @@
+ .Nd remote shell server
+ .Sh SYNOPSIS
+ .Nm rshd
+-.Op Fl ahlnL
++.Op Fl aDhlnL
+ .Sh DESCRIPTION
+ The
+ .Nm rshd
+diff -up netkit-rsh-0.17/rshd/rshd.c.nodns netkit-rsh-0.17/rshd/rshd.c
+--- netkit-rsh-0.17/rshd/rshd.c.nodns 2007-07-26 13:45:04.000000000 +0200
++++ netkit-rsh-0.17/rshd/rshd.c 2007-07-26 13:49:37.000000000 +0200
+@@ -295,6 +295,7 @@ static const char *findhostname(struct s
+ char remote_hostname[NI_MAXHOST];
+ struct addrinfo hints;
+ struct addrinfo *res0, *res;
++ int flags = no_host_check ? NI_NUMERICHOST : 0;
+
+ if (! inet_ntop(fromp->sa_family,
+ (( fromp->sa_family == AF_INET6 )
+@@ -307,7 +308,7 @@ static const char *findhostname(struct s
+ }
+
+ if (getnameinfo(fromp, fromlen, remote_hostname, NI_MAXHOST,
+- NULL, 0, 0)) {
++ NULL, 0, flags)) {
+ syslog(LOG_NOTICE|LOG_AUTH,
+ "Failed to retrieve the hostname information for %s",
+ remote_address);
+@@ -565,6 +566,7 @@ static void network_init(int fd,
+ int error;
+ int on=1;
+ int port;
++ int flags = no_host_check ? NI_NUMERICSERV|NI_NUMERICHOST : NI_NUMERICSERV;
+
+ if (getpeername(fd, (struct sockaddr *)fromp, fromlenp) < 0) {
+ syslog(LOG_ERR, "getpeername: %m");
+@@ -589,7 +591,7 @@ static void network_init(int fd,
+
+ error = getnameinfo((struct sockaddr *)fromp, *fromlenp,
+ hostname, sizeof(hostname), portname, sizeof(portname),
+- NI_NUMERICSERV);
++ flags);
+ if (error) {
+ syslog(LOG_NOTICE|LOG_AUTH,
+ "Failed to retrieve address and port of the connection: %s",
+diff -up netkit-rsh-0.17/rlogind/rlogind.8.nodns netkit-rsh-0.17/rlogind/rlogind.8
+--- netkit-rsh-0.17/rlogind/rlogind.8.nodns 2000-07-31 01:57:04.000000000 +0200
++++ netkit-rsh-0.17/rlogind/rlogind.8 2007-07-26 13:45:04.000000000 +0200
+@@ -53,6 +53,8 @@ Options supported by
.Bl -tag -width Ds
.It Fl a
Ask hostname for verification.
@@ -9,9 +59,10 @@
.It Fl h
Permit use of superuser
.Dq Pa .rhosts
---- netkit-rsh-0.17/rlogind/network.c.nodns 2007-04-11 18:48:49.000000000 +0200
-+++ netkit-rsh-0.17/rlogind/network.c 2007-04-11 18:48:49.000000000 +0200
-@@ -127,6 +127,12 @@
+diff -up netkit-rsh-0.17/rlogind/network.c.nodns netkit-rsh-0.17/rlogind/network.c
+--- netkit-rsh-0.17/rlogind/network.c.nodns 2007-07-26 13:45:04.000000000 +0200
++++ netkit-rsh-0.17/rlogind/network.c 2007-07-26 13:45:04.000000000 +0200
+@@ -127,6 +127,12 @@ find_hostname(struct sockaddr *fromp, so
error = getnameinfo(fromp, fromlen,
hname_buf, sizeof(hname_buf), portname, NI_MAXSERV,
NI_NUMERICSERV);
Index: rsh.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rsh/devel/rsh.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- rsh.spec 11 Apr 2007 17:00:10 -0000 1.36
+++ rsh.spec 26 Jul 2007 11:51:30 -0000 1.37
@@ -1,7 +1,7 @@
Summary: Clients for remote access commands (rsh, rlogin, rcp).
Name: rsh
Version: 0.17
-Release: 40%{?dist}
+Release: 41%{?dist}
License: BSD
Group: Applications/Internet
@@ -184,14 +184,17 @@
%{_mandir}/man8/*.8*
%changelog
-* Tue Apr 10 2007 Adam Tkac <atkac redhat com> 0.17-40.fc7
+* Wed Jul 26 2007 Adam Tkac <atkac redhat com> 0.17-41
+- improved nodns patch (in.rshd also has -D option now)
+
+* Tue Apr 10 2007 Adam Tkac <atkac redhat com> 0.17-40
- improved -D option to rlogind - when name won't be resolved rlogind uses IP address
- added smp_mflags to make
-* Mon Jan 22 2007 Adam Tkac <atkac redhat com> 0.17-39.fc7
+* Mon Jan 22 2007 Adam Tkac <atkac redhat com> 0.17-39
- rebased on ncurses instead of libtermcap
-* Tue Dec 05 2006 Adam Tkac <atkac redhat com> 0.17-38.fc7
+* Tue Dec 05 2006 Adam Tkac <atkac redhat com> 0.17-38
- rsh now load pan_env module correctly
* Tue Oct 24 2006 Adam Tkac <atkac at redhat.com> 0.17-37
- Previous message (by thread): rpms/perl-Want/FC-6 .cvsignore, 1.6, 1.7 perl-Want.spec, 1.7, 1.8 sources, 1.6, 1.7
- Next message (by thread): rpms/subversion/F-7 sources, 1.26, 1.27 subversion.spec, 1.94, 1.95 upstream, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list