1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../chkrootkit/make_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 --- chkrootkit-0.47/Makefile 2006-10-09 21:29:19.000000000 +0200
18 +++ chkrootkit-0.47-fixed/Makefile 2007-06-17 14:31:42.133410484 +0200
20 CFLAGS = -DHAVE_LASTLOG_H
30 chklastlog: chklastlog.c
31 ${CC} ${CFLAGS} -o $@ chklastlog.c
35 ${CC} ${CFLAGS} -o $@ chkwtmp.c
38 ifpromisc: ifpromisc.c
39 ${CC} ${CFLAGS} ${LDFLAGS} -D_FILE_OFFSET_BITS=64 -o $@ ifpromisc.c
43 ${CC} ${LDFLAGS} -o $@ chkproc.c
47 ${CC} ${LDFLAGS} -o $@ chkdirs.c
50 check_wtmpx: check_wtmpx.c
51 ${CC} ${LDFLAGS} -o $@ check_wtmpx.c
55 ${CC} ${LDFLAGS} -o $@ chkutmp.c
59 strings-static: strings.c
60 ${CC} ${STATIC} ${LDFLAGS} -o $@ strings.c
64 rm -f ${OBJS} core chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings-static chkutmp
67 + cp -vf chkrootkit $(DESTDIR)$(prefix)/sbin/
68 + cp -vf chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings-static chkutmp $(DESTDIR)$(prefix)/sbin/