summaryrefslogtreecommitdiffstats
path: root/security/seahorse
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-06 12:12:30 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-06 12:12:30 +0800
commit811c47ad733c70189ef50d07ccc42bcc09b0c35b (patch)
treec426d9be34ec33dfae95db2318a78c8afa3bf304 /security/seahorse
parentcef6eee9edee3ab1496d4fb8107ac2790bf1812a (diff)
downloadmarcuscom-ports-811c47ad733c70189ef50d07ccc42bcc09b0c35b.tar
marcuscom-ports-811c47ad733c70189ef50d07ccc42bcc09b0c35b.tar.gz
marcuscom-ports-811c47ad733c70189ef50d07ccc42bcc09b0c35b.tar.bz2
marcuscom-ports-811c47ad733c70189ef50d07ccc42bcc09b0c35b.tar.lz
marcuscom-ports-811c47ad733c70189ef50d07ccc42bcc09b0c35b.tar.xz
marcuscom-ports-811c47ad733c70189ef50d07ccc42bcc09b0c35b.tar.zst
marcuscom-ports-811c47ad733c70189ef50d07ccc42bcc09b0c35b.zip
- Clean security
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5063 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security/seahorse')
-rw-r--r--security/seahorse/Makefile82
-rw-r--r--security/seahorse/distinfo2
-rw-r--r--security/seahorse/files/patch-agent_seahorse-agent-io.c32
-rw-r--r--security/seahorse/files/patch-agent_seahorse-agent.c40
-rw-r--r--security/seahorse/files/patch-libseahorse_seahorse-key-store.c22
-rw-r--r--security/seahorse/files/patch-libseahorse_seahorse-server-source.c15
-rw-r--r--security/seahorse/files/patch-src_seahorse-generate-druid.c13
-rw-r--r--security/seahorse/pkg-descr8
-rw-r--r--security/seahorse/pkg-plist109
9 files changed, 0 insertions, 323 deletions
diff --git a/security/seahorse/Makefile b/security/seahorse/Makefile
deleted file mode 100644
index 4629df2bd..000000000
--- a/security/seahorse/Makefile
+++ /dev/null
@@ -1,82 +0,0 @@
-# New ports collection makefile for: Seahorse
-# Date created: 08 March 2000
-# Whom: Dave McKay <dave@mu.org>
-#
-# $FreeBSD$
-# $MCom$
-#
-
-PORTNAME= seahorse
-PORTVERSION= 0.8
-PORTREVISION= 1
-CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR=sources/${PORTNAME}/0.8
-DIST_SUBDIR= gnome2
-
-MAINTAINER= gnome@FreeBSD.org
-COMMENT= A front end for GnuPG
-
-BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg
-RUN_DEPENDS= ${BUILD_DEPENDS}
-LIB_DEPENDS= gpgme.14:${PORTSDIR}/security/gpgme
-
-USE_BZIP2= yes
-USE_X_PREFIX= yes
-USE_GMAKE= yes
-USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui
-USE_LIBTOOL_VER=15
-USE_REINPLACE= yes
-INSTALLS_OMF= yes
-INSTALLS_SHLIB= yes
-CONFIGURE_ARGS= --disable-gpg-check
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-
-GCONF_SCHEMAS= seahorse.schemas
-
-OPTIONS= GEDIT "Enable the gedit plug-in" on \
- NAUTILUS "Enable the Nautilus component" on \
- LDAP "Enable LDAP support" on \
- HKP "Enable HKP keyserver interface" on
-
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_GEDIT)
-BUILD_DEPENDS+= gedit:${PORTSDIR}/editors/gedit
-RUN_DEPENDS+= gedit:${PORTSDIR}/editors/gedit
-PLIST_SUB+= GEDIT=""
-GCONF_SCHEMAS+= seahorse-gedit.schemas
-.else
-PLIST_SUB+= GEDIT="@comment "
-CONFIGURE_ARGS+=--disable-gedit
-.endif
-
-.if defined(WITH_NAUTILUS)
-USE_GNOME+= nautilus2
-PLIST_SUB+= NAUTILUS=""
-.else
-PLIST_SUB+= NAUTILUS="@comment "
-CONFIGURE_ARGS+=--disable-nautilus
-.endif
-
-.if !defined(WITHOUT_LDAP)
-USE_OPENLDAP= yes
-.else
-CONFIGURE_ARGS+=--disable-ldap
-.endif
-
-.if !defined(WITHOUT_HKP)
-LIB_DEPENDS+= soup-2.2.8:${PORTSDIR}/devel/libsoup
-.else
-CONFIGURE_ARGS+=--disable-hkp
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's|gedit-2.10|gedit-2.12|g' \
- ${WRKSRC}/configure
-
-post-install:
- -@update-desktop-database
-
-.include <bsd.port.post.mk>
diff --git a/security/seahorse/distinfo b/security/seahorse/distinfo
deleted file mode 100644
index d6761062b..000000000
--- a/security/seahorse/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (gnome2/seahorse-0.8.tar.bz2) = b8c4878cdcbf57e9885583672934772c
-SIZE (gnome2/seahorse-0.8.tar.bz2) = 946453
diff --git a/security/seahorse/files/patch-agent_seahorse-agent-io.c b/security/seahorse/files/patch-agent_seahorse-agent-io.c
deleted file mode 100644
index 4ecd84940..000000000
--- a/security/seahorse/files/patch-agent_seahorse-agent-io.c
+++ /dev/null
@@ -1,32 +0,0 @@
---- agent/seahorse-agent-io.c.orig Sun Aug 28 15:52:02 2005
-+++ agent/seahorse-agent-io.c Fri Oct 7 21:51:25 2005
-@@ -412,12 +412,18 @@ io_handler (GIOChannel *source, GIOCondi
- gsize length;
- GError *err = NULL;
- gboolean ret = TRUE;
-+ GIOStatus status;
-
- if (condition & G_IO_IN) {
- /* Read 1 line from the io channel, including newline character */
-- g_io_channel_read_line (source, &string, &length, NULL, &err);
-+ status = g_io_channel_read_line (source, &string, &length, NULL, &err);
-
-- if (err != NULL) {
-+ if (status == G_IO_STATUS_EOF) {
-+ free_conn (cn);
-+ ret = FALSE;
-+ }
-+
-+ else if (err != NULL) {
- g_critical ("couldn't read from socket: %s", err->message);
- g_clear_error (&err);
- free_conn (cn);
-@@ -434,7 +440,7 @@ io_handler (GIOChannel *source, GIOCondi
- g_free (string);
- }
-
-- if (cn && condition & G_IO_HUP) {
-+ else if (cn && condition & G_IO_HUP) {
- free_conn (cn);
- ret = FALSE; /* removes watch */
- }
diff --git a/security/seahorse/files/patch-agent_seahorse-agent.c b/security/seahorse/files/patch-agent_seahorse-agent.c
deleted file mode 100644
index 25531909e..000000000
--- a/security/seahorse/files/patch-agent_seahorse-agent.c
+++ /dev/null
@@ -1,40 +0,0 @@
---- agent/seahorse-agent.c.orig Thu May 19 00:15:36 2005
-+++ agent/seahorse-agent.c Thu Jul 28 01:32:39 2005
-@@ -273,18 +273,18 @@ main (int argc, char **argv)
- const char *sockname;
- GnomeProgram *program = NULL;
-
-- secmem_init (65536);
--
- /* We need to drop privileges completely for security */
- #if defined(HAVE_SETRESUID) && defined(HAVE_SETRESGID)
-
- /* Not in header files for all OSs, even where present */
- int setresuid(uid_t ruid, uid_t euid, uid_t suid);
- int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
-+ secmem_init (65536);
-
- if (setresuid (getuid (), getuid (), getuid ()) == -1 ||
- setresgid (getgid (), getgid (), getgid ()) == -1)
- #else
-+ secmem_init (65536);
- if (setuid (getuid ()) == -1 || setgid (getgid ()) == -1)
- #endif
- err (1, _("couldn't drop privileges properly"));
-@@ -301,7 +301,6 @@ main (int argc, char **argv)
- * All functions after this point have to print messages
- * nicely and not just called exit()
- */
-- daemonize (sockname);
-
- /* Handle some signals */
- signal (SIGINT, on_quit);
-@@ -314,6 +313,8 @@ main (int argc, char **argv)
- /* Initialize our sub systems */
- seahorse_agent_actions_init ();
- seahorse_agent_cache_init ();
-+
-+ daemonize (sockname);
-
- if (seahorse_agent_io_init () == -1)
- return 1; /* message already printed */
diff --git a/security/seahorse/files/patch-libseahorse_seahorse-key-store.c b/security/seahorse/files/patch-libseahorse_seahorse-key-store.c
deleted file mode 100644
index fc8b7af60..000000000
--- a/security/seahorse/files/patch-libseahorse_seahorse-key-store.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- libseahorse/seahorse-key-store.c.orig Wed Dec 22 15:18:27 2004
-+++ libseahorse/seahorse-key-store.c Wed Dec 22 15:19:48 2004
-@@ -184,6 +184,8 @@
- {
- GObject* obj = G_OBJECT_CLASS (parent_class)->constructor (type, n_props, props);
- SeahorseKeyStore* skstore = SEAHORSE_KEY_STORE (obj);
-+ guint cols;
-+ GType* types;
-
- /* init private vars */
- skstore->priv = g_new0 (SeahorseKeyStorePriv, 1);
-@@ -191,8 +193,8 @@
- NULL, (GDestroyNotify)seahorse_key_row_free);
-
- /* Setup the store */
-- guint cols = SEAHORSE_KEY_STORE_GET_CLASS (skstore)->n_columns;
-- GType* types = (GType*)SEAHORSE_KEY_STORE_GET_CLASS (skstore)->col_types;
-+ cols = SEAHORSE_KEY_STORE_GET_CLASS (skstore)->n_columns;
-+ types = (GType*)SEAHORSE_KEY_STORE_GET_CLASS (skstore)->col_types;
- gtk_tree_store_set_column_types (GTK_TREE_STORE (obj), cols, types);
-
- /* Setup the sort and filter */
diff --git a/security/seahorse/files/patch-libseahorse_seahorse-server-source.c b/security/seahorse/files/patch-libseahorse_seahorse-server-source.c
deleted file mode 100644
index d7422de5e..000000000
--- a/security/seahorse/files/patch-libseahorse_seahorse-server-source.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- libseahorse/seahorse-server-source.c.orig Fri Mar 11 22:17:43 2005
-+++ libseahorse/seahorse-server-source.c Fri Mar 11 22:17:55 2005
-@@ -518,11 +518,11 @@
- seahorse_server_source_get_state (SeahorseKeySource *src)
- {
- SeahorseServerSource *ssrc;
-+ guint state = SEAHORSE_KEY_SOURCE_REMOTE;
-
- g_return_val_if_fail (SEAHORSE_IS_SERVER_SOURCE (src), 0);
- ssrc = SEAHORSE_SERVER_SOURCE (src);
-
-- guint state = SEAHORSE_KEY_SOURCE_REMOTE;
- if (!seahorse_operation_is_done (ssrc->priv->operation))
- state |= SEAHORSE_KEY_SOURCE_LOADING;
- return state;
diff --git a/security/seahorse/files/patch-src_seahorse-generate-druid.c b/security/seahorse/files/patch-src_seahorse-generate-druid.c
deleted file mode 100644
index 9e356ed1a..000000000
--- a/security/seahorse/files/patch-src_seahorse-generate-druid.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/seahorse-generate-druid.c.orig Wed Dec 22 15:22:02 2004
-+++ src/seahorse-generate-druid.c Wed Dec 22 15:22:22 2004
-@@ -173,8 +173,9 @@
- gboolean
- on_druidpagestandard4_next (GnomeDruidPage *gnomedruidpage, GtkWidget *widget, SeahorseWidget *swidget)
- {
-+ GtkWidget *druidpage;
- g_print("go to finish\n");
-- GtkWidget *druidpage = glade_xml_get_widget (swidget->xml, "druidpagefinish1");
-+ druidpage = glade_xml_get_widget (swidget->xml, "druidpagefinish1");
-
- gnome_druid_page_prepare (GNOME_DRUID_PAGE(druidpage));
- gtk_widget_show (druidpage);
diff --git a/security/seahorse/pkg-descr b/security/seahorse/pkg-descr
deleted file mode 100644
index ea4098271..000000000
--- a/security/seahorse/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Seahorse is a Gnome front end for GnuPG - the Gnu Privacy Guard program.
-
-It is a tool for secure communications and data storage.
-Data encryption and digital signature creation can easily
-be performed through a GUI and Key Management operations
-can easily be carried out through an intuitive interface.
-
-WWW: http://seahorse.sourceforge.net/
diff --git a/security/seahorse/pkg-plist b/security/seahorse/pkg-plist
deleted file mode 100644
index 8c1d78624..000000000
--- a/security/seahorse/pkg-plist
+++ /dev/null
@@ -1,109 +0,0 @@
-bin/seahorse
-bin/seahorse-agent
-bin/seahorse-pgp-preferences
-%%GEDIT%%lib/gedit-2/plugins/libseahorse-pgp.so
-%%GEDIT%%lib/gedit-2/plugins/seahorse-pgp.gedit-plugin
-lib/libseahorse-internal.a
-lib/libseahorse-internal.so
-lib/libseahorse-internal.so.0
-%%NAUTILUS%%lib/nautilus/extensions-1.0/libnautilus-seahorse.so
-share/gnome/applications/seahorse-pgp-preferences.desktop
-share/gnome/applications/seahorse.desktop
-share/gnome/applications/seahorse-pgp-encrypted.desktop
-share/gnome/applications/seahorse-pgp-keys.desktop
-share/gnome/applications/seahorse-pgp-signature.desktop
-share/gnome/control-center-2.0/capplets/seahorse-pgp-preferences.desktop
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-share/gnome/help/seahorse/C/figures/export.png
-share/gnome/help/seahorse/C/figures/file-manager.png
-share/gnome/help/seahorse/C/figures/generate.png
-share/gnome/help/seahorse/C/figures/import.png
-share/gnome/help/seahorse/C/figures/key-manager.png
-share/gnome/help/seahorse/C/figures/key-properties.png
-share/gnome/help/seahorse/C/figures/passphrase.png
-share/gnome/help/seahorse/C/figures/preferences.png
-share/gnome/help/seahorse/C/figures/recipients.png
-share/gnome/help/seahorse/C/figures/signature.png
-share/gnome/help/seahorse/C/figures/text-editor.png
-share/gnome/help/seahorse/C/legal.xml
-share/gnome/help/seahorse/C/seahorse.xml
-share/gnome/mime-info/seahorse.keys
-share/gnome/mime-info/seahorse.mime
-share/gnome/omf/seahorse/seahorse-C.omf
-share/gnome/pixmaps/seahorse-key.png
-share/gnome/pixmaps/seahorse-secret.png
-share/gnome/pixmaps/seahorse.png
-share/gnome/seahorse/glade/seahorse-add-keyserver.glade
-share/gnome/seahorse/glade/seahorse-add-subkey.glade
-share/gnome/seahorse/glade/seahorse-add-uid.glade
-share/gnome/seahorse/glade/seahorse-agent-cache.glade
-share/gnome/seahorse/glade/seahorse-change-passphrase.glade
-share/gnome/seahorse/glade/seahorse-expires.glade
-share/gnome/seahorse/glade/seahorse-generate-adv.glade
-share/gnome/seahorse/glade/seahorse-generate-druid.glade
-share/gnome/seahorse/glade/seahorse-generate-select.glade
-share/gnome/seahorse/glade/seahorse-key-manager.glade
-share/gnome/seahorse/glade/seahorse-key-manager.ui
-share/gnome/seahorse/glade/seahorse-key-properties.glade
-share/gnome/seahorse/glade/seahorse-keyserver-results.glade
-share/gnome/seahorse/glade/seahorse-keyserver-results.ui
-share/gnome/seahorse/glade/seahorse-keyserver-search.glade
-share/gnome/seahorse/glade/seahorse-keyserver-sync.glade
-share/gnome/seahorse/glade/seahorse-multi-encrypt.glade
-share/gnome/seahorse/glade/seahorse-passphrase.glade
-share/gnome/seahorse/glade/seahorse-prefs.glade
-share/gnome/seahorse/glade/seahorse-preferences.glade
-share/gnome/seahorse/glade/seahorse-progress.glade
-share/gnome/seahorse/glade/seahorse-recipients.glade
-share/gnome/seahorse/glade/seahorse-revoke.glade
-share/gnome/seahorse/glade/seahorse-sign.glade
-share/gnome/seahorse/glade/seahorse-signatures.glade
-share/gnome/seahorse/glade/seahorse-signer.glade
-share/mime/packages/seahorse.xml
-share/locale/az/LC_MESSAGES/seahorse.mo
-share/locale/bg/LC_MESSAGES/seahorse.mo
-share/locale/ca/LC_MESSAGES/seahorse.mo
-share/locale/cs/LC_MESSAGES/seahorse.mo
-share/locale/da/LC_MESSAGES/seahorse.mo
-share/locale/de/LC_MESSAGES/seahorse.mo
-share/locale/en_CA/LC_MESSAGES/seahorse.mo
-share/locale/en_GB/LC_MESSAGES/seahorse.mo
-share/locale/es/LC_MESSAGES/seahorse.mo
-share/locale/eu/LC_MESSAGES/seahorse.mo
-share/locale/fi/LC_MESSAGES/seahorse.mo
-share/locale/fr/LC_MESSAGES/seahorse.mo
-share/locale/hr/LC_MESSAGES/seahorse.mo
-share/locale/hu/LC_MESSAGES/seahorse.mo
-share/locale/it/LC_MESSAGES/seahorse.mo
-share/locale/ja/LC_MESSAGES/seahorse.mo
-share/locale/ml/LC_MESSAGES/seahorse.mo
-share/locale/ms/LC_MESSAGES/seahorse.mo
-share/locale/nb/LC_MESSAGES/seahorse.mo
-share/locale/ne/LC_MESSAGES/seahorse.mo
-share/locale/nl/LC_MESSAGES/seahorse.mo
-share/locale/no/LC_MESSAGES/seahorse.mo
-share/locale/pa/LC_MESSAGES/seahorse.mo
-share/locale/pl/LC_MESSAGES/seahorse.mo
-share/locale/pt/LC_MESSAGES/seahorse.mo
-share/locale/pt_BR/LC_MESSAGES/seahorse.mo
-share/locale/ru/LC_MESSAGES/seahorse.mo
-share/locale/rw/LC_MESSAGES/seahorse.mo
-share/locale/sk/LC_MESSAGES/seahorse.mo
-share/locale/sl/LC_MESSAGES/seahorse.mo
-share/locale/sq/LC_MESSAGES/seahorse.mo
-share/locale/sr/LC_MESSAGES/seahorse.mo
-share/locale/sr@Latn/LC_MESSAGES/seahorse.mo
-share/locale/sv/LC_MESSAGES/seahorse.mo
-share/locale/tr/LC_MESSAGES/seahorse.mo
-share/locale/uk/LC_MESSAGES/seahorse.mo
-share/locale/zh_CN/LC_MESSAGES/seahorse.mo
-share/locale/zh_TW/LC_MESSAGES/seahorse.mo
-@dirrm share/gnome/help/seahorse/C/figures
-@dirrm share/gnome/help/seahorse/C
-@dirrm share/gnome/help/seahorse
-@dirrm share/gnome/omf/seahorse
-@dirrm share/gnome/seahorse/glade
-@dirrm share/gnome/seahorse
-@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
-@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true