git: 51c891cbc191 - main - net/gq: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 25 Jan 2024 20:35:48 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=51c891cbc19142c39f2d277a568d1e15617ff1ba

commit 51c891cbc19142c39f2d277a568d1e15617ff1ba
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-25 20:22:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-25 20:35:24 +0000

    net/gq: Remove expired port
    
    2024-01-24 net/gq: Upstream last release was in 2008
---
 MOVED                                              |  1 +
 net/Makefile                                       |  1 -
 net/gq/Makefile                                    | 62 ----------------------
 net/gq/distinfo                                    |  2 -
 net/gq/files/patch-Makefile.in                     | 10 ----
 net/gq/files/patch-configure                       | 55 -------------------
 net/gq/files/patch-src__state.c                    | 20 -------
 net/gq/files/patch-src_dt__entry.h                 | 11 ----
 net/gq/files/patch-src_gq-browser-node-reference.h | 11 ----
 net/gq/files/patch-src_gq-hash-openssl.c           | 60 ---------------------
 net/gq/files/patch-src_gq-server.c                 | 10 ----
 net/gq/files/patch-src_gq-tab-schema.c             | 10 ----
 net/gq/pkg-descr                                   | 10 ----
 net/gq/pkg-plist                                   | 18 -------
 14 files changed, 1 insertion(+), 280 deletions(-)

diff --git a/MOVED b/MOVED
index 9ea557914493..7a47a6e8f1e0 100644
--- a/MOVED
+++ b/MOVED
@@ -2964,3 +2964,4 @@ x11-wm/jewel||2024-01-19|Has expired: Last upstream release was in 2004
 x11-wm/antiwm||2024-01-20|Has expired: Last upstream release was in 2009
 databases/qt5-sqldrivers-ibase||2024-01-21|Has expired: No fix with the oldest Firebird and BROKEN around 1 year
 multimedia/libva-glx|multimedia/libva|2024-01-21|Merged into main port
+net/gq||2024-01-25|Has expired: Upstream last release was in 2008
diff --git a/net/Makefile b/net/Makefile
index 1b8d1cd4bb06..85d381a126b4 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -210,7 +210,6 @@
     SUBDIR += gorss
     SUBDIR += gost
     SUBDIR += gotthard
-    SUBDIR += gq
     SUBDIR += graphpath
     SUBDIR += grilo
     SUBDIR += grilo-plugins
diff --git a/net/gq/Makefile b/net/gq/Makefile
deleted file mode 100644
index d67510102aa2..000000000000
--- a/net/gq/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-PORTNAME=	gq
-PORTVERSION=	1.3.4
-PORTREVISION=	19
-PORTEPOCH=	1
-CATEGORIES=	net
-MASTER_SITES=	SF/${PORTNAME}client/GQ%20Unstable/${PORTVERSION}
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	GTK-based LDAP client
-WWW=		https://sourceforge.net/projects/gqclient/
-
-LICENSE=	GPLv2+ LGPL21+ # some source files are under lgpl
-LICENSE_COMB=	multi
-LICENSE_FILE_GPLv2+ =	${WRKSRC}/COPYING
-
-DEPRECATED=	Upstream last release was in 2008
-EXPIRATION_DATE=	2024-01-24
-
-LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
-		libfreetype.so:print/freetype2 \
-		libgcrypt.so:security/libgcrypt \
-		libgnome-keyring.so:security/libgnome-keyring \
-		libgpg-error.so:security/libgpg-error \
-		libharfbuzz.so:print/harfbuzz
-
-USES=		desktop-file-utils gettext gmake gnome iconv ldap localbase \
-		pkgconfig shared-mime-info ssl
-USE_GNOME=	cairo intltool gdkpixbuf2 libglade2
-
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-ldap-prefix=${LOCALBASE} --disable-update-mimedb
-
-CPPFLAGS+=	-Wno-return-type
-LIBS+=		-lcrypto
-
-OPTIONS_DEFINE=	DND CACHE
-OPTIONS_DEFAULT=	DND CACHE
-
-CACHE_DESC=	Support the OpenLDAP experimental client cache
-DND_DESC=	Enable Drag and drop support in browse mode
-
-CACHE_CONFIGURE_ENABLE=	cache
-DND_CONFIGURE_ENABLE=	browser-dns
-
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
-BROKEN=	Fails to build with OpenSSL 1.1.1t and later
-BROKEN_SSL=	base openssl openssl111 openssl31
-BROKEN_SSL_REASON=	Fails to build with OpenSSL 1.1.1t and later
-.endif
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
-		${WRKSRC}/src/syntax.h \
-		${WRKSRC}/src/glib-helpers.[ch] \
-		${WRKSRC}/src/gq-hash.h \
-		${WRKSRC}/src/gq-main-loop.h \
-		${WRKSRC}/src/gq-stack.[ch] \
-		${WRKSRC}/src/gq-tab.h
-
-.include <bsd.port.post.mk>
diff --git a/net/gq/distinfo b/net/gq/distinfo
deleted file mode 100644
index d26f43dae25f..000000000000
--- a/net/gq/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (gq-1.3.4.tar.gz) = 2ac77f3233ddaef718f89c9371ab5165af29cf9738ed46b6bea64b37e45d4b60
-SIZE (gq-1.3.4.tar.gz) = 557801
diff --git a/net/gq/files/patch-Makefile.in b/net/gq/files/patch-Makefile.in
deleted file mode 100644
index 5da3502e20cb..000000000000
--- a/net/gq/files/patch-Makefile.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.in.orig	2008-02-13 21:14:39 UTC
-+++ Makefile.in
-@@ -240,7 +240,6 @@ SUBDIRS = \
- 	src \
- 	test \
- 	po \
--	help \
- 	$(NULL)
- 
- intltool = \
diff --git a/net/gq/files/patch-configure b/net/gq/files/patch-configure
deleted file mode 100644
index d8475403dbb8..000000000000
--- a/net/gq/files/patch-configure
+++ /dev/null
@@ -1,55 +0,0 @@
---- configure.orig	2008-02-13 21:14:37 UTC
-+++ configure
-@@ -4804,29 +4804,9 @@ GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal
- echo "${ECHO_T}$GLIB_GENMARSHAL" >&6; }
- 
- 
--gdu_cv_version_required=0.3.2
- 
--if test -n "$PKG_CONFIG" && \
--    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
--  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
--  ac_status=$?
--  echo "$as_me:$LINENO: \$? = $ac_status" >&5
--  (exit $ac_status); }; then
--  gdu_cv_have_gdu=yes
--else
--  gdu_cv_have_gdu=no
--fi
- 
--if test "$gdu_cv_have_gdu" = "yes"; then
--	:
--else
--	{ { echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
--echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
--   { (exit 1); exit 1; }; }
--fi
- 
--
--
- # Check whether --with-help-dir was given.
- if test "${with_help_dir+set}" = set; then
-   withval=$with_help_dir;
-@@ -4866,22 +4846,12 @@ else
-   enable_scrollkeeper=yes
- fi
- 
-- if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
--  ENABLE_SK_TRUE=
--  ENABLE_SK_FALSE='#'
--else
-   ENABLE_SK_TRUE='#'
-   ENABLE_SK_FALSE=
--fi
- 
- 
-- if test "$gdu_cv_have_gdu" = "yes"; then
--  HAVE_GNOME_DOC_UTILS_TRUE=
--  HAVE_GNOME_DOC_UTILS_FALSE='#'
--else
-   HAVE_GNOME_DOC_UTILS_TRUE='#'
-   HAVE_GNOME_DOC_UTILS_FALSE=
--fi
- 
- 
- 
diff --git a/net/gq/files/patch-src__state.c b/net/gq/files/patch-src__state.c
deleted file mode 100644
index 3f0c6d549281..000000000000
--- a/net/gq/files/patch-src__state.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/state.c.orig	2008-01-09 16:35:12 UTC
-+++ src/state.c
-@@ -36,7 +36,7 @@
- #include <errno.h>
- 
- #include <glib/gi18n.h>
--#include <glib/gmessages.h>
-+#include <glib.h>
- #include <gtk/gtk.h>
- 
- #include "configfile.h"
-@@ -806,7 +806,7 @@ static void state_valueE(struct parser_context *ctx,
- 	}
-     }
- 
--    if (n != NULL && v->type != 0) {
-+    if (n != NULL && v!=NULL && v->type != 0) {
- 	char *ep;
- 
- 	g_assert(v);
diff --git a/net/gq/files/patch-src_dt__entry.h b/net/gq/files/patch-src_dt__entry.h
deleted file mode 100644
index 07c6bfa7a5e3..000000000000
--- a/net/gq/files/patch-src_dt__entry.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/dt_entry.h.orig	2023-04-11 01:15:28 UTC
-+++ src/dt_entry.h
-@@ -44,7 +44,7 @@ struct _dt_entry_handler {
- 
-      GByteArray* (*encode)(const char *val, int len);
-      GByteArray* (*decode)(const char *val, int len);
--} dt_entry_handler;
-+};
- 
- /* Methods, only to be used by subclasses */
- GtkWidget *dt_entry_get_widget(int error_context,
diff --git a/net/gq/files/patch-src_gq-browser-node-reference.h b/net/gq/files/patch-src_gq-browser-node-reference.h
deleted file mode 100644
index 6e8de26f4be8..000000000000
--- a/net/gq/files/patch-src_gq-browser-node-reference.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/gq-browser-node-reference.h.orig	2023-04-11 01:15:02 UTC
-+++ src/gq-browser-node-reference.h
-@@ -51,7 +51,7 @@ struct _GqBrowserNodeReference {
- 	char *uri;
- 	GqServer *server;
- 	gboolean expanded;
--} ref_browse_entry;
-+};
- 
- G_END_DECLS
- 
diff --git a/net/gq/files/patch-src_gq-hash-openssl.c b/net/gq/files/patch-src_gq-hash-openssl.c
deleted file mode 100644
index 372327589738..000000000000
--- a/net/gq/files/patch-src_gq-hash-openssl.c
+++ /dev/null
@@ -1,60 +0,0 @@
---- src/gq-hash-openssl.c.orig	2008-01-09 14:55:46 UTC
-+++ src/gq-hash-openssl.c
-@@ -60,7 +60,7 @@ gq_hash_crypt(gchar const *data, gsize l
-      salt->str[2] = 0;
- 
-      g_byte_array_append(gb, (guchar*)"{CRYPT}", 7);
--     des_fcrypt((gchar*)password, salt->str, (gchar*)cryptbuf);
-+     DES_fcrypt((gchar*)password, salt->str, (gchar*)cryptbuf);
- 
-      g_byte_array_append(gb, cryptbuf, strlen((gchar*)cryptbuf));
- 
-@@ -242,7 +242,7 @@ static const char *lmhash_key = "KGS!@#$
- /* FIXME: silently assumes US-ASCII (or a single-byte encoding to be
-    handled by toupper) */
- 
--static void lm_make_key(const char *pw, des_cblock *key)
-+static void lm_make_key(const char *pw, DES_cblock *key)
- {
-      int i;
-      char *k = (char *) key;
-@@ -253,7 +253,7 @@ static void lm_make_key(const char *pw, 
- 	  k[i+1]  = (pw[i] << (7 - i)) & 0xff;
-      }
- 
--     des_set_odd_parity(key);
-+     DES_set_odd_parity(key);
- }
- 
- GByteArray*
-@@ -262,10 +262,10 @@ gq_hash_lmhash(gchar const* data, gsize 
-      unsigned int i;
-      char hex[2];
-      char plain[15];
--     des_key_schedule schedule;
-+     DES_key_schedule schedule;
-      GByteArray *gb = NULL;
--     des_cblock ckey1, ckey2;
--     des_cblock bin1,  bin2;
-+     DES_cblock ckey1, ckey2;
-+     DES_cblock bin1,  bin2;
- 
-      memset(plain, 0, sizeof(plain));
- 
-@@ -274,12 +274,12 @@ gq_hash_lmhash(gchar const* data, gsize 
-      }
- 
-      lm_make_key(plain, &ckey1);
--     des_set_key_unchecked(&ckey1, schedule);
--     des_ecb_encrypt((des_cblock*)lmhash_key, &bin1, schedule, DES_ENCRYPT);
-+     DES_set_key_unchecked(&ckey1, &schedule);
-+     DES_ecb_encrypt((DES_cblock*)lmhash_key, &bin1, &schedule, DES_ENCRYPT);
- 
-      lm_make_key(plain + 7, &ckey2);
--     des_set_key_unchecked(&ckey2, schedule);
--     des_ecb_encrypt((des_cblock*)lmhash_key, &bin2, schedule, DES_ENCRYPT);
-+     DES_set_key_unchecked(&ckey2, &schedule);
-+     DES_ecb_encrypt((DES_cblock*)lmhash_key, &bin2, &schedule, DES_ENCRYPT);
- 
-      gb = g_byte_array_new();
- 
diff --git a/net/gq/files/patch-src_gq-server.c b/net/gq/files/patch-src_gq-server.c
deleted file mode 100644
index 36af6083b9a9..000000000000
--- a/net/gq/files/patch-src_gq-server.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/gq-server.c.orig	2008-01-09 16:35:12 UTC
-+++ src/gq-server.c
-@@ -25,6 +25,7 @@
- 
- #include "gq-server.h"
- 
-+#include <sys/select.h>
- #include <errno.h>
- #include <string.h>
- 
diff --git a/net/gq/files/patch-src_gq-tab-schema.c b/net/gq/files/patch-src_gq-tab-schema.c
deleted file mode 100644
index 339701d769b6..000000000000
--- a/net/gq/files/patch-src_gq-tab-schema.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/gq-tab-schema.c.orig	2008-01-09 16:35:12 UTC
-+++ src/gq-tab-schema.c
-@@ -1902,7 +1902,6 @@ gq_tab_schema_init(GqTabSchema* self)
- 
-      tab->content = schemamode_vbox;
-      gtk_object_set_data(GTK_OBJECT(tab->content), "tab", tab);
--     return tab;
- }
- 
- static void
diff --git a/net/gq/pkg-descr b/net/gq/pkg-descr
deleted file mode 100644
index b209ac64bdba..000000000000
--- a/net/gq/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-GQ is a GTK-based LDAP client. Features include:
-
-  - browse and search modes
-  - LDAP V3 schema browser
-  - template editor
-  - edit and delete entries
-  - add entries with templates
-  - export subtree or whole server to LDIF file
-  - use any number of servers
-  - search based on single argument or LDAP filter
diff --git a/net/gq/pkg-plist b/net/gq/pkg-plist
deleted file mode 100644
index 4e7311022544..000000000000
--- a/net/gq/pkg-plist
+++ /dev/null
@@ -1,18 +0,0 @@
-bin/gq
-share/applications/gq.desktop
-%%DATADIR%%/gq.glade
-share/mime/packages/gq-ldif.xml
-share/pixmaps/gq/bomb.xpm
-share/pixmaps/gq/entry.png
-share/pixmaps/gq/gq.xpm
-share/pixmaps/gq/hide.xpm
-share/pixmaps/gq/new.xpm
-share/pixmaps/gq/textview.png
-share/pixmaps/gq/warning.xpm
-share/icons/hicolor/16x16/apps/ldap-group.png
-share/icons/hicolor/16x16/apps/ldap-organization.png
-share/icons/hicolor/16x16/apps/ldap-person.png
-share/locale/cs/LC_MESSAGES/gq.mo
-share/locale/de/LC_MESSAGES/gq.mo
-share/locale/ja/LC_MESSAGES/gq.mo
-share/locale/zh_CN/LC_MESSAGES/gq.mo