summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1999-08-05 17:20:11 +0000
committerbad <bad@pkgsrc.org>1999-08-05 17:20:11 +0000
commitdf411b8a88d1fd0f2e5986be31b21febf1d68817 (patch)
tree5aac6858f139ecf959f80e64bd88dba982485d74 /databases
parentcbcc447c3e0c1d5c5c8d7f128fdfdb11368d5d3a (diff)
downloadpkgsrc-df411b8a88d1fd0f2e5986be31b21febf1d68817.tar.gz
Initial import of xmysqladmin-1.0, a graphical front end for administering
MySQL databases.
Diffstat (limited to 'databases')
-rw-r--r--databases/xmysqladmin/Makefile19
-rw-r--r--databases/xmysqladmin/files/md53
-rw-r--r--databases/xmysqladmin/files/patch-sum3
-rw-r--r--databases/xmysqladmin/patches/patch-aa126
-rw-r--r--databases/xmysqladmin/pkg/COMMENT1
-rw-r--r--databases/xmysqladmin/pkg/DESCR4
-rw-r--r--databases/xmysqladmin/pkg/PLIST4
7 files changed, 160 insertions, 0 deletions
diff --git a/databases/xmysqladmin/Makefile b/databases/xmysqladmin/Makefile
new file mode 100644
index 00000000000..eb441bbd578
--- /dev/null
+++ b/databases/xmysqladmin/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/08/05 17:20:11 bad Exp $
+#
+
+DISTNAME= xmysqladmin-1.0
+CATEGORIES= databases x11
+MASTER_SITES= http://www.mysql.com/Contrib/
+
+MAINTAINER= bad@netbsd.org
+HOMEPAGE= http://www.mysql.com/
+
+DEPENDS= mysql-client-3.22.22:../../databases/mysql-client
+DEPENDS+= xforms-0.88:../../x11/xforms
+DEPENDS+= xpm-3.4k:../../graphics/xpm
+
+USE_X11= yes
+
+ALL_TARGET= xmysqladmin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/xmysqladmin/files/md5 b/databases/xmysqladmin/files/md5
new file mode 100644
index 00000000000..dc0ee8ce363
--- /dev/null
+++ b/databases/xmysqladmin/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/08/05 17:20:11 bad Exp $
+
+MD5 (xmysqladmin-1.0.tar.gz) = d02b7e52d034f2f41b6f43ced3cb8e21
diff --git a/databases/xmysqladmin/files/patch-sum b/databases/xmysqladmin/files/patch-sum
new file mode 100644
index 00000000000..27534b4fdf9
--- /dev/null
+++ b/databases/xmysqladmin/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/08/05 17:20:11 bad Exp $
+
+MD5 (patch-aa) = 92eaa4e6723f0ecaf1afd7ca54a3933c
diff --git a/databases/xmysqladmin/patches/patch-aa b/databases/xmysqladmin/patches/patch-aa
new file mode 100644
index 00000000000..6eb94548479
--- /dev/null
+++ b/databases/xmysqladmin/patches/patch-aa
@@ -0,0 +1,126 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/08/05 17:20:11 bad Exp $
+
+--- Makefile.orig Mon Dec 7 12:52:39 1998
++++ Makefile Thu Aug 5 19:08:30 1999
+@@ -34,7 +34,7 @@
+ # This is used by 'make install' command
+ #-------------------------------------------------------
+ #INSTALLPATH = /opt/local/i386/bin
+-INSTALLPATH = /usr/local/bin
++INSTALLPATH = ${PREFIX}/bin
+ ########################################################
+
+
+@@ -45,7 +45,7 @@
+ # pixmap file location (mysql.xpm)
+ #-------------------------------------------------------
+ #PIXMAPPATH = /opt/local/lib
+-PIXMAPPATH = /usr/local/bin
++PIXMAPPATH = ${PREFIX}/share/xmysqladmin
+ ########################################################
+
+
+@@ -69,7 +69,7 @@
+ ########################################################
+ #backup dir
+ #-------------------------------------------------------
+-BACKUPDIR = /tmp
++BACKUPDIR = /var/tmp
+ ########################################################
+
+
+@@ -80,12 +80,12 @@
+ # Compilation Details
+ # hum... I think you dont need to change this
+ #-------------------------------------------------------
+-CC = gcc
++CC = cc
+ STDCFLAGS = -g -c -O2 -Wall -DPIXMAPFILE=\"$(PIXMAPPATH)/mysql.xpm\" \
+ -DBACKUP=\"$(BACKUP)\" -DBACKUPDIR=\"$(BACKUPDIR)\" \
+ -DBACKUPSUFFIX=\"$(BACKUPSUFFIX)\" \
+ -DMYSQL_VERSION=$(MYSQL_VERSION)
+-STDLFLAGS =
++STDLFLAGS = ${LDFLAGS}
+ ########################################################
+
+
+@@ -95,7 +95,7 @@
+ ########################################################
+ # mysql include dir
+ #-------------------------------------------------------
+-MYSQLINC = -I/usr/local/mysql/include/mysql
++MYSQLINC = -I${LOCALBASE}/include/mysql
+ ########################################################
+
+
+@@ -107,7 +107,7 @@
+ # mysql database dir
+ #-------------------------------------------------------
+ #MYSQLDBDIR = -DMYSQLDBDIR="\"/var/lib/mysql/\""
+-MYSQLDBDIR = -DMYSQLDBDIR="\"/usr/local/mysql/var/\""
++MYSQLDBDIR = -DMYSQLDBDIR="\"/var/mysql/\""
+ ########################################################
+
+
+@@ -118,7 +118,7 @@
+ ########################################################
+ # 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 +129,7 @@
+ # xforms librairies dir
+ #-------------------------------------------------------
+ #XFORMLIBDIR = -L/opt/local/i386/lib
+-XFORMLIBDIR = -L/usr/lib
++XFORMLIBDIR =
+ ########################################################
+
+
+@@ -141,7 +141,7 @@
+ # xforms include dir (xforms.h)
+ #-------------------------------------------------------
+ #XFORMINCDIR = -I/opt/local/include
+-XFORMINCDIR = -I/usr/X11R6/include
++XFORMINCDIR = -I${X11BASE}/include -I${X11BASE}/include/X11
+ ########################################################
+
+
+@@ -157,7 +157,7 @@
+
+ # Use this for Linux:
+ XINC =
+-XLOAD = -L/usr/X11R6/lib -lX11 /usr/X11R6/lib/libXpm.so.4
++XLOAD = -lX11 -lXpm
+ ########################################################
+
+
+@@ -211,12 +211,11 @@
+ ccomkey.o \
+ alterTable.o \
+ browseTable.o
+-
++
+ ${PROGRAM}: $(OBJS)
+ $(CC) -o ${PROGRAM} $(OBJS) $(MYSQLINC) $(XFORMINCDIR) \
+ $(XINC) $(STDLFLAGS) $(MYSQLLOAD) \
+ $(XLOAD) $(XFORMLIBDIR) -lforms $(LIBS)
+- ./$(PROGRAM)
+
+ .c.o:
+ $(CC) $*.c $(STDCFLAGS) $(XFORMINCDIR) $(MYSQLINC) $(MYSQLDBDIR) $(XINC)
+@@ -226,8 +225,9 @@
+
+ install:
+ strip $(PROGRAM)
+- $(INSTALL) -m 711 $(PROGRAM) $(INSTALLPATH)
+- cp mysql.xpm $(PIXMAPPATH)
++ ${BSD_INSTALL_PROGRAM} $(PROGRAM) $(INSTALLPATH)
++ ${BSD_INSTALL_DATA_DIR} $(PIXMAPPATH)
++ ${BSD_INSTALL_DATA} mysql.xpm $(PIXMAPPATH)
+
+ version:
+ rm -f $(PROGRAM) $(OBJS) *.bak
diff --git a/databases/xmysqladmin/pkg/COMMENT b/databases/xmysqladmin/pkg/COMMENT
new file mode 100644
index 00000000000..72e44472ced
--- /dev/null
+++ b/databases/xmysqladmin/pkg/COMMENT
@@ -0,0 +1 @@
+a graphical front end for administering MySQL databases
diff --git a/databases/xmysqladmin/pkg/DESCR b/databases/xmysqladmin/pkg/DESCR
new file mode 100644
index 00000000000..b4bf6214860
--- /dev/null
+++ b/databases/xmysqladmin/pkg/DESCR
@@ -0,0 +1,4 @@
+xMySQLadmin is a front end to the MySQL database engine.
+It allows reloads, refresh, status check, process control, isamcheck,
+grant/revoke privileges, creating databases, drop databases, create,
+alter, drop, and browse tables.
diff --git a/databases/xmysqladmin/pkg/PLIST b/databases/xmysqladmin/pkg/PLIST
new file mode 100644
index 00000000000..c68e744c2ab
--- /dev/null
+++ b/databases/xmysqladmin/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/08/05 17:20:11 bad Exp $
+bin/xmysqladmin
+share/xmysqladmin/mysql.xpm
+share/xmysqladmin