diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-12-29 10:10:38 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-12-29 10:10:38 +0000 |
commit | c34b91b26eca5e004dc5379b9f7383c9d58d6041 (patch) | |
tree | 7817335c92961eba2cf80a4345e06d5ee1cecc1c | |
parent | adding docs (diff) | |
download | gentoo-2-c34b91b26eca5e004dc5379b9f7383c9d58d6041.tar.gz gentoo-2-c34b91b26eca5e004dc5379b9f7383c9d58d6041.tar.bz2 gentoo-2-c34b91b26eca5e004dc5379b9f7383c9d58d6041.zip |
cleanup
-rw-r--r-- | dev-db/mysqlcc/Manifest | 8 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/digest-mysqlcc-0.8.7-r1 | 1 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/digest-mysqlcc-0.9.2 | 1 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/mysqlcc-0.8.7-configperms.patch | 51 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/mysqlcc-0.8.7-qmakespec.patch | 17 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/mysqlcc-0.9.2-libmysqlclientac.patch | 46 | ||||
-rw-r--r-- | dev-db/mysqlcc/files/mysqlcc-0.9.2-qmakespec.patch | 17 | ||||
-rw-r--r-- | dev-db/mysqlcc/mysqlcc-0.8.7-r1.ebuild | 58 | ||||
-rw-r--r-- | dev-db/mysqlcc/mysqlcc-0.9.2.ebuild | 63 |
9 files changed, 0 insertions, 262 deletions
diff --git a/dev-db/mysqlcc/Manifest b/dev-db/mysqlcc/Manifest index 8b074f843312..797234f705e0 100644 --- a/dev-db/mysqlcc/Manifest +++ b/dev-db/mysqlcc/Manifest @@ -1,16 +1,8 @@ MD5 554abb51290b02b4d7a4e32b05b730fe ChangeLog 3625 MD5 1b6808bbd78c9161f8b7efb090d966f8 metadata.xml 162 -MD5 9f313aea593f1e6c58f116c2e86fb510 mysqlcc-0.8.7-r1.ebuild 1658 -MD5 d8717cdcfc4f917a46e3817e810168ee mysqlcc-0.9.2.ebuild 1757 MD5 5a0468d9c79896eb8559ef5bb9cfeb33 mysqlcc-0.9.3.ebuild 1697 MD5 15e16c216e09b290f210649945ff35e2 mysqlcc-0.9.4.ebuild 1713 -MD5 efaa2abbdf5d66f7120aabe7c54e8c8b files/digest-mysqlcc-0.8.7-r1 69 -MD5 3cc836a398f018fc7036b02ea4cd75bd files/digest-mysqlcc-0.9.2 69 MD5 5e526165be4127bf54ef503255d56f16 files/digest-mysqlcc-0.9.3 69 -MD5 3aa1172b8ac4eb92a287388702fd0156 files/mysqlcc-0.8.7-configperms.patch 1412 -MD5 e48e1ab6620b5a1832372ff3da78ea86 files/mysqlcc-0.8.7-qmakespec.patch 631 -MD5 397bed4d44baa6b402b5d58c33bde803 files/mysqlcc-0.9.2-libmysqlclientac.patch 1556 -MD5 e48e1ab6620b5a1832372ff3da78ea86 files/mysqlcc-0.9.2-qmakespec.patch 631 MD5 397bed4d44baa6b402b5d58c33bde803 files/mysqlcc-0.9.3-libmysqlclientac.patch 1556 MD5 9a87cc1a1583e9c362223e05accc456a files/digest-mysqlcc-0.9.4 69 MD5 397bed4d44baa6b402b5d58c33bde803 files/mysqlcc-0.9.4-libmysqlclientac.patch 1556 diff --git a/dev-db/mysqlcc/files/digest-mysqlcc-0.8.7-r1 b/dev-db/mysqlcc/files/digest-mysqlcc-0.8.7-r1 deleted file mode 100644 index 1ae841bca8d1..000000000000 --- a/dev-db/mysqlcc/files/digest-mysqlcc-0.8.7-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 f6069be95adbf5049e9088610eed8c2e mysqlcc-0.8.7-src.tar.gz 404997 diff --git a/dev-db/mysqlcc/files/digest-mysqlcc-0.9.2 b/dev-db/mysqlcc/files/digest-mysqlcc-0.9.2 deleted file mode 100644 index e5191d9eb84a..000000000000 --- a/dev-db/mysqlcc/files/digest-mysqlcc-0.9.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 812c762b91011f0d1c2d834ce05fd5c3 mysqlcc-0.9.2-src.tar.gz 650736 diff --git a/dev-db/mysqlcc/files/mysqlcc-0.8.7-configperms.patch b/dev-db/mysqlcc/files/mysqlcc-0.8.7-configperms.patch deleted file mode 100644 index c3f97aaa93b3..000000000000 --- a/dev-db/mysqlcc/files/mysqlcc-0.8.7-configperms.patch +++ /dev/null @@ -1,51 +0,0 @@ -# This is an attempt to backport the security fix for leaving config -# files and directories world-readable that was originally applied in -# 0.8.9. 0.8.7 seems to be the last version that will compile without -# MySQL 4. -# Robert Coie <rac@gentoo.org> 2003.03.09 - ---- src/CConfig.cpp.orig 2003-03-09 13:25:08.000000000 -0800 -+++ src/CConfig.cpp 2003-03-09 13:27:19.000000000 -0800 -@@ -20,6 +20,12 @@ - #include <qdir.h> - #include <qstringlist.h> - #include <qfile.h> -+ -+#ifndef WIN32 -+#include <sys/types.h> -+#include <sys/stat.h> -+#endif -+ - #include "globals.h" - #include "config.h" - -@@ -183,6 +189,14 @@ - for (QMap<QString, QString>::Iterator it = entries.begin(); it != entries.end(); ++it) - t_strm << it.key() << "\t=\t" << it.data() << "\r\n"; - f_strm.close(); -+#ifndef WIN32 -+ if (chmod(absoluteConfigFileName, S_IRUSR | S_IWUSR) != 0) -+ { -+#ifdef DEBUG -+ qDebug("CConfig::save() - Coudn't set mode 600 for" + absoluteConfigFileName); -+#endif -+ } -+#endif - return true; - } - else -@@ -312,6 +326,14 @@ - #ifdef DEBUG - qDebug("private static CConfig::createDirectory() - " + d + " was created successfully."); - #endif -+#ifndef WIN32 -+ if (chmod(d, S_IRUSR | S_IWUSR | S_IXUSR) != 0) -+ { -+#ifdef DEBUG -+ qDebug("private static CConfig::createDirectory() - Coudn't set mode 700 for" + d); -+#endif -+ } -+#endif - return true; - } - else diff --git a/dev-db/mysqlcc/files/mysqlcc-0.8.7-qmakespec.patch b/dev-db/mysqlcc/files/mysqlcc-0.8.7-qmakespec.patch deleted file mode 100644 index 0a80f4c62ea6..000000000000 --- a/dev-db/mysqlcc/files/mysqlcc-0.8.7-qmakespec.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- configure.in.orig 2003-03-04 13:13:05.000000000 -0800 -+++ configure.in 2003-03-04 13:13:53.000000000 -0800 -@@ -24,7 +24,13 @@ - AC_SUBST(MYSQLCC_HEADERS) - AC_SUBST(MYSQLCC_SOURCES) - AC_OUTPUT(mysqlcc.pro) --QMAKESPEC=$QTDIR/mkspecs/$host_os -+ -+# the following line is disabled so that we can specify QMAKESPEC from -+# the ebuild - otherwise on some systems it looks for 'linux-gcc', -+# rather than the correct 'linux-g++' -+# Robert Coie <rac@gentoo.org> 2003.03.04 -+#QMAKESPEC=$QTDIR/mkspecs/$host_os -+ - echo "Creating Makefile with qmake" - QMAKESPEC=$QMAKESPEC QTDIR=$QTDIR $QTDIR/bin/qmake mysqlcc.pro - if test ! $? = 0 ; then diff --git a/dev-db/mysqlcc/files/mysqlcc-0.9.2-libmysqlclientac.patch b/dev-db/mysqlcc/files/mysqlcc-0.9.2-libmysqlclientac.patch deleted file mode 100644 index f6db1a6a6bd1..000000000000 --- a/dev-db/mysqlcc/files/mysqlcc-0.9.2-libmysqlclientac.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- acinclude.m4.orig 2003-03-04 01:07:26.000000000 -0800 -+++ acinclude.m4 2003-03-04 12:46:35.000000000 -0800 -@@ -6,34 +6,15 @@ - AC_MSG_CHECKING([for libmysqlclient]) - AC_MSG_RESULT() - -- mysql_ok=no -- -- SAVE_LIBS=$LIBS -- -- mysql_lib="$mysql_lib /usr/lib /usr/lib/mysql \ -- /usr/local/lib /usr/local/lib/mysql \ -- /usr/local/mysql/lib" -- -- for dir in $mysql_lib; do -- if test "x$mysql_found" != "xyes" -- then -- AC_CHECK_FILE("$dir/libmysqlclient.a", -- mysql_found=yes, mysql_found=no) -- if test "x$mysql_found" = "xyes" -- then -- LIBS="-L$dir $SAVE_LIBS $LIBZ_LIB" -- MYSQL_LIB="$dir/libmysqlclient.a $LIBZ_LIB" -- AC_SUBST(MYSQL_LIB) -- AC_CHECK_LIB(mysqlclient, mysql_real_connect, -- mysql_ok=yes, mysql_ok=no) -- fi -- fi -- done -- -- if test "x$mysql_ok" != "xyes" -- then -- AC_MSG_ERROR([Could not find libmysqlclient in '$mysql_lib']) -- fi -+ # dependencies are guaranteed to ensure we have mysql_config -+ # available, and it is a much cleaner way of discovering what -+ # must be linked against libmysqlclient, that transparently -+ # covers USE="ssl" and other issues. -+ # Robert Coie <rac@gentoo.org> 2003.03.04 -+ -+ mysql_ok=yes -+ MYSQL_LIB=`mysql_config --libs` -+ LIBS="${LIBS} ${MYSQL_LIB}" - ]) - - diff --git a/dev-db/mysqlcc/files/mysqlcc-0.9.2-qmakespec.patch b/dev-db/mysqlcc/files/mysqlcc-0.9.2-qmakespec.patch deleted file mode 100644 index 0a80f4c62ea6..000000000000 --- a/dev-db/mysqlcc/files/mysqlcc-0.9.2-qmakespec.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- configure.in.orig 2003-03-04 13:13:05.000000000 -0800 -+++ configure.in 2003-03-04 13:13:53.000000000 -0800 -@@ -24,7 +24,13 @@ - AC_SUBST(MYSQLCC_HEADERS) - AC_SUBST(MYSQLCC_SOURCES) - AC_OUTPUT(mysqlcc.pro) --QMAKESPEC=$QTDIR/mkspecs/$host_os -+ -+# the following line is disabled so that we can specify QMAKESPEC from -+# the ebuild - otherwise on some systems it looks for 'linux-gcc', -+# rather than the correct 'linux-g++' -+# Robert Coie <rac@gentoo.org> 2003.03.04 -+#QMAKESPEC=$QTDIR/mkspecs/$host_os -+ - echo "Creating Makefile with qmake" - QMAKESPEC=$QMAKESPEC QTDIR=$QTDIR $QTDIR/bin/qmake mysqlcc.pro - if test ! $? = 0 ; then diff --git a/dev-db/mysqlcc/mysqlcc-0.8.7-r1.ebuild b/dev-db/mysqlcc/mysqlcc-0.8.7-r1.ebuild deleted file mode 100644 index ac8d3c7f9b31..000000000000 --- a/dev-db/mysqlcc/mysqlcc-0.8.7-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqlcc/mysqlcc-0.8.7-r1.ebuild,v 1.3 2003/09/06 22:25:50 msterret Exp $ - -S=${WORKDIR}/${P}-src -DESCRIPTION="a MySQL GUI Client" -HOMEPAGE="http://www.mysql.com/" -SRC_URI="ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MyCC/${P}-src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="X qt" - -DEPEND="virtual/glibc - >=x11-libs/qt-3.0.5 - dev-db/mysql" -RDEPEND="" - -inherit eutils - -src_unpack() { - unpack ${P}-src.tar.gz ; cd ${S} - epatch ${FILESDIR}/${P}-qmakespec.patch - epatch ${FILESDIR}/${P}-configperms.patch -} - -src_compile() { - # The config.sub in this distribution appears to be very stale - # so we replace it with one from a known better source. I am - # not attached to using 1.4, but it seemed like it had the best - # chance of compatibility. - # Robert Coie <rac@gentoo.org> 2003.03.03 - if [ -e /usr/share/automake-1.4/config.sub ]; then - cp /usr/share/automake-1.4/config.sub ${S} - fi - cd ${S}; autoreconf -f; - - econf || die - - cp Makefile Makefile.orig - sed -e "s:CFLAGS = -pipe -Wall -W -g:CFLAGS = ${CFLAGS}:" \ - -e "s:CXXFLAGS = -pipe -Wall -W -g:CXXFLAGS = ${CXXFLAGS}:" \ - Makefile.orig > Makefile - - QTDIR=$QTDIR - emake || die -} - -src_install() { - dobin mysqlcc - dodir /usr/share/mysqlcc - insinto /usr/share/mysqlcc - doins warning.wav information.wav error.wav syntax.txt - dodir /usr/share/mysqlcc/translations - insinto /usr/share/mysqlcc/translations - doins translations/Espanol.qm translations/Espanol.ts translations/Russian.qm translations/Russian.ts -} diff --git a/dev-db/mysqlcc/mysqlcc-0.9.2.ebuild b/dev-db/mysqlcc/mysqlcc-0.9.2.ebuild deleted file mode 100644 index 5fd35b6dc713..000000000000 --- a/dev-db/mysqlcc/mysqlcc-0.9.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqlcc/mysqlcc-0.9.2.ebuild,v 1.4 2003/09/06 22:25:50 msterret Exp $ - -inherit eutils kde-functions -need-qt 3.0.5 - -S=${WORKDIR}/${P}-src -DESCRIPTION="a MySQL GUI Client" -HOMEPAGE="http://www.mysql.com/" -SRC_URI="ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQLCC/${P}-src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" -IUSE="X qt" - -DEPEND="virtual/glibc - >=dev-db/mysql-4.0.0" -RDEPEND="" - -src_unpack() { - unpack ${A} - cd ${S}; epatch ${FILESDIR}/${P}-qmakespec.patch - cd ${S}; epatch ${FILESDIR}/${P}-libmysqlclientac.patch -} - -src_compile() { - # The config.sub in this distribution appears to be very stale - # so we replace it with one from a known better source. I am - # not attached to using 1.4, but it seemed like it had the best - # chance of compatibility. - # Robert Coie <rac@gentoo.org> 2003.03.03 - if [ -e /usr/share/automake-1.4/config.sub ]; then - cp /usr/share/automake-1.4/config.sub ${S} - fi - cd ${S}; autoreconf -f; - - if [ "`use ssl`" ]; then - SUBLIBS="${SUBLIBS} -lssl" - echo "libs now ${SUBLIBS}" - fi - - QMAKESPEC="linux-g++" LIBS=${LIBS} econf --with-qt=${QTDIR} || die - - cp Makefile Makefile.orig - sed -e "s:CFLAGS = -pipe -Wall -W -O2:CFLAGS = ${CFLAGS}:" \ - -e "s:CXXFLAGS = -pipe -Wall -W -O2:CXXFLAGS = ${CXXFLAGS}:" \ - Makefile.orig > Makefile - - QTDIR=$QTDIR - emake || die -} - -src_install() { - dobin mysqlcc - dodir /usr/share/mysqlcc - insinto /usr/share/mysqlcc - doins warning.wav information.wav error.wav syntax.txt - dodir /usr/share/mysqlcc/translations - insinto /usr/share/mysqlcc/translations - doins translations/*.qm translations/*.ts -} |