wok-current view secure-delete/receipt @ rev 25692
Up gnutls CVE-2024-28834, CVE-2024-28835, Up python3 CVE-2023-52425, CVE-2024-0450, CVE-2023-6597
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 22 16:28:42 2024 +0000 (8 months ago) |
parents | d765616e1f3d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="secure-delete"
4 VERSION="3.1"
5 CATEGORY="misc"
6 SHORT_DESC="Secure file, disk, swap, memory erasure utilities."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="MIT"
9 SOURCE="secure_delete"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://www.thc.org/"
12 WGET_URL="http://deb.debian.org/debian/pool/main/s/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz"
14 DEPENDS="glibc-base"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/cryptisk-grs/thc-secure-delete/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 chmod u+w .
28 sed -ie 's/mktemp/mkstemp/g' sfill.c
29 sed -ie "s/sswap smem sdel-mod.o/sswap smem/" Makefile
30 make -j1 &&
31 make -j1 && make -j1 INSTALL_DIR=$DESTDIR/usr/bin install
32 chmod a+r $DESTDIR/usr/bin/*
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }