diff options
-rw-r--r-- | sysutils/scsiinfo/DESCR | 6 | ||||
-rw-r--r-- | sysutils/scsiinfo/Makefile | 27 | ||||
-rw-r--r-- | sysutils/scsiinfo/PLIST | 3 | ||||
-rw-r--r-- | sysutils/scsiinfo/distinfo | 5 | ||||
-rw-r--r-- | sysutils/scsiinfo/patches/patch-aa | 19 |
5 files changed, 60 insertions, 0 deletions
diff --git a/sysutils/scsiinfo/DESCR b/sysutils/scsiinfo/DESCR new file mode 100644 index 00000000000..3e6a6e9662e --- /dev/null +++ b/sysutils/scsiinfo/DESCR @@ -0,0 +1,6 @@ +Scsiinfo displays information about SCSI devices attached to a given system, +as seen by a supported SCSI device driver. For each target known to the SCSI +host adapter, scsiinfo reports SCSI transfer information for the device. In +particular, when a target supports synchronous transfer, the negotiated +maximum transfer rate (in MB/sec) is reported. Scsiinfo can also report the +type and speed of each supported host adapter attached to the system. diff --git a/sysutils/scsiinfo/Makefile b/sysutils/scsiinfo/Makefile new file mode 100644 index 00000000000..66e36e2c5d7 --- /dev/null +++ b/sysutils/scsiinfo/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/20 15:45:04 grant Exp $ + +DISTNAME= scsiinfo-4.7 +PKGNAME= ${DISTNAME} +CATEGORIES= sysutils +MASTER_SITES= http://www.cs.toronto.edu/pub/jdd/scsiinfo/ +EXTRACT_SUFX= .shar + +MAINTAINER= grant@netbsd.org +HOMEPAGE= ${MASTER_SITES} +COMMENT= displays information about SCSI devices attached to a system + +ONLY_FOR_PLATFORM= SunOS-*-* + +do-extract: + ${MKDIR} ${WRKSRC}; cd ${WRKSRC}; \ + ${SH} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} >/dev/null + +pre-build: + cd ${WRKSRC}; ./mkadapters esp isp fas glm ptisp pln > adapters + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/scsiinfo ${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/scsiinfo.1 ${PREFIX}/man/man1 + +.include "../../mk/bsd.pkg.mk" + diff --git a/sysutils/scsiinfo/PLIST b/sysutils/scsiinfo/PLIST new file mode 100644 index 00000000000..08fbc377045 --- /dev/null +++ b/sysutils/scsiinfo/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/20 15:45:04 grant Exp $ +sbin/scsiinfo +man/man1/scsiinfo.1 diff --git a/sysutils/scsiinfo/distinfo b/sysutils/scsiinfo/distinfo new file mode 100644 index 00000000000..bafdd34531a --- /dev/null +++ b/sysutils/scsiinfo/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/20 15:45:04 grant Exp $ + +SHA1 (scsiinfo-4.7.shar) = 571b9269ddb09f63a3e6b497c7fb46c23242a8da +Size (scsiinfo-4.7.shar) = 198732 bytes +SHA1 (patch-aa) = 76e00e321de8a0ed8cbbfa47121057831049912a diff --git a/sysutils/scsiinfo/patches/patch-aa b/sysutils/scsiinfo/patches/patch-aa new file mode 100644 index 00000000000..01c129b3971 --- /dev/null +++ b/sysutils/scsiinfo/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/08/20 15:45:04 grant Exp $ + +--- Makefile.orig Wed Aug 21 01:23:41 2002 ++++ Makefile Wed Aug 21 01:24:16 2002 +@@ -1,4 +1,4 @@ +-CC = cc # you can use gcc, if you like. Don't use /usr/ucb/cc; it won't work. ++#CC = cc # you can use gcc, if you like. Don't use /usr/ucb/cc; it won't work. + INCLUDEDIRS = -Iinclude + + # +@@ -25,7 +25,7 @@ + $(RM) adapters + ./mkadapters esp isp fas glm ptisp pln >adapters + +-include adapters ++.include "adapters" + + # + # remove -DNOTCH_REPORT if you have trouble compiling notch.c |