aboutsummaryrefslogtreecommitdiff
path: root/system/secure-delete/secure-delete.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/secure-delete/secure-delete.SlackBuild')
-rw-r--r--system/secure-delete/secure-delete.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/system/secure-delete/secure-delete.SlackBuild b/system/secure-delete/secure-delete.SlackBuild
index 813874863ebeb..3d05a44e21d86 100644
--- a/system/secure-delete/secure-delete.SlackBuild
+++ b/system/secure-delete/secure-delete.SlackBuild
@@ -4,6 +4,7 @@
#
# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
+# Copyright Jefferson Rocha, Curitiba, Brazil.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -23,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=secure-delete
-VERSION=${VERSION:-3.1}
-BUILD=${BUILD:-6}
+VERSION=${VERSION:-3.1_6}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,10 +74,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i -e 's|mktemp|mkstemp|g' sfill.c
-sed -i -e "/strip/d" Makefile
-patch < $CWD/secure-delete-3.1-do-not-use-the-kernel-module.patch
-patch < $CWD/secure-delete-3.1-makefile.patch
+patch < $CWD/${PRGNAM}_${VERSION}.diff
make -j1 prefix=/usr DESTDIR=$PKG