summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/gstopd/Makefile29
-rw-r--r--sysutils/gstopd/distinfo1
-rw-r--r--sysutils/gstopd/pkg-descr7
-rw-r--r--sysutils/gstopd/pkg-plist1
5 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 032cdad9600c..2c4201cf4265 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -131,6 +131,7 @@
SUBDIR += gpart
SUBDIR += gpkgdep
SUBDIR += grub
+ SUBDIR += gstopd
SUBDIR += gtk-imonc
SUBDIR += gtk-send-pr
SUBDIR += gtoaster
diff --git a/sysutils/gstopd/Makefile b/sysutils/gstopd/Makefile
new file mode 100644
index 000000000000..ea1d7012e15d
--- /dev/null
+++ b/sysutils/gstopd/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: gstopd
+# Date created: 18 Oct 2003
+# Whom: Michael Reifenberger
+#
+# $FreeBSD$
+#
+
+PORTNAME= gstopd
+PORTVERSION= 1.0
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= mr
+
+MAINTAINER= mr@freebsd.org
+COMMENT= GEOM stop daemon
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+IGNORE= Needs GEOM(4)
+.endif
+
+MAN8= gstopd.8
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gstopd ${LOCALBASE}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/gstopd.8 ${LOCALBASE}/man/man8
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/gstopd/distinfo b/sysutils/gstopd/distinfo
new file mode 100644
index 000000000000..949473bf5392
--- /dev/null
+++ b/sysutils/gstopd/distinfo
@@ -0,0 +1 @@
+MD5 (gstopd-1.0.tar.gz) = a3e2e37dd07f378f8fd1d20db11994ab
diff --git a/sysutils/gstopd/pkg-descr b/sysutils/gstopd/pkg-descr
new file mode 100644
index 000000000000..29474ecb1a45
--- /dev/null
+++ b/sysutils/gstopd/pkg-descr
@@ -0,0 +1,7 @@
+gstopd(8) stops disks after an amount of inactivity.
+The inactivity is measured using GEOM(4) statistics.
+
+Limitations & features:
+ - stops only da(4) disks currently.
+ - uses camcontrol(8)
+ - logs disk-stops through logger(1)
diff --git a/sysutils/gstopd/pkg-plist b/sysutils/gstopd/pkg-plist
new file mode 100644
index 000000000000..4a3c92619463
--- /dev/null
+++ b/sysutils/gstopd/pkg-plist
@@ -0,0 +1 @@
+sbin/gstopd