diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2016-01-27 16:43:03 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-04-17 12:38:09 -0700 |
commit | beaa9a80c435f1fabd13c38a365804714338e66e (patch) | |
tree | 819e8fc84771f5748a2eeff69ebfcbc06d9cb4a7 /meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/netkit-rsh-0.17-rexec-ipv6.patch | |
parent | 11059971eda369e80142ff148ab87929ea75cd7b (diff) | |
download | meta-openembedded-beaa9a80c435f1fabd13c38a365804714338e66e.tar.gz |
netkit-rsh: add two patches and some fixes.
* Update the checksum of the license text to include all the
license text to instead of the previous only from two to
three line.
* Customize compile option such as CFLAGS= -D_GNU_SOURCE
and the specific install folder.
* Customize pam configuration file for rsh, rexec.
and rlogin to make them work.
* Update the line "server = /usr/bin/tcpd" to
"server = /usr/sbin/tcpd" for /etc/xinetd.d/{rexec,rlogin,rsh}.
* Fix some typo such as replace RPROVIDES_${PN}-rshd = "rshd"
to RPROVIDES_${PN}-server = "rshd"
* Fix host variable when rsh is renamed to other.
* Add rexec to support ipv6.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/netkit-rsh-0.17-rexec-ipv6.patch')
-rw-r--r-- | meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/netkit-rsh-0.17-rexec-ipv6.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/netkit-rsh-0.17-rexec-ipv6.patch b/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/netkit-rsh-0.17-rexec-ipv6.patch new file mode 100644 index 000000000..efd060f36 --- /dev/null +++ b/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/netkit-rsh-0.17-rexec-ipv6.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | make rexec support ipv6 | ||
2 | |||
3 | Upstream-status: Pending | ||
4 | |||
5 | rexec equals rexec_af(... ,AF_INET) which only support ipv4, | ||
6 | use rexec_af(..., AF_UNSPEC) to support both ipv6 and ipv4. | ||
7 | |||
8 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | ||
9 | --- | ||
10 | rexec/rexec.c | 4 ++-- | ||
11 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/rexec/rexec.c b/rexec/rexec.c | ||
14 | index 0913c02..9c8f769 100644 | ||
15 | --- a/rexec/rexec.c | ||
16 | +++ b/rexec/rexec.c | ||
17 | @@ -214,8 +214,8 @@ int main(int argc, char *argv[]) | ||
18 | passwd = getpass("Password: "); | ||
19 | } | ||
20 | |||
21 | - if ( (sock = rexec(&host, port_exec, user_name, passwd, command, | ||
22 | - p_to_aux_sock)) < 0 ) | ||
23 | + if ( (sock = rexec_af(&host, port_exec, user_name, passwd, command, | ||
24 | + p_to_aux_sock, AF_UNSPEC)) < 0 ) | ||
25 | { | ||
26 | fprintf(stderr,"%s: Error in rexec system call: ",argv[0]); | ||
27 | perror(NULL); | ||
28 | -- | ||
29 | 1.7.4.1 | ||
30 | |||