Import signond-8.61, Tweaks and OK kn@

Comment:
SignOn Daemon (Qt)

Description:
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.

Maintainer: Rafael Sadowski <rsadowski@openbsd.org>

WWW: https://accounts-sso.gitlab.io/
This commit is contained in:
rsadowski 2022-12-10 08:31:47 +00:00
parent 80b6a6859e
commit 5222772f18
6 changed files with 239 additions and 0 deletions

41
net/signond/Makefile Normal file
View File

@ -0,0 +1,41 @@
COMMENT = SignOn Daemon (Qt)
CATEGORIES = net
HOMEPAGE = https://accounts-sso.gitlab.io/
V = VERSION_8.61
DISTNAME = signond-${V:S/VERSION_//}
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
MASTER_SITES = https://gitlab.com/accounts-sso/signond/-/archive/${V}/
SHARED_LIBS += signon-extension 0.0 # 1.0
SHARED_LIBS += signon-plugins-common 0.0 # 1.0
SHARED_LIBS += signon-plugins 0.0 # 1.0
SHARED_LIBS += signon-qt5 0.0 # 1.0
# LGPLv2.1+, GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5DBus Qt5Gui Qt5Network
WANTLIB += Qt5Sql Qt5Xml c m proxy
MODULES = x11/qt5 \
devel/qmake
BUILD_DEPENDS = devel/doxygen
LIB_DEPENDS = net/libproxy
WRKDIST = ${WRKDIR}/signond-${V}-5b34c5bbc45eedf55bf553675595b3fcb5c156a8
TEST_TARGET = check
TEST_IS_INTERACTIVE = Yes
pre-configure:
ln -sf ${LOCALBASE}/lib/qt5/bin/q{collection,help}generator ${WRKDIR}/bin/
${SUBST_CMD} ${WRKSRC}/lib/SignOn/SignOnQt5Config.cmake.in
.include <bsd.port.mk>

2
net/signond/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (signond-8.61.tar.gz) = MFu2tsmZJP4zZmQZdb78uI6OdEQAVpM8Xt36YYSiV6I=
SIZE (signond-8.61.tar.gz) = 283095

View File

@ -0,0 +1,13 @@
Index: lib/SignOn/SignOnQt5Config.cmake.in
--- lib/SignOn/SignOnQt5Config.cmake.in.orig
+++ lib/SignOn/SignOnQt5Config.cmake.in
@@ -2,6 +2,6 @@
# SIGNONQT_LIBRARIES - The libraries needed to use libsignon-qt
# SIGNONQT_LIBRARIES_STATIC - The static version of libsignon-qt
-set(SIGNONQT_LIBRARIES $${INSTALL_LIBDIR}/lib$${TARGET}.so)
+set(SIGNONQT_LIBRARIES $${INSTALL_LIBDIR}/lib$${TARGET}.so.${LIBsignon-qt5_VERSION})
set(SIGNONQT_LIBRARIES_STATIC $${INSTALL_LIBDIR}/lib$${TARGET}.a)
-set(SIGNONQT_INCLUDE_DIRS $${INSTALL_PREFIX}/include/$${TARGET})
\ No newline at end of file
+set(SIGNONQT_INCLUDE_DIRS $${INSTALL_PREFIX}/include/$${TARGET})

View File

@ -0,0 +1,19 @@
Index: src/signond/signond.pro
--- src/signond/signond.pro.orig
+++ src/signond/signond.pro
@@ -95,7 +95,6 @@ DEFINES += "SIGNOND_EXTENSIONS_DIR=$${SIGNOND_EXTENSIO
#Trace defines can be overruled by signond's configuration file `LoggingLevel`
DEFINES += SIGNOND_TRACE
LIBS += \
- -lrt \
-lsignon-plugins-common \
-lsignon-extension
@@ -107,6 +106,6 @@ OTHER_FILES += \
setupstorage.sh
conf_file.files = $$OTHER_FILES
-conf_file.path = /etc/
+conf_file.path = $${INSTALL_PREFIX}/share/examples/signond/
INSTALLS += conf_file

3
net/signond/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
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.

161
net/signond/pkg/PLIST Normal file
View File

@ -0,0 +1,161 @@
@bin bin/signond
@bin bin/signonpluginprocess
include/signon-extension/
include/signon-extension/SignOn/
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/
include/signon-plugins/SignOn/
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/
include/signon-qt5/SignOn/
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/SecurityContext
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/securitycontext.h
include/signon-qt5/SignOn/sessiondata.h
include/signon-qt5/SignOn/signon.h
include/signon-qt5/SignOn/signonerror.h
include/signond/
include/signond/accesscontrolmanagerhelper.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/error.h
include/signond/peercontext.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/signonsecuritycontext.h
include/signond/signonsessioncore.h
include/signond/signonsessioncoretools.h
include/signond/signontrace.h
include/signond/signonui_interface.h
lib/cmake/SignOnQt5/
lib/cmake/SignOnQt5/SignOnQt5Config.cmake
lib/cmake/SignOnQt5/SignOnQt5ConfigVersion.cmake
@lib lib/libsignon-extension.so.${LIBsignon-extension_VERSION}
@lib lib/libsignon-plugins-common.so.${LIBsignon-plugins-common_VERSION}
@lib lib/libsignon-plugins.so.${LIBsignon-plugins_VERSION}
@static-lib lib/libsignon-qt5.a
@lib lib/libsignon-qt5.so.${LIBsignon-qt5_VERSION}
lib/pkgconfig/SignOnExtension.pc
lib/pkgconfig/libsignon-qt5.pc
lib/pkgconfig/signon-plugins-common.pc
lib/pkgconfig/signon-plugins.pc
lib/pkgconfig/signond.pc
lib/signon/
@so lib/signon/libexampleplugin.so
@so lib/signon/libpasswordplugin.so
@so lib/signon/libssotest2plugin.so
@so lib/signon/libssotestplugin.so
share/dbus-1/services/com.google.code.AccountsSSO.SingleSignOn.service
share/dbus-1/services/com.nokia.SingleSignOn.Backup.service
share/doc/signon/
share/doc/signon-plugins-dev/
share/doc/signon-plugins-dev/example/
share/doc/signon-plugins-dev/example/exampledata.h
share/doc/signon-plugins-dev/example/exampleplugin.cpp
share/doc/signon-plugins-dev/example/exampleplugin.h
share/doc/signon-plugins-dev/example/exampleplugin.pro
share/doc/signon/html/
share/doc/signon/html/bc_s.png
share/doc/signon/html/bc_sd.png
share/doc/signon/html/bdwn.png
share/doc/signon/html/closed.png
share/doc/signon/html/dir_61c9e5842729cb34568d93cb98ad85b9.html
share/doc/signon/html/dir_61c9e5842729cb34568d93cb98ad85b9_dep.map
share/doc/signon/html/dir_61c9e5842729cb34568d93cb98ad85b9_dep.md5
share/doc/signon/html/dir_61c9e5842729cb34568d93cb98ad85b9_dep.png
share/doc/signon/html/dir_e68e8157741866f444e17edd764ebbae.html
share/doc/signon/html/doc.png
share/doc/signon/html/docd.png
share/doc/signon/html/doxygen.css
share/doc/signon/html/doxygen.svg
share/doc/signon/html/dynsections.js
share/doc/signon/html/folderclosed.png
share/doc/signon/html/folderopen.png
share/doc/signon/html/graph_legend.html
share/doc/signon/html/graph_legend.md5
share/doc/signon/html/graph_legend.png
share/doc/signon/html/index.html
share/doc/signon/html/index.qhp
share/doc/signon/html/jquery.js
share/doc/signon/html/menu.js
share/doc/signon/html/menudata.js
share/doc/signon/html/nav_f.png
share/doc/signon/html/nav_fd.png
share/doc/signon/html/nav_g.png
share/doc/signon/html/nav_h.png
share/doc/signon/html/nav_hd.png
share/doc/signon/html/navtree.css
share/doc/signon/html/navtree.js
share/doc/signon/html/navtreedata.js
share/doc/signon/html/navtreeindex0.js
share/doc/signon/html/open.png
share/doc/signon/html/resize.js
share/doc/signon/html/splitbar.png
share/doc/signon/html/splitbard.png
share/doc/signon/html/sync_off.png
share/doc/signon/html/sync_on.png
share/doc/signon/html/tab_a.png
share/doc/signon/html/tab_ad.png
share/doc/signon/html/tab_b.png
share/doc/signon/html/tab_bd.png
share/doc/signon/html/tab_h.png
share/doc/signon/html/tab_hd.png
share/doc/signon/html/tab_s.png
share/doc/signon/html/tab_sd.png
share/doc/signon/html/tabs.css
share/doc/signon/qch/
share/doc/signon/qch/signon.qch
share/examples/signond/
share/examples/signond/signond.conf
@sample ${SYSCONFDIR}/signond.conf