This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

secure-delete PKGBUILD

By: a guest on Aug 8th, 2011  |  syntax: Bash  |  size: 0.70 KB  |  views: 163  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Federico Quagliata (quaqo) <linux@quaqo.org>
  2.  
  3. pkgname=secure-delete
  4. pkgver=3.1
  5. pkgfile=${pkgname//-/_}-$pkgver
  6. pkgrel=3
  7. pkgdesc="Secure file, disk, swap, memory erasure utilities"
  8. url="http://www.thc.org/"
  9. depends=('glibc')
  10. license=('GPL')
  11. arch=('i686' 'x86_64')
  12. source=(http://freeworld.thc.org/releases/$pkgfile.tar.gz)
  13. md5sums=('aabbd7e77bf96b326d260f16fb7f8bba')
  14.  
  15. build() {
  16.   cd "${srcdir}"/${pkgfile}
  17.   sed -i -e 's/mktemp/mkstemp/g' sfill.c
  18.   sed -i -e "s/sswap smem sdel-mod.o/sswap smem/" -e '/test.*sdel-mod/d' Makefile
  19.   make
  20.   make INSTALL_DIR=${pkgdir}/usr/bin \
  21.     MAN_DIR=${pkgdir}/usr/share/man \
  22.     DOC_DIR=${pkgdir}/usr/share/doc/secure_delete \
  23.     install
  24. }
clone this paste RAW Paste Data