diff options
author | Mark Felder <feld@FreeBSD.org> | 2016-03-14 22:07:56 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2016-03-14 22:07:56 +0000 |
commit | 074e606599e2d7be7547a295df9b2ed130b978dc (patch) | |
tree | aeb349ac5b4be219a52a2af6418ee5c6b683ac76 /sysutils | |
parent | 84fcb779451209d58a72d0026134342896a8c587 (diff) | |
download | ports-074e606599e2d7be7547a295df9b2ed130b978dc.tar.gz ports-074e606599e2d7be7547a295df9b2ed130b978dc.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/dsbmd/Makefile | 28 | ||||
-rw-r--r-- | sysutils/dsbmd/distinfo | 2 | ||||
-rw-r--r-- | sysutils/dsbmd/files/dsbmd.in | 28 | ||||
-rw-r--r-- | sysutils/dsbmd/pkg-descr | 11 |
5 files changed, 70 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 86637cd2c950..498504a36830 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -223,6 +223,7 @@ SUBDIR += downtime SUBDIR += downtimed SUBDIR += dsbdriverd + SUBDIR += dsbmd SUBDIR += dsbwrtsysctl SUBDIR += dt SUBDIR += dtpstree diff --git a/sysutils/dsbmd/Makefile b/sysutils/dsbmd/Makefile new file mode 100644 index 000000000000..af0c512f0e25 --- /dev/null +++ b/sysutils/dsbmd/Makefile @@ -0,0 +1,28 @@ +Created by: Marcel Kaiser <mk@nic-nac-project.org> +# $FreeBSD$ + +PORTNAME= dsbmd +PORTVERSION= 0.1.2 +CATEGORIES= sysutils +MASTER_SITES= http://freeshell.de/~mk/download/ + +MAINTAINER= mk@nic-nac-project.org +COMMENT= Media mounting daemon + +LICENSE= BSD2CLAUSE + +USES= tar:tgz + +USE_RC_SUBR= dsbmd + +OPTIONS_DEFINE= DOCS + +PLIST_FILES= libexec/dsbmd "@sample etc/dsbmd.conf.sample etc/dsbmd.conf" + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +PORTDOCS= README +.endif + +.include <bsd.port.mk> diff --git a/sysutils/dsbmd/distinfo b/sysutils/dsbmd/distinfo new file mode 100644 index 000000000000..b69dd43c333f --- /dev/null +++ b/sysutils/dsbmd/distinfo @@ -0,0 +1,2 @@ +SHA256 (dsbmd-0.1.2.tgz) = a6e80ef57ac69042b267599c9f31be847d5900ee5f54e87b5d2ed8500b7b26ba +SIZE (dsbmd-0.1.2.tgz) = 148480 diff --git a/sysutils/dsbmd/files/dsbmd.in b/sysutils/dsbmd/files/dsbmd.in new file mode 100644 index 000000000000..80f6303b517c --- /dev/null +++ b/sysutils/dsbmd/files/dsbmd.in @@ -0,0 +1,28 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: dsbmd +# REQUIRE: LOGIN devfs devd mountlate +# KEYWORD: shutdown +# +# Add these lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# dsbmd_enable (bool): Set to NO by default. +# Set it to YES to enable dsbmd. +# + +. /etc/rc.subr + +name=dsbmd +rcvar=dsbmd_enable + +load_rc_config $name + +: ${dsbmd_enable:=NO} + +command=%%PREFIX%%/libexec/${name} +pidfile=/var/run/${name}.pid + +run_rc_command "$1" diff --git a/sysutils/dsbmd/pkg-descr b/sysutils/dsbmd/pkg-descr new file mode 100644 index 000000000000..363e82a5d29b --- /dev/null +++ b/sysutils/dsbmd/pkg-descr @@ -0,0 +1,11 @@ +DSBMD is a media/filesystem type detecting daemon that allows clients to mount +storage devices. + +DSBMD watches the mount table for changes, monitors devd events for new storage +devices, polls CD/DVD drives and card readers for media change events, deter- +mines media types, volume names, and filesystem types. Mountable devices, +changes in the mount table as well as device add/remove events and altered +states of mountable devices are presented to clients. Clients can request DSBMD +to mount, unmount, and eject media, or set the CD/DVD reading speed. + +WWW: http://freeshell.de/~mk/projects/dsbmd.html |