diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-06-23 19:45:40 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-06-23 19:45:40 +0800 |
commit | 9a2a752e80f993d8c8d188130da14ccd2b2a748a (patch) | |
tree | 166d106050752b16fd8214fba93a068296c41946 | |
parent | 7f1e772e1007af3c66bb4f67194cf385dcf2324b (diff) | |
download | freebsd-ports-gnome-9a2a752e80f993d8c8d188130da14ccd2b2a748a.tar.gz freebsd-ports-gnome-9a2a752e80f993d8c8d188130da14ccd2b2a748a.tar.zst freebsd-ports-gnome-9a2a752e80f993d8c8d188130da14ccd2b2a748a.zip |
- 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
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/bsdisks/Makefile | 17 | ||||
-rw-r--r-- | sysutils/bsdisks/distinfo | 2 | ||||
-rw-r--r-- | sysutils/bsdisks/files/patch-11-current | 31 | ||||
-rw-r--r-- | sysutils/bsdisks/files/patch-93-release | 11 | ||||
-rw-r--r-- | sysutils/bsdisks/pkg-descr | 6 | ||||
-rw-r--r-- | sysutils/bsdisks/pkg-plist | 3 |
7 files changed, 71 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index c929bec7b855..f53bb1fbffd3 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -100,6 +100,7 @@ SUBDIR += bsdcrashtar SUBDIR += bsdhwmon SUBDIR += bsdinfo + SUBDIR += bsdisks SUBDIR += bsdmoted SUBDIR += bsdploy SUBDIR += bsdstats diff --git a/sysutils/bsdisks/Makefile b/sysutils/bsdisks/Makefile new file mode 100644 index 000000000000..2429cc5149dc --- /dev/null +++ b/sysutils/bsdisks/Makefile @@ -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> diff --git a/sysutils/bsdisks/distinfo b/sysutils/bsdisks/distinfo new file mode 100644 index 000000000000..d35cdbc4929f --- /dev/null +++ b/sysutils/bsdisks/distinfo @@ -0,0 +1,2 @@ +SHA256 (bsdisks-0.2.tar.gz) = 794d8d12d3d4feeba36363eb932cbd2ee8eef1a58cbc1d54fd5db68c6ea76217 +SIZE (bsdisks-0.2.tar.gz) = 91353 diff --git a/sysutils/bsdisks/files/patch-11-current b/sysutils/bsdisks/files/patch-11-current new file mode 100644 index 000000000000..46349b060fc7 --- /dev/null +++ b/sysutils/bsdisks/files/patch-11-current @@ -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> diff --git a/sysutils/bsdisks/files/patch-93-release b/sysutils/bsdisks/files/patch-93-release new file mode 100644 index 000000000000..4e11c40cb745 --- /dev/null +++ b/sysutils/bsdisks/files/patch-93-release @@ -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); + diff --git a/sysutils/bsdisks/pkg-descr b/sysutils/bsdisks/pkg-descr new file mode 100644 index 000000000000..e9eb6851a7c0 --- /dev/null +++ b/sysutils/bsdisks/pkg-descr @@ -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 diff --git a/sysutils/bsdisks/pkg-plist b/sysutils/bsdisks/pkg-plist new file mode 100644 index 000000000000..d78e69e1a2ef --- /dev/null +++ b/sysutils/bsdisks/pkg-plist @@ -0,0 +1,3 @@ +bin/bsdisks +etc/dbus-1/system.d/org.freedesktop.UDisks2.conf +share/dbus-1/system-services/org.freedesktop.UDisks2.service |