1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## nostrip.dpatch by Francois Marier <francois@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: don't strip the main binary, it should be done in debian/rules (#436626)
@DPATCH@
--- chkrootkit-0.48.orig/Makefile
+++ chkrootkit-0.48/Makefile
@@ -41,36 +41,28 @@
chklastlog: chklastlog.c
${CC} ${CFLAGS} -o $@ chklastlog.c
- @strip $@
chkwtmp: chkwtmp.c
${CC} ${CFLAGS} -o $@ chkwtmp.c
- @strip $@
ifpromisc: ifpromisc.c
${CC} ${CFLAGS} ${LDFLAGS} -D_FILE_OFFSET_BITS=64 -o $@ ifpromisc.c
- @strip $@
chkproc: chkproc.c
${CC} ${LDFLAGS} -o $@ chkproc.c
- @strip $@
chkdirs: chkdirs.c
${CC} ${LDFLAGS} -o $@ chkdirs.c
- @strip $@
check_wtmpx: check_wtmpx.c
${CC} ${LDFLAGS} -o $@ check_wtmpx.c
- @strip $@
chkutmp: chkutmp.c
${CC} ${LDFLAGS} -o $@ chkutmp.c
- @strip $@
strings-static: strings.c
${CC} ${STATIC} ${LDFLAGS} -o $@ strings.c
- @strip $@
clean:
rm -f ${OBJS} core chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings-static chkutmp
|