remove xmysqladmin, broken since 2003 as it failed to catch up with the new

mysql api. as upstream abondoned it, it's unlikely to ever catch up.
besides, there are enough other applications to administer mysql with a gui.

landry@ agreed, although he formulated it oddly
This commit is contained in:
jasper 2009-11-01 22:58:51 +00:00
parent 6a5b7eafd2
commit 6028e097fa
6 changed files with 1 additions and 156 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.168 2009/09/29 08:34:18 kevlo Exp $
# $OpenBSD: Makefile,v 1.169 2009/11/01 22:58:51 jasper Exp $
# $FreeBSD: Makefile,v 1.24 1997/10/04 23:32:05 andreas Exp $
#
SUBDIR += architect
@ -165,6 +165,5 @@
SUBDIR += tdb
SUBDIR += xapian-core
SUBDIR += xmysql
SUBDIR += xmysqladmin
.include <bsd.port.subdir.mk>

View File

@ -1,31 +0,0 @@
# $OpenBSD: Makefile,v 1.22 2007/09/15 20:34:03 simon Exp $
# $FreeBSD: ports/databases/xmysqladmin/Makefile,v 1.25 1999/11/23 02:59:09 billf Exp $
BROKEN= uses old MySQL API
COMMENT= X11 front end to the mysqladmin command
DISTNAME= xmysqladmin-1.0
CATEGORIES= databases
# public domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.tcx.se/Contrib/ \
http://www.buoy.com/mysql/Contrib/ \
http://web.tryc.on.ca/mysql/Downloads/Contrib/
LIB_DEPENDS= forms::x11/xforms \
lib/mysql/mysqlclient.>=10::databases/mysql \
jpeg.>=62::graphics/jpeg
USE_X11= Yes
ALL_TARGET= xmysqladmin
NO_REGRESS= Yes
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
MD5 (xmysqladmin-1.0.tar.gz) = 0Ct+UtA08vQbb0PO08uOIQ==
RMD160 (xmysqladmin-1.0.tar.gz) = 41L8pS/EXv/3Q40Z+zjCfQIQHk0=
SHA1 (xmysqladmin-1.0.tar.gz) = YGl1aP71HCNhp6MSYssWkcJcPUY=
SHA256 (xmysqladmin-1.0.tar.gz) = Hn/vKU7t9eqxgFUmameyiz2uPn4HTG3HuVEXEyU+MJ0=
SIZE (xmysqladmin-1.0.tar.gz) = 65673

View File

@ -1,107 +0,0 @@
$OpenBSD: patch-Makefile,v 1.4 2002/07/19 18:42:49 pvalchev Exp $
--- Makefile.orig Mon Dec 7 04:52:39 1998
+++ Makefile Fri Jul 19 12:17:04 2002
@@ -34,7 +34,7 @@ INSTALL = install
# This is used by 'make install' command
#-------------------------------------------------------
#INSTALLPATH = /opt/local/i386/bin
-INSTALLPATH = /usr/local/bin
+INSTALLPATH = ${PREFIX}/bin
########################################################
@@ -45,7 +45,7 @@ INSTALLPATH = /usr/local/bin
# pixmap file location (mysql.xpm)
#-------------------------------------------------------
#PIXMAPPATH = /opt/local/lib
-PIXMAPPATH = /usr/local/bin
+PIXMAPPATH = ${PREFIX}/include/X11/pixmaps
########################################################
@@ -80,8 +80,7 @@ BACKUPDIR = /tmp
# Compilation Details
# hum... I think you dont need to change this
#-------------------------------------------------------
-CC = gcc
-STDCFLAGS = -g -c -O2 -Wall -DPIXMAPFILE=\"$(PIXMAPPATH)/mysql.xpm\" \
+STDCFLAGS = $(CFLAGS) -c -DPIXMAPFILE=\"$(PIXMAPPATH)/mysql.xpm\" \
-DBACKUP=\"$(BACKUP)\" -DBACKUPDIR=\"$(BACKUPDIR)\" \
-DBACKUPSUFFIX=\"$(BACKUPSUFFIX)\" \
-DMYSQL_VERSION=$(MYSQL_VERSION)
@@ -95,7 +94,7 @@ STDLFLAGS =
########################################################
# mysql include dir
#-------------------------------------------------------
-MYSQLINC = -I/usr/local/mysql/include/mysql
+MYSQLINC = -I${LOCALBASE}/include/mysql
########################################################
@@ -107,7 +106,7 @@ MYSQLINC = -I/usr/local/mysql/include/my
# mysql database dir
#-------------------------------------------------------
#MYSQLDBDIR = -DMYSQLDBDIR="\"/var/lib/mysql/\""
-MYSQLDBDIR = -DMYSQLDBDIR="\"/usr/local/mysql/var/\""
+MYSQLDBDIR = -DMYSQLDBDIR="\"/var/mysql/\""
########################################################
@@ -118,7 +117,7 @@ MYSQLDBDIR = -DMYSQLDBDIR="\"/usr/local/
########################################################
# mysql library dir
#-------------------------------------------------------
-MYSQLLOAD = -Wl,-R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient
+MYSQLLOAD = -Wl,-R${LOCALBASE}/lib/mysql -L${LOCALBASE}/lib/mysql -lmysqlclient
########################################################
@@ -129,7 +128,7 @@ MYSQLLOAD = -Wl,-R/usr/local/mysql/lib/m
# xforms librairies dir
#-------------------------------------------------------
#XFORMLIBDIR = -L/opt/local/i386/lib
-XFORMLIBDIR = -L/usr/lib
+XFORMLIBDIR = -L${LOCALBASE}/lib
########################################################
@@ -141,7 +140,7 @@ XFORMLIBDIR = -L/usr/lib
# xforms include dir (xforms.h)
#-------------------------------------------------------
#XFORMINCDIR = -I/opt/local/include
-XFORMINCDIR = -I/usr/X11R6/include
+XFORMINCDIR = -I${LOCALBASE}/include/X11
########################################################
@@ -156,8 +155,8 @@ XFORMINCDIR = -I/usr/X11R6/include
#XLOAD = -L/usr/openwin/lib -lX11
# Use this for Linux:
-XINC =
-XLOAD = -L/usr/X11R6/lib -lX11 /usr/X11R6/lib/libXpm.so.4
+XINC = -I${X11BASE}/include
+XLOAD = -L${X11BASE}/lib -lX11 -lGL -lXext
########################################################
@@ -215,8 +214,7 @@ OBJS = xmysqladmin.o \
${PROGRAM}: $(OBJS)
$(CC) -o ${PROGRAM} $(OBJS) $(MYSQLINC) $(XFORMINCDIR) \
$(XINC) $(STDLFLAGS) $(MYSQLLOAD) \
- $(XLOAD) $(XFORMLIBDIR) -lforms $(LIBS)
- ./$(PROGRAM)
+ $(XLOAD) $(XFORMLIBDIR) -lforms -lXpm -ljpeg $(LIBS)
.c.o:
$(CC) $*.c $(STDCFLAGS) $(XFORMINCDIR) $(MYSQLINC) $(MYSQLDBDIR) $(XINC)
@@ -226,7 +224,8 @@ clean:
install:
strip $(PROGRAM)
- $(INSTALL) -m 711 $(PROGRAM) $(INSTALLPATH)
+ $(INSTALL) -m ${BINMODE} $(PROGRAM) $(INSTALLPATH)
+ mkdir -p $(PIXMAPPATH)
cp mysql.xpm $(PIXMAPPATH)
version:

View File

@ -1,8 +0,0 @@
XmysqlAdmin is a front end to the MySQL database engine.
It allows reloads, status check, process control, isamcheck
and grant/revoke privileges.
Gilbert Therrien
gilbert@ican.net
PS: You can write to me in french or english.

View File

@ -1,3 +0,0 @@
@comment $OpenBSD: PLIST,v 1.2 2002/04/07 01:54:48 naddy Exp $
bin/xmysqladmin
include/X11/pixmaps/mysql.xpm