remove gq; it's dead upstream, unmaintained and stands in the way of removing

the arcane gnome-doc-utils

ok aja@
This commit is contained in:
jasper 2020-06-09 18:42:59 +00:00
parent 58ec9d8d05
commit bc4d5f83bf
19 changed files with 1 additions and 364 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.397 2020/06/01 20:54:46 sthen Exp $
# $OpenBSD: Makefile,v 1.398 2020/06/09 18:42:59 jasper Exp $
SUBDIR =
SUBDIR += architect
@ -9,7 +9,6 @@
SUBDIR += freetds
SUBDIR += gdbm
SUBDIR += gnats
SUBDIR += gq
SUBDIR += influxdb
SUBDIR += iodbc
SUBDIR += jxplorer

View File

@ -1,43 +0,0 @@
# $OpenBSD: Makefile,v 1.64 2019/07/12 20:43:52 sthen Exp $
COMMENT= GTK-based LDAP client
DISTNAME= gq-1.3.4
REVISION= 15
CATEGORIES= databases sysutils
HOMEPAGE= http://sourceforge.net/projects/gqclient/
# GPLv2
PERMIT_PACKAGE= Yes
WANTLIB = X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender atk-1.0 c cairo crypto fontconfig freetype gcrypt
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0 glib-2.0
WANTLIB += gnome-keyring gobject-2.0 gpg-error gtk-x11-2.0 iconv intl
WANTLIB += lber ldap m pango-1.0 pangocairo-1.0 pangoft2-1.0 pthread ssl
WANTLIB += xml2 z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gqclient/}
MODULES= textproc/intltool \
x11/gnome
LIB_DEPENDS= databases/openldap \
devel/libglade2 \
x11/gnome/libgnome-keyring
MODGNOME_TOOLS += desktop-file-utils gtk-update-icon-cache shared-mime-info yelp
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-browser-dnd
# GNU libiconv provides libiconv_open() which is mapped to iconv_open()
# by <iconv.h>, so a simple link check fails. Rather than regenerating
# configure with iconv.m4, just override the test.
CONFIGURE_ENV+= ac_cv_lib_iconv_iconv_open=yes
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (gq-1.3.4.tar.gz) = Ksd/MjPdrvcY+JyTcatRZa8pz5c47Ua2vqZLN+RdS2A=
SIZE (gq-1.3.4.tar.gz) = 557801

View File

@ -1,23 +0,0 @@
$OpenBSD: patch-configure,v 1.4 2017/12/26 17:20:53 jca Exp $
Index: configure
--- configure.orig
+++ configure
@@ -6438,7 +6438,7 @@ if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lssl $LIBS"
+LIBS="-lssl -lcrypto $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -6494,7 +6494,7 @@ fi
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6; }
if test $ac_cv_lib_ssl_SSL_new = yes; then
- LIBS="-lssl $LIBS"
+ LIBS="-lssl -lcrypto $LIBS"
fi

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-data_gq_desktop_in,v 1.1 2012/03/29 12:43:21 ajacoutot Exp $
--- data/gq.desktop.in.orig Thu Mar 29 14:32:30 2012
+++ data/gq.desktop.in Thu Mar 29 14:32:54 2012
@@ -8,6 +8,6 @@ Exec=gq
StartupNotify=true
Terminal=false
Type=Application
-Icon=gq
-Categories=Application;Network;GNOME;GTK;LDAP;
+Icon=gtk-network
+Categories=GTK;Network;System;
#MimeType=text/x-ldif

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-src_glib-helpers_c,v 1.1 2012/03/29 12:43:21 ajacoutot Exp $
#error "Only <glib.h> can be included directly."
--- src/glib-helpers.c.orig Wed Jan 9 17:35:12 2008
+++ src/glib-helpers.c Thu Mar 29 14:00:06 2012
@@ -23,8 +23,7 @@
#include "glib-helpers.h"
-#include <glib/gmessages.h>
-#include <glib/gunicode.h>
+#include <glib.h>
GList*
g_list_copy_reversed(GList* list) {

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_glib-helpers_h,v 1.1 2012/03/29 12:43:21 ajacoutot Exp $
#error "Only <glib.h> can be included directly."
--- src/glib-helpers.h.orig Wed Jan 9 17:35:12 2008
+++ src/glib-helpers.h Thu Mar 29 14:00:06 2012
@@ -24,7 +24,7 @@
#ifndef GLIB_HELPERS_H
#define GLIB_HELPERS_H
-#include <glib/glist.h>
+#include <glib.h>
G_BEGIN_DECLS

View File

@ -1,61 +0,0 @@
$OpenBSD: patch-src_gq-hash-openssl_c,v 1.1 2014/04/15 14:04:14 naddy Exp $
--- src/gq-hash-openssl.c.orig Wed Jan 9 15:55:46 2008
+++ src/gq-hash-openssl.c Tue Apr 15 14:51:09 2014
@@ -60,7 +60,7 @@ gq_hash_crypt(gchar const *data, gsize len)
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, des_cblock *ke
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 len)
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 len)
}
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();

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_gq-hash_h,v 1.1 2012/03/29 12:43:21 ajacoutot Exp $
#error "Only <glib.h> can be included directly."
--- src/gq-hash.h.orig Wed Jan 9 17:35:12 2008
+++ src/gq-hash.h Thu Mar 29 14:00:06 2012
@@ -24,7 +24,7 @@
#ifndef GQ_ENCRYPTION_H
#define GQ_ENCRYPTION_H
-#include <glib/garray.h>
+#include <glib.h>
#include "gq-utilities.h"
G_BEGIN_DECLS

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_gq-main-loop_h,v 1.1 2012/03/29 12:43:21 ajacoutot Exp $
#error "Only <glib.h> can be included directly."
--- src/gq-main-loop.h.orig Wed Jan 9 17:35:12 2008
+++ src/gq-main-loop.h Thu Mar 29 14:00:06 2012
@@ -24,7 +24,7 @@
#ifndef GQ_MAIN_LOOP_H
#define GQ_MAIN_LOOP_H
-#include <glib/gtypes.h>
+#include <glib.h>
G_BEGIN_DECLS

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_gq-server_c,v 1.1 2012/03/29 12:43:21 ajacoutot Exp $
error: 'bindpw' undeclared (first use in this function)
--- src/gq-server.c.orig Wed Jan 9 17:35:12 2008
+++ src/gq-server.c Thu Mar 29 14:06:28 2012
@@ -281,7 +281,7 @@ do_ldap_auth(LDAP * ld,
switch(gq_server_get_bind_type(server)) {
case GQ_BIND_KERBEROS:
#ifdef HAVE_KERBEROS
- rc = ldap_bind_s(ld, bind_dn, bindpw, LDAP_AUTH_KRBV4);
+ rc = ldap_bind_s(ld, bind_dn, bind_pw, LDAP_AUTH_KRBV4);
#else
error_push(open_context,
_("Cannot use Kerberos bind with '%s'.\n"

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-src_gq-stack_c,v 1.1 2012/03/29 12:43:21 ajacoutot Exp $
#error "Only <glib.h> can be included directly."
--- src/gq-stack.c.orig Wed Jan 9 17:35:12 2008
+++ src/gq-stack.c Thu Mar 29 14:00:06 2012
@@ -23,9 +23,7 @@
#include "gq-stack.h"
-#include <glib/gmem.h>
-#include <glib/gmessages.h>
-#include <glib/glist.h>
+#include <glib.h>
#undef DEBUG_STACK

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_gq-stack_h,v 1.1 2012/03/29 12:43:21 ajacoutot Exp $
#error "Only <glib.h> can be included directly."
--- src/gq-stack.h.orig Wed Jan 9 17:35:12 2008
+++ src/gq-stack.h Thu Mar 29 14:00:06 2012
@@ -24,7 +24,7 @@
#ifndef GQ_STACK_H
#define GQ_STACK_H
-#include <glib/gtypes.h>
+#include <glib.h>
G_BEGIN_DECLS

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-src_gq-tab-schema_c,v 1.1 2017/05/02 22:58:49 espie Exp $
This is a void function, can't return anything.
Index: src/gq-tab-schema.c
--- src/gq-tab-schema.c.orig
+++ 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

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_gq-tab_h,v 1.1 2012/03/29 12:43:21 ajacoutot Exp $
#error "Only <glib.h> can be included directly."
--- src/gq-tab.h.orig Wed Jan 9 17:35:12 2008
+++ src/gq-tab.h Thu Mar 29 14:00:06 2012
@@ -24,7 +24,7 @@
#ifndef GQ_TAB_H
#define GQ_TAB_H
-#include <glib/gmacros.h>
+#include <glib.h>
G_BEGIN_DECLS

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-src_state_c,v 1.4 2012/03/29 12:43:22 ajacoutot Exp $
#error "Only <glib.h> can be included directly."
--- src/state.c.orig Wed Jan 9 17:35:12 2008
+++ src/state.c Thu Mar 29 14:00:06 2012
@@ -35,8 +35,8 @@
#include <fcntl.h>
#include <errno.h>
+#include <glib.h>
#include <glib/gi18n.h>
-#include <glib/gmessages.h>
#include <gtk/gtk.h>
#include "configfile.h"

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_syntax_h,v 1.1 2012/03/29 12:43:22 ajacoutot Exp $
#error "Only <glib.h> can be included directly."
--- src/syntax.h.orig Wed Jan 9 17:35:13 2008
+++ src/syntax.h Thu Mar 29 14:00:06 2012
@@ -27,7 +27,7 @@
#ifndef GQ_SYNTAX_H_INCLUDED
#define GQ_SYNTAX_H_INCLUDED
-#include <glib/gmacros.h>
+#include <glib.h>
G_BEGIN_DECLS

View File

@ -1,15 +0,0 @@
GQ is a GTK-based LDAP client.
Features include:
* LDAP browser
* LDAP V3 Schema browser
* Template builder
* Export subtree or whole server to LDIF
* Use any number of servers
* Search based on single argument or LDAP filter
* Edit and delete entries
* Add entries using an existing entry, or based on your own template
* Supports LDAP syntaxes and special attributes by presenting them in a custom
way. Currently there are custom "displaytypes" for jpegPhoto, userPassword
and X509 certificates and CRLs.

View File

@ -1,38 +0,0 @@
@comment $OpenBSD: PLIST,v 1.17 2018/07/01 18:33:35 espie Exp $
@bin bin/gq
share/applications/gq.desktop
share/gnome/
share/gnome/help/
share/gnome/help/gq-manual/
share/gnome/help/gq-manual/C/
share/gnome/help/gq-manual/C/gq-manual.xml
share/gnome/help/gq-manual/C/legal.xml
share/gnome/help/gq-manual/de/
share/gnome/help/gq-manual/de/gq-manual.xml
share/gnome/help/gq-manual/de/legal.xml
share/gq/
share/gq/gq.glade
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
share/mime/packages/gq-ldif.xml
share/omf/
share/omf/gq-manual/
share/omf/gq-manual/gq-manual-C.omf
share/omf/gq-manual/gq-manual-de.omf
share/pixmaps/
share/pixmaps/gq/
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
@tag gtk-update-icon-cache %D/share/icons/hicolor
@tag update-mime-database
@tag update-desktop-database