aboutsummaryrefslogtreecommitdiff
path: root/sysutils/signon-qt5
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/signon-qt5')
-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
6 files changed, 177 insertions, 0 deletions
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}#/ \
+ 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