From owner-svn-ports-all@freebsd.org Tue Mar 13 02:25:32 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA560AFCE3B; Tue, 13 Mar 2018 02:25:32 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6937A81EA0; Tue, 13 Mar 2018 02:25:32 +0000 (UTC) (envelope-from tobik@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6439714012; Tue, 13 Mar 2018 02:25:32 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2D2PWGu083595; Tue, 13 Mar 2018 02:25:32 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2D2PWK2083592; Tue, 13 Mar 2018 02:25:32 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201803130225.w2D2PWK2083592@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 13 Mar 2018 02:25:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464337 - in head/sysutils/dsbmd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/sysutils/dsbmd: . files X-SVN-Commit-Revision: 464337 X-SVN-Commit-Repository: ports 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.25 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: Tue, 13 Mar 2018 02:25:33 -0000 Author: tobik Date: Tue Mar 13 02:25:31 2018 New Revision: 464337 URL: https://svnweb.freebsd.org/changeset/ports/464337 Log: sysutils/dsbmd: Update to 1.3 - Support for XFS and Btrfs has been added via the new LKL option. - Detection for attached GELI devices has been added. - A bug where the console gets flooded by a ata0: FAILURE - zero length DMA transfer attempted messages has been fixed. - A bug where DSBMD delayed system shutdown has been fixed. Changes: https://freeshell.de/~mk/projects/dsbmd-relnotes.html PR: 226564 Submitted by: Marcel Kaiser (maintainer) Modified: head/sysutils/dsbmd/Makefile head/sysutils/dsbmd/distinfo head/sysutils/dsbmd/files/dsbmd.in Modified: head/sysutils/dsbmd/Makefile ============================================================================== --- head/sysutils/dsbmd/Makefile Tue Mar 13 02:18:12 2018 (r464336) +++ head/sysutils/dsbmd/Makefile Tue Mar 13 02:25:31 2018 (r464337) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= dsbmd -PORTVERSION= 1.2 +PORTVERSION= 1.3 CATEGORIES= sysutils MASTER_SITES= http://freeshell.de/~mk/download/ @@ -19,16 +19,18 @@ USE_RC_SUBR= dsbmd PORTDOCS= README PLIST_FILES= libexec/dsbmd "@sample etc/dsbmd.conf.sample" -OPTIONS_DEFINE= DOCS EXFAT EXT4 MTP NTFS PTP +OPTIONS_DEFINE= DOCS EXFAT EXT4 LKL MTP NTFS PTP OPTIONS_DEFAULT= EXT4 MTP NTFS PTP EXFAT_DESC= exFAT filesystem support EXT4_DESC= Ext4 filesystem support +LKL_DESC= Btrfs and XFS support through Linux Kernel Library NTFS_DESC= Mount NTFS filesystems with read and write support PTP_DESC= Picture Transfer Protocol support EXFAT_RUN_DEPENDS= mount.exfat:sysutils/fusefs-exfat EXT4_RUN_DEPENDS= fuse-ext2:sysutils/fusefs-ext2 +LKL_RUN_DEPENDS= lklfuse:sysutils/fusefs-lkl MTP_RUN_DEPENDS= simple-mtpfs:sysutils/fusefs-simple-mtpfs NTFS_RUN_DEPENDS= ntfs-3g:sysutils/fusefs-ntfs PTP_RUN_DEPENDS= gphotofs:graphics/fusefs-gphotofs Modified: head/sysutils/dsbmd/distinfo ============================================================================== --- head/sysutils/dsbmd/distinfo Tue Mar 13 02:18:12 2018 (r464336) +++ head/sysutils/dsbmd/distinfo Tue Mar 13 02:25:31 2018 (r464337) @@ -1,3 +1,3 @@ -TIMESTAMP = 1518358429 -SHA256 (dsbmd-1.2.tgz) = 523f553e3ef20c98e91a41f6665f77aeb3f6fe4d5e60017fd3ecf802502298c2 -SIZE (dsbmd-1.2.tgz) = 48693 +TIMESTAMP = 1520889720 +SHA256 (dsbmd-1.3.tgz) = c5e28f1cac3d0e1aa2c2f0084fd2b2a878058b5c40640a799b52c84fcdb6bdf1 +SIZE (dsbmd-1.3.tgz) = 49290 Modified: head/sysutils/dsbmd/files/dsbmd.in ============================================================================== --- head/sysutils/dsbmd/files/dsbmd.in Tue Mar 13 02:18:12 2018 (r464336) +++ head/sysutils/dsbmd/files/dsbmd.in Tue Mar 13 02:25:31 2018 (r464337) @@ -16,13 +16,31 @@ . /etc/rc.subr name=dsbmd +command=%%PREFIX%%/libexec/dsbmd rcvar=dsbmd_enable +pidfile=/var/run/dsbmd.pid +stop_cmd=dsbmd_stop load_rc_config $name -: ${dsbmd_enable:=NO} +: ${dsbmd_enable:="NO"} -command=%%PREFIX%%/libexec/${name} -pidfile=/var/run/${name}.pid +dsbmd_stop() +{ + if [ -f ${pidfile} ]; then + echo "Stopping ${name}." + pid=$(cat ${pidfile}) + n=0 + while [ $n -lt 5 ]; do + kill ${pid} 2>/dev/null || return 0 + n=$(($n + 1)) + sleep 1 + done + kill -KILL ${pid} 2>/dev/null + else + echo "${name} is not running." + return 1 + fi +} run_rc_command "$1"