diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-08-09 02:11:20 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-08-09 02:11:20 +0000 |
commit | b8851b154cd3a62ab69ef73dfaabec7f68bda1e4 (patch) | |
tree | 79874d930f61af12908762361b61b1ffe3be9c94 /security/dsniff | |
parent | 2070f30547394c8eb3852bef673eea7a1a42c1cd (diff) | |
download | ports-b8851b154cd3a62ab69ef73dfaabec7f68bda1e4.tar.gz ports-b8851b154cd3a62ab69ef73dfaabec7f68bda1e4.zip |
Notes
Diffstat (limited to 'security/dsniff')
-rw-r--r-- | security/dsniff/Makefile | 9 | ||||
-rw-r--r-- | security/dsniff/files/patch-Makefile.in | 29 |
2 files changed, 23 insertions, 15 deletions
diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile index 10c01218ca4b..908f1b5e86ec 100644 --- a/security/dsniff/Makefile +++ b/security/dsniff/Makefile @@ -1,4 +1,4 @@ -# Created by: kris@FreeBSD.org +# Created by: Kris Kennaway <kris@FreeBSD.org> # $FreeBSD$ PORTNAME= dsniff @@ -21,11 +21,8 @@ USES= pkgconfig WANT_GNOME= yes OPTIONS_DEFINE= X11 - OPTIONS_DEFAULT= X11 -.include <bsd.port.options.mk> - MAN8= arpspoof.8 ${PORTNAME}.8 macof.8 mailsnarf.8 tcpkill.8 \ tcpnice.8 urlsnarf.8 filesnarf.8 dnsspoof.8 msgsnarf.8 \ sshmitm.8 webmitm.8 @@ -38,7 +35,7 @@ LIBNET_INC= "`${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --cflags`" LIBNET_LIB= "-L${LOCALBASE}/include/libnet${LIBNET_VERSION} \ ${LOCALBASE}/lib/libnet${LIBNET_VERSION}/libnet.a" -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> # If net/libnids has been compiled with the GLIB2 option then this port needs # the corresponding library and additional linker flags. @@ -74,4 +71,4 @@ pre-configure: ${WRKSRC}/Makefile.in .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/security/dsniff/files/patch-Makefile.in b/security/dsniff/files/patch-Makefile.in index 0e3e94f38ce9..d5f9fd9344cc 100644 --- a/security/dsniff/files/patch-Makefile.in +++ b/security/dsniff/files/patch-Makefile.in @@ -21,7 +21,7 @@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ -@@ -76,7 +75,7 @@ +@@ -76,22 +75,23 @@ .c.o: $(CC) $(CFLAGS) $(INCS) -c $(srcdir)/$*.c @@ -29,22 +29,33 @@ +all: $(PROGS) mount.c: mount.x - rpcgen -h mount.x -o mount.h -@@ -86,13 +85,6 @@ - rpcgen -h nfs_prot.x -o nfs_prot.h - rpcgen -c nfs_prot.x -o nfs_prot.c +- rpcgen -h mount.x -o mount.h +- rpcgen -c mount.x -o mount.c ++ rpcgen -c mount.x -o $@ ++ ++mount.h: mount.x ++ rpcgen -h mount.x -o $@ ++ ++decode_mountd.c: mount.h + + nfs_prot.c: nfs_prot.x +- rpcgen -h nfs_prot.x -o nfs_prot.h +- rpcgen -c nfs_prot.x -o nfs_prot.c ++ rpcgen -c nfs_prot.x -o $@ -$(LIBOBJS): - $(CC) $(CFLAGS) $(INCS) -c $(srcdir)/missing/$*.c -- ++nfs_prot.h: nfs_prot.x ++ rpcgen -h nfs_prot.x -o $@ + -libmissing.a: $(LIBOBJS) - ar -cr $@ $(LIBOBJS) - $(RANLIB) $@ -- ++filesnarf.c: nfs_prot.h + dsniff: $(HDRS) $(SRCS) $(OBJS) $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(DBLIB) $(SSLLIB) - -@@ -153,7 +145,7 @@ +@@ -153,7 +153,7 @@ done clean: |