Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2016 11:45:41 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417365 - in head/sysutils: . bsdisks bsdisks/files
Message-ID:  <201606231145.u5NBjfps028189@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jun 23 11:45:40 2016
New Revision: 417365
URL: https://svnweb.freebsd.org/changeset/ports/417365

Log:
  - Add sysutils/bsdisks
  
  UDisks2 service provides interfaces to enumerate
  and perform operations on disks and storage devices
  via D-Bus API. Bsdisks is an implementation of UDisks2
  service for FreeBSD.
  
  WWW: http://bitbucket.org/arrowd/bsdisks
  
  PR:		209941
  Submitted by:	6yearold@gmail.com

Added:
  head/sysutils/bsdisks/
  head/sysutils/bsdisks/Makefile   (contents, props changed)
  head/sysutils/bsdisks/distinfo   (contents, props changed)
  head/sysutils/bsdisks/files/
  head/sysutils/bsdisks/files/patch-11-current   (contents, props changed)
  head/sysutils/bsdisks/files/patch-93-release   (contents, props changed)
  head/sysutils/bsdisks/pkg-descr   (contents, props changed)
  head/sysutils/bsdisks/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Thu Jun 23 11:31:15 2016	(r417364)
+++ head/sysutils/Makefile	Thu Jun 23 11:45:40 2016	(r417365)
@@ -100,6 +100,7 @@
     SUBDIR += bsdcrashtar
     SUBDIR += bsdhwmon
     SUBDIR += bsdinfo
+    SUBDIR += bsdisks
     SUBDIR += bsdmoted
     SUBDIR += bsdploy
     SUBDIR += bsdstats

Added: head/sysutils/bsdisks/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/bsdisks/Makefile	Thu Jun 23 11:45:40 2016	(r417365)
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME=	bsdisks
+PORTVERSION=	0.2
+CATEGORIES=	sysutils
+MASTER_SITES=	https://bitbucket.org/arrowd/bsdisks/downloads/
+
+MAINTAINER=	6yearold@gmail.com
+COMMENT=	UDisks2 service implementation for FreeBSD
+
+LICENSE=	BSD3CLAUSE
+
+USES=		cmake compiler:c++11-lang
+
+USE_QT5=	qmake_build buildtools_build core dbus
+
+.include <bsd.port.mk>

Added: head/sysutils/bsdisks/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/bsdisks/distinfo	Thu Jun 23 11:45:40 2016	(r417365)
@@ -0,0 +1,2 @@
+SHA256 (bsdisks-0.2.tar.gz) = 794d8d12d3d4feeba36363eb932cbd2ee8eef1a58cbc1d54fd5db68c6ea76217
+SIZE (bsdisks-0.2.tar.gz) = 91353

Added: head/sysutils/bsdisks/files/patch-11-current
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/bsdisks/files/patch-11-current	Thu Jun 23 11:45:40 2016	(r417365)
@@ -0,0 +1,31 @@
+# HG changeset patch
+# User Gleb Popov <6yearold@gmail.com>
+# Date 1466501926 -10800
+#      Tue Jun 21 12:38:46 2016 +0300
+# Node ID 920139e9b9d6a2f03b1d24458cb7228a68c44e30
+# Parent  58acee356be5291cca539d2617b9afca82038ddf
+Fix build on 11-CURRENT.
+
+diff -r 58acee356be5 -r 920139e9b9d6 devdthread.cpp
+--- devdthread.cpp	Wed Jun 01 19:27:58 2016 +0300
++++ devdthread.cpp	Tue Jun 21 12:38:46 2016 +0300
+@@ -28,6 +28,7 @@
+ 
+ #include <QHash>
+ 
++#include <errno.h>
+ #include <sys/types.h>
+ #include <sys/event.h>
+ #include <sys/socket.h>
+diff -r 58acee356be5 -r 920139e9b9d6 geomprober.h
+--- geomprober.h	Wed Jun 01 19:27:58 2016 +0300
++++ geomprober.h	Tue Jun 21 12:38:46 2016 +0300
+@@ -26,6 +26,8 @@
+ 
+ #pragma once
+ 
++#include <sys/types.h>
++
+ #include <QObject>
+ #include <QSharedData>
+ #include <QRunnable>

Added: head/sysutils/bsdisks/files/patch-93-release
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/bsdisks/files/patch-93-release	Thu Jun 23 11:45:40 2016	(r417365)
@@ -0,0 +1,11 @@
+--- filesystemprober.cpp.orig	2016-06-23 10:09:01 UTC
++++ filesystemprober.cpp
+@@ -32,7 +32,7 @@
+ void FilesystemProber::run()
+ {
+     QProcess p;
+-    QStringList args = {m_dev};
++    QStringList args; args << m_dev;
+ 
+     p.start(QStringLiteral("/usr/sbin/fstyp"), args);
+ 

Added: head/sysutils/bsdisks/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/bsdisks/pkg-descr	Thu Jun 23 11:45:40 2016	(r417365)
@@ -0,0 +1,6 @@
+UDisks2 service provides interfaces to enumerate
+and perform operations on disks and storage devices
+via D-Bus API. Bsdisks is an implementation of UDisks2
+service for FreeBSD.
+
+WWW: http://bitbucket.org/arrowd/bsdisks

Added: head/sysutils/bsdisks/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/bsdisks/pkg-plist	Thu Jun 23 11:45:40 2016	(r417365)
@@ -0,0 +1,3 @@
+bin/bsdisks
+etc/dbus-1/system.d/org.freedesktop.UDisks2.conf
+share/dbus-1/system-services/org.freedesktop.UDisks2.service



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606231145.u5NBjfps028189>