diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-07-06 04:30:53 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-07-06 04:30:53 +0800 |
commit | 5a7685f8e8da525cf92650531385a9ac6eb49229 (patch) | |
tree | 42d69f879a00f41dc21443976ba104134ff6eb12 /security | |
parent | 247e22a5ddd359e9112a0affe858aa821964bcae (diff) | |
download | marcuscom-ports-5a7685f8e8da525cf92650531385a9ac6eb49229.tar.gz marcuscom-ports-5a7685f8e8da525cf92650531385a9ac6eb49229.tar.zst marcuscom-ports-5a7685f8e8da525cf92650531385a9ac6eb49229.zip |
Update to 0.3.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2435 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security')
-rw-r--r-- | security/gnome-keyring/Makefile | 28 | ||||
-rw-r--r-- | security/gnome-keyring/distinfo | 2 | ||||
-rw-r--r-- | security/gnome-keyring/files/patch-gnome-keyring.c | 88 | ||||
-rw-r--r-- | security/gnome-keyring/pkg-descr | 17 | ||||
-rw-r--r-- | security/gnome-keyring/pkg-plist | 50 | ||||
-rw-r--r-- | security/gnomekeyring/Makefile | 28 | ||||
-rw-r--r-- | security/gnomekeyring/distinfo | 2 | ||||
-rw-r--r-- | security/gnomekeyring/files/patch-gnome-keyring.c | 88 | ||||
-rw-r--r-- | security/gnomekeyring/pkg-descr | 17 | ||||
-rw-r--r-- | security/gnomekeyring/pkg-plist | 50 |
10 files changed, 370 insertions, 0 deletions
diff --git a/security/gnome-keyring/Makefile b/security/gnome-keyring/Makefile new file mode 100644 index 000000000..7f4e1568b --- /dev/null +++ b/security/gnome-keyring/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: gnomekeyring +# Date Created: 08 December 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/security/gnomekeyring/Makefile,v 1.4 2004/06/29 06:09:10 marcus Exp $ +# + +PORTNAME= gnomekeyring +PORTVERSION= 0.3.1 +CATEGORIES= security gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-keyring/0.3 +DISTNAME= gnome-keyring-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A program that keeps passwords and other secrets + +USE_X_PREFIX= yes +USE_BZIP2= yes +USE_GNOME= gnomehack lthack gtk20 +USE_GMAKE= yes +USE_LIBTOOL_VER=13 +INSTALLS_SHLIB= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include <bsd.port.mk> diff --git a/security/gnome-keyring/distinfo b/security/gnome-keyring/distinfo new file mode 100644 index 000000000..4fad597e1 --- /dev/null +++ b/security/gnome-keyring/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gnome-keyring-0.3.1.tar.bz2) = 526de61788e96b4c8a6e7cfb74335aa5 +SIZE (gnome2/gnome-keyring-0.3.1.tar.bz2) = 328787 diff --git a/security/gnome-keyring/files/patch-gnome-keyring.c b/security/gnome-keyring/files/patch-gnome-keyring.c new file mode 100644 index 000000000..c1abd3a28 --- /dev/null +++ b/security/gnome-keyring/files/patch-gnome-keyring.c @@ -0,0 +1,88 @@ +--- gnome-keyring.c.orig Mon Jan 12 04:37:31 2004 ++++ gnome-keyring.c Tue May 11 20:59:40 2004 +@@ -35,6 +35,7 @@ + #include <stdio.h> + #include <sys/types.h> + #include <sys/socket.h> ++#include <sys/uio.h> + #include <sys/un.h> + #include <stdarg.h> + +@@ -248,11 +249,37 @@ + { + char buf; + int bytes_written; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ char cmsgmem[CMSG_SPACE (sizeof (struct cmsgcred))]; ++ struct cmsghdr *cmsg = (struct cmsghdr *) cmsgmem; ++ struct iovec iov; ++ struct msghdr msg; ++#endif ++ ++ buf = 0; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ iov.iov_base = &buf; ++ iov.iov_len = 1; ++ ++ memset (&msg, 0, sizeof (msg)); ++ msg.msg_iov = &iov; ++ msg.msg_iovlen = 1; ++ ++ msg.msg_control = cmsg; ++ msg.msg_controllen = sizeof (cmsgmem); ++ memset (cmsg, 0, sizeof (cmsgmem)); ++ cmsg->cmsg_len = sizeof (cmsgmem); ++ cmsg->cmsg_level = SOL_SOCKET; ++ cmsg->cmsg_type = SCM_CREDS; ++#endif + + again: + +- buf = 0; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ bytes_written = sendmsg (socket, &msg, 0); ++#else + bytes_written = write (socket, &buf, 1); ++#endif + + if (bytes_written < 0 && errno == EINTR) + goto again; +@@ -270,11 +297,37 @@ + { + char buf; + int bytes_written; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ char cmsgmem[CMSG_SPACE (sizeof (struct cmsgcred))]; ++ struct cmsghdr *cmsg = (struct cmsghdr *) cmsgmem; ++ struct iovec iov; ++ struct msghdr msg; ++#endif ++ ++ buf = 0; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ iov.iov_base = &buf; ++ iov.iov_len = 1; ++ ++ memset (&msg, 0, sizeof (msg)); ++ msg.msg_iov = &iov; ++ msg.msg_iovlen = 1; ++ ++ msg.msg_control = cmsg; ++ msg.msg_controllen = sizeof (cmsgmem); ++ memset (cmsg, 0, sizeof (cmsgmem)); ++ cmsg->cmsg_len = sizeof (cmsgmem); ++ cmsg->cmsg_level = SOL_SOCKET; ++ cmsg->cmsg_type = SCM_CREDS; ++#endif + + again: + +- buf = 0; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ bytes_written = sendmsg (op->socket, &msg, 0); ++#else + bytes_written = write (op->socket, &buf, 1); ++#endif + + if (bytes_written < 0 && errno == EINTR) + goto again; diff --git a/security/gnome-keyring/pkg-descr b/security/gnome-keyring/pkg-descr new file mode 100644 index 000000000..75ce77c6d --- /dev/null +++ b/security/gnome-keyring/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-keyring/pkg-plist b/security/gnome-keyring/pkg-plist new file mode 100644 index 000000000..72f90f040 --- /dev/null +++ b/security/gnome-keyring/pkg-plist @@ -0,0 +1,50 @@ +bin/gnome-keyring-daemon +include/gnome-keyring-1/gnome-keyring.h +lib/libgnome-keyring.a +lib/libgnome-keyring.so +lib/libgnome-keyring.so.0 +libdata/pkgconfig/gnome-keyring-1.pc +libexec/gnome-keyring-ask +share/locale/ar/LC_MESSAGES/gnome-keyring.mo +share/locale/az/LC_MESSAGES/gnome-keyring.mo +share/locale/bg/LC_MESSAGES/gnome-keyring.mo +share/locale/ca/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/el/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/eu/LC_MESSAGES/gnome-keyring.mo +share/locale/fi/LC_MESSAGES/gnome-keyring.mo +share/locale/fr/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/ko/LC_MESSAGES/gnome-keyring.mo +share/locale/lt/LC_MESSAGES/gnome-keyring.mo +share/locale/mn/LC_MESSAGES/gnome-keyring.mo +share/locale/ms/LC_MESSAGES/gnome-keyring.mo +share/locale/nl/LC_MESSAGES/gnome-keyring.mo +share/locale/no/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/ru/LC_MESSAGES/gnome-keyring.mo +share/locale/sk/LC_MESSAGES/gnome-keyring.mo +share/locale/sq/LC_MESSAGES/gnome-keyring.mo +share/locale/sr/LC_MESSAGES/gnome-keyring.mo +share/locale/sr@Latn/LC_MESSAGES/gnome-keyring.mo +share/locale/sv/LC_MESSAGES/gnome-keyring.mo +share/locale/th/LC_MESSAGES/gnome-keyring.mo +share/locale/tr/LC_MESSAGES/gnome-keyring.mo +share/locale/uk/LC_MESSAGES/gnome-keyring.mo +share/locale/zh_CN/LC_MESSAGES/gnome-keyring.mo +share/locale/zh_TW/LC_MESSAGES/gnome-keyring.mo +@dirrm include/gnome-keyring-1 diff --git a/security/gnomekeyring/Makefile b/security/gnomekeyring/Makefile new file mode 100644 index 000000000..7f4e1568b --- /dev/null +++ b/security/gnomekeyring/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: gnomekeyring +# Date Created: 08 December 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/security/gnomekeyring/Makefile,v 1.4 2004/06/29 06:09:10 marcus Exp $ +# + +PORTNAME= gnomekeyring +PORTVERSION= 0.3.1 +CATEGORIES= security gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-keyring/0.3 +DISTNAME= gnome-keyring-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A program that keeps passwords and other secrets + +USE_X_PREFIX= yes +USE_BZIP2= yes +USE_GNOME= gnomehack lthack gtk20 +USE_GMAKE= yes +USE_LIBTOOL_VER=13 +INSTALLS_SHLIB= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include <bsd.port.mk> diff --git a/security/gnomekeyring/distinfo b/security/gnomekeyring/distinfo new file mode 100644 index 000000000..4fad597e1 --- /dev/null +++ b/security/gnomekeyring/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gnome-keyring-0.3.1.tar.bz2) = 526de61788e96b4c8a6e7cfb74335aa5 +SIZE (gnome2/gnome-keyring-0.3.1.tar.bz2) = 328787 diff --git a/security/gnomekeyring/files/patch-gnome-keyring.c b/security/gnomekeyring/files/patch-gnome-keyring.c new file mode 100644 index 000000000..c1abd3a28 --- /dev/null +++ b/security/gnomekeyring/files/patch-gnome-keyring.c @@ -0,0 +1,88 @@ +--- gnome-keyring.c.orig Mon Jan 12 04:37:31 2004 ++++ gnome-keyring.c Tue May 11 20:59:40 2004 +@@ -35,6 +35,7 @@ + #include <stdio.h> + #include <sys/types.h> + #include <sys/socket.h> ++#include <sys/uio.h> + #include <sys/un.h> + #include <stdarg.h> + +@@ -248,11 +249,37 @@ + { + char buf; + int bytes_written; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ char cmsgmem[CMSG_SPACE (sizeof (struct cmsgcred))]; ++ struct cmsghdr *cmsg = (struct cmsghdr *) cmsgmem; ++ struct iovec iov; ++ struct msghdr msg; ++#endif ++ ++ buf = 0; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ iov.iov_base = &buf; ++ iov.iov_len = 1; ++ ++ memset (&msg, 0, sizeof (msg)); ++ msg.msg_iov = &iov; ++ msg.msg_iovlen = 1; ++ ++ msg.msg_control = cmsg; ++ msg.msg_controllen = sizeof (cmsgmem); ++ memset (cmsg, 0, sizeof (cmsgmem)); ++ cmsg->cmsg_len = sizeof (cmsgmem); ++ cmsg->cmsg_level = SOL_SOCKET; ++ cmsg->cmsg_type = SCM_CREDS; ++#endif + + again: + +- buf = 0; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ bytes_written = sendmsg (socket, &msg, 0); ++#else + bytes_written = write (socket, &buf, 1); ++#endif + + if (bytes_written < 0 && errno == EINTR) + goto again; +@@ -270,11 +297,37 @@ + { + char buf; + int bytes_written; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ char cmsgmem[CMSG_SPACE (sizeof (struct cmsgcred))]; ++ struct cmsghdr *cmsg = (struct cmsghdr *) cmsgmem; ++ struct iovec iov; ++ struct msghdr msg; ++#endif ++ ++ buf = 0; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ iov.iov_base = &buf; ++ iov.iov_len = 1; ++ ++ memset (&msg, 0, sizeof (msg)); ++ msg.msg_iov = &iov; ++ msg.msg_iovlen = 1; ++ ++ msg.msg_control = cmsg; ++ msg.msg_controllen = sizeof (cmsgmem); ++ memset (cmsg, 0, sizeof (cmsgmem)); ++ cmsg->cmsg_len = sizeof (cmsgmem); ++ cmsg->cmsg_level = SOL_SOCKET; ++ cmsg->cmsg_type = SCM_CREDS; ++#endif + + again: + +- buf = 0; ++#if defined(HAVE_CMSGCRED) && !defined(LOCAL_CREDS) ++ bytes_written = sendmsg (op->socket, &msg, 0); ++#else + bytes_written = write (op->socket, &buf, 1); ++#endif + + if (bytes_written < 0 && errno == EINTR) + goto again; diff --git a/security/gnomekeyring/pkg-descr b/security/gnomekeyring/pkg-descr new file mode 100644 index 000000000..75ce77c6d --- /dev/null +++ b/security/gnomekeyring/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/gnomekeyring/pkg-plist b/security/gnomekeyring/pkg-plist new file mode 100644 index 000000000..72f90f040 --- /dev/null +++ b/security/gnomekeyring/pkg-plist @@ -0,0 +1,50 @@ +bin/gnome-keyring-daemon +include/gnome-keyring-1/gnome-keyring.h +lib/libgnome-keyring.a +lib/libgnome-keyring.so +lib/libgnome-keyring.so.0 +libdata/pkgconfig/gnome-keyring-1.pc +libexec/gnome-keyring-ask +share/locale/ar/LC_MESSAGES/gnome-keyring.mo +share/locale/az/LC_MESSAGES/gnome-keyring.mo +share/locale/bg/LC_MESSAGES/gnome-keyring.mo +share/locale/ca/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/el/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/eu/LC_MESSAGES/gnome-keyring.mo +share/locale/fi/LC_MESSAGES/gnome-keyring.mo +share/locale/fr/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/ko/LC_MESSAGES/gnome-keyring.mo +share/locale/lt/LC_MESSAGES/gnome-keyring.mo +share/locale/mn/LC_MESSAGES/gnome-keyring.mo +share/locale/ms/LC_MESSAGES/gnome-keyring.mo +share/locale/nl/LC_MESSAGES/gnome-keyring.mo +share/locale/no/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/ru/LC_MESSAGES/gnome-keyring.mo +share/locale/sk/LC_MESSAGES/gnome-keyring.mo +share/locale/sq/LC_MESSAGES/gnome-keyring.mo +share/locale/sr/LC_MESSAGES/gnome-keyring.mo +share/locale/sr@Latn/LC_MESSAGES/gnome-keyring.mo +share/locale/sv/LC_MESSAGES/gnome-keyring.mo +share/locale/th/LC_MESSAGES/gnome-keyring.mo +share/locale/tr/LC_MESSAGES/gnome-keyring.mo +share/locale/uk/LC_MESSAGES/gnome-keyring.mo +share/locale/zh_CN/LC_MESSAGES/gnome-keyring.mo +share/locale/zh_TW/LC_MESSAGES/gnome-keyring.mo +@dirrm include/gnome-keyring-1 |