-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
347 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
gsignond | ||
------------------------------------------ | ||
The GSignOn 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. | ||
|
||
Runtime requirements: | ||
cygwin-2.8.1-1 | ||
girepository-GLib2.0-1.50.0-1 | ||
libglib2.0-devel-2.50.3-1 | ||
libglib2.0_0-2.50.3-1 | ||
libgsignond-devel-1.0.6-1bl1 | ||
libgsignond0-1.0.6-1bl1 | ||
libsqlite3-devel-3.19.3-1 | ||
libsqlite3_0-3.19.3-1 | ||
pkg-config-0.29.1-1 | ||
|
||
Build requirements: | ||
(besides corresponding -devel packages) | ||
autoconf-13-1 | ||
automake-9-1 | ||
binutils-2.25-4 | ||
cygport-0.24.1-1 | ||
gcc-core-5.4.0-1 | ||
gobject-introspection-1.50.0-1 | ||
libtool-2.4.6-4 | ||
make-4.2.1-2 | ||
|
||
Canonical website: | ||
https://gitlab.com/accounts-sso/gsignond | ||
|
||
Canonical download: | ||
https://gitlab.com/accounts-sso/gsignond/repository/archive.tar.bz2?ref=1.0.6 | ||
|
||
------------------------------------------- | ||
|
||
Build instructions: | ||
1. unpack gsignond-1.0.6-X-src.tar.xz | ||
2. if you use setup to install this src package, | ||
it will be unpacked under /usr/src automatically | ||
% cd /usr/src | ||
% cygport ./gsignond-1.0.6-X.cygport all | ||
|
||
This will create: | ||
/usr/src/gsignond-1.0.6-X-src.tar.xz | ||
/usr/src/gsignond-1.0.6-X.tar.xz | ||
/usr/src/libgsignond0-1.0.6-X.tar.xz | ||
/usr/src/libgsignond-devel-1.0.6-X.tar.xz | ||
/usr/src/girepository-gSignond1.0-1.0.6-X.tar.xz | ||
/usr/src/vala-gsignond-1.0.6-X.tar.xz | ||
|
||
------------------------------------------- | ||
|
||
Files included in the binary package: | ||
|
||
(gsignond) | ||
/etc/gsignond.conf | ||
/usr/bin/gsignond.exe | ||
/usr/lib/gsignond/extensions/extension-test.dll | ||
/usr/lib/gsignond/gplugins/digest.dll | ||
/usr/lib/gsignond/gplugins/password.dll | ||
/usr/lib/gsignond/gplugins/ssotest.dll | ||
/usr/lib/gsignond/pluginloaders/gsignond-plugind.exe | ||
/usr/share/dbus-1/interfaces/com.google.code.AccountsSSO.gSingleSignOn.AuthService.xml | ||
/usr/share/dbus-1/interfaces/com.google.code.AccountsSSO.gSingleSignOn.AuthSession.xml | ||
/usr/share/dbus-1/interfaces/com.google.code.AccountsSSO.gSingleSignOn.Identity.xml | ||
/usr/share/dbus-1/interfaces/com.google.code.AccountsSSO.gSingleSignOn.UI.Dialog.xml | ||
/usr/share/dbus-1/interfaces/com.google.code.AccountsSSO.gSingleSignOn.UI.xml | ||
/usr/share/doc/Cygwin/gsignond.README | ||
/usr/share/doc/gsignond/AUTHORS | ||
/usr/share/doc/gsignond/COPYING.LIB | ||
/usr/share/doc/gsignond/README.md | ||
|
||
(libgsignond0) | ||
/usr/bin/cyggsignond-common-0.dll | ||
|
||
(libgsignond-devel) | ||
/usr/include/gsignond/gsignond-access-control-manager.h | ||
/usr/include/gsignond/gsignond-config-dbus.h | ||
/usr/include/gsignond/gsignond-config-general.h | ||
/usr/include/gsignond/gsignond-config.h | ||
/usr/include/gsignond/gsignond-credentials.h | ||
/usr/include/gsignond/gsignond-dictionary.h | ||
/usr/include/gsignond/gsignond-error.h | ||
/usr/include/gsignond/gsignond-extension-interface.h | ||
/usr/include/gsignond/gsignond-log.h | ||
/usr/include/gsignond/gsignond-plugin-interface.h | ||
/usr/include/gsignond/gsignond-secret-storage.h | ||
/usr/include/gsignond/gsignond-security-context.h | ||
/usr/include/gsignond/gsignond-session-data.h | ||
/usr/include/gsignond/gsignond-signonui-data.h | ||
/usr/include/gsignond/gsignond-storage-manager.h | ||
/usr/include/gsignond/gsignond-utils.h | ||
/usr/include/gsignond/gsignond.h | ||
/usr/lib/libgsignond-common.dll.a | ||
/usr/lib/pkgconfig/gsignond.pc | ||
|
||
(girepository-gSignond1.0) | ||
/usr/lib/girepository-1.0/gSignond-1.0.typelib | ||
/usr/share/gir-1.0/gSignond-1.0.gir | ||
|
||
(vala-gsignond) | ||
/usr/share/vala/vapi/gsignond.deps | ||
/usr/share/vala/vapi/gsignond.vapi | ||
|
||
------------------ | ||
|
||
Port Notes: | ||
|
||
----- version 1.0.6-1bl1 ----- | ||
Initial release by fd0 <https://github.com/fd00/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
HOMEPAGE="https://gitlab.com/accounts-sso/${PN}" | ||
SRC_URI="https://gitlab.com/accounts-sso/${PN}/repository/archive.tar.bz2?ref=${PV}" | ||
SRC_DIR="${P}-3214aef8e7c84a9918d8b18fb258247d81be12e2" | ||
|
||
CATEGORY="Utils" | ||
SUMMARY="SignOn Daemon (GLib)" | ||
DESCRIPTION="The GSignOn 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." | ||
|
||
CYGPORT_USE_UNSTABLE_API=1 | ||
src_patch_hook() | ||
{ | ||
cd ${origsrcdir}/${SRC_DIR} | ||
ln -fs /usr/share/gtk-doc/data/gtk-doc.make . | ||
} | ||
|
||
PKG_NAMES=" | ||
${PN} | ||
lib${PN}0 | ||
lib${PN}-devel | ||
girepository-gSignond1.0 | ||
vala-${PN} | ||
" | ||
gsignond_CONTENTS=" | ||
etc | ||
usr/bin/*.exe | ||
usr/lib/gsignond | ||
usr/share/dbus* | ||
usr/share/doc | ||
" | ||
libgsignond0_CONTENTS=" | ||
usr/bin/*.dll | ||
" | ||
libgsignond_devel_CONTENTS=" | ||
usr/include | ||
usr/lib/lib* | ||
usr/lib/pkgconfig | ||
" | ||
girepository_gSignond1_0_CONTENTS=" | ||
usr/lib/girepository* | ||
usr/share/gir* | ||
" | ||
vala_gsignond_CONTENTS=" | ||
usr/share/vala | ||
" | ||
gsignond_SUMMARY="${SUMMARY} (licensing & readmes)" | ||
libgsignond0_SUMMARY="${SUMMARY} (runtime)" | ||
libgsignond_devel_SUMMARY="${SUMMARY} (development)" | ||
girepository_gSignond1_0_SUMMARY="${SUMMARY} (GObject Introspection data)" | ||
vala_gsignond_SUMMARY="${SUMMARY} (vala bindings)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
--- origsrc/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/include/gsignond/gsignond-log.h 2017-04-12 01:20:20.000000000 +0900 | ||
+++ src/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/include/gsignond/gsignond-log.h 2017-07-07 23:44:00.951000000 +0900 | ||
@@ -27,7 +27,9 @@ | ||
|
||
#include <glib.h> | ||
|
||
+#if !defined(__CYGWIN__) | ||
#include <execinfo.h> | ||
+#endif | ||
#include <stdio.h> | ||
#include <stdlib.h> | ||
|
||
--- origsrc/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/common/Makefile.am 2017-04-12 01:20:20.000000000 +0900 | ||
+++ src/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/common/Makefile.am 2017-07-07 23:40:03.415000000 +0900 | ||
@@ -45,6 +45,8 @@ libgsignond_common_la_LIBADD = \ | ||
$(top_builddir)/src/common/db/libgsignond-common-db.la \ | ||
$(NULL) | ||
|
||
+libgsignond_common_la_LDFLAGS = -no-undefined | ||
+ | ||
libgsignond_common_la_SOURCES = \ | ||
gsignond-security-context.c \ | ||
gsignond-access-control-manager.c \ | ||
--- origsrc/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/extensions/test/Makefile.am 2017-04-12 01:20:20.000000000 +0900 | ||
+++ src/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/extensions/test/Makefile.am 2017-07-07 23:58:15.649000000 +0900 | ||
@@ -1,17 +1,17 @@ | ||
include $(top_srcdir)/common.mk | ||
-extensions_LTLIBRARIES = libextension-test.la | ||
+extensions_LTLIBRARIES = extension-test.la | ||
|
||
-libextension_test_la_CPPFLAGS = \ | ||
+extension_test_la_CPPFLAGS = \ | ||
-I$(top_builddir) \ | ||
-I$(top_srcdir)/include \ | ||
$(GSIGNOND_CFLAGS) | ||
|
||
-libextension_test_la_LIBADD = \ | ||
+extension_test_la_LIBADD = \ | ||
$(top_builddir)/src/common/libgsignond-common.la \ | ||
$(GSIGNOND_LIBS) \ | ||
$(NULL) | ||
|
||
-libextension_test_la_SOURCES = \ | ||
+extension_test_la_SOURCES = \ | ||
test-access-control-manager.h \ | ||
test-access-control-manager.c \ | ||
test-extension.h \ | ||
@@ -21,4 +21,4 @@ libextension_test_la_SOURCES = \ | ||
test-storage-manager.h \ | ||
test-storage-manager.c | ||
|
||
-libextension_test_la_LDFLAGS = -avoid-version | ||
+extension_test_la_LDFLAGS = -avoid-version -no-undefined -module | ||
--- origsrc/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/gplugind/main.c 2017-04-12 01:20:20.000000000 +0900 | ||
+++ src/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/gplugind/main.c 2017-07-07 23:47:46.359000000 +0900 | ||
@@ -31,8 +31,9 @@ | ||
#include <glib-unix.h> | ||
#include <glib.h> | ||
#include <gio/gio.h> | ||
+#if !defined(__CYGWIN__) | ||
#include <sys/prctl.h> | ||
- | ||
+#endif | ||
#include "gsignond/gsignond-log.h" | ||
#include "daemon/dbus/gsignond-dbus.h" | ||
#include "gsignond-plugin-daemon.h" | ||
@@ -87,8 +88,10 @@ _install_sighandlers (GMainLoop *main_lo | ||
NULL); | ||
_sig_source_id[2] = g_source_attach (source, ctx); | ||
|
||
+#if !defined(__CYGWIN__) | ||
if (prctl(PR_SET_PDEATHSIG, SIGHUP)) | ||
WARN ("failed to set parent death signal"); | ||
+#endif | ||
} | ||
|
||
static const gchar* _plugin_path() | ||
--- origsrc/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/plugins/digest/Makefile.am 2017-04-12 01:20:20.000000000 +0900 | ||
+++ src/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/plugins/digest/Makefile.am 2017-07-07 23:59:45.657000000 +0900 | ||
@@ -1,28 +1,22 @@ | ||
include $(top_srcdir)/common.mk | ||
-gplugins_LTLIBRARIES = libdigest.la | ||
+gplugins_LTLIBRARIES = digest.la | ||
NULL= | ||
|
||
-libdigest_la_CPPFLAGS = \ | ||
+digest_la_CPPFLAGS = \ | ||
-I$(top_builddir) \ | ||
-I$(top_srcdir)/src \ | ||
-I$(top_srcdir)/include \ | ||
$(GSIGNOND_CFLAGS) \ | ||
$(NULL) | ||
|
||
-libdigest_la_LIBADD = \ | ||
+digest_la_LIBADD = \ | ||
$(top_builddir)/src/common/libgsignond-common.la \ | ||
$(GSIGNOND_LIBS) \ | ||
$(NULL) | ||
|
||
-libdigest_la_SOURCES = \ | ||
+digest_la_SOURCES = \ | ||
gsignond-digest-plugin.h \ | ||
gsignond-digest-plugin.c \ | ||
$(NULL) | ||
|
||
-libdigest_la_LDFLAGS = -avoid-version | ||
- | ||
-all-local: slink | ||
- | ||
-slink: | ||
- ln -sf $(abs_top_builddir)/src/plugins/digest/.libs/libdigest.so ../.libs/libdigest.so | ||
- | ||
+digest_la_LDFLAGS = -avoid-version -no-undefined -module | ||
--- origsrc/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/plugins/password/Makefile.am 2017-04-12 01:20:20.000000000 +0900 | ||
+++ src/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/plugins/password/Makefile.am 2017-07-08 00:00:11.090000000 +0900 | ||
@@ -1,27 +1,22 @@ | ||
include $(top_srcdir)/common.mk | ||
-gplugins_LTLIBRARIES = libpassword.la | ||
+gplugins_LTLIBRARIES = password.la | ||
NULL= | ||
|
||
-libpassword_la_CPPFLAGS = \ | ||
+password_la_CPPFLAGS = \ | ||
-I$(top_builddir) \ | ||
-I$(top_srcdir)/src \ | ||
-I$(top_srcdir)/include \ | ||
$(GSIGNOND_CFLAGS) \ | ||
$(NULL) | ||
|
||
-libpassword_la_LIBADD = \ | ||
+password_la_LIBADD = \ | ||
$(top_builddir)/src/common/libgsignond-common.la \ | ||
$(GSIGNOND_LIBS) \ | ||
$(NULL) | ||
|
||
-libpassword_la_SOURCES = \ | ||
+password_la_SOURCES = \ | ||
gsignond-password-plugin.h \ | ||
gsignond-password-plugin.c \ | ||
$(NULL) | ||
|
||
-libpassword_la_LDFLAGS = -avoid-version | ||
- | ||
-all-local: slink | ||
- | ||
-slink: | ||
- ln -sf $(abs_top_builddir)/src/plugins/password/.libs/libpassword.so ../.libs/libpassword.so | ||
+password_la_LDFLAGS = -avoid-version -no-undefined -module | ||
--- origsrc/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/plugins/ssotest/Makefile.am 2017-04-12 01:20:20.000000000 +0900 | ||
+++ src/gsignond-1.0.6-3214aef8e7c84a9918d8b18fb258247d81be12e2/src/plugins/ssotest/Makefile.am 2017-07-08 00:00:34.392000000 +0900 | ||
@@ -1,29 +1,22 @@ | ||
include $(top_srcdir)/common.mk | ||
-gplugins_LTLIBRARIES = libssotest.la | ||
+gplugins_LTLIBRARIES = ssotest.la | ||
NULL= | ||
|
||
-libssotest_la_CPPFLAGS = \ | ||
+ssotest_la_CPPFLAGS = \ | ||
-I$(top_builddir) \ | ||
-I$(top_srcdir)/src \ | ||
-I$(top_srcdir)/include \ | ||
$(GSIGNOND_CFLAGS) \ | ||
$(NULL) | ||
|
||
-libssotest_la_LIBADD = \ | ||
+ssotest_la_LIBADD = \ | ||
$(top_builddir)/src/common/libgsignond-common.la \ | ||
$(GSIGNOND_LIBS) \ | ||
$(NULL) | ||
|
||
-libssotest_la_SOURCES = \ | ||
+ssotest_la_SOURCES = \ | ||
gsignond-ssotest-plugin.h \ | ||
gsignond-ssotest-plugin.c \ | ||
$(NULL) | ||
|
||
-libssotest_la_LDFLAGS = -avoid-version | ||
- | ||
-all-local: slink | ||
- | ||
-slink: | ||
- ln -sf $(abs_top_builddir)/src/plugins/ssotest/.libs/libssotest.so ../.libs/libssotest.so | ||
- | ||
- | ||
+ssotest_la_LDFLAGS = -avoid-version -no-undefined -module |