aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-11-03 08:00:23 +0000
committerXin LI <delphij@FreeBSD.org>2009-11-03 08:00:23 +0000
commitcf9f01aab4d9f64db1fb7a40213a3d2e3a3b8461 (patch)
tree577c91f0535c09aea6ef57668334290087c0d232 /sysutils
parent0af451f6be9c68f09dcded13c26c787ecf53fcd7 (diff)
downloadports-cf9f01aab4d9f64db1fb7a40213a3d2e3a3b8461.tar.gz
ports-cf9f01aab4d9f64db1fb7a40213a3d2e3a3b8461.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/sdparm/Makefile23
-rw-r--r--sysutils/sdparm/distinfo3
-rw-r--r--sysutils/sdparm/pkg-descr11
-rw-r--r--sysutils/sdparm/pkg-plist1
5 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 8b722be69bba..950794e87366 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -704,6 +704,7 @@
SUBDIR += screen
SUBDIR += screenie
SUBDIR += sdd
+ SUBDIR += sdparm
SUBDIR += searchmonkey
SUBDIR += seatools
SUBDIR += sec
diff --git a/sysutils/sdparm/Makefile b/sysutils/sdparm/Makefile
new file mode 100644
index 000000000000..2aec3239863a
--- /dev/null
+++ b/sysutils/sdparm/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: sdparm
+# Date created: Nov 11, 2009
+# Whom: Xin LI <delphij@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sdparm
+PORTVERSION= 1.04
+CATEGORIES= sysutils
+MASTER_SITES= http://sg.danny.cz/sg/p/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= delphij@FreeBSD.org
+COMMENT= Utilities to access SCSI device parameters
+
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+
+MAN8= sdparm.8
+
+.include <bsd.port.mk>
diff --git a/sysutils/sdparm/distinfo b/sysutils/sdparm/distinfo
new file mode 100644
index 000000000000..36d5c1a30082
--- /dev/null
+++ b/sysutils/sdparm/distinfo
@@ -0,0 +1,3 @@
+MD5 (sdparm-1.04.tgz) = b20c281bc185ea7d3c5e78a8c0be2a46
+SHA256 (sdparm-1.04.tgz) = 367202e12780d42134beb2616212504dbe8ac36659c118f22d7333fda4ade993
+SIZE (sdparm-1.04.tgz) = 290323
diff --git a/sysutils/sdparm/pkg-descr b/sysutils/sdparm/pkg-descr
new file mode 100644
index 000000000000..76595443f296
--- /dev/null
+++ b/sysutils/sdparm/pkg-descr
@@ -0,0 +1,11 @@
+The sdparm utility accesses SCSI device parameters. When the SCSI device
+is a disk, sdparm's role is similar to its namesake: the Linux hdparm
+utility which is primarily designed for ATA disks that had device names
+starting with "hd". More generally sdparm can be used to access parameters
+on any device that uses a SCSI command set. Apart from SCSI disks, such
+devices include CD/DVD drives (irrespective of transport), SCSI and ATAPI
+tape drives and SCSI enclosures. A small set of commands associated with
+starting and stopping the media, loading and unloading removable media
+and some other housekeeping functions can also be sent with this utility.
+
+WWW: http://sg.danny.cz/sg/sdparm.html
diff --git a/sysutils/sdparm/pkg-plist b/sysutils/sdparm/pkg-plist
new file mode 100644
index 000000000000..af3b1e47de33
--- /dev/null
+++ b/sysutils/sdparm/pkg-plist
@@ -0,0 +1 @@
+bin/sdparm