File: readme-functions.patch

package info (click to toggle)
dante 1.4.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,580 kB
  • sloc: ansic: 60,866; yacc: 3,454; lex: 1,826; makefile: 369; awk: 220; sh: 214
file content (63 lines) | stat: -rw-r--r-- 2,020 bytes parent folder | download
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
From: Adrian Bridgett <bridgett@debian.org>
Date: Fri, 4 Jan 2019 10:05:25 +0200
Subject: Remove the list of overridden functions; better to include socks.h

Forwarded: no
Last-Update: 2010-07-02
---
 doc/README.usage | 36 ++----------------------------------
 1 file changed, 2 insertions(+), 34 deletions(-)

diff --git a/doc/README.usage b/doc/README.usage
index d00757c..a31f170 100644
--- a/doc/README.usage
+++ b/doc/README.usage
@@ -27,46 +27,14 @@ socksified versions instead of the standard ones.  The application
 is then linked with the libsocks library in the distribution (-lsocksd,
 not -ldsocksd).
 
-These function calls can be found in the socks library:
-Raccept
-Rbind
-Rbindresvport
-Rconnect
-Rgetaddrinfo
-Rgethostbyname
-Rgethostbyname2
-Rgetipnodebyname
-Rgetpeername
-Rgetsockname
-Rlisten
-Rread
-Rreadv
-Rrecv
-Rrecvfrom
-Rrecvfrom
-Rrecvmsg
-Rrresvport
-Rsend
-Rsendmsg
-Rsendto
-Rwrite
-Rwritev
+These system calls can be found in the socks include file "socks.h"
+which should be included in all relevant source files.
 
 These calls currently does nothing and are only provided for
 compatibility with programs which use them:
 Rselect
 SOCKSinit
 
-The source can either be modified directly, or by using defines to
-change the source during compilation, as following:
-
-Either add this line to the command compilation line (e.g. CFLAGS):
--Dconnect=Rconnect -Dbind=Rbind -Dgetsockname=Rgetsockname -Dgetpeername=Rgetpeername -Daccept=Raccept -Drresvport=Rrresvport -Dbindresvport=Rbindresvport -Dgethostbyname=Rgethostbyname -Dgethostbyname2=Rgethostbyname2 -Dsendto=Rsendto -Drecvfrom=Rrecvfrom -Drecvfrom=Rrecvfrom -Dwrite=Rwrite -Dwritev=Rwritev -Dlisten=Rlisten -Dsend=Rsend -Dsendmsg=Rsendmsg -Dread=Rread -Dreadv=Rreadv -Drecv=Rrecv -Drecvmsg=Rrecvmsg -Dgetaddrinfo=Rgetaddrinfo -Dgetipnodebyname=Rgetipnodebyname
-
-or add "include <socks.h>" to every C file in the program you are
-compiling.
-
-
 
 Libraries
 	In total there are three libraries distributed with this package: