From b75ce436241b1c125bc51470e5e21e024008ea85 Mon Sep 17 00:00:00 2001 From: hubertf Date: Thu, 2 Dec 2004 10:08:03 +0000 Subject: Add sformat-3.5, a SCSI formatting utility Submitted by Andreas Hallmann in PR pkg/26549. --- sysutils/sformat/DESCR | 10 ++++++++++ sysutils/sformat/Makefile | 35 +++++++++++++++++++++++++++++++++++ sysutils/sformat/PLIST | 13 +++++++++++++ sysutils/sformat/distinfo | 4 ++++ 4 files changed, 62 insertions(+) create mode 100644 sysutils/sformat/DESCR create mode 100644 sysutils/sformat/Makefile create mode 100644 sysutils/sformat/PLIST create mode 100644 sysutils/sformat/distinfo diff --git a/sysutils/sformat/DESCR b/sysutils/sformat/DESCR new file mode 100644 index 00000000000..a04294f2e72 --- /dev/null +++ b/sysutils/sformat/DESCR @@ -0,0 +1,10 @@ +Sformat is the best SCSI disk tool, I came across in the last 20 years. +It is able to repair and format nearly any disk, as long as its heads +are still in working condition and a few percent of its blocks are writable. +Once you have learned to use it, you will never think of using something else. +Formating a disk with sformat does not only send a scsi-format command to the disk, +but also make a detailed surface analysis after formating. The defect lists are +updated, and you come out with a reliable disk, again. Thanks Joerg. + +On the other side, like with any other powerful tool, you have to invest some time in learning. +Well invested time. diff --git a/sysutils/sformat/Makefile b/sysutils/sformat/Makefile new file mode 100644 index 00000000000..61501e10efb --- /dev/null +++ b/sysutils/sformat/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/12/02 10:08:03 hubertf Exp $ +# + +DISTNAME= sformat-3.5 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.berlios.de/pub/sformat/ + +MAINTAINER= Andreas.Hallmann@tiscali.de,hubertf@NetBSD.org +HOMEPAGE= http://freshmeat.net/projects/sformat +COMMENT= SCSI-disk maintainance, formating, and ultimative repair tool with support for netbsd labels + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +.include "../../mk/bsd.prefs.mk" + +USE_BUILDLINK3= yes +USE_GNU_TOOLS+= make +TBL?= tbl + +# avoid picking up a bad ${ARCH} during the build +MAKE_ENV+= ARCH="" +MAKE_ENV+= MAKEPROG="gmake" +MAKE_ENV+= COPTX="${CFLAGS}" +MAKE_ENV+= LDOPTX="${LDFLAGS}" +MAKE_FLAGS+= INS_BASE="${LOCALBASE}" # won't work in MAKE_ENV! + +# if we're using a gcc which is named gcc, we need to set CCOM=gcc +# in MAKE_ENV so the make infrastructure picks the right options. +.if !empty(CC:M*gcc*) +MAKE_ENV+= CCOM="gcc" +.endif + +INSTALLATION_DIRS= bin include lib man/man5 man/man8 + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/sformat/PLIST b/sysutils/sformat/PLIST new file mode 100644 index 00000000000..57810a43a9e --- /dev/null +++ b/sysutils/sformat/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/02 10:08:03 hubertf Exp $ +bin/sformat +etc/sformat.dat +include/align.h +include/avoffset.h +lib/libdeflt.a +lib/librscg.a +lib/libscg.a +lib/libschily.a +man/man5/makefiles.5 +man/man5/makerules.5 +man/man8/sformat.8 +sbin/rscsi diff --git a/sysutils/sformat/distinfo b/sysutils/sformat/distinfo new file mode 100644 index 00000000000..4044de0e8ed --- /dev/null +++ b/sysutils/sformat/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/12/02 10:08:03 hubertf Exp $ + +SHA1 (sformat-3.5.tar.gz) = 1ebde6c9d58f376ad2d82f6f8e3bb2e89da00920 +Size (sformat-3.5.tar.gz) = 526375 bytes -- cgit v1.2.3