From owner-svn-ports-all@freebsd.org Mon Mar 14 22:07:57 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D739BAD0C5C; Mon, 14 Mar 2016 22:07:57 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B0490C68; Mon, 14 Mar 2016 22:07:57 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2EM7usI049547; Mon, 14 Mar 2016 22:07:56 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2EM7u9Y049542; Mon, 14 Mar 2016 22:07:56 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201603142207.u2EM7u9Y049542@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Mon, 14 Mar 2016 22:07:56 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2016 22:07:57 -0000 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 +# $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 + +.if ${PORT_OPTIONS:MDOCS} +PORTDOCS= README +.endif + +.include 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