diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-12-26 20:48:36 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-12-26 20:48:36 +0800 |
commit | 1bbe21056df0740f39f0d8a0a57c8bca6c73ddc6 (patch) | |
tree | 69ef5c089414b3733fa51baba856a7dd4eb584c5 /security | |
parent | fd2ba5f4571a3d2e36e3487edf7eef8fc9d5df10 (diff) | |
download | marcuscom-ports-1bbe21056df0740f39f0d8a0a57c8bca6c73ddc6.tar marcuscom-ports-1bbe21056df0740f39f0d8a0a57c8bca6c73ddc6.tar.gz marcuscom-ports-1bbe21056df0740f39f0d8a0a57c8bca6c73ddc6.tar.bz2 marcuscom-ports-1bbe21056df0740f39f0d8a0a57c8bca6c73ddc6.tar.lz marcuscom-ports-1bbe21056df0740f39f0d8a0a57c8bca6c73ddc6.tar.xz marcuscom-ports-1bbe21056df0740f39f0d8a0a57c8bca6c73ddc6.tar.zst marcuscom-ports-1bbe21056df0740f39f0d8a0a57c8bca6c73ddc6.zip |
Update to 2.91.4.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14954 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security')
-rw-r--r-- | security/gnome-keyring3/Makefile | 38 | ||||
-rw-r--r-- | security/gnome-keyring3/distinfo | 2 | ||||
-rw-r--r-- | security/gnome-keyring3/files/patch-daemon_control_gkd-control-client.c | 11 | ||||
-rw-r--r-- | security/gnome-keyring3/files/patch-egg_egg-asn1x.c | 13 | ||||
-rw-r--r-- | security/gnome-keyring3/files/patch-egg_egg-unix-credentials.c | 44 | ||||
-rw-r--r-- | security/gnome-keyring3/files/patch-pam_gkr-pam-client.c | 18 | ||||
-rw-r--r-- | security/gnome-keyring3/pkg-descr | 17 | ||||
-rw-r--r-- | security/gnome-keyring3/pkg-plist | 240 |
8 files changed, 383 insertions, 0 deletions
diff --git a/security/gnome-keyring3/Makefile b/security/gnome-keyring3/Makefile new file mode 100644 index 000000000..04530787a --- /dev/null +++ b/security/gnome-keyring3/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: gnomekeyring +# Date Created: 08 December 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/security/gnome-keyring3/Makefile,v 1.1 2010/07/23 20:05:15 kwm Exp $ +# + +PORTNAME= gnome-keyring +PORTVERSION= 2.91.4 +CATEGORIES= security gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome3 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A program that keeps passwords and other secrets + +BUILD_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss +LIB_DEPENDS= gnome-keyring.0:${PORTSDIR}/security/libgnome-keyring \ + tasn1.4:${PORTSDIR}/security/libtasn1 \ + gcrypt.17:${PORTSDIR}/security/libgcrypt +RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss + +USE_BZIP2= yes +USE_GNOME= gnomehack gnomeprefix gtk30 ltverhack intlhack +USE_GMAKE= yes +USE_GETTEXT= yes +USE_AUTOTOOLS= libtool +USE_LDCONFIG= yes +CONFIGURE_ARGS= --with-pam-dir="${PREFIX}/lib" \ + --with-root-certs=${LOCALBASE}/share/certs \ + --with-gtk=3.0 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +GLIB_SCHEMAS= org.gnome.crypto.cache.gschema.xml \ + org.gnome.crypto.pgp.gschema.xml + +.include <bsd.port.mk> diff --git a/security/gnome-keyring3/distinfo b/security/gnome-keyring3/distinfo new file mode 100644 index 000000000..033c8b66a --- /dev/null +++ b/security/gnome-keyring3/distinfo @@ -0,0 +1,2 @@ +SHA256 (gnome3/gnome-keyring-2.91.4.tar.bz2) = 5615992ebaa20c8fdf6e2f48f9079dfabb66b63dcd5056db7fa62a128d74a956 +SIZE (gnome3/gnome-keyring-2.91.4.tar.bz2) = 5387848 diff --git a/security/gnome-keyring3/files/patch-daemon_control_gkd-control-client.c b/security/gnome-keyring3/files/patch-daemon_control_gkd-control-client.c new file mode 100644 index 000000000..6cdb0ca6a --- /dev/null +++ b/security/gnome-keyring3/files/patch-daemon_control_gkd-control-client.c @@ -0,0 +1,11 @@ +--- daemon/control/gkd-control-client.c.orig 2009-12-21 18:43:16.000000000 -0500 ++++ daemon/control/gkd-control-client.c 2009-12-21 18:44:17.000000000 -0500 +@@ -31,6 +31,8 @@ + #include <errno.h> + #include <fcntl.h> + ++#include <string.h> ++#include <sys/stat.h> + #include <sys/socket.h> + #include <sys/types.h> + #include <sys/un.h> diff --git a/security/gnome-keyring3/files/patch-egg_egg-asn1x.c b/security/gnome-keyring3/files/patch-egg_egg-asn1x.c new file mode 100644 index 000000000..0d45bf942 --- /dev/null +++ b/security/gnome-keyring3/files/patch-egg_egg-asn1x.c @@ -0,0 +1,13 @@ +--- egg/egg-asn1x.c.orig 2010-12-26 13:30:06.000000000 +0100 ++++ egg/egg-asn1x.c 2010-12-26 13:30:51.000000000 +0100 +@@ -2064,8 +2064,8 @@ anode_write_integer_ulong (gulong value, + guchar buf[sizeof (gulong)]; + gint bytes, i, off; + +- for (i = 0; i < sizeof (ulong); ++i) { +- off = sizeof (ulong) - (i + 1); ++ for (i = 0; i < sizeof (gulong); ++i) { ++ off = sizeof (gulong) - (i + 1); + buf[i] = (value >> (off * 8)) & 0xFF; + } + diff --git a/security/gnome-keyring3/files/patch-egg_egg-unix-credentials.c b/security/gnome-keyring3/files/patch-egg_egg-unix-credentials.c new file mode 100644 index 000000000..5ae53f8b0 --- /dev/null +++ b/security/gnome-keyring3/files/patch-egg_egg-unix-credentials.c @@ -0,0 +1,44 @@ +--- egg/egg-unix-credentials.c.orig 2010-01-13 00:21:23.000000000 -0500 ++++ egg/egg-unix-credentials.c 2010-01-13 00:25:46.000000000 -0500 +@@ -27,6 +27,7 @@ + + #include <sys/types.h> + #include <sys/socket.h> ++#include <sys/param.h> + #include <sys/uio.h> + #include <sys/un.h> + #include <errno.h> +@@ -37,6 +38,33 @@ + #include <ucred.h> + #endif + ++#if __FreeBSD_version < 701101 ++static char * ++strndup (const char *s, size_t n) ++{ ++ size_t nAvail; ++ char *p; ++ ++ if (s == NULL) ++ return NULL; ++ ++ if (memchr (s, '\0', n) != NULL) { ++ nAvail = strlen(s); ++ if (nAvail > n) ++ nAvail = n; ++ } else{ ++ nAvail = n; ++ } ++ p = malloc (nAvail + 1); ++ if (p == NULL) ++ return NULL; ++ memcpy (p, s, nAvail); ++ p[nAvail] = '\0'; ++ ++ return p; ++} ++#endif ++ + int + egg_unix_credentials_read (int sock, pid_t *pid, uid_t *uid) + { diff --git a/security/gnome-keyring3/files/patch-pam_gkr-pam-client.c b/security/gnome-keyring3/files/patch-pam_gkr-pam-client.c new file mode 100644 index 000000000..05a0306e6 --- /dev/null +++ b/security/gnome-keyring3/files/patch-pam_gkr-pam-client.c @@ -0,0 +1,18 @@ +--- pam/gkr-pam-client.c.orig 2008-10-07 12:25:23.000000000 -0400 ++++ pam/gkr-pam-client.c 2008-10-07 12:38:36.000000000 -0400 +@@ -96,12 +96,12 @@ check_peer_same_uid (int sock) + struct xucred xuc; + socklen_t xuc_len = sizeof (xuc); + +- if (getsockopt (sock, SOL_SOCKET, LOCAL_PEERCRED, &xuc, &xuc_len) == 0 && +- xuc_len == sizeof (xuc)) { ++ if (getsockopt (sock, 0, LOCAL_PEERCRED, &xuc, &xuc_len) == 0 && ++ xuc.cr_version == XUCRED_VERSION) { + uid = xuc.cr_uid; + } else { + syslog (GKR_LOG_ERR, "could not get gnome-keyring-daemon socket credentials, " +- "(returned len %d/%d)\n", xuc_len, (int)sizeof (xuc)); ++ "(returned version %d/%d)\n", xuc.cr_version, XUCRED_VERSION); + return -1; + } + diff --git a/security/gnome-keyring3/pkg-descr b/security/gnome-keyring3/pkg-descr new file mode 100644 index 000000000..75ce77c6d --- /dev/null +++ b/security/gnome-keyring3/pkg-descr @@ -0,0 +1,17 @@ +Gnome-keyring is a program that keep password and other secrets for +users. It is run as a damon 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. + +The library libgnome-keyring is used by applications to integrate with +the gnome keyring system. However, at this point the library hasn't been +tested and used enought to consider the API to be publically +exposed. Therefore use of libgnome-keyring is at the moment limited to +internal use in the gnome desktop. However, we hope that the +gnome-keyring API will turn out useful and good, so that later it +can be made public for any application to use. + +-- Gnome-keyring README diff --git a/security/gnome-keyring3/pkg-plist b/security/gnome-keyring3/pkg-plist new file mode 100644 index 000000000..b46035639 --- /dev/null +++ b/security/gnome-keyring3/pkg-plist @@ -0,0 +1,240 @@ +bin/gnome-keyring +bin/gnome-keyring-3 +bin/gnome-keyring-daemon +etc/xdg/autostart/gnome-keyring-gpg.desktop +etc/xdg/autostart/gnome-keyring-pkcs11.desktop +etc/xdg/autostart/gnome-keyring-secrets.desktop +etc/xdg/autostart/gnome-keyring-ssh.desktop +etc/xdg/pkcs11.conf.defaults +include/gck/gck.h +include/gck/pkcs11.h +include/gck/pkcs11n.h +include/gck/pkcs11x.h +include/gcr-3/gcr/gcr-certificate-chain.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/devel/gkm-gnome2-store-standalone.a +lib/gnome-keyring/devel/gkm-gnome2-store-standalone.la +lib/gnome-keyring/devel/gkm-gnome2-store-standalone.so +lib/gnome-keyring/devel/gkm-roots-store-standalone.a +lib/gnome-keyring/devel/gkm-roots-store-standalone.la +lib/gnome-keyring/devel/gkm-roots-store-standalone.so +lib/gnome-keyring/devel/gkm-secret-store-standalone.a +lib/gnome-keyring/devel/gkm-secret-store-standalone.la +lib/gnome-keyring/devel/gkm-secret-store-standalone.so +lib/gnome-keyring/devel/gkm-ssh-store-standalone.a +lib/gnome-keyring/devel/gkm-ssh-store-standalone.la +lib/gnome-keyring/devel/gkm-ssh-store-standalone.so +lib/gnome-keyring/devel/gkm-xdg-store-standalone.a +lib/gnome-keyring/devel/gkm-xdg-store-standalone.la +lib/gnome-keyring/devel/gkm-xdg-store-standalone.so +lib/libgck.a +lib/libgck.la +lib/libgck.so +lib/libgck.so.0 +lib/libgcr-3.a +lib/libgcr-3.la +lib/libgcr-3.so +lib/libgcr-3.so.0 +lib/pam_gnome_keyring.a +lib/pam_gnome_keyring.la +lib/pam_gnome_keyring.so +lib/pkcs11/gnome-keyring-pkcs11.a +lib/pkcs11/gnome-keyring-pkcs11.la +lib/pkcs11/gnome-keyring-pkcs11.so +libdata/pkgconfig/gck-0.pc +libdata/pkgconfig/gcr-3.pc +libexec/gnome-keyring-prompt +libexec/gnome-keyring-prompt-3 +share/GConf/gsettings/org.gnome.crypto.cache.convert +share/GConf/gsettings/org.gnome.crypto.pgp.convert +share/dbus-1/services/org.freedesktop.secrets.service +share/dbus-1/services/org.gnome.keyring.service +share/doc/gck/GckModule.html +share/doc/gck/GckObject.html +share/doc/gck/GckSession.html +share/doc/gck/GckSlot.html +share/doc/gck/ch01.html +share/doc/gck/gck-Errors.html +share/doc/gck/gck-GckAttribute.html +share/doc/gck/gck-GckAttributes.html +share/doc/gck/gck-Miscellaneous-Functions.html +share/doc/gck/gck.devhelp +share/doc/gck/gck.devhelp2 +share/doc/gck/home.png +share/doc/gck/index.html +share/doc/gck/index.sgml +share/doc/gck/left.png +share/doc/gck/right.png +share/doc/gck/style.css +share/doc/gck/up.png +share/doc/gcr-3/GcrCertificateChain.html +share/doc/gcr-3/GcrPkcs11Certificate.html +share/doc/gcr-3/GcrSimpleCertificate.html +share/doc/gcr-3/certificates.html +share/doc/gcr-3/gcr-3.devhelp +share/doc/gcr-3/gcr-3.devhelp2 +share/doc/gcr-3/gcr-GcrCertificate.html +share/doc/gcr-3/gcr-Library-Settings.html +share/doc/gcr-3/gcr-Trust-Storage-and-Lookups.html +share/doc/gcr-3/gcr-gcr-importer.html +share/doc/gcr-3/gcr-gcr-initializer.html +share/doc/gcr-3/gcr-gcr-parser.html +share/doc/gcr-3/home.png +share/doc/gcr-3/index.html +share/doc/gcr-3/index.sgml +share/doc/gcr-3/left.png +share/doc/gcr-3/misc.html +share/doc/gcr-3/right.png +share/doc/gcr-3/storage.html +share/doc/gcr-3/style.css +share/doc/gcr-3/up.png +share/gcr-3/ui/gcr-import-dialog.ui +share/gcr-3/ui/gcr-unlock-options-widget.ui +%%DATADIR%%/introspect/introspect-collection.xml +%%DATADIR%%/introspect/introspect-item.xml +%%DATADIR%%/introspect/introspect-prompt.xml +%%DATADIR%%/introspect/introspect-service.xml +%%DATADIR%%/introspect/introspect-session.xml +share/gnome-keyring-3/ui/gku-prompt.ui +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/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 +@dirrm %%DATADIR%%/introspect +@dirrm %%DATADIR%% +@dirrm share/doc/gcr-3 +@dirrm share/doc/gck +@dirrm lib/gnome-keyring/devel +@dirrm lib/gnome-keyring +@dirrm include/gcr-3/gcr +@dirrm include/gcr-3 +@dirrm include/gck +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/xh/LC_MESSAGES +@dirrmtry share/locale/xh +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/mai/LC_MESSAGES +@dirrmtry share/locale/mai +@dirrmtry share/locale/en@shaw/LC_MESSAGES +@dirrmtry share/locale/en@shaw +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/ca@valencia/LC_MESSAGES +@dirrmtry share/locale/ca@valencia +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be@latin/LC_MESSAGES +@dirrmtry share/locale/be@latin +@dirrmtry share/locale/ast/LC_MESSAGES +@dirrmtry share/locale/ast +@dirrmtry share/locale/as/LC_MESSAGES +@dirrmtry share/locale/as |