diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/seahorse-plugins/Makefile | 6 | ||||
-rw-r--r-- | security/seahorse-plugins/files/patch-libseahorse_seahorse-notification.c | 11 | ||||
-rw-r--r-- | security/seahorse/Makefile | 10 | ||||
-rw-r--r-- | security/seahorse/files/patch-libseahorse_seahorse-notification.c | 11 | ||||
-rw-r--r-- | security/tuntun/Makefile | 4 | ||||
-rw-r--r-- | security/tuntun/files/patch-src_tuntun-applet.c | 19 |
6 files changed, 53 insertions, 8 deletions
diff --git a/security/seahorse-plugins/Makefile b/security/seahorse-plugins/Makefile index bad3af7cb24a..6b3d5a1f59cf 100644 --- a/security/seahorse-plugins/Makefile +++ b/security/seahorse-plugins/Makefile @@ -3,12 +3,12 @@ # Whom: Dave McKay <dave@mu.org> # # $FreeBSD$ -# $MCom: ports/security/seahorse-plugins/Makefile,v 1.25 2010/04/27 22:22:07 kwm Exp $ +# $MCom: ports/security/seahorse-plugins/Makefile,v 1.28 2011/07/03 11:57:45 kwm Exp $ # PORTNAME= seahorse-plugins PORTVERSION= 2.30.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= security gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -83,7 +83,7 @@ PLIST_SUB+= APPLET="@comment " .endif .if !defined(WITHOUT_NOTIFY) -LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify +LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify .else CONFIGURE_ARGS+=--disable-libnotify .endif diff --git a/security/seahorse-plugins/files/patch-libseahorse_seahorse-notification.c b/security/seahorse-plugins/files/patch-libseahorse_seahorse-notification.c new file mode 100644 index 000000000000..7ddf0bb3fe00 --- /dev/null +++ b/security/seahorse-plugins/files/patch-libseahorse_seahorse-notification.c @@ -0,0 +1,11 @@ +--- libseahorse/seahorse-notification.c.orig 2011-03-07 09:25:10.000000000 +0100 ++++ libseahorse/seahorse-notification.c 2011-03-07 09:25:57.000000000 +0100 +@@ -213,7 +213,7 @@ + heading = format_key_text (snotif->heading); + message = format_key_text (snotif->message); + +- notif = notify_notification_new (heading, message, snotif->icon, attachto); ++ notif = notify_notification_new (heading, message, snotif->icon); + + g_free (heading); + g_free (message); diff --git a/security/seahorse/Makefile b/security/seahorse/Makefile index d7a2d00aa0f0..6a9dd20e316f 100644 --- a/security/seahorse/Makefile +++ b/security/seahorse/Makefile @@ -3,12 +3,12 @@ # Whom: Dave McKay <dave@mu.org> # # $FreeBSD$ -# $MCom: ports/security/seahorse/Makefile,v 1.99 2010/09/28 09:01:33 kwm Exp $ +# $MCom: ports/security/seahorse/Makefile,v 1.104 2011/07/03 11:57:45 kwm Exp $ # PORTNAME= seahorse PORTVERSION= 2.32.0 -PORTREVISION= 4 +PORTREVISION= 6 CATEGORIES= security gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -20,10 +20,12 @@ BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg LIB_DEPENDS= gpgme.19:${PORTSDIR}/security/gpgme \ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ - gnome-keyring:${PORTSDIR}/security/gnome-keyring \ + gcr.0:${PORTSDIR}/security/gnome-keyring \ gcrypt.18:${PORTSDIR}/security/libgcrypt \ soup-2.4.1:${PORTSDIR}/devel/libsoup +CONFLICTS= seahorse-3.[0-9]* + USE_XORG= sm USE_LDCONFIG= yes USE_BZIP2= yes @@ -53,7 +55,7 @@ CONFIGURE_ARGS+=--disable-ldap .endif .if !defined(WITHOUT_NOTIFY) -LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify +LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify .else CONFIGURE_ARGS+=--disable-libnotify .endif diff --git a/security/seahorse/files/patch-libseahorse_seahorse-notification.c b/security/seahorse/files/patch-libseahorse_seahorse-notification.c new file mode 100644 index 000000000000..7cf855253009 --- /dev/null +++ b/security/seahorse/files/patch-libseahorse_seahorse-notification.c @@ -0,0 +1,11 @@ +--- libseahorse/seahorse-notification.c.orig 2011-03-06 21:03:39.000000000 +0100 ++++ libseahorse/seahorse-notification.c 2011-03-06 21:03:58.000000000 +0100 +@@ -231,7 +231,7 @@ setup_libnotify_notification (SeahorseNo + heading = format_key_text (snotif->heading); + message = format_key_text (snotif->message); + +- notif = notify_notification_new (heading, message, snotif->icon, attachto); ++ notif = notify_notification_new (heading, message, snotif->icon); + + g_free (heading); + g_free (message); diff --git a/security/tuntun/Makefile b/security/tuntun/Makefile index 0f517482f7f8..4adc200146f6 100644 --- a/security/tuntun/Makefile +++ b/security/tuntun/Makefile @@ -7,13 +7,15 @@ PORTNAME= tuntun PORTVERSION= 0.4.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security gnome MASTER_SITES= http://tuntun.googlecode.com/files/ MAINTAINER= anderson@cnpm.embrapa.br COMMENT= A Gnome applet gui for OpenVPN +LIB_DEPENDS= notify.4:${PORTSDIR}/devel/libnotify + GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="`pkg-config --cflags libgnomeui-2.0`" \ LIBS="`pkg-config --libs libgnomeui-2.0`" diff --git a/security/tuntun/files/patch-src_tuntun-applet.c b/security/tuntun/files/patch-src_tuntun-applet.c new file mode 100644 index 000000000000..5f98a4fa65b8 --- /dev/null +++ b/security/tuntun/files/patch-src_tuntun-applet.c @@ -0,0 +1,19 @@ +--- src/tuntun-applet.c.orig 2011-08-16 15:08:48.000000000 +0200 ++++ src/tuntun-applet.c 2011-08-16 15:32:49.000000000 +0200 +@@ -705,14 +705,14 @@ static void tuntun_panel_applet_on_conne + NotifyNotification* _tmp2_; + char* _tmp1_; + char* _tmp0_; +- notification = (_tmp2_ = notify_notification_new (tuntun_connection_info_get_name (tuntun_connection_get_info (connection)), _tmp0_ = g_strdup_printf (_ ("connection established\nassigned ip: %s"), tuntun_connection_info_get_assigned_ip (tuntun_connection_get_info (connection))), _tmp1_ = tuntun_utils_get_image_path (TUNTUN_CONSTANTS_IMAGES_CONNECTION_STATUS_CONNECTED), (GtkWidget*) self), _g_object_unref0 (notification), _tmp2_); ++ notification = (_tmp2_ = notify_notification_new (tuntun_connection_info_get_name (tuntun_connection_get_info (connection)), _tmp0_ = g_strdup_printf (_ ("connection established\nassigned ip: %s"), tuntun_connection_info_get_assigned_ip (tuntun_connection_get_info (connection))), _tmp1_ = tuntun_utils_get_image_path (TUNTUN_CONSTANTS_IMAGES_CONNECTION_STATUS_CONNECTED)), _g_object_unref0 (notification), _tmp2_); + _g_free0 (_tmp1_); + _g_free0 (_tmp0_); + } else { + if (tuntun_connection_get_status (connection) == TUNTUN_CONNECTION_STATES_DISCONNECTED) { + NotifyNotification* _tmp4_; + char* _tmp3_; +- notification = (_tmp4_ = notify_notification_new (tuntun_connection_info_get_name (tuntun_connection_get_info (connection)), _ ("connection closed"), _tmp3_ = tuntun_utils_get_image_path (TUNTUN_CONSTANTS_IMAGES_CONNECTION_STATUS_DISCONNECTED), (GtkWidget*) self), _g_object_unref0 (notification), _tmp4_); ++ notification = (_tmp4_ = notify_notification_new (tuntun_connection_info_get_name (tuntun_connection_get_info (connection)), _ ("connection closed"), _tmp3_ = tuntun_utils_get_image_path (TUNTUN_CONSTANTS_IMAGES_CONNECTION_STATUS_DISCONNECTED)), _g_object_unref0 (notification), _tmp4_); + _g_free0 (_tmp3_); + } + } |