New package: nwipe-0.17

This commit is contained in:
beefcurtains 2015-07-25 03:58:29 +00:00
parent fc8667f8b5
commit f6d4022124
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,13 @@
Patch based on kexec-tools, fixes undefined loff_t
--- src/nwipe.h.orig
+++ src/nwipe.h
@@ -38,7 +38,9 @@
/* System headers. */
#include <errno.h>
+#define _GNU_SOURCE
#include <fcntl.h>
+#undef _GNU_SOURCE
#include <getopt.h>
#include <math.h>
#include <pthread.h>

17
srcpkgs/nwipe/template Normal file
View file

@ -0,0 +1,17 @@
# Template file for 'nwipe'
pkgname=nwipe
version=0.17
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libparted-devel ncurses-devel"
short_desc="Utility to securely erase disks"
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/martijnvanbrummelen/nwipe"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=377a3250a45e7f75bb88f958e5ed232ca4f038d888d632fd6bb93dcdece52de3
pre_configure() {
sh init.sh
}