aboutsummaryrefslogtreecommitdiff
path: root/sysutils/diskscrub
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-06-20 00:29:42 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-06-20 00:29:42 +0000
commit2c660b5a6ea66f670c424780bb9a2c8a3a5c13b7 (patch)
treeb6e436d0e7401b830e98e7567cf9fb1d51717793 /sysutils/diskscrub
parenta0d46eb4845d868c7aa3e0f0fdb653f933ba57a7 (diff)
- Add stage support
- Update maintainer email - Add LICENSE - Update WWW while here - Convert USE_BZIP2 to USES - Fix build with clang PR: ports/191188 Submitted by: erik@bz.bzflag.bz
Notes
Notes: svn path=/head/; revision=358482
Diffstat (limited to 'sysutils/diskscrub')
-rw-r--r--sysutils/diskscrub/Makefile11
-rw-r--r--sysutils/diskscrub/files/patch-src__genrand.c11
-rw-r--r--sysutils/diskscrub/pkg-descr2
3 files changed, 17 insertions, 7 deletions
diff --git a/sysutils/diskscrub/Makefile b/sysutils/diskscrub/Makefile
index e3153b3fda3a..76214f513490 100644
--- a/sysutils/diskscrub/Makefile
+++ b/sysutils/diskscrub/Makefile
@@ -7,15 +7,14 @@ CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
DISTNAME= scrub-${PORTVERSION}
-MAINTAINER= erik@bz.bzflag.bz
+MAINTAINER= erik@elfga.com
COMMENT= Writes patterns on files to make retrieving the data more difficult
-GNU_CONFIGURE= yes
-USE_BZIP2= yes
+LICENSE= GPLv2
-MAN1= scrub.1
+GNU_CONFIGURE= yes
+USES= tar:bzip2
-PLIST_FILES= bin/scrub
+PLIST_FILES= bin/scrub man/man1/scrub.1.gz
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/sysutils/diskscrub/files/patch-src__genrand.c b/sysutils/diskscrub/files/patch-src__genrand.c
new file mode 100644
index 000000000000..03b3e973640e
--- /dev/null
+++ b/sysutils/diskscrub/files/patch-src__genrand.c
@@ -0,0 +1,11 @@
+--- ./src/genrand.c.orig 2014-06-19 20:53:05.000000000 -0300
++++ ./src/genrand.c 2014-06-19 20:53:18.000000000 -0300
+@@ -106,7 +106,7 @@
+ buf[n] = result;
+ }
+ #endif
+- return;
++ return 0;
+ }
+ }
+
diff --git a/sysutils/diskscrub/pkg-descr b/sysutils/diskscrub/pkg-descr
index 609c695a621a..14e0c15fd07b 100644
--- a/sysutils/diskscrub/pkg-descr
+++ b/sysutils/diskscrub/pkg-descr
@@ -14,4 +14,4 @@ the data more difficult. Scrub operates in one of three modes:
Scrub implements user-selectable pattern algorithms that are compliant with
DoD 5520.22-M or NNSA NAP-14.x.
-WWW: https://computing.llnl.gov/linux/scrub.html
+WWW: https://code.google.com/p/diskscrub/