summaryrefslogtreecommitdiff
path: root/sysutils/sformat
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2004-12-02 10:08:03 +0000
committerhubertf <hubertf@pkgsrc.org>2004-12-02 10:08:03 +0000
commitb75ce436241b1c125bc51470e5e21e024008ea85 (patch)
tree00b122e9263ed3962ecb8f1c2f1fe9b87d7eb4db /sysutils/sformat
parentabf648dcaad8c27144f30c2cd7301f033fd079a7 (diff)
downloadpkgsrc-b75ce436241b1c125bc51470e5e21e024008ea85.tar.gz
Add sformat-3.5, a SCSI formatting utility
Submitted by Andreas Hallmann in PR pkg/26549.
Diffstat (limited to 'sysutils/sformat')
-rw-r--r--sysutils/sformat/DESCR10
-rw-r--r--sysutils/sformat/Makefile35
-rw-r--r--sysutils/sformat/PLIST13
-rw-r--r--sysutils/sformat/distinfo4
4 files changed, 62 insertions, 0 deletions
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