diff options
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 fb5b0199d4..77f8b37131 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 |