svn commit: r464337 - in head/sysutils/dsbmd: . files
Tobias Kortkamp
tobik at FreeBSD.org
Tue Mar 13 02:25:33 UTC 2018
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 <mk at nic-nac-project.org> (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"
More information about the svn-ports-all
mailing list