diff options
author | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-07-13 11:28:57 +0800 |
---|---|---|
committer | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-07-13 11:28:57 +0800 |
commit | 035fae0f35a09c1241d3e016b23f7aae293750a7 (patch) | |
tree | 4b0a2c6505b63ded36243695d50719c930eda663 /security | |
parent | 9fbb87ac2566f6d187308604d624baf44262d52b (diff) | |
download | marcuscom-ports-035fae0f35a09c1241d3e016b23f7aae293750a7.tar.gz marcuscom-ports-035fae0f35a09c1241d3e016b23f7aae293750a7.tar.zst marcuscom-ports-035fae0f35a09c1241d3e016b23f7aae293750a7.zip |
Add gnomekeyringmanager.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2475 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security')
12 files changed, 174 insertions, 0 deletions
diff --git a/security/gnome-keyring-manager/Makefile b/security/gnome-keyring-manager/Makefile new file mode 100644 index 000000000..21271aa5c --- /dev/null +++ b/security/gnome-keyring-manager/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: gnomekeyringmanager +# Date created: 2004 12 July +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gnomekeyringmanager +PORTVERSION= 0.0.2 +CATEGORIES= security gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-keyring-manager/0.0 +DISTNAME= gnome-keyring-manager-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME keyring manager + +LIB_DEPENDS= gnome-keyring:${PORTSDIR}/security/gnomekeyring + +USE_BZIP2= yes + +GNU_CONFIGURE= yes +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +USE_GMAKE= yes +USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui + +.include <bsd.port.mk> diff --git a/security/gnome-keyring-manager/distinfo b/security/gnome-keyring-manager/distinfo new file mode 100644 index 000000000..47c51fe8f --- /dev/null +++ b/security/gnome-keyring-manager/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gnome-keyring-manager-0.0.2.tar.bz2) = d7350c441ec17c9148319ba329a9880e +SIZE (gnome2/gnome-keyring-manager-0.0.2.tar.bz2) = 277079 diff --git a/security/gnome-keyring-manager/files/patch-src::gnome-keyring-manager-keyring-manager.c b/security/gnome-keyring-manager/files/patch-src::gnome-keyring-manager-keyring-manager.c new file mode 100644 index 000000000..763ead9f9 --- /dev/null +++ b/security/gnome-keyring-manager/files/patch-src::gnome-keyring-manager-keyring-manager.c @@ -0,0 +1,30 @@ +--- src/gnome-keyring-manager-keyring-manager.c.orig Mon Jul 12 23:14:24 2004 ++++ src/gnome-keyring-manager-keyring-manager.c Mon Jul 12 23:15:32 2004 +@@ -240,6 +240,13 @@ + GtkWidget *menubar; + GtkWidget *menu_item; + GError *error; ++ SetColumnPrefsData toggle[] = ++ { ++ { COLUMN_LOCK_ON_IDLE, "ToggleLockOnIdle", "lock-on-idle" }, ++ { COLUMN_LOCK_TIMEOUT, "ToggleLockTimeout", "lock-timeout" }, ++ { COLUMN_MTIME, "ToggleModificationTime", "mtime" }, ++ { COLUMN_CTIME, "ToggleCreationTime", "ctime" } ++ }; + + manager->priv = g_new0 (GKMKeyringManagerPrivate, 1); + +@@ -329,13 +336,6 @@ + g_signal_connect (manager->priv->tree_view, "button-press-event", G_CALLBACK (keyring_tree_button_press_callback), manager); + g_signal_connect (manager->priv->tree_view, "popup-menu", G_CALLBACK (keyring_tree_context_menu_callback), manager); + +- SetColumnPrefsData toggle[] = +- { +- { COLUMN_LOCK_ON_IDLE, "ToggleLockOnIdle", "lock-on-idle" }, +- { COLUMN_LOCK_TIMEOUT, "ToggleLockTimeout", "lock-timeout" }, +- { COLUMN_MTIME, "ToggleModificationTime", "mtime" }, +- { COLUMN_CTIME, "ToggleCreationTime", "ctime" } +- }; + manager->priv->gconf_cnxn_ids = + set_column_visibility_preferences (toggle, + G_N_ELEMENTS (toggle), diff --git a/security/gnome-keyring-manager/files/patch-src::gnome-keyring-manager-util.c b/security/gnome-keyring-manager/files/patch-src::gnome-keyring-manager-util.c new file mode 100644 index 000000000..946f45808 --- /dev/null +++ b/security/gnome-keyring-manager/files/patch-src::gnome-keyring-manager-util.c @@ -0,0 +1,20 @@ +--- src/gnome-keyring-manager-util.c.orig Mon Jul 12 23:12:27 2004 ++++ src/gnome-keyring-manager-util.c Mon Jul 12 23:13:00 2004 +@@ -189,8 +189,6 @@ + GtkIconTheme *icon_theme; + GdkPixbuf *pixbuf; + +- g_return_val_if_fail (GTK_IS_WINDOW (transient_parent), NULL); +- + const char *authors[] = { + "Fernando Herrera <fherrera@onirica.com>", + "Mariano Su\303\241rez-Alvarez <mariano@gnome.org>", +@@ -201,6 +199,8 @@ + }; + const char *translator_credits = _("translator_credits"); + ++ g_return_val_if_fail (GTK_IS_WINDOW (transient_parent), NULL); ++ + icon_theme = gtk_icon_theme_get_default (); + pixbuf = gtk_icon_theme_load_icon (icon_theme, "stock_keyring", 48, 0, NULL); + diff --git a/security/gnome-keyring-manager/pkg-descr b/security/gnome-keyring-manager/pkg-descr new file mode 100644 index 000000000..c6881629b --- /dev/null +++ b/security/gnome-keyring-manager/pkg-descr @@ -0,0 +1 @@ +This a keyring management program for the GNOME Desktop. diff --git a/security/gnome-keyring-manager/pkg-plist b/security/gnome-keyring-manager/pkg-plist new file mode 100644 index 000000000..4f59fe640 --- /dev/null +++ b/security/gnome-keyring-manager/pkg-plist @@ -0,0 +1,5 @@ +bin/gnome-keyring-manager +@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/gnome-keyring-manager.schemas > /dev/null || /usr/bin/true +etc/gconf/schemas/gnome-keyring-manager.schemas +@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/gnome-keyring-manager.schemas > /dev/null || /usr/bin/true +share/gnome/applications/gnome-keyring-manager.desktop diff --git a/security/gnomekeyringmanager/Makefile b/security/gnomekeyringmanager/Makefile new file mode 100644 index 000000000..21271aa5c --- /dev/null +++ b/security/gnomekeyringmanager/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: gnomekeyringmanager +# Date created: 2004 12 July +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gnomekeyringmanager +PORTVERSION= 0.0.2 +CATEGORIES= security gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-keyring-manager/0.0 +DISTNAME= gnome-keyring-manager-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME keyring manager + +LIB_DEPENDS= gnome-keyring:${PORTSDIR}/security/gnomekeyring + +USE_BZIP2= yes + +GNU_CONFIGURE= yes +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +USE_GMAKE= yes +USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui + +.include <bsd.port.mk> diff --git a/security/gnomekeyringmanager/distinfo b/security/gnomekeyringmanager/distinfo new file mode 100644 index 000000000..47c51fe8f --- /dev/null +++ b/security/gnomekeyringmanager/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/gnome-keyring-manager-0.0.2.tar.bz2) = d7350c441ec17c9148319ba329a9880e +SIZE (gnome2/gnome-keyring-manager-0.0.2.tar.bz2) = 277079 diff --git a/security/gnomekeyringmanager/files/patch-src::gnome-keyring-manager-keyring-manager.c b/security/gnomekeyringmanager/files/patch-src::gnome-keyring-manager-keyring-manager.c new file mode 100644 index 000000000..763ead9f9 --- /dev/null +++ b/security/gnomekeyringmanager/files/patch-src::gnome-keyring-manager-keyring-manager.c @@ -0,0 +1,30 @@ +--- src/gnome-keyring-manager-keyring-manager.c.orig Mon Jul 12 23:14:24 2004 ++++ src/gnome-keyring-manager-keyring-manager.c Mon Jul 12 23:15:32 2004 +@@ -240,6 +240,13 @@ + GtkWidget *menubar; + GtkWidget *menu_item; + GError *error; ++ SetColumnPrefsData toggle[] = ++ { ++ { COLUMN_LOCK_ON_IDLE, "ToggleLockOnIdle", "lock-on-idle" }, ++ { COLUMN_LOCK_TIMEOUT, "ToggleLockTimeout", "lock-timeout" }, ++ { COLUMN_MTIME, "ToggleModificationTime", "mtime" }, ++ { COLUMN_CTIME, "ToggleCreationTime", "ctime" } ++ }; + + manager->priv = g_new0 (GKMKeyringManagerPrivate, 1); + +@@ -329,13 +336,6 @@ + g_signal_connect (manager->priv->tree_view, "button-press-event", G_CALLBACK (keyring_tree_button_press_callback), manager); + g_signal_connect (manager->priv->tree_view, "popup-menu", G_CALLBACK (keyring_tree_context_menu_callback), manager); + +- SetColumnPrefsData toggle[] = +- { +- { COLUMN_LOCK_ON_IDLE, "ToggleLockOnIdle", "lock-on-idle" }, +- { COLUMN_LOCK_TIMEOUT, "ToggleLockTimeout", "lock-timeout" }, +- { COLUMN_MTIME, "ToggleModificationTime", "mtime" }, +- { COLUMN_CTIME, "ToggleCreationTime", "ctime" } +- }; + manager->priv->gconf_cnxn_ids = + set_column_visibility_preferences (toggle, + G_N_ELEMENTS (toggle), diff --git a/security/gnomekeyringmanager/files/patch-src::gnome-keyring-manager-util.c b/security/gnomekeyringmanager/files/patch-src::gnome-keyring-manager-util.c new file mode 100644 index 000000000..946f45808 --- /dev/null +++ b/security/gnomekeyringmanager/files/patch-src::gnome-keyring-manager-util.c @@ -0,0 +1,20 @@ +--- src/gnome-keyring-manager-util.c.orig Mon Jul 12 23:12:27 2004 ++++ src/gnome-keyring-manager-util.c Mon Jul 12 23:13:00 2004 +@@ -189,8 +189,6 @@ + GtkIconTheme *icon_theme; + GdkPixbuf *pixbuf; + +- g_return_val_if_fail (GTK_IS_WINDOW (transient_parent), NULL); +- + const char *authors[] = { + "Fernando Herrera <fherrera@onirica.com>", + "Mariano Su\303\241rez-Alvarez <mariano@gnome.org>", +@@ -201,6 +199,8 @@ + }; + const char *translator_credits = _("translator_credits"); + ++ g_return_val_if_fail (GTK_IS_WINDOW (transient_parent), NULL); ++ + icon_theme = gtk_icon_theme_get_default (); + pixbuf = gtk_icon_theme_load_icon (icon_theme, "stock_keyring", 48, 0, NULL); + diff --git a/security/gnomekeyringmanager/pkg-descr b/security/gnomekeyringmanager/pkg-descr new file mode 100644 index 000000000..c6881629b --- /dev/null +++ b/security/gnomekeyringmanager/pkg-descr @@ -0,0 +1 @@ +This a keyring management program for the GNOME Desktop. diff --git a/security/gnomekeyringmanager/pkg-plist b/security/gnomekeyringmanager/pkg-plist new file mode 100644 index 000000000..4f59fe640 --- /dev/null +++ b/security/gnomekeyringmanager/pkg-plist @@ -0,0 +1,5 @@ +bin/gnome-keyring-manager +@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/gnome-keyring-manager.schemas > /dev/null || /usr/bin/true +etc/gconf/schemas/gnome-keyring-manager.schemas +@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/gnome-keyring-manager.schemas > /dev/null || /usr/bin/true +share/gnome/applications/gnome-keyring-manager.desktop |