summaryrefslogtreecommitdiff
path: root/sysutils/diskscrub
diff options
context:
space:
mode:
authorprlw1 <prlw1>2014-02-21 01:13:00 +0000
committerprlw1 <prlw1>2014-02-21 01:13:00 +0000
commitc2c56add0e940c2af9b827b3192ecd5698ce5c5f (patch)
tree9154a475e1a724b1e417f99f37fccf6ac7682148 /sysutils/diskscrub
parent470c28154b75c4dc49eaec26618b1433d9efb7ed (diff)
downloadpkgsrc-c2c56add0e940c2af9b827b3192ecd5698ce5c5f.tar.gz
Actually use my DIOCGDISKINFO ioctl implementation by regenerating configure.
Diffstat (limited to 'sysutils/diskscrub')
-rw-r--r--sysutils/diskscrub/Makefile10
-rw-r--r--sysutils/diskscrub/distinfo4
-rw-r--r--sysutils/diskscrub/patches/patch-src_genrand.c4
3 files changed, 12 insertions, 6 deletions
diff --git a/sysutils/diskscrub/Makefile b/sysutils/diskscrub/Makefile
index 3fec23f0b61..0fa94bbf47f 100644
--- a/sysutils/diskscrub/Makefile
+++ b/sysutils/diskscrub/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2013/12/15 19:44:39 joerg Exp $
-#
+# $NetBSD: Makefile,v 1.8 2014/02/21 01:13:00 prlw1 Exp $
DISTNAME= scrub-2.5.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://diskscrub.googlecode.com/files/
EXTRACT_SUFX= .tar.bz2
@@ -13,6 +12,11 @@ COMMENT= Utility to overwrite disks and scrub the data on them
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= autoconf automake
USE_TOOLS+= perl # this is purely for GNU configure (X_AC_META macro)
+pre-configure:
+ cd ${WRKSRC} && sh autogen.sh
+
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/diskscrub/distinfo b/sysutils/diskscrub/distinfo
index ccbb613bbf4..f3353973ad0 100644
--- a/sysutils/diskscrub/distinfo
+++ b/sysutils/diskscrub/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.3 2013/12/15 19:44:39 joerg Exp $
+$NetBSD: distinfo,v 1.4 2014/02/21 01:13:00 prlw1 Exp $
SHA1 (scrub-2.5.2.tar.bz2) = 863e5894e6acb3f922cb25f58e260f9c59b55c14
RMD160 (scrub-2.5.2.tar.bz2) = 852698810f401226608f6b1882191dc7bd2b47e4
Size (scrub-2.5.2.tar.bz2) = 161468 bytes
SHA1 (patch-configure.ac) = 929828e5c8ad340bfc4d6141aad45697d20fef20
SHA1 (patch-src_Makefile.am) = 4bdd6a41a6fcdc72120d5a1ebd8a17f9d90881d6
-SHA1 (patch-src_genrand.c) = a047804b169517f5f328d13f7b0ad6fa751080d7
+SHA1 (patch-src_genrand.c) = 1440cce8bce8b7c9eba4fde44284f6a9f6277a41
SHA1 (patch-src_getsize.c) = 221d201423b38a38486e4c91f4b9e28f6a1d0b52
SHA1 (patch-test_Makefile.am) = ada26d5b518eb630ac7e6ba0d6a61ae5e3280157
diff --git a/sysutils/diskscrub/patches/patch-src_genrand.c b/sysutils/diskscrub/patches/patch-src_genrand.c
index 660626d7a88..b0d0a8c35cc 100644
--- a/sysutils/diskscrub/patches/patch-src_genrand.c
+++ b/sysutils/diskscrub/patches/patch-src_genrand.c
@@ -1,4 +1,6 @@
-$NetBSD: patch-src_genrand.c,v 1.1 2013/12/15 19:44:39 joerg Exp $
+$NetBSD: patch-src_genrand.c,v 1.2 2014/02/21 01:13:00 prlw1 Exp $
+
+Fix missing return value.
--- src/genrand.c.orig 2013-12-15 13:03:04.000000000 +0000
+++ src/genrand.c