Annotation of /trunk/netkit-rsh/patches/netkit-rsh-0.17-rexec.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 1615 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 1615 byte(s)
-import
1 | niro | 153 | --- netkit-rsh-0.10/rexecd/rexecd.8.rexec Mon Jul 15 03:53:47 1996 |
2 | +++ netkit-rsh-0.10/rexecd/rexecd.8 Fri Jul 30 19:13:15 1999 | ||
3 | @@ -68,8 +68,9 @@ | ||
4 | it is interpreted as the port number of a secondary | ||
5 | stream to be used for the | ||
6 | .Em stderr . | ||
7 | -A second connection is then created to the specified | ||
8 | -port on the client's machine. | ||
9 | +A second connection will be created to the specified | ||
10 | +port on the client's machine after receiving and authenticating | ||
11 | +the user, password, and command from the client. | ||
12 | .It | ||
13 | A NUL terminated user name of at most 16 characters | ||
14 | is retrieved on the initial socket. | ||
15 | --- netkit-rsh-0.10/rexec/Makefile.rexec Thu Jul 29 23:32:28 1999 | ||
16 | +++ netkit-rsh-0.10/rexec/Makefile Fri Jul 30 19:14:15 1999 | ||
17 | @@ -1,30 +1,23 @@ | ||
18 | |||
19 | SHELL = /bin/sh | ||
20 | |||
21 | -BINDIR = /usr/local/bin | ||
22 | -MANDIR = /usr/local/man/man1 | ||
23 | +include ../MCONFIG | ||
24 | +include ../MRULES | ||
25 | |||
26 | # Uncomment this line if you get link errors under Solaris | ||
27 | #LDLIBS=-lsocket -lnsl | ||
28 | |||
29 | .PHONY: all | ||
30 | |||
31 | -all: rexec install | ||
32 | +all: rexec | ||
33 | |||
34 | rexec: rexec.c | ||
35 | |||
36 | rexec.1: | ||
37 | |||
38 | +clean: | ||
39 | + rm -f *.o rexec | ||
40 | + | ||
41 | install: rexec rexec.1 | ||
42 | - @ echo "Installation: Press enter for defaults."; \ | ||
43 | - echo -n "Enter the location to install executable "; \ | ||
44 | - echo -n " (default: $(BINDIR)): "; \ | ||
45 | - read bindir; \ | ||
46 | - bindir=$${bindir:-$(BINDIR)}; \ | ||
47 | - echo -n "Enter the manpage location (default $(MANDIR)): ";\ | ||
48 | - read mandir; \ | ||
49 | - mandir=$${mandir:-$(MANDIR)}; \ | ||
50 | - cp rexec $$bindir; \ | ||
51 | - chmod a+rx $${bindir}/rexec; \ | ||
52 | - cp rexec.1 $$mandir; \ | ||
53 | - chmod a+r $${mandir}/rexec.1 | ||
54 | + install -m 0755 rexec $(INSTALLROOT)/$(BINDIR)/rexec | ||
55 | + install -m 0644 rexec.1 $(INSTALLROOT)/$(MANDIR)/man1/rexec.1 |