Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 07:07:19 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343308 - in head/security/dsniff: . files
Message-ID:  <201402080707.s1877JJI047382@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Feb  8 07:07:19 2014
New Revision: 343308
URL: http://svnweb.freebsd.org/changeset/ports/343308
QAT: https://qat.redports.org/buildarchive/r343308/

Log:
  Last attempt to fix dsniff
  
  Reported by:	pkg-fallout (again)

Modified:
  head/security/dsniff/Makefile
  head/security/dsniff/files/patch-Makefile.in

Modified: head/security/dsniff/Makefile
==============================================================================
--- head/security/dsniff/Makefile	Sat Feb  8 05:18:19 2014	(r343307)
+++ head/security/dsniff/Makefile	Sat Feb  8 07:07:19 2014	(r343308)
@@ -36,6 +36,7 @@ LIBNET_INC=	"`${LIBNET_CONFIG} --defines
 LIBNET_LIB=	"-L${LOCALBASE}/include/libnet${LIBNET_VERSION} \
 		${LOCALBASE}/lib/libnet${LIBNET_VERSION}/libnet.a"
 
+.include <bsd.port.pre.mk>
 # If net/libnids has been compiled with the GLIB2 option then this port needs
 # the corresponding library and additional linker flags.
 LIBNIDS_GLIB2?=
@@ -61,4 +62,4 @@ pre-configure:
 		${WRKSRC}/Makefile.in
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/security/dsniff/files/patch-Makefile.in
==============================================================================
--- head/security/dsniff/files/patch-Makefile.in	Sat Feb  8 05:18:19 2014	(r343307)
+++ head/security/dsniff/files/patch-Makefile.in	Sat Feb  8 07:07:19 2014	(r343308)
@@ -1,5 +1,5 @@
 --- ./Makefile.in.orig	2000-12-15 20:03:26.000000000 +0000
-+++ ./Makefile.in	2014-02-03 13:13:21.000000000 +0000
++++ ./Makefile.in	2014-02-08 06:51:17.000000000 +0000
 @@ -8,7 +8,6 @@
  srcdir          = @srcdir@
  VPATH           = @srcdir@
@@ -40,26 +40,27 @@
 -	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
+-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 $@
++mount.h: mount.x
++	rpcgen -h mount.x -o $@
  
 -$(LIBOBJS):
 -	$(CC) $(CFLAGS) $(INCS) -c $(srcdir)/missing/$*.c
-+nfs_prot.h: nfs_prot.x
-+	rpcgen -h nfs_prot.x -o $@
++decode_mountd.c: mount.h
  
 -libmissing.a: $(LIBOBJS)
 -	ar -cr $@ $(LIBOBJS)
 -	$(RANLIB) $@
-+filesnarf.c: nfs_prot.h nfs_prot.c
++nfs_prot.c: nfs_prot.x nfs_prot.h
++	rpcgen -c nfs_prot.x -o $@
++
++nfs_prot.h: nfs_prot.x
++	rpcgen -h nfs_prot.x -o $@
++
++filesnarf.c: nfs_prot.h
  
  dsniff: $(HDRS) $(SRCS) $(OBJS)
  	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(DBLIB) $(SSLLIB)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402080707.s1877JJI047382>