aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gstopd
diff options
context:
space:
mode:
authormr <mr@FreeBSD.org>2003-10-19 01:28:13 +0800
committermr <mr@FreeBSD.org>2003-10-19 01:28:13 +0800
commit093d3a605d56d64d079bbaa6f76c25056f02e78b (patch)
treebb53dbc37dab6506f4e11f7632452f586dbbeb87 /sysutils/gstopd
parentcef18bdb08c6e51242983a305216e273f7e320a1 (diff)
downloadfreebsd-ports-gnome-093d3a605d56d64d079bbaa6f76c25056f02e78b.tar.gz
freebsd-ports-gnome-093d3a605d56d64d079bbaa6f76c25056f02e78b.tar.zst
freebsd-ports-gnome-093d3a605d56d64d079bbaa6f76c25056f02e78b.zip
Add gstopd to the ports.
gstopd stops disks (da(4) currently) after some amount of inactivity. The inactivity is measured using GEOM(4) statistics.
Diffstat (limited to 'sysutils/gstopd')
-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
4 files changed, 38 insertions, 0 deletions
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