[packages] dsniff: depends on libnet0, error didn't showup because both libs where...
[packages.git] / net / dsniff / patches / 004-no_yp.patch
1 Index: dsniff-2.4/decode.c
2 ===================================================================
3 --- dsniff-2.4.orig/decode.c    2010-11-03 23:42:49.419000001 +0100
4 +++ dsniff-2.4/decode.c 2010-11-03 23:42:56.481000002 +0100
5 @@ -51,8 +51,6 @@
6  extern int decode_portmap(u_char *, int, u_char *, int);
7  extern int decode_mountd(u_char *, int, u_char *, int);
8  extern int decode_vrrp(u_char *, int, u_char *, int);
9 -extern int decode_ypserv(u_char *, int, u_char *, int);
10 -extern int decode_yppasswd(u_char *, int, u_char *, int);
11  
12  static struct decode decodes[] = {
13         { "hex",        decode_hex },
14 @@ -88,8 +86,6 @@
15         { "irc",        decode_irc },
16         { "portmap",    decode_portmap },
17         { "mountd",     decode_mountd },
18 -       { "ypserv",     decode_ypserv },
19 -       { "yppasswd",   decode_yppasswd },
20         { NULL }
21  };
22  
23 Index: dsniff-2.4/dsniff.services
24 ===================================================================
25 --- dsniff-2.4.orig/dsniff.services     2010-11-03 23:42:49.429000001 +0100
26 +++ dsniff-2.4/dsniff.services  2010-11-03 23:42:56.481000002 +0100
27 @@ -66,5 +66,3 @@
28  aim            9898/tcp
29  pcanywhere     65301/tcp
30  mountd         100005/rpc
31 -ypserv         100004/rpc
32 -yppasswd       100009/rpc
33 Index: dsniff-2.4/Makefile.in
34 ===================================================================
35 --- dsniff-2.4.orig/Makefile.in 2010-11-03 23:42:51.736998874 +0100
36 +++ dsniff-2.4/Makefile.in      2010-11-03 23:42:56.481000002 +0100
37 @@ -60,7 +60,7 @@
38           decode_pop.c decode_portmap.c decode_postgresql.c decode_pptp.c \
39           decode_rip.c decode_rlogin.c decode_smb.c decode_smtp.c \
40           decode_sniffer.c decode_snmp.c decode_socks.c decode_tds.c \
41 -         decode_telnet.c decode_vrrp.c decode_yp.c decode_x11.c
42 +         decode_telnet.c decode_vrrp.c decode_x11.c
43  
44  GEN    = mount.h mount.c nfs_prot.h nfs_prot.c
45