summary refs log tree commit diff
path: root/pkgs/servers/fingerd/bsd-fingerd/ubuntu-0.17-9.patch
blob: 80968d587ba954e2137ce3889f5752dd3a38ca2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
--- bsd-finger-0.17.orig/fingerd/fingerd.8
+++ bsd-finger-0.17/fingerd/fingerd.8
@@ -36,10 +36,10 @@
 .Dt FINGERD 8
 .Os "Linux NetKit (0.17)"
 .Sh NAME
-.Nm fingerd
+.Nm in.fingerd
 .Nd remote user information server
 .Sh SYNOPSIS
-.Nm fingerd
+.Nm in.fingerd
 .Op Fl wulf
 .Op Fl pL Ar path
 .Op Fl t Ar timeout
@@ -61,7 +61,7 @@
 banner
 which also shows some informations (e.g. uptime, operating system name and
 release) about the system the
-.Nm fingerd
+.Nm in.fingerd
 is running on. Some sites may consider this a security risk as it
 gives out information that may be useful to crackers. 
 .Pp
@@ -85,7 +85,7 @@
 .Pp
 The 
 .Fl p
-option allows specification of an alternate location for fingerd to find
+option allows specification of an alternate location for in.fingerd to find
 the 
 .Dq finger
 program. The
@@ -97,7 +97,7 @@
 option specifies the time to wait for a request before closing the
 connection.  A value of 0 waits forever.  The default is 60 seconds.
 .Pp
-Options to fingerd should be specified in 
+Options to in.fingerd should be specified in 
 .Pa /etc/inetd.conf .
 .Pp
 The finger protocol consists mostly of specifying command arguments.
@@ -105,12 +105,12 @@
 .Xr inetd 8
 .Dq super-server
 runs
-.Nm fingerd
+.Nm in.fingerd
 for 
 .Tn TCP
 requests received on port 79.
 Once connected 
-.Nm fingerd
+.Nm in.fingerd
 reads a single command line
 terminated by a
 .Aq Tn CRLF
--- bsd-finger-0.17.orig/fingerd/fingerd.c
+++ bsd-finger-0.17/fingerd/fingerd.c
@@ -55,6 +55,7 @@
 #include <netinet/in.h>
 #include <sys/utsname.h>
 #include <sys/wait.h>
+#include <sys/socket.h>
 
 #include "pathnames.h"
 #include "../version.h"