From 06ad01b02cf801d5ef6f180f5d19056c200f869e Mon Sep 17 00:00:00 2001 From: Scott Mace Date: Mon, 15 Apr 2002 17:27:05 +0000 Subject: add tcpslice 1.2a1 A tool for extracting portions of pcap files --- net/tcpslice/files/patch-aa | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 net/tcpslice/files/patch-aa (limited to 'net/tcpslice/files/patch-aa') diff --git a/net/tcpslice/files/patch-aa b/net/tcpslice/files/patch-aa new file mode 100644 index 000000000000..d36da724b8c3 --- /dev/null +++ b/net/tcpslice/files/patch-aa @@ -0,0 +1,37 @@ +--- Makefile.in.orig Mon Apr 15 12:07:52 2002 ++++ Makefile.in Mon Apr 15 12:12:07 2002 +@@ -27,9 +27,9 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + # Pathname of directory to install the binary +-BINDEST = @sbindir@ ++BINDIR = @bindir@ + # Pathname of directory to install the man page +-MANDEST = @mandir@ ++MANDIR = @mandir@ + + # VPATH + srcdir = @srcdir@ +@@ -55,6 +55,8 @@ + LIBS = @LIBS@ + + INSTALL = @INSTALL@ ++INSTALL_PROGRAM=@INSTALL_PROGRAM@ ++INSTALL_DATA=@INSTALL_DATA@ + + # Explicitly define compilation rule since SunOS 4's make doesn't like gcc. + # Also, gcc does not remove the .o before forking 'as', which can be a +@@ -97,11 +99,8 @@ + sed -e 's/.*/char version[] = "&";/' $(srcdir)/VERSION > $@ + + install: force +- $(INSTALL) -m 555 -o bin -g bin tcpslice $(DESTDIR)$(BINDEST) +- +-install-man: force +- $(INSTALL) -m 444 -o bin -g bin $(srcdir)/$(PROG).1 \ +- $(DESTDIR)$(MANDEST)/man1 ++ $(INSTALL_PROGRAM) -m 755 tcpslice $(DESTDIR)$(BINDIR) ++ $(INSTALL_DATA) tcpslice.1 $(DESTDIR)$(MANDIR)/man1 + + lint: $(GENSRC) force + lint -hbxn $(SRC) | \ -- cgit v1.2.3