Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2025 11:25:59 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 11224c5db9d2 - main - security/gnome-ssh-askpass: Remove expired port
Message-ID:  <202501011125.501BPxYc073780@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=11224c5db9d2923ad6d4fbb3f3819c037090fe8a

commit 11224c5db9d2923ad6d4fbb3f3819c037090fe8a
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-01-01 11:25:53 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-01-01 11:25:53 +0000

    security/gnome-ssh-askpass: Remove expired port
    
    2024-12-31 security/gnome-ssh-askpass: Uses deprecated gtk2 library
---
 MOVED                                              |  1 +
 security/Makefile                                  |  1 -
 security/gnome-ssh-askpass/Makefile                | 35 ------------
 security/gnome-ssh-askpass/distinfo                |  3 --
 .../files/patch-contrib_gnome-ssh-askpass2.c       | 62 ----------------------
 security/gnome-ssh-askpass/pkg-descr               |  4 --
 6 files changed, 1 insertion(+), 105 deletions(-)

diff --git a/MOVED b/MOVED
index 5ccb38a310a1..529ba1bf8f88 100644
--- a/MOVED
+++ b/MOVED
@@ -3817,3 +3817,4 @@ textproc/cl-meta-sbcl||2025-01-01|Removed, depends on expired and unfetchable te
 textproc/cl-meta||2025-01-01|Has expired: Upstream is gone
 databases/postgis32||2025-01-01|Has expired: Please use newer versions
 math/sage||2025-01-01|Has expired: Broken for more than two years
+security/gnome-ssh-askpass||2025-01-01|Has expired: Uses deprecated gtk2 library
diff --git a/security/Makefile b/security/Makefile
index 368748102f7c..fa413a4c5c0e 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -182,7 +182,6 @@
     SUBDIR += globalprotect-openconnect
     SUBDIR += gnome-keyring
     SUBDIR += gnome-keyring-sharp
-    SUBDIR += gnome-ssh-askpass
     SUBDIR += gnupg
     SUBDIR += gnupg-pkcs11-scd
     SUBDIR += gnupg1
diff --git a/security/gnome-ssh-askpass/Makefile b/security/gnome-ssh-askpass/Makefile
deleted file mode 100644
index bc5b55ae9453..000000000000
--- a/security/gnome-ssh-askpass/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-PORTNAME=	gnome-ssh-askpass
-DISTVERSION=	9.9p1
-CATEGORIES=	security gnome
-MASTER_SITES=	OPENBSD/OpenSSH/portable/
-DISTNAME=	openssh-${DISTVERSION}
-
-MAINTAINER=	bofh@FreeBSD.org
-COMMENT=	Graphical SSH askpass utility for Gnome2
-WWW=		http://www.openssh.com/
-
-#LICENSE=      BSD2,BSD3,MIT,public domain,BSD-Style,BEER-WARE,"any purpose with notice intact",ISC-Style
-#LICENSE_FILE= ${WRKSRC}/LICENCE
-
-DEPRECATED=	Uses deprecated gtk2 library
-EXPIRATION_DATE=	2024-12-31
-
-LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
-	libharfbuzz.so:print/harfbuzz
-
-WRKSRC=		${WRKDIR}/openssh-${DISTVERSION}
-BUILD_WRKSRC=	${WRKSRC}/contrib
-ALL_TARGET=	gnome-ssh-askpass2
-
-PLIST_FILES=	bin/gnome-ssh-askpass2
-USES=		gnome pkgconfig xorg
-USE_GNOME=	cairo gdkpixbuf2 gtk20
-USE_XORG=	x11
-
-CFLAGS+=	-lpthread
-
-do-install:
-	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/gnome-ssh-askpass2 \
-		${STAGEDIR}${PREFIX}/bin
-
-.include <bsd.port.mk>
diff --git a/security/gnome-ssh-askpass/distinfo b/security/gnome-ssh-askpass/distinfo
deleted file mode 100644
index a08def4e1f65..000000000000
--- a/security/gnome-ssh-askpass/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1727147693
-SHA256 (openssh-9.9p1.tar.gz) = b343fbcdbff87f15b1986e6e15d6d4fc9a7d36066be6b7fb507087ba8f966c02
-SIZE (openssh-9.9p1.tar.gz) = 1964864
diff --git a/security/gnome-ssh-askpass/files/patch-contrib_gnome-ssh-askpass2.c b/security/gnome-ssh-askpass/files/patch-contrib_gnome-ssh-askpass2.c
deleted file mode 100644
index 9df904e748a8..000000000000
--- a/security/gnome-ssh-askpass/files/patch-contrib_gnome-ssh-askpass2.c
+++ /dev/null
@@ -1,62 +0,0 @@
---- contrib/gnome-ssh-askpass2.c.orig	2024-03-11 05:20:49 UTC
-+++ contrib/gnome-ssh-askpass2.c
-@@ -151,7 +151,7 @@ passphrase_dialog(char *message, int prompt_type)
- {
- 	const char *failed;
- 	char *passphrase, *local;
--	int result, grab_tries, grab_server, grab_pointer;
-+	int result, grab_tries, grab_server, grab_pointer, grab_keyboard;
- 	int buttons, default_response;
- 	GtkWidget *parent_window, *dialog, *entry;
- 	GdkGrabStatus status;
-@@ -160,6 +160,7 @@ passphrase_dialog(char *message, int prompt_type)
- 
- 	grab_server = (getenv("GNOME_SSH_ASKPASS_GRAB_SERVER") != NULL);
- 	grab_pointer = (getenv("GNOME_SSH_ASKPASS_GRAB_POINTER") != NULL);
-+	grab_keyboard = (getenv("GNOME_SSH_ASKPASS_GRAB_KEYBOARD") != NULL);
- 	grab_tries = 0;
- 
- 	fg_set = parse_env_hex_color("GNOME_SSH_ASKPASS_FG_COLOR", &fg);
-@@ -243,18 +244,20 @@ passphrase_dialog(char *message, int prompt_type)
- 			}
- 		}
- 	}
--	for(;;) {
--		status = gdk_keyboard_grab(
--		    gtk_widget_get_window(GTK_WIDGET(dialog)), FALSE,
--		    GDK_CURRENT_TIME);
--		if (status == GDK_GRAB_SUCCESS)
--			break;
--		usleep(GRAB_WAIT * 1000);
--		if (++grab_tries > GRAB_TRIES) {
--			failed = "keyboard";
--			goto nograbkb;
--		}
--	}
-+    if (grab_keyboard) {
-+	    for(;;) {
-+		    status = gdk_keyboard_grab(
-+		        gtk_widget_get_window(GTK_WIDGET(dialog)), FALSE,
-+		        GDK_CURRENT_TIME);
-+		    if (status == GDK_GRAB_SUCCESS)
-+			    break;
-+		    usleep(GRAB_WAIT * 1000);
-+		    if (++grab_tries > GRAB_TRIES) {
-+			    failed = "keyboard";
-+			    goto nograbkb;
-+		    }
-+	    }
-+    }
- 	if (grab_server) {
- 		gdk_x11_grab_server();
- 	}
-@@ -266,7 +269,8 @@ passphrase_dialog(char *message, int prompt_type)
- 		XUngrabServer(gdk_x11_get_default_xdisplay());
- 	if (grab_pointer)
- 		gdk_pointer_ungrab(GDK_CURRENT_TIME);
--	gdk_keyboard_ungrab(GDK_CURRENT_TIME);
-+	if (grab_keyboard)
-+		gdk_keyboard_ungrab(GDK_CURRENT_TIME);
- 	gdk_flush();
- 
- 	/* Report passphrase if user selected OK */
diff --git a/security/gnome-ssh-askpass/pkg-descr b/security/gnome-ssh-askpass/pkg-descr
deleted file mode 100644
index 825f9a66c31e..000000000000
--- a/security/gnome-ssh-askpass/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Gnome-ssh-askpass is a part of the OpenSSH contrib files.
-
-Use from your .xsession or equivalent:
-	export SSH_ASKPASS=/usr/local/bin/gnome-ssh-askpass2 ; ssh-add



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501011125.501BPxYc073780>