diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2011-07-09 19:48:58 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-12-03 14:49:16 -0600 |
commit | 1830490bf97f658d239736bfb2683e6a1b310dfc (patch) | |
tree | 6822b20df0e03ff8f2075a7838c3e69fbd0eb0ed /testing/scrub | |
parent | 16e3a7663e26159b8d7d50b090d2e6333850d0a9 (diff) | |
download | aports-1830490bf97f658d239736bfb2683e6a1b310dfc.tar.bz2 aports-1830490bf97f658d239736bfb2683e6a1b310dfc.tar.xz |
Initial APKBUILD for scrub
Package description:
scrub overwrites hard disks, files, and other devices with
repeating patterns intended to make recovering data from
these devices more difficult. Although physical destruction
is unarguably the most reliable method of destroying sensitive
data, it is inconvenient and costly. For certain classes of
data, organizations may be willing to do the next best thing
which is scribble on all the bytes until retrieval would
require heroic efforts in a lab.
Diffstat (limited to 'testing/scrub')
-rw-r--r-- | testing/scrub/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/scrub/APKBUILD b/testing/scrub/APKBUILD new file mode 100644 index 0000000000..9eb9141fc6 --- /dev/null +++ b/testing/scrub/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=scrub +pkgver=2.4 +pkgrel=0 +pkgdesc="A disk overwrite utility" +url="http://code.google.com/p/diskscrub/" +arch="all" +license="GPL2+" +depends="" +depends_dev="" +makedepends="" +install="" +subpackages="$pkgname-doc" +source="http://diskscrub.googlecode.com/files/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="653b9698a7e62fd0c22704e1d6a3469c scrub-2.4.tar.bz2" |