aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2017-07-06 23:18:01 +0800
committertcberner <tcberner@FreeBSD.org>2017-07-06 23:18:01 +0800
commitd1b7a192dbc3638a0da2a0c1fa7c00ea4dde9bd0 (patch)
treed8fdf2bb409f7920f3c05ca6a6b15ed94fb48640 /sysutils
parentda98bf2e4c53ed5bd782188a85d3b40bc73c722a (diff)
downloadfreebsd-ports-gnome-d1b7a192dbc3638a0da2a0c1fa7c00ea4dde9bd0.tar.gz
freebsd-ports-gnome-d1b7a192dbc3638a0da2a0c1fa7c00ea4dde9bd0.tar.zst
freebsd-ports-gnome-d1b7a192dbc3638a0da2a0c1fa7c00ea4dde9bd0.zip
Add ports for future KDE Telepathy versions
The current relases of KDE Telepathy require some more helper libraries to work. Import them from kde@'s development repository into the ports tree in preparation. PR: 220494 Reviewed by: groot_kde.org, rakuco Differential Revision: https://reviews.freebsd.org/D11213
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile2
-rw-r--r--sysutils/signon-qt5/Makefile38
-rw-r--r--sysutils/signon-qt5/distinfo3
-rw-r--r--sysutils/signon-qt5/files/patch-signon.pro11
-rw-r--r--sysutils/signon-qt5/files/patch-tests_signond-tests_mock-ac-plugin_access-control-manager.h12
-rw-r--r--sysutils/signon-qt5/pkg-descr6
-rw-r--r--sysutils/signon-qt5/pkg-plist107
-rw-r--r--sysutils/signon-ui/Makefile30
-rw-r--r--sysutils/signon-ui/distinfo3
-rw-r--r--sysutils/signon-ui/files/patch-signon-ui.pro14
-rw-r--r--sysutils/signon-ui/pkg-descr5
-rw-r--r--sysutils/signon-ui/pkg-plist3
12 files changed, 234 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 993d6f274c81..9171809a862f 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1074,6 +1074,8 @@
SUBDIR += shmcat
SUBDIR += showbeastie
SUBDIR += siegfried
+ SUBDIR += signon-qt5
+ SUBDIR += signon-ui
SUBDIR += skill
SUBDIR += slack
SUBDIR += sleuthkit
diff --git a/sysutils/signon-qt5/Makefile b/sysutils/signon-qt5/Makefile
new file mode 100644
index 000000000000..4f887bd89e28
--- /dev/null
+++ b/sysutils/signon-qt5/Makefile
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME= signon
+PORTVERSION= 8.58
+CATEGORIES= sysutils kde
+MASTER_SITES= https://gitlab.com/${GL_ACCOUNT}/${GL_PROJECT}/repository/archive${EXTRACT_SUFX}?ref=${GL_TAGNAME}&num;/ \
+ LOCAL/tcberner/${GL_ACCOUNT}/
+PKGNAMESUFFIX= -qt5
+DIST_SUBDIR= KDE/${GL_ACCOUNT}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= D-Bus service performing user authentication
+
+LICENSE= LGPL20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= gettext pathfix pkgconfig python qmake tar:bz2
+USE_QT5= core dbus gui network sql testlib xml \
+ buildtools_build qmake_build
+
+# gitlab variables
+GL_ACCOUNT= accounts-sso
+GL_PROJECT= signond
+GL_TAGNAME= aa1bcf3c9218addbdb376a40151b689409046125
+WRKSRC= ${WRKDIR}/${GL_PROJECT}-${GL_TAGNAME}-${GL_TAGNAME}
+
+pre-configure:
+ #make it find qdbusxml2ccp (as ${QT_BINDIR} is not in PATH)
+ ${REINPLACE_CMD} -e 's,qdbusxml2cpp,${QT_BINDIR}/qdbusxml2cpp,' \
+ ${WRKSRC}/src/signond/signond.pro
+ #correctly install signond.conf
+ ${REINPLACE_CMD} -e '/conf_file.path/ s,/etc/,${LOCALBASE}/etc/,' \
+ ${WRKSRC}/src/signond/signond.pro
+ #find moved signond.conf
+ ${REINPLACE_CMD} -e 's,/etc,${LOCALBASE}/etc,' \
+ ${WRKSRC}/src/signond/signondaemon.cpp
+
+.include <bsd.port.mk>
diff --git a/sysutils/signon-qt5/distinfo b/sysutils/signon-qt5/distinfo
new file mode 100644
index 000000000000..5eb2a4d0e572
--- /dev/null
+++ b/sysutils/signon-qt5/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1486501812
+SHA256 (KDE/accounts-sso/signon-8.58.tar.bz2) = 83d15ac2237b6d16296d02e94194bed4a72e43fc30d1c74dbe8c543e42e5ed86
+SIZE (KDE/accounts-sso/signon-8.58.tar.bz2) = 199717
diff --git a/sysutils/signon-qt5/files/patch-signon.pro b/sysutils/signon-qt5/files/patch-signon.pro
new file mode 100644
index 000000000000..088cf8ef0d6e
--- /dev/null
+++ b/sysutils/signon-qt5/files/patch-signon.pro
@@ -0,0 +1,11 @@
+--- signon.pro.orig 2015-04-19 18:24:47 UTC
++++ signon.pro
+@@ -7,8 +7,6 @@ tests.depends = lib src
+
+ include( common-installs-config.pri )
+
+-include( doc/doc.pri )
+-
+ DISTNAME = $${PROJECT_NAME}-$${PROJECT_VERSION}
+ dist.commands = "git archive --format=tar --prefix=$${DISTNAME}/ HEAD | bzip2 -9 > $${DISTNAME}.tar.bz2"
+ QMAKE_EXTRA_TARGETS += dist
diff --git a/sysutils/signon-qt5/files/patch-tests_signond-tests_mock-ac-plugin_access-control-manager.h b/sysutils/signon-qt5/files/patch-tests_signond-tests_mock-ac-plugin_access-control-manager.h
new file mode 100644
index 000000000000..4c80929a41e1
--- /dev/null
+++ b/sysutils/signon-qt5/files/patch-tests_signond-tests_mock-ac-plugin_access-control-manager.h
@@ -0,0 +1,12 @@
+--- tests/signond-tests/mock-ac-plugin/access-control-manager.h.orig 2015-10-14 15:57:12 UTC
++++ tests/signond-tests/mock-ac-plugin/access-control-manager.h
+@@ -25,6 +25,9 @@
+
+ #include <SignOn/AbstractAccessControlManager>
+
++#include <sys/types.h>
++#include <unistd.h>
++
+ class AccessControlManager: public SignOn::AbstractAccessControlManager
+ {
+ Q_OBJECT
diff --git a/sysutils/signon-qt5/pkg-descr b/sysutils/signon-qt5/pkg-descr
new file mode 100644
index 000000000000..3025835607de
--- /dev/null
+++ b/sysutils/signon-qt5/pkg-descr
@@ -0,0 +1,6 @@
+The SignOn daemon is a D-Bus service which performs user authentication
+on behalf of its clients. There are currently authentication plugins
+for OAuth 1.0 and 2.0, SASL, Digest-MD5, and plain username/password
+combination.
+
+WWW: https://gitlab.com/accounts-sso/signond
diff --git a/sysutils/signon-qt5/pkg-plist b/sysutils/signon-qt5/pkg-plist
new file mode 100644
index 000000000000..732f65c73fa3
--- /dev/null
+++ b/sysutils/signon-qt5/pkg-plist
@@ -0,0 +1,107 @@
+etc/signond.conf
+bin/signond
+bin/signonpluginprocess
+include/signon-extension/SignOn/AbstractAccessControlManager
+include/signon-extension/SignOn/AbstractCryptoManager
+include/signon-extension/SignOn/AbstractKeyAuthorizer
+include/signon-extension/SignOn/AbstractKeyManager
+include/signon-extension/SignOn/AbstractSecretsStorage
+include/signon-extension/SignOn/Debug
+include/signon-extension/SignOn/ExtensionInterface
+include/signon-extension/SignOn/KeyHandler
+include/signon-extension/SignOn/abstract-access-control-manager.h
+include/signon-extension/SignOn/abstract-crypto-manager.h
+include/signon-extension/SignOn/abstract-key-authorizer.h
+include/signon-extension/SignOn/abstract-key-manager.h
+include/signon-extension/SignOn/abstract-secrets-storage.h
+include/signon-extension/SignOn/debug.h
+include/signon-extension/SignOn/export.h
+include/signon-extension/SignOn/extension-interface.h
+include/signon-extension/SignOn/key-handler.h
+include/signon-plugins/SignOn/AuthPluginInterface
+include/signon-plugins/SignOn/UiSessionData
+include/signon-plugins/SignOn/authpluginif.h
+include/signon-plugins/SignOn/blobiohandler.h
+include/signon-plugins/SignOn/signonplugincommon.h
+include/signon-plugins/SignOn/uisessiondata.h
+include/signon-plugins/SignOn/uisessiondata_priv.h
+include/signon-plugins/exampledata.h
+include/signon-plugins/exampleplugin.h
+include/signon-plugins/passwordplugin.h
+include/signon-plugins/ssotest2data.h
+include/signon-plugins/ssotest2plugin.h
+include/signon-plugins/ssotestplugin.h
+include/signon-qt5/SignOn/AuthService
+include/signon-qt5/SignOn/AuthSession
+include/signon-qt5/SignOn/Error
+include/signon-qt5/SignOn/Identity
+include/signon-qt5/SignOn/IdentityInfo
+include/signon-qt5/SignOn/SessionData
+include/signon-qt5/SignOn/authservice.h
+include/signon-qt5/SignOn/authsession.h
+include/signon-qt5/SignOn/identity.h
+include/signon-qt5/SignOn/identityinfo.h
+include/signon-qt5/SignOn/libsignoncommon.h
+include/signon-qt5/SignOn/sessiondata.h
+include/signon-qt5/SignOn/signon.h
+include/signon-qt5/SignOn/signonerror.h
+include/signond/accesscontrolmanagerhelper.h
+include/signond/backupifadaptor.h
+include/signond/credentialsaccessmanager.h
+include/signond/credentialsdb.h
+include/signond/credentialsdb_p.h
+include/signond/default-crypto-manager.h
+include/signond/default-key-authorizer.h
+include/signond/default-secrets-storage.h
+include/signond/pluginproxy.h
+include/signond/signonauthsession.h
+include/signond/signonauthsessionadaptor.h
+include/signond/signoncommon.h
+include/signond/signond-common.h
+include/signond/signondaemon.h
+include/signond/signondaemonadaptor.h
+include/signond/signondisposable.h
+include/signond/signonidentity.h
+include/signond/signonidentityadaptor.h
+include/signond/signonidentityinfo.h
+include/signond/signonsessioncore.h
+include/signond/signonsessioncoretools.h
+include/signond/signontrace.h
+include/signond/signonui_interface.h
+lib/cmake/SignOnQt5/SignOnQt5Config.cmake
+lib/cmake/SignOnQt5/SignOnQt5ConfigVersion.cmake
+lib/libsignon-extension.so
+lib/libsignon-extension.so.1
+lib/libsignon-extension.so.1.0
+lib/libsignon-extension.so.1.0.0
+lib/libsignon-plugins-common.so
+lib/libsignon-plugins-common.so.1
+lib/libsignon-plugins-common.so.1.0
+lib/libsignon-plugins-common.so.1.0.0
+lib/libsignon-plugins.so
+lib/libsignon-plugins.so.1
+lib/libsignon-plugins.so.1.0
+lib/libsignon-plugins.so.1.0.0
+lib/libsignon-qt5.a
+lib/libsignon-qt5.so
+lib/libsignon-qt5.so.1
+lib/libsignon-qt5.so.1.0
+lib/libsignon-qt5.so.1.0.0
+lib/signon/libexampleplugin.so
+lib/signon/libpasswordplugin.so
+lib/signon/libssotest2plugin.so
+lib/signon/libssotestplugin.so
+libdata/pkgconfig/SignOnExtension.pc
+libdata/pkgconfig/libsignon-qt5.pc
+libdata/pkgconfig/signon-plugins-common.pc
+libdata/pkgconfig/signon-plugins.pc
+libdata/pkgconfig/signond.pc
+share/dbus-1/interfaces/com.google.code.AccountsSSO.SingleSignOn.AuthService.xml
+share/dbus-1/interfaces/com.google.code.AccountsSSO.SingleSignOn.AuthSession.xml
+share/dbus-1/interfaces/com.google.code.AccountsSSO.SingleSignOn.Identity.xml
+share/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service
+share/dbus-1/services/com.nokia.SingleSignOn.Backup.service
+%%PORTDOCS%%%%DOCSDIR%%-plugins-dev/example/exampledata.h
+%%PORTDOCS%%%%DOCSDIR%%-plugins-dev/example/exampleplugin.cpp
+%%PORTDOCS%%%%DOCSDIR%%-plugins-dev/example/exampleplugin.h
+%%PORTDOCS%%%%DOCSDIR%%-plugins-dev/example/exampleplugin.pro
diff --git a/sysutils/signon-ui/Makefile b/sysutils/signon-ui/Makefile
new file mode 100644
index 000000000000..9db0c9549994
--- /dev/null
+++ b/sysutils/signon-ui/Makefile
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= signon-ui
+PORTVERSION= 0.17
+CATEGORIES= sysutils kde
+MASTER_SITES= https://gitlab.com/${GL_ACCOUNT}/${GL_PROJECT}/repository/archive${EXTRACT_SUFX}?ref=${GL_TAGNAME}&num;/ \
+ LOCAL/tcberner/${GL_ACCOUNT}/
+DIST_SUBDIR= KDE/${GL_ACCOUNT}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Component for handling accounts-sso user interactions
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libaccounts-qt5.so:${PORTSDIR}/net-im/libaccounts-qt5 \
+ libnotify.so:${PORTSDIR}/devel/libnotify \
+ libsignon-qt5.so:${PORTSDIR}/sysutils/signon-qt5 \
+ libproxy.so:${PORTSDIR}/net/libproxy
+
+USES= pkgconfig python qmake tar:bz2
+USE_QT5= buildtools_build qmake_build webkit widgets
+
+# gitlab variables
+GL_ACCOUNT= accounts-sso
+GL_PROJECT= signon-ui
+GL_TAGNAME= 075830f31096947fcea70802b8d3c142bccfbefa
+WRKSRC= ${WRKDIR}/${GL_PROJECT}-${GL_TAGNAME}-${GL_TAGNAME}
+
+.include <bsd.port.mk>
diff --git a/sysutils/signon-ui/distinfo b/sysutils/signon-ui/distinfo
new file mode 100644
index 000000000000..3626e3d8874b
--- /dev/null
+++ b/sysutils/signon-ui/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1486501812
+SHA256 (KDE/accounts-sso/signon-ui-0.17.tar.bz2) = e8056fe7346db33cfe1c526b7bf2cd68f6a65fc727d5ad836e02806c3f630c4e
+SIZE (KDE/accounts-sso/signon-ui-0.17.tar.bz2) = 60117
diff --git a/sysutils/signon-ui/files/patch-signon-ui.pro b/sysutils/signon-ui/files/patch-signon-ui.pro
new file mode 100644
index 000000000000..7fde8491a71a
--- /dev/null
+++ b/sysutils/signon-ui/files/patch-signon-ui.pro
@@ -0,0 +1,14 @@
+--- signon-ui.pro.orig 2013-06-11 06:51:14 UTC
++++ signon-ui.pro
+@@ -3,10 +3,7 @@ include(common-project-config.pri)
+
+ TEMPLATE = subdirs
+ CONFIG += ordered
+-SUBDIRS = \
+- po \
+- src \
+- tests
++SUBDIRS = src
+
+ include(common-installs-config.pri)
+
diff --git a/sysutils/signon-ui/pkg-descr b/sysutils/signon-ui/pkg-descr
new file mode 100644
index 000000000000..fd88d1144419
--- /dev/null
+++ b/sysutils/signon-ui/pkg-descr
@@ -0,0 +1,5 @@
+Sign-on UI is the component responsible for handling the user interactions
+which can happen during the login process of an online account.
+It can show password dialogs and dialogs with embedded web pages.
+
+WWW: https://gitlab.com/accounts-sso/signon-ui
diff --git a/sysutils/signon-ui/pkg-plist b/sysutils/signon-ui/pkg-plist
new file mode 100644
index 000000000000..5e4ea3f62ed8
--- /dev/null
+++ b/sysutils/signon-ui/pkg-plist
@@ -0,0 +1,3 @@
+bin/signon-ui
+share/dbus-1/services/com.canonical.indicators.webcredentials.service
+share/dbus-1/services/com.nokia.singlesignonui.service