1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../p0f/install.patch
5 # Copyright (C) 2007 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- p0f/mk/Linux.vanilla 2007-06-19 21:06:22.625452266 +0200
18 +++ p0f/mk/Linux 2007-06-19 21:09:19.615538356 +0200
21 TOOLS = test/sendack test/sendack2 test/sendsyn
26 @echo ">> You can also try 'make p0fq' to compile a sample query"
27 @echo ">> client (see README for more information)."
29 $(CC) -static $(CFLAGS) -o $@ $(FILE).c $(FILE)-query.c crc32.c $(LIBS)
32 - strip $(FILE) 2>/dev/null || true
33 + $(STRIP) $(FILE) 2>/dev/null || true
41 - cp -f $(FILE) /usr/sbin/
42 - cp -f p0frep /usr/sbin/
43 - mkdir /etc/p0f || true
44 - cp -f p0f.fp p0fa.fp p0fr.fp p0fo.fp /etc/p0f/
45 - cp -f p0f.1 /usr/man/man1/ || cp -f p0f.1 /usr/local/man/man1/
46 + cp -f $(FILE) $(DESTDIR)$(prefix)/sbin/
47 + cp -f p0frep $(DESTDIR)$(prefix)/sbin/
48 + mkdir $(DESTDIR)/etc/p0f || true
49 + cp -f p0f.fp p0fa.fp p0fr.fp p0fo.fp $(DESTDIR)/etc/p0f/
50 + cp -f p0f.1 $(DESTDIR)$(prefix)/man/man1/
51 @echo "You might want to manually install test/ tools now."