Date: Mon, 14 Mar 2016 22:07:56 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411124 - in head/sysutils: . dsbmd dsbmd/files Message-ID: <201603142207.u2EM7u9Y049542@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Mon Mar 14 22:07:56 2016 New Revision: 411124 URL: https://svnweb.freebsd.org/changeset/ports/411124 Log: 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 PR: 207897 Submitted by: mk@nic-nac-project.org Added: head/sysutils/dsbmd/ head/sysutils/dsbmd/Makefile (contents, props changed) head/sysutils/dsbmd/distinfo (contents, props changed) head/sysutils/dsbmd/files/ head/sysutils/dsbmd/files/dsbmd.in (contents, props changed) head/sysutils/dsbmd/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Mar 14 22:02:52 2016 (r411123) +++ head/sysutils/Makefile Mon Mar 14 22:07:56 2016 (r411124) @@ -223,6 +223,7 @@ SUBDIR += downtime SUBDIR += downtimed SUBDIR += dsbdriverd + SUBDIR += dsbmd SUBDIR += dsbwrtsysctl SUBDIR += dt SUBDIR += dtpstree Added: head/sysutils/dsbmd/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dsbmd/Makefile Mon Mar 14 22:07:56 2016 (r411124) @@ -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> Added: head/sysutils/dsbmd/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dsbmd/distinfo Mon Mar 14 22:07:56 2016 (r411124) @@ -0,0 +1,2 @@ +SHA256 (dsbmd-0.1.2.tgz) = a6e80ef57ac69042b267599c9f31be847d5900ee5f54e87b5d2ed8500b7b26ba +SIZE (dsbmd-0.1.2.tgz) = 148480 Added: head/sysutils/dsbmd/files/dsbmd.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dsbmd/files/dsbmd.in Mon Mar 14 22:07:56 2016 (r411124) @@ -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" Added: head/sysutils/dsbmd/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dsbmd/pkg-descr Mon Mar 14 22:07:56 2016 (r411124) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603142207.u2EM7u9Y049542>