Import gnome-keyring-3.0.1.

gnome-keyring is a program that keep password and other secrets for
users. It is run as a daemon in the session, similar to ssh-agent, and
other applications can locate it by an environment variable.
 
The program can manage several keyrings, each with its own master
password, and there is also a session keyring which is never stored to
disk, but forgotten when the session ends.

ok jasper@
This commit is contained in:
ajacoutot 2011-05-14 09:42:19 +00:00
parent 5eb93fbd94
commit fd873ed1f0
6 changed files with 304 additions and 0 deletions

View File

@ -0,0 +1,45 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/14 09:42:19 ajacoutot Exp $
COMMENT= password agent for the GNOME project
GNOME_PROJECT= gnome-keyring
GNOME_VERSION= 3.0.1
SHARED_LIBS += gck 0.0 # 0.0
SHARED_LIBS += gcr-3 0.0 # 0.0
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo
WANTLIB += cairo-gobject dbus-1 drm expat fontconfig freetype
WANTLIB += gcrypt gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gpg-error gthread-2.0 gtk-3 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += pthread-stubs xcb xcb-render xcb-shm z
MODULES= devel/gettext \
x11/gnome \
devel/dconf
DESKTOP_FILES= Yes
LIB_DEPENDS= security/libgcrypt \
x11/dbus \
x11/gtk+3
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-root-certs=/etc/ssl \
--disable-pam \
--disable-tests \
--disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (gnome/gnome-keyring-3.0.1.tar.bz2) = nWXe/VJ5GRB8cuKY9mYEcw==
RMD160 (gnome/gnome-keyring-3.0.1.tar.bz2) = MdUAUu/IIDBxuDvbS1ywT2OkUeo=
SHA1 (gnome/gnome-keyring-3.0.1.tar.bz2) = vv6TysHr6nks+ZmohpF2omxtwPk=
SHA256 (gnome/gnome-keyring-3.0.1.tar.bz2) = GylvxY+xicljL92Kiootuwr5fbFSmvh9c+IalsS3jAM=
SIZE (gnome/gnome-keyring-3.0.1.tar.bz2) = 1863772

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-egg_egg-unix-credentials_c,v 1.1.1.1 2011/05/14 09:42:19 ajacoutot Exp $
--- egg/egg-unix-credentials.c.orig Sat Jul 3 10:38:55 2010
+++ egg/egg-unix-credentials.c Sat Jul 3 10:39:12 2010
@@ -107,7 +107,7 @@ egg_unix_credentials_read (int sock, pid_t *pid, uid_t
{
#ifdef SO_PEERCRED
- struct ucred cr;
+ struct sockpeercred cr;
socklen_t cr_len = sizeof (cr);
if (getsockopt (sock, SOL_SOCKET, SO_PEERCRED, &cr, &cr_len) == 0 &&

View File

@ -0,0 +1,7 @@
gnome-keyring is a program that keep password and other secrets for
users. It is run as a daemon in the session, similar to ssh-agent, and
other applications can locate it by an environment variable.
The program can manage several keyrings, each with its own master
password, and there is also a session keyring which is never stored to
disk, but forgotten when the session ends.

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/05/14 09:42:19 ajacoutot Exp $
lib/gnome-keyring/devel/gkm-gnome2-store-standalone.so
lib/gnome-keyring/devel/gkm-roots-store-standalone.so
lib/gnome-keyring/devel/gkm-secret-store-standalone.so
lib/gnome-keyring/devel/gkm-ssh-store-standalone.so
lib/gnome-keyring/devel/gkm-xdg-store-standalone.so
@lib lib/libgck.so.${LIBgck_VERSION}
@lib lib/libgcr-3.so.${LIBgcr-3_VERSION}
lib/pkcs11/gnome-keyring-pkcs11.so

View File

@ -0,0 +1,226 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/14 09:42:19 ajacoutot Exp $
%%SHARED%%
bin/gnome-keyring
@bin bin/gnome-keyring-3
@mode 4755
@owner root
@bin bin/gnome-keyring-daemon
@mode
@owner
include/gck/
include/gck/gck.h
include/gck/pkcs11.h
include/gck/pkcs11n.h
include/gck/pkcs11x.h
include/gcr-3/
include/gcr-3/gcr/
include/gcr-3/gcr/gcr-certificate-basics-widget.h
include/gcr-3/gcr/gcr-certificate-chain.h
include/gcr-3/gcr/gcr-certificate-details-widget.h
include/gcr-3/gcr/gcr-certificate-renderer.h
include/gcr-3/gcr/gcr-certificate-widget.h
include/gcr-3/gcr/gcr-certificate.h
include/gcr-3/gcr/gcr-importer.h
include/gcr-3/gcr/gcr-key-renderer.h
include/gcr-3/gcr/gcr-key-widget.h
include/gcr-3/gcr/gcr-library.h
include/gcr-3/gcr/gcr-parser.h
include/gcr-3/gcr/gcr-pkcs11-certificate.h
include/gcr-3/gcr/gcr-renderer.h
include/gcr-3/gcr/gcr-simple-certificate.h
include/gcr-3/gcr/gcr-trust.h
include/gcr-3/gcr/gcr-types.h
include/gcr-3/gcr/gcr-unlock-options-widget.h
include/gcr-3/gcr/gcr-unlock-options.h
include/gcr-3/gcr/gcr-viewer.h
include/gcr-3/gcr/gcr.h
lib/gnome-keyring/
lib/gnome-keyring/devel/
@comment lib/gnome-keyring/devel/gkm-gnome2-store-standalone.a
@comment lib/gnome-keyring/devel/gkm-gnome2-store-standalone.la
@comment lib/gnome-keyring/devel/gkm-roots-store-standalone.a
@comment lib/gnome-keyring/devel/gkm-roots-store-standalone.la
@comment lib/gnome-keyring/devel/gkm-secret-store-standalone.a
@comment lib/gnome-keyring/devel/gkm-secret-store-standalone.la
@comment lib/gnome-keyring/devel/gkm-ssh-store-standalone.a
@comment lib/gnome-keyring/devel/gkm-ssh-store-standalone.la
@comment lib/gnome-keyring/devel/gkm-xdg-store-standalone.a
@comment lib/gnome-keyring/devel/gkm-xdg-store-standalone.la
lib/libgck.a
lib/libgck.la
lib/libgcr-3.a
lib/libgcr-3.la
lib/pkcs11/
@comment lib/pkcs11/gnome-keyring-pkcs11.a
@comment lib/pkcs11/gnome-keyring-pkcs11.la
lib/pkgconfig/gck-0.pc
lib/pkgconfig/gcr-3.pc
libexec/gnome-keyring-prompt
@bin libexec/gnome-keyring-prompt-3
share/GConf/
share/GConf/gsettings/
share/GConf/gsettings/org.gnome.crypto.cache.convert
share/GConf/gsettings/org.gnome.crypto.pgp.convert
share/applications/gnome-keyring-prompt.desktop
share/dbus-1/
share/dbus-1/services/
share/dbus-1/services/org.freedesktop.secrets.service
share/dbus-1/services/org.gnome.keyring.service
share/examples/xdg/
@sample ${SYSCONFDIR}/xdg/
share/examples/xdg/autostart/
@sample ${SYSCONFDIR}/xdg/autostart/
share/examples/xdg/autostart/gnome-keyring-gpg.desktop
@sample ${SYSCONFDIR}/xdg/autostart/gnome-keyring-gpg.desktop
share/examples/xdg/autostart/gnome-keyring-pkcs11.desktop
@sample ${SYSCONFDIR}/xdg/autostart/gnome-keyring-pkcs11.desktop
share/examples/xdg/autostart/gnome-keyring-secrets.desktop
@sample ${SYSCONFDIR}/xdg/autostart/gnome-keyring-secrets.desktop
share/examples/xdg/autostart/gnome-keyring-ssh.desktop
@sample ${SYSCONFDIR}/xdg/autostart/gnome-keyring-ssh.desktop
share/gcr-3/
share/gcr-3/ui/
share/gcr-3/ui/gcr-import-dialog.ui
share/gcr-3/ui/gcr-unlock-options-widget.ui
share/glib-2.0/schemas/org.gnome.crypto.cache.gschema.xml
share/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
share/gnome-keyring-3/
share/gnome-keyring-3/ui/
share/gnome-keyring-3/ui/gku-prompt.ui
share/gtk-doc/html/gck/
share/gtk-doc/html/gck/gck-Errors.html
share/gtk-doc/html/gck/gck-GckAttribute.html
share/gtk-doc/html/gck/gck-GckAttributes.html
share/gtk-doc/html/gck/gck-GckEnumerator.html
share/gtk-doc/html/gck/gck-GckModule-lists.html
share/gtk-doc/html/gck/gck-GckModule.html
share/gtk-doc/html/gck/gck-GckObject.html
share/gtk-doc/html/gck/gck-GckSession.html
share/gtk-doc/html/gck/gck-GckSlot.html
share/gtk-doc/html/gck/gck-Miscellaneous-Functions.html
share/gtk-doc/html/gck/gck-PKCS11-URIs.html
share/gtk-doc/html/gck/gck.devhelp
share/gtk-doc/html/gck/gck.devhelp2
share/gtk-doc/html/gck/home.png
share/gtk-doc/html/gck/index.html
share/gtk-doc/html/gck/index.sgml
share/gtk-doc/html/gck/left.png
share/gtk-doc/html/gck/pkcs11-links.html
share/gtk-doc/html/gck/reference.html
share/gtk-doc/html/gck/right.png
share/gtk-doc/html/gck/style.css
share/gtk-doc/html/gck/up.png
share/gtk-doc/html/gcr-3/
share/gtk-doc/html/gcr-3/GcrCertificateChain.html
share/gtk-doc/html/gcr-3/GcrImporter.html
share/gtk-doc/html/gcr-3/GcrParser.html
share/gtk-doc/html/gcr-3/GcrPkcs11Certificate.html
share/gtk-doc/html/gcr-3/GcrSimpleCertificate.html
share/gtk-doc/html/gcr-3/certificates.html
share/gtk-doc/html/gcr-3/gcr-3.devhelp
share/gtk-doc/html/gcr-3/gcr-3.devhelp2
share/gtk-doc/html/gcr-3/gcr-GcrCertificate.html
share/gtk-doc/html/gcr-3/gcr-GcrCertificateWidget.html
share/gtk-doc/html/gcr-3/gcr-GcrKeyWidget.html
share/gtk-doc/html/gcr-3/gcr-GcrRenderer.html
share/gtk-doc/html/gcr-3/gcr-GcrViewer.html
share/gtk-doc/html/gcr-3/gcr-Library-Settings.html
share/gtk-doc/html/gcr-3/gcr-Trust-Storage-and-Lookups.html
share/gtk-doc/html/gcr-3/gcr-gcr-misc.html
share/gtk-doc/html/gcr-3/home.png
share/gtk-doc/html/gcr-3/index.html
share/gtk-doc/html/gcr-3/index.sgml
share/gtk-doc/html/gcr-3/left.png
share/gtk-doc/html/gcr-3/misc.html
share/gtk-doc/html/gcr-3/right.png
share/gtk-doc/html/gcr-3/storage.html
share/gtk-doc/html/gcr-3/style.css
share/gtk-doc/html/gcr-3/up.png
share/gtk-doc/html/gcr-3/widgets.html
share/locale/af/LC_MESSAGES/gnome-keyring.mo
share/locale/ar/LC_MESSAGES/gnome-keyring.mo
share/locale/as/LC_MESSAGES/gnome-keyring.mo
share/locale/ast/LC_MESSAGES/gnome-keyring.mo
share/locale/az/LC_MESSAGES/gnome-keyring.mo
share/locale/be/LC_MESSAGES/gnome-keyring.mo
share/locale/be@latin/LC_MESSAGES/gnome-keyring.mo
share/locale/bg/LC_MESSAGES/gnome-keyring.mo
share/locale/bn/LC_MESSAGES/gnome-keyring.mo
share/locale/bn_IN/LC_MESSAGES/gnome-keyring.mo
share/locale/bs/LC_MESSAGES/gnome-keyring.mo
share/locale/ca/LC_MESSAGES/gnome-keyring.mo
share/locale/ca@valencia/LC_MESSAGES/gnome-keyring.mo
share/locale/cs/LC_MESSAGES/gnome-keyring.mo
share/locale/cy/LC_MESSAGES/gnome-keyring.mo
share/locale/da/LC_MESSAGES/gnome-keyring.mo
share/locale/de/LC_MESSAGES/gnome-keyring.mo
share/locale/dz/LC_MESSAGES/gnome-keyring.mo
share/locale/el/LC_MESSAGES/gnome-keyring.mo
share/locale/en@shaw/LC_MESSAGES/gnome-keyring.mo
share/locale/en_CA/LC_MESSAGES/gnome-keyring.mo
share/locale/en_GB/LC_MESSAGES/gnome-keyring.mo
share/locale/eo/LC_MESSAGES/gnome-keyring.mo
share/locale/es/LC_MESSAGES/gnome-keyring.mo
share/locale/et/LC_MESSAGES/gnome-keyring.mo
share/locale/eu/LC_MESSAGES/gnome-keyring.mo
share/locale/fa/LC_MESSAGES/gnome-keyring.mo
share/locale/fi/LC_MESSAGES/gnome-keyring.mo
share/locale/fr/LC_MESSAGES/gnome-keyring.mo
share/locale/ga/LC_MESSAGES/gnome-keyring.mo
share/locale/gl/LC_MESSAGES/gnome-keyring.mo
share/locale/gu/LC_MESSAGES/gnome-keyring.mo
share/locale/he/LC_MESSAGES/gnome-keyring.mo
share/locale/hi/LC_MESSAGES/gnome-keyring.mo
share/locale/hr/LC_MESSAGES/gnome-keyring.mo
share/locale/hu/LC_MESSAGES/gnome-keyring.mo
share/locale/id/LC_MESSAGES/gnome-keyring.mo
share/locale/is/LC_MESSAGES/gnome-keyring.mo
share/locale/it/LC_MESSAGES/gnome-keyring.mo
share/locale/ja/LC_MESSAGES/gnome-keyring.mo
share/locale/ka/LC_MESSAGES/gnome-keyring.mo
share/locale/kn/LC_MESSAGES/gnome-keyring.mo
share/locale/ko/LC_MESSAGES/gnome-keyring.mo
share/locale/lt/LC_MESSAGES/gnome-keyring.mo
share/locale/lv/LC_MESSAGES/gnome-keyring.mo
share/locale/mai/LC_MESSAGES/gnome-keyring.mo
share/locale/mg/LC_MESSAGES/gnome-keyring.mo
share/locale/mk/LC_MESSAGES/gnome-keyring.mo
share/locale/ml/LC_MESSAGES/gnome-keyring.mo
share/locale/mn/LC_MESSAGES/gnome-keyring.mo
share/locale/mr/LC_MESSAGES/gnome-keyring.mo
share/locale/ms/LC_MESSAGES/gnome-keyring.mo
share/locale/nb/LC_MESSAGES/gnome-keyring.mo
share/locale/ne/LC_MESSAGES/gnome-keyring.mo
share/locale/nl/LC_MESSAGES/gnome-keyring.mo
share/locale/nn/LC_MESSAGES/gnome-keyring.mo
share/locale/oc/LC_MESSAGES/gnome-keyring.mo
share/locale/or/LC_MESSAGES/gnome-keyring.mo
share/locale/pa/LC_MESSAGES/gnome-keyring.mo
share/locale/pl/LC_MESSAGES/gnome-keyring.mo
share/locale/pt/LC_MESSAGES/gnome-keyring.mo
share/locale/pt_BR/LC_MESSAGES/gnome-keyring.mo
share/locale/ro/LC_MESSAGES/gnome-keyring.mo
share/locale/ru/LC_MESSAGES/gnome-keyring.mo
share/locale/rw/LC_MESSAGES/gnome-keyring.mo
share/locale/si/LC_MESSAGES/gnome-keyring.mo
share/locale/sk/LC_MESSAGES/gnome-keyring.mo
share/locale/sl/LC_MESSAGES/gnome-keyring.mo
share/locale/sq/LC_MESSAGES/gnome-keyring.mo
share/locale/sr/LC_MESSAGES/gnome-keyring.mo
share/locale/sr@latin/LC_MESSAGES/gnome-keyring.mo
share/locale/sv/LC_MESSAGES/gnome-keyring.mo
share/locale/ta/LC_MESSAGES/gnome-keyring.mo
share/locale/te/LC_MESSAGES/gnome-keyring.mo
share/locale/th/LC_MESSAGES/gnome-keyring.mo
share/locale/tr/LC_MESSAGES/gnome-keyring.mo
share/locale/ug/LC_MESSAGES/gnome-keyring.mo
share/locale/uk/LC_MESSAGES/gnome-keyring.mo
share/locale/vi/LC_MESSAGES/gnome-keyring.mo
share/locale/xh/LC_MESSAGES/gnome-keyring.mo
share/locale/zh_CN/LC_MESSAGES/gnome-keyring.mo
share/locale/zh_HK/LC_MESSAGES/gnome-keyring.mo
share/locale/zh_TW/LC_MESSAGES/gnome-keyring.mo
@exec %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas
@unexec-delete %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database