pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysqlcc MySQL Control Center (also known as ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/547cfca90f46
branches:  trunk
changeset: 465103:547cfca90f46
user:      martti <martti%pkgsrc.org@localhost>
date:      Sun Dec 21 07:58:30 2003 +0000

description:
MySQL Control Center (also known as MySQLCC) is a platform-independent GUI
administration client for the MySQL database server.

diffstat:

 databases/mysqlcc/DESCR            |   2 +
 databases/mysqlcc/Makefile         |  35 ++++++++++++++++++++++++++++++
 databases/mysqlcc/PLIST            |   2 +
 databases/mysqlcc/distinfo         |   7 ++++++
 databases/mysqlcc/patches/patch-aa |  44 ++++++++++++++++++++++++++++++++++++++
 databases/mysqlcc/patches/patch-ab |   8 ++++++
 databases/mysqlcc/patches/patch-ac |   9 +++++++
 7 files changed, 107 insertions(+), 0 deletions(-)

diffs (135 lines):

diff -r 8fc35eebf418 -r 547cfca90f46 databases/mysqlcc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysqlcc/DESCR   Sun Dec 21 07:58:30 2003 +0000
@@ -0,0 +1,2 @@
+MySQL Control Center (also known as MySQLCC) is a platform-independent GUI
+administration client for the MySQL database server.
diff -r 8fc35eebf418 -r 547cfca90f46 databases/mysqlcc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysqlcc/Makefile        Sun Dec 21 07:58:30 2003 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/21 07:58:30 martti Exp $
+#
+
+DISTNAME=              mysqlcc-0.9.4-src
+PKGNAME=               ${DISTNAME:S/-src//}
+CATEGORIES=            databases
+MASTER_SITES=          http://mirrors.sunsite.dk/mysql/Downloads/MySQLCC/ \
+                       ftp://sunsite.dk/mirrors/mysql/Downloads/MySQLCC/  \
+                       ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQLCC/
+
+MAINTAINER=            dotz%irc.pl@localhost
+HOMEPAGE=              http://www.mysql.com/
+COMMENT=               MySQL Control Center
+
+USE_BUILDLINK2=                YES
+USE_PKGLOCALEDIR=      YES
+GNU_CONFIGURE=         YES
+CONFIGURE_ARGS+=       --with-mysql-lib=${PREFIX}/lib/mysql
+CONFIGURE_ARGS+=       --with-mysql-include=${PREFIX}/include/mysql/
+CONFIGURE_ARGS+=       --with-openssl-includes=${SSLBASE}/include
+CONFIGURE_ARGS+=       --with-openssl-libs=${SSLBASE}/lib
+CONFIGURE_ENV+=                QMAKESPEC="${QTDIR}/mkspecs/netbsd-g++"
+
+pre-configure:
+       cd ${WRKSRC} && ${ACLOCAL} && ${AUTOCONF}
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/mysqlcc ${PREFIX}/bin/
+       
+.include "../../mk/autoconf.mk"
+.include "../../mk/automake.mk"
+.include "../../databases/mysql4-client/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+.include "../../x11/qt3-tools/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8fc35eebf418 -r 547cfca90f46 databases/mysqlcc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysqlcc/PLIST   Sun Dec 21 07:58:30 2003 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/21 07:58:30 martti Exp $
+bin/mysqlcc
diff -r 8fc35eebf418 -r 547cfca90f46 databases/mysqlcc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysqlcc/distinfo        Sun Dec 21 07:58:30 2003 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/21 07:58:30 martti Exp $
+
+SHA1 (mysqlcc-0.9.4-src.tar.gz) = 690a9a8f4ad6bdf33673e92d1016b0e4b8cea030
+Size (mysqlcc-0.9.4-src.tar.gz) = 747244 bytes
+SHA1 (patch-aa) = fbb012582b1df2a34572332dc6e682377101d605
+SHA1 (patch-ab) = 9b2540c2eee1d0665a83da360d75bd488510a84b
+SHA1 (patch-ac) = 5978ef78fa5d941370ae779de259757f1e50c9a8
diff -r 8fc35eebf418 -r 547cfca90f46 databases/mysqlcc/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysqlcc/patches/patch-aa        Sun Dec 21 07:58:30 2003 +0000
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/21 07:58:31 martti Exp $
+
+--- acinclude.m4.orig  2003-12-13 23:10:43.000000000 +0000
++++ acinclude.m4       2003-12-20 18:24:25.000000000 +0000
+@@ -1 +1,39 @@
++AC_DEFUN(AC_LIB_OPENSSL, [
++    AC_ARG_WITH(openssl-lib,
++    [  --with-openssl-lib=DIR    Look for OpenSSL client library in DIR],
++    openssl_lib=$withval, openssl_lib="")
++
++        AC_MSG_CHECKING([for libssl])
++        AC_MSG_RESULT()
++
++        ssl_ok=no
++
++        SAVE_LIBS=$LIBS
++    
++        ssl_lib="$openssl_lib /usr/lib  \
++                   /usr/local/lib"
++    
++        for dir in $ssl_lib; do
++            if test "x$ssl_found" != "xyes"
++            then
++                AC_CHECK_FILE("$dir/libssl.a",
++                              ssl_found=yes, ssl_found=no)
++                if test "x$ssl_found" = "xyes"
++                then
++                    LIBS="$SAVE_LIBS -L$dir -lcrypto -lssl"
++                    OPENSSL_LIB="$dir/libssl.a $dir/libcrypto.a"
++                    AC_SUBST(OPENSSL_LIB)
++                    AC_CHECK_LIB(ssl, SSL_library_init,
++                                 ssl_ok=yes, ssl_ok=no)
++                  
++                fi
++            fi
++        done
++
++        if test "x$ssl_ok" != "xyes"
++        then
++            AC_MSG_ERROR([Could not find libssl in '$ssl_lib'])
++        fi
++])
++
+ AC_DEFUN(AC_LIB_MYSQL, [
diff -r 8fc35eebf418 -r 547cfca90f46 databases/mysqlcc/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysqlcc/patches/patch-ab        Sun Dec 21 07:58:30 2003 +0000
@@ -0,0 +1,8 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/12/21 07:58:31 martti Exp $
+
+--- configure.in.orig  2003-12-13 23:10:43.000000000 +0000
++++ configure.in       2003-12-20 18:24:25.000000000 +0000
+@@ -5,2 +5,3 @@
+ AC_LIB_Z
++AC_LIB_OPENSSL
+ AC_LIB_MYSQL
diff -r 8fc35eebf418 -r 547cfca90f46 databases/mysqlcc/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysqlcc/patches/patch-ac        Sun Dec 21 07:58:30 2003 +0000
@@ -0,0 +1,9 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/12/21 07:58:31 martti Exp $
+
+--- mysqlcc.pro.in.orig        2003-12-13 23:10:43.000000000 +0000
++++ mysqlcc.pro.in     2003-12-20 18:24:25.000000000 +0000
+@@ -29,3 +29,3 @@
+ unix {
+-      LIBS        += @MYSQL_LIB@ 
++      LIBS        += @MYSQL_LIB@ @OPENSSL_LIB@
+       INCLUDEPATH += @MYSQL_INCLUDE@



Home | Main Index | Thread Index | Old Index