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.SlackBuild | |
parent | ee6d6f09489dd7ed765397a7728ffceb44a1e359 (diff) |
system/secure-delete: Add more patches.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/secure-delete/secure-delete.SlackBuild')
-rw-r--r-- | system/secure-delete/secure-delete.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/system/secure-delete/secure-delete.SlackBuild b/system/secure-delete/secure-delete.SlackBuild index fb5b0199d413d..77f8b37131d85 100644 --- a/system/secure-delete/secure-delete.SlackBuild +++ b/system/secure-delete/secure-delete.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=secure-delete VERSION=${VERSION:-3.1} -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -72,7 +72,11 @@ 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 {} \; -patch -p1 < $CWD/secure-delete_3.1-6.diff +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 + make prefix=/usr DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -91,8 +95,6 @@ DOCS="CHANGES README secure_delete.doc TODO usenix6-gutmann.doc" mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -cp -a debian/changelog $PKG/usr/doc/$PRGNAM-$VERSION/changelog.Debian -cp -a debian/README.Debian $PKG/usr/doc/$PRGNAM-$VERSION/README.Debian cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |