diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2015-11-21 09:15:26 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-21 09:15:26 +0700 |
commit | 0ce249c55f427884377c909d3f46f9a1b63e7c8b (patch) | |
tree | 3624e5b6cab195245d51bed905e8798ba4213e88 /system/secure-delete/secure-delete-3.1-do-not-use-the-kernel-module.patch | |
parent | ee6d6f09489dd7ed765397a7728ffceb44a1e359 (diff) | |
download | slackbuilds-0ce249c55f427884377c909d3f46f9a1b63e7c8b.tar.gz |
system/secure-delete: Add more patches.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/secure-delete/secure-delete-3.1-do-not-use-the-kernel-module.patch')
-rw-r--r-- | system/secure-delete/secure-delete-3.1-do-not-use-the-kernel-module.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/system/secure-delete/secure-delete-3.1-do-not-use-the-kernel-module.patch b/system/secure-delete/secure-delete-3.1-do-not-use-the-kernel-module.patch new file mode 100644 index 0000000000..a685b81bc6 --- /dev/null +++ b/system/secure-delete/secure-delete-3.1-do-not-use-the-kernel-module.patch @@ -0,0 +1,41 @@ +--- Makefile.old 2006-03-08 14:59:53.000000000 -0500 ++++ Makefile 2006-03-08 15:00:23.000000000 -0500 +@@ -7,7 +7,7 @@ + OPT_MOD=-D__KERNEL__ -DMODULE -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 + #LD_MOD=-r + +-all: sdel-lib.o srm sfill sswap smem sdel-mod.o ++all: sdel-lib.o srm sfill sswap smem + @echo + @echo "A Puritan is someone who is deathly afraid that someone, somewhere, is" + @echo "having fun." +@@ -15,9 +15,6 @@ + @echo "I hope YOU have fun!" + @echo + +-sdel-mod.o: sdel-mod.c +- $(CC) $(OPT) $(OPT_MOD) $(LD_MOD) -I/lib/modules/`uname -r`/build/include -c sdel-mod.c +- + sdel-lib.o: sdel-lib.c + $(CC) ${OPT} -c sdel-lib.c + +@@ -35,7 +32,7 @@ + -strip smem + + clean: +- rm -f sfill srm sswap smem sdel sdel-lib.o sdel-mod.o core *~ ++ rm -f sfill srm sswap smem sdel sdel-lib.o + + install: all + mkdir -p -m 755 ${INSTALL_DIR} 2> /dev/null +@@ -47,8 +44,8 @@ + chmod 644 ${MAN_DIR}/man1/srm.1 ${MAN_DIR}/man1/sfill.1 ${MAN_DIR}/man1/sswap.1 ${MAN_DIR}/man1/smem.1 + mkdir -p -m 755 ${DOC_DIR} 2> /dev/null + cp -f CHANGES FILES README secure_delete.doc usenix6-gutmann.doc ${DOC_DIR} +- -test -e sdel-mod.o && cp -f sdel-mod.o /lib/modules/`uname -r`/kernel/drivers/char +-# @-test '!' -e sdel-mod.o -a `uname -s` = 'Linux' && echo "type \"make sdel-mod install\" to compile and install the Linux loadable kernel module for secure delete" ++ -test -e ++# @-test '!' -e + @echo + @echo "If men could get pregnant, abortion would be a sacrament." + @echo |