This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
Fix musl build
In file included from main.c:46:0:
rand.h:31:9: error: unknown type name u_int32_t
typedef u_int32_t u_rand_t;
^
<builtin>: recipe for target 'main.o' failed
Patch sent upstream: https://sourceforge.net/p/wipe/patches/4/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -uNr wipe-2.3.1.org/rand.h wipe-2.3.1/rand.h
--- wipe-2.3.1.org/rand.h 2003-12-03 04:01:02.000000000 +0100
+++ wipe-2.3.1/rand.h 2016-01-31 21:39:54.000000000 +0100
@@ -22,10 +22,9 @@
#ifdef HAVE_STDINT_H
# include "stdint.h"
-#else
-# ifndef LINUX
+#endif
+#if !defined(u_int32_t)
# define u_int32_t uint32_t
-# endif
#endif
typedef u_int32_t u_rand_t;

7
package/wipe/Config.in Normal file
View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_WIPE
bool "wipe"
help
Wipe is a little command for securely erasing files
from magnetic media. It compiles under various unix platforms.
http://wipe.sourceforge.net

2
package/wipe/wipe.hash Normal file
View File

@@ -0,0 +1,2 @@
# Locally computed:
sha256 463916370f9b35bb34419c2c0ae3dc4c0a471db32e8595afa1d14c0337b61aa0 wipe-2.3.1.tar.bz2

17
package/wipe/wipe.mk Normal file
View File

@@ -0,0 +1,17 @@
################################################################################
#
# wipe
#
################################################################################
WIPE_VERSION = 2.3.1
WIPE_SITE = http://downloads.sourceforge.net/project/wipe/wipe/$(WIPE_VERSION)
WIPE_SOURCE = wipe-$(WIPE_VERSION).tar.bz2
WIPE_LICENSE = GPL-2.0+
WIPE_LICENSE_FILES = LICENSE
define WIPE_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/wipe $(TARGET_DIR)/usr/bin/wipe
endef
$(eval $(autotools-package))