nano-tetra-packages-community/network/dsniff/patches/004-no_yp.patch

46 lines
1.7 KiB
Diff

Index: dsniff-2.4/decode.c
===================================================================
--- dsniff-2.4.orig/decode.c 2010-11-03 23:42:49.419000001 +0100
+++ dsniff-2.4/decode.c 2010-11-03 23:42:56.481000002 +0100
@@ -51,8 +51,6 @@
extern int decode_portmap(u_char *, int, u_char *, int);
extern int decode_mountd(u_char *, int, u_char *, int);
extern int decode_vrrp(u_char *, int, u_char *, int);
-extern int decode_ypserv(u_char *, int, u_char *, int);
-extern int decode_yppasswd(u_char *, int, u_char *, int);
static struct decode decodes[] = {
{ "hex", decode_hex },
@@ -88,8 +86,6 @@
{ "irc", decode_irc },
{ "portmap", decode_portmap },
{ "mountd", decode_mountd },
- { "ypserv", decode_ypserv },
- { "yppasswd", decode_yppasswd },
{ NULL }
};
Index: dsniff-2.4/dsniff.services
===================================================================
--- dsniff-2.4.orig/dsniff.services 2010-11-03 23:42:49.429000001 +0100
+++ dsniff-2.4/dsniff.services 2010-11-03 23:42:56.481000002 +0100
@@ -66,5 +66,3 @@
aim 9898/tcp
pcanywhere 65301/tcp
mountd 100005/rpc
-ypserv 100004/rpc
-yppasswd 100009/rpc
Index: dsniff-2.4/Makefile.in
===================================================================
--- dsniff-2.4.orig/Makefile.in 2010-11-03 23:42:51.736998874 +0100
+++ dsniff-2.4/Makefile.in 2010-11-03 23:42:56.481000002 +0100
@@ -60,7 +60,7 @@
decode_pop.c decode_portmap.c decode_postgresql.c decode_pptp.c \
decode_rip.c decode_rlogin.c decode_smb.c decode_smtp.c \
decode_sniffer.c decode_snmp.c decode_socks.c decode_tds.c \
- decode_telnet.c decode_vrrp.c decode_yp.c decode_x11.c
+ decode_telnet.c decode_vrrp.c decode_x11.c
GEN = mount.h mount.c nfs_prot.h nfs_prot.c