aboutsummaryrefslogtreecommitdiff
path: root/sysutils/diskscrub
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2013-01-12 03:55:10 +0000
committerAlex Kozlov <ak@FreeBSD.org>2013-01-12 03:55:10 +0000
commit3200537fc434c96fa3b682b3d8b331582a12059e (patch)
tree050a78e39000bf98ff9602327ff80d95b1abfccf /sysutils/diskscrub
parente55bb17f86eab34cd32951ad2e16bf929a1f31e6 (diff)
downloadports-3200537fc434c96fa3b682b3d8b331582a12059e.tar.gz
ports-3200537fc434c96fa3b682b3d8b331582a12059e.zip
- Update to 2.5.2
- Convert Makefile headers to new style PR: ports/175167 Submitted by: Erik Greenwald <erik@bz.bzflag.bz> (maintainer)
Notes
Notes: svn path=/head/; revision=310261
Diffstat (limited to 'sysutils/diskscrub')
-rw-r--r--sysutils/diskscrub/Makefile8
-rw-r--r--sysutils/diskscrub/distinfo4
-rw-r--r--sysutils/diskscrub/files/extrapatch-freebsd416
-rw-r--r--sysutils/diskscrub/files/patch-src_util.h11
4 files changed, 15 insertions, 24 deletions
diff --git a/sysutils/diskscrub/Makefile b/sysutils/diskscrub/Makefile
index 8ca1eeab4fac..b6faa2705bee 100644
--- a/sysutils/diskscrub/Makefile
+++ b/sysutils/diskscrub/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: diskscrub
-# Date created: 28 November 2006
-# Whom: Erik Greenwald <erik@smluc.org>
-#
+# Created by: Erik Greenwald <erik@smluc.org>
# $FreeBSD$
-#
PORTNAME= diskscrub
-PORTVERSION= 2.2
+PORTVERSION= 2.5.2
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
DISTNAME= scrub-${PORTVERSION}
diff --git a/sysutils/diskscrub/distinfo b/sysutils/diskscrub/distinfo
index 73707b933d87..0065cce55d95 100644
--- a/sysutils/diskscrub/distinfo
+++ b/sysutils/diskscrub/distinfo
@@ -1,2 +1,2 @@
-SHA256 (scrub-2.2.tar.bz2) = cb1e6f06c4e9d7b54acebb8a04f51a4e2d2a61a8c4f009796f1f825301b2da17
-SIZE (scrub-2.2.tar.bz2) = 145004
+SHA256 (scrub-2.5.2.tar.bz2) = 51ee4963759cf07b186bb583ef2839618c1131bbbbdfae849ca76a2259cbc461
+SIZE (scrub-2.5.2.tar.bz2) = 161468
diff --git a/sysutils/diskscrub/files/extrapatch-freebsd4 b/sysutils/diskscrub/files/extrapatch-freebsd4
deleted file mode 100644
index a0916b57737c..000000000000
--- a/sysutils/diskscrub/files/extrapatch-freebsd4
+++ /dev/null
@@ -1,16 +0,0 @@
---- getsize.c.orig Thu Aug 17 05:15:45 2006
-+++ getsize.c Tue Nov 28 23:00:49 2006
-@@ -81,6 +81,13 @@
- #elif defined(__FreeBSD__)
- /* scrub-1.7 tested freebsd 5.3-RELEASE-p5 */
- #include <sys/ioctl.h>
-+#include <sys/queue.h>
-+
-+#ifndef DIOCGMEDIASIZE
-+#define DIOCGMEDIASIZE _IOR('d', 129, off_t) /* Get media size in bytes */
-+#endif
-+
-+#include <sys/disklabel.h>
- #include <sys/disk.h>
-
- off_t
diff --git a/sysutils/diskscrub/files/patch-src_util.h b/sysutils/diskscrub/files/patch-src_util.h
new file mode 100644
index 000000000000..2ef9c7c4aa45
--- /dev/null
+++ b/sysutils/diskscrub/files/patch-src_util.h
@@ -0,0 +1,11 @@
+--- src/util.h.orig 2013-01-09 15:24:03.000000000 -0500
++++ src/util.h 2013-01-09 15:24:22.000000000 -0500
+@@ -24,6 +24,8 @@
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ \*****************************************************************************/
+
++#include <sys/mman.h>
++
+ #ifdef HAVE_STDBOOL_H
+ #include <stdbool.h>
+ #else