aboutsummaryrefslogtreecommitdiffstats
path: root/community/secure-delete/APKBUILD
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-08-18 20:46:53 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-21 22:24:04 +0200
commit5c9f3ca3e307be53b45beeed2ce1626f38008625 (patch)
tree919836fe454e953f46685adf8228b0401280d4b6 /community/secure-delete/APKBUILD
parent6a00a953ba02bab6440a2c784e7db37c6eaeace1 (diff)
downloadaports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.bz2
aports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.xz
testing/[various]: move to community
albatross-themes apk-post-messages autossh bitcoin btrbk entr ffmpegthumbnailer firejail firetools fwsnort gnome-colors imapsync inetutils-syslogd inotify-tools-inc isync junit ktsuss letsencrypt-nosudo libmbim libndp libqmi libteam mini-sendmail modemmanager namecoin networkmanager nginx-naxsi numix-themes nxapi opencl-headers opencl-icd-loader opus-tools perl-authen-ntlm perl-bit-vector perl-data-uniqid perl-file-copy-recursive perl-getopt-argvfile perl-io-tee perl-iptables-chainmgr perl-iptables-parse perl-module-scandeps perl-par-dist perl-par-packer perl-par perl-uri-escape psad py-crcmod py-graphviz py-lz4 py-opencl py-opengl-accelerate runit secpwgen secure-delete socklog spacefm tinyssh udevil virt-viewer virtualbricks whois wrk xpra zram-init
Diffstat (limited to 'community/secure-delete/APKBUILD')
-rw-r--r--community/secure-delete/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/secure-delete/APKBUILD b/community/secure-delete/APKBUILD
new file mode 100644
index 0000000000..824a1d65a7
--- /dev/null
+++ b/community/secure-delete/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=secure-delete
+_pkgname=secure_delete
+pkgver=3.1
+pkgrel=0
+pkgdesc="Secure file, disk, swap, memory erasure utilities"
+url="https://www.thc.org/"
+arch="all"
+license="GPL"
+subpackages="$pkgname-doc"
+source="http://freeworld.thc.org/releases/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ sed -i -e 's/mktemp/mkstemp/g' sfill.c
+ sed -i -e "s/sswap smem sdel-mod.o/sswap smem/" -e '/test.*sdel-mod/d' \
+ -e "s/^srm: /srm: sdel-lib.o /" -e "s/^sfill: /sfill: sdel-lib.o /" \
+ -e "s/^sswap: /sswap: sdel-lib.o /" -e "s/^smem: /smem: sdel-lib.o /" \
+ Makefile
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make INSTALL_DIR="${pkgdir}/usr/bin" \
+ MAN_DIR="${pkgdir}/usr/share/man" \
+ DOC_DIR="${pkgdir}/usr/share/doc/secure_delete" \
+ install || return 1
+ chmod a+r "$pkgdir/usr/bin"/*
+}
+
+md5sums="aabbd7e77bf96b326d260f16fb7f8bba secure_delete-3.1.tar.gz"
+sha256sums="a9d846d1dce3f1bdf13bbb306e8596bc1f263198a086f6beecd90ccf7bddf8d5 secure_delete-3.1.tar.gz"
+sha512sums="9e7ae1458ffcce53fac23cf9b8df673d0754e6c3ff7791c445f2290dfa04f01fd2eda8b7c5d0045883159a32438783c380f770d7277ca77c9642c68e8f42dd07 secure_delete-3.1.tar.gz"