summaryrefslogtreecommitdiff
path: root/security/dsniff/files/patch-Makefile.in
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-02-03 14:07:47 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-02-03 14:07:47 +0000
commitd8d4832d58443dfff67b6a90646c6066ed09bb60 (patch)
tree4e963bcf8753e2ca45c35bb261ac4cb85ecde3d4 /security/dsniff/files/patch-Makefile.in
parent- Stage support (diff)
- Convert to stage
- Unmark as broken, it should be fixed on 8/9 and on 10 it'll build when net/libnids is fixed. Sponsored by: Absolight
Diffstat (limited to 'security/dsniff/files/patch-Makefile.in')
-rw-r--r--security/dsniff/files/patch-Makefile.in50
1 files changed, 42 insertions, 8 deletions
diff --git a/security/dsniff/files/patch-Makefile.in b/security/dsniff/files/patch-Makefile.in
index d5f9fd9344cc..21d8750b08e6 100644
--- a/security/dsniff/files/patch-Makefile.in
+++ b/security/dsniff/files/patch-Makefile.in
@@ -1,15 +1,23 @@
---- ./Makefile.in.orig 2000-12-15 21:03:26.000000000 +0100
-+++ ./Makefile.in 2013-03-15 07:33:57.000000000 +0100
-@@ -26,7 +26,7 @@
+--- ./Makefile.in.orig 2000-12-15 20:03:26.000000000 +0000
++++ ./Makefile.in 2014-02-03 13:13:21.000000000 +0000
+@@ -8,7 +8,6 @@
+ srcdir = @srcdir@
+ VPATH = @srcdir@
+
+-install_prefix =
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ libdir = @libdir@
+@@ -26,7 +25,7 @@
LNETLIB = @LNETLIB@
NIDSINC = @NIDSINC@
-NIDSLIB = @NIDSLIB@
-+NIDSLIB = @NIDSLIB@ `pkg-config --libs gthread-2.0` `pkg-config --libs gthread-2.0` `pkg-config --libs gthread-2.0`
++NIDSLIB = @NIDSLIB@ `pkg-config --libs gthread-2.0`
DBINC = @DBINC@
DBLIB = @DBLIB@
-@@ -37,9 +37,8 @@
+@@ -37,9 +36,8 @@
X11INC = @X_CFLAGS@
X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lXmu -lX11 @X_EXTRA_LIBS@
@@ -21,7 +29,7 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
-@@ -76,22 +75,23 @@
+@@ -76,22 +74,23 @@
.c.o:
$(CC) $(CFLAGS) $(INCS) -c $(srcdir)/$*.c
@@ -51,11 +59,37 @@
-libmissing.a: $(LIBOBJS)
- ar -cr $@ $(LIBOBJS)
- $(RANLIB) $@
-+filesnarf.c: nfs_prot.h
++filesnarf.c: nfs_prot.h nfs_prot.c
dsniff: $(HDRS) $(SRCS) $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(DBLIB) $(SSLLIB)
-@@ -153,7 +153,7 @@
+@@ -136,24 +135,24 @@
+ $(CC) $(LDFLAGS) -o $@ webspy.o base64.o buf.o remote.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(X11LIB)
+
+ install:
+- test -d $(install_prefix)$(sbindir) || \
+- $(INSTALL) -d $(install_prefix)$(sbindir)
++ test -d $(DESTDIR)$(sbindir) || \
++ $(INSTALL) -d $(DESTDIR)$(sbindir)
+ for file in $(PROGS); do \
+- $(INSTALL_PROGRAM) -m 755 $$file $(install_prefix)$(sbindir); \
++ $(INSTALL_PROGRAM) -m 755 $$file $(DESTDIR)$(sbindir); \
+ done
+- test -d $(install_prefix)$(libdir) || \
+- $(INSTALL) -d $(install_prefix)$(libdir)
++ test -d $(DESTDIR)$(libdir) || \
++ $(INSTALL) -d $(DESTDIR)$(libdir)
+ for file in $(CONFIGS); do \
+- $(INSTALL_DATA) $$file $(install_prefix)$(libdir); \
++ $(INSTALL_DATA) $$file $(DESTDIR)$(libdir); \
+ done
+- test -d $(install_prefix)$(mandir)/man8 || \
+- $(INSTALL) -d $(install_prefix)$(mandir)/man8
++ test -d $(DESTDIR)$(mandir)/man8 || \
++ $(INSTALL) -d $(DESTDIR)$(mandir)/man8
+ for file in *.8; do \
+- $(INSTALL_DATA) $$file $(install_prefix)$(mandir)/man8; \
++ $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man8; \
done
clean: