Import kQOAuth, optional KIPI plugins dependency that's too similar
to QOAuth. kQOAuth is a library written in C++ for Qt that implements the OAuth 1.0 authentication specification RFC 5849 and is based on QOAuth library. However, QOAuth's approach is improved in some ways. kQOAuth main features: * Easy integrated solution for retrieving user authentication and access token. * No external dependency to QCA. * Convenient signals that can be used for easy OAuth authorization process handling. * Access to request objects that will wrap request signing and network access, but still gives possibility for detailed control of the authentication process for easier integration to existing application logic. okay landry@
This commit is contained in:
parent
5c9fabaf1e
commit
ff2bcd660e
43
security/kqoauth/Makefile
Normal file
43
security/kqoauth/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/04/01 11:55:32 zhuk Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
COMMENT = OAuth support library for Qt-based applications
|
||||
V = 0.97
|
||||
DISTNAME = ${V}
|
||||
PKGNAME = kqoauth-${V}
|
||||
CATEGORIES = security devel
|
||||
HOMEPAGE = https://github.com/kypeli/kQOAuth
|
||||
|
||||
SHARED_LIBS = kqoauth 0.0
|
||||
|
||||
# LGPLv2.1+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB = ICE SM X11 Xext Xi Xinerama Xrender fontconfig freetype
|
||||
WANTLIB += m pthread stdc++
|
||||
WANTLIB += lib/qt4/QtGui lib/qt4/QtNetwork
|
||||
|
||||
MASTER_SITES = ${HOMEPAGE}/archive/
|
||||
DIST_SUBDIR = kqoauth
|
||||
WRKDIST = ${WRKDIR}/kQOAuth-${V}
|
||||
|
||||
MODULES = x11/qt4
|
||||
|
||||
MAKE_FLAGS = LIBkqoauth_VERSION=${LIBkqoauth_VERSION}
|
||||
DESTDIRNAME = INSTALL_ROOT
|
||||
|
||||
TEST_NAMES = ft_kqoauth ut_kqoauth
|
||||
|
||||
do-configure:
|
||||
cd ${WRKDIST} && ${LOCALBASE}/bin/qmake4 \
|
||||
PREFIX=${PREFIX} \
|
||||
kqoauth.pro
|
||||
|
||||
do-test:
|
||||
.for _t in ${TEST_NAMES}
|
||||
cd ${WRKBUILD}/tests/${_t} && \
|
||||
LD_PRELOAD=${WRKBUILD}/lib/libkqoauth.so.${LIBkqoauth_VERSION} \
|
||||
./${_t}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/kqoauth/distinfo
Normal file
2
security/kqoauth/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (kqoauth/0.97.tar.gz) = oCk8Q/IgznC5YypUYkyeKW3MG62fcT0FlySRbG9zBTw=
|
||||
SIZE (kqoauth/0.97.tar.gz) = 39361
|
14
security/kqoauth/pkg/DESCR
Normal file
14
security/kqoauth/pkg/DESCR
Normal file
@ -0,0 +1,14 @@
|
||||
kQOAuth is a library written in C++ for Qt that implements the OAuth
|
||||
1.0 authentication specification RFC 5849 and is based on QOAuth
|
||||
library. However, QOAuth's approach is improved in some ways.
|
||||
|
||||
kQOAuth main features:
|
||||
* Easy integrated solution for retrieving user authentication and
|
||||
access token.
|
||||
* No external dependency to QCA.
|
||||
* Convenient signals that can be used for easy OAuth authorization
|
||||
process handling.
|
||||
* Access to request objects that will wrap request signing and
|
||||
network access, but still gives possibility for detailed control
|
||||
of the authentication process for easier integration to existing
|
||||
application logic.
|
12
security/kqoauth/pkg/PLIST
Normal file
12
security/kqoauth/pkg/PLIST
Normal file
@ -0,0 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/01 11:55:32 zhuk Exp $
|
||||
include/QtKOAuth/
|
||||
include/QtKOAuth/QtKOAuth
|
||||
include/QtKOAuth/kqoauthglobals.h
|
||||
include/QtKOAuth/kqoauthmanager.h
|
||||
include/QtKOAuth/kqoauthrequest.h
|
||||
include/QtKOAuth/kqoauthrequest_1.h
|
||||
include/QtKOAuth/kqoauthrequest_xauth.h
|
||||
lib/libkqoauth.prl
|
||||
@lib lib/libkqoauth.so.${LIBkqoauth_VERSION}
|
||||
lib/pkgconfig/kqoauth.pc
|
||||
lib/qt4/mkspecs/features/kqoauth.prf
|
Loading…
x
Reference in New Issue
Block a user