diff options
author | dougb <dougb@FreeBSD.org> | 2011-10-15 06:30:49 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2011-10-15 06:30:49 +0800 |
commit | f263b11cfc542f6956ae7ef2bf5ee844f52aa0e9 (patch) | |
tree | d782689aec1286d5187787b922e773e1ba4a609b /databases | |
parent | f797d663f51794e39d1fba66c178a3e2639cc2e0 (diff) | |
download | freebsd-ports-gnome-f263b11cfc542f6956ae7ef2bf5ee844f52aa0e9.tar.gz freebsd-ports-gnome-f263b11cfc542f6956ae7ef2bf5ee844f52aa0e9.tar.zst freebsd-ports-gnome-f263b11cfc542f6956ae7ef2bf5ee844f52aa0e9.zip |
As previously advertised, complete removal of vulnerable ports that
no one has stepped up to deal with:
archivers/pecl-phar Vulnerable since 2011-01-13
comms/libsyncml Depends on devel/libsoup22, which is FORBIDDEN
databases/mysql323-server Vulnerable since 2006-10-29
databases/mysql323-client Vulnerable since 2006-10-29
databases/mysql323-scripts Vulnerable since 2006-10-29
databases/mysql40-server Vulnerable since 2006-10-29
databases/mysql40-client Vulnerable since 2006-10-29
databases/mysql40-scripts Vulnerable since 2006-10-29
databases/p5-DBD-mysql40
Depends on databases/mysql40-server, which is FORBIDDEN
deskutils/buoh Depends on devel/libsoup22, which is FORBIDDEN
deskutils/libopensync-plugin-syncml
Depends on comms/libsyncml, which is DEPRECATED
devel/libsoup22 Vulnerable since 2011-07-28
dns/bind9-sdb-ldap Vulnerable since 2011-06-04
dns/bind9-sdb-postgresql Vulnerable since 2011-06-04
ftp/wgetpro Vulnerable since 2004-12-14
games/quake2forge Vulnerable since 2005-01-21
graphics/linux-tiff Vulnerable since 2004-10-13
japanese/mutt Vulnerable since 2007-07-29
japanese/asterisk14-sounds Depends on net/asterisk14, which is FORBIDDEN
net/asterisk14 Vulnerable since 2011-06-25
net/isc-dhcp31-client Vulnerable since 2011-04-10
net/isc-dhcp31-server Vulnerable since 2011-04-10
net/isc-dhcp31-relay Vulnerable since 2011-04-10
net/asterisk-app-ldap Depends on net/asterisk14, which is FORBIDDEN
net/asterisk-app-notify Depends on net/asterisk14, which is FORBIDDEN
net/asterisk-oh323
Depends on net/asterisk14, which is FORBIDDEN, does not compile on sparc64
net/asterisk14-addons Depends on net/asterisk14, which is FORBIDDEN
net/astfax Depends on net/asterisk14, which is FORBIDDEN
net-mgmt/nagios2 Vulnerable since 2009-06-30
www/gforge Vulnerable since 2005-08-09
www/linux-flashplugin7 Vulnerable since at least 2008-05-30
www/opera-devel Vulnerable since 2010-06-25, does not fetch
www/plone3 Vulnerable and unsupported upstream
www/serendipity-devel Vulnerable since 2008-04-25
www/ziproxy Vulnerable since 2010-06-15
www/asterisk-gui Depends on net/asterisk14, which is FORBIDDEN
x11-toolkits/linux-pango Vulnerable since 2009-05-13
Diffstat (limited to 'databases')
38 files changed, 0 insertions, 1751 deletions
diff --git a/databases/Makefile b/databases/Makefile index 90d8b8ec862b..575e558cbed3 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -222,12 +222,6 @@ SUBDIR += mysql-xql SUBDIR += mysql2odbc SUBDIR += mysql2pgsql - SUBDIR += mysql323-client - SUBDIR += mysql323-scripts - SUBDIR += mysql323-server - SUBDIR += mysql40-client - SUBDIR += mysql40-scripts - SUBDIR += mysql40-server SUBDIR += mysql41-client SUBDIR += mysql41-scripts SUBDIR += mysql41-server @@ -334,7 +328,6 @@ SUBDIR += p5-DBD-XBase SUBDIR += p5-DBD-cego SUBDIR += p5-DBD-mysql - SUBDIR += p5-DBD-mysql40 SUBDIR += p5-DBD-mysql41 SUBDIR += p5-DBD-mysql50 SUBDIR += p5-DBD-mysql51 diff --git a/databases/mysql323-client/Makefile b/databases/mysql323-client/Makefile deleted file mode 100644 index 8f70aef2ede6..000000000000 --- a/databases/mysql323-client/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# ports collection makefile for: MySQL-client -# Date created: Sun Sep 24 21:21:20 CEST 2000 -# Whom: Dirk Froemberg <dirk@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= mysql -PORTREVISION= 2 -PKGNAMESUFFIX= -client - -COMMENT= Multithreaded SQL database (client) - -MASTERDIR= ${.CURDIR}/../mysql323-server - -PKGINSTALL= mustnotexist -PLIST= ${PKGDIR}/pkg-plist.client - -CLIENT_ONLY= yes - -.include "${MASTERDIR}/Makefile" diff --git a/databases/mysql323-scripts/Makefile b/databases/mysql323-scripts/Makefile deleted file mode 100644 index e4958171f08b..000000000000 --- a/databases/mysql323-scripts/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: MySQL-scripts -# Date created: Mon Feb 23 15:01:35 CET 2004 -# Whom: Alex Dupre <ale@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= mysql -PORTREVISION= 2 -PKGNAMESUFFIX= -scripts - -COMMENT= Multithreaded SQL database (scripts) - -MASTERDIR= ${.CURDIR}/../mysql323-server - -PKGINSTALL= mustnotexist -PLIST= ${PKGDIR}/pkg-plist.scripts - -SCRIPTS_ONLY= yes -USE_PERL5= yes - -.include "${MASTERDIR}/Makefile" diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile deleted file mode 100644 index 0d07c42c5133..000000000000 --- a/databases/mysql323-server/Makefile +++ /dev/null @@ -1,187 +0,0 @@ -# ports collection makefile for: MySQL-server -# Date created: Sun Sep 24 21:20:46 CEST 2000 -# Whom: Dirk Froemberg <dirk@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME?= mysql -DISTVERSION= 3.23.59-nightly-20050301 -PORTREVISION?= 3 -CATEGORIES= databases -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= ale -PKGNAMESUFFIX?= -server - -MAINTAINER= ale@FreeBSD.org -COMMENT?= Multithreaded SQL database (server) - -FORBIDDEN= Vulnerable since 2006-10-29, http://portaudit.freebsd.org/a0e92718-6603-11db-ab90-000e35fd8194.html -EXPIRATION_DATE= 2011-10-14 - -SLAVEDIRS= databases/mysql323-client -USE_AUTOTOOLS= libtool - -CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ - --without-debug \ - --without-readline \ - --without-bench \ - --with-libwrap \ - --with-low-memory \ - --with-comment='FreeBSD port: ${PKGNAME}' \ - --enable-thread-safe-client - -.ifdef USE_MYSQL -.error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. -.endif - -.if defined(WITH_CHARSET) && ${WITH_CHARSET} != "" -CONFIGURE_ARGS+=--with-charset=${WITH_CHARSET} -.endif -.if defined(WITH_XCHARSET) && ${WITH_XCHARSET} != "" -CONFIGURE_ARGS+=--with-extra-charsets=${WITH_XCHARSET} -.endif -.if defined(BUILD_STATIC) -CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static -.endif -.if !defined(WITHOUT_INNODB) -CONFIGURE_ARGS+=--with-innodb -.endif - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "i386" -CONFIGURE_ARGS+=--enable-assembler --with-berkeley-db -.endif -.if defined(WITH_LINUXTHREADS) -CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads -CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -CFLAGS+= -I${LOCALBASE}/include/pthread/linuxthreads -LIB_DEPENDS+= lthread:${PORTSDIR}/devel/linuxthreads -CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r -llstdc++ -llsupc++' -.else -CONFIGURE_ARGS+=--with-named-thread-libs=${PTHREAD_LIBS} -CFLAGS+= ${PTHREAD_CFLAGS} -.endif - -.if ${OSVERSION} >= 700000 -IGNORE= obsolete and does not build with gcc4.2; use mysql 5 or later -.endif -.if defined(BUILD_OPTIMIZED) -CFLAGS+= -O3 -fno-omit-frame-pointer -fno-gcse -.endif -CXXFLAGS+= ${CFLAGS} -felide-constructors -fno-rtti -fno-exceptions - -# MySQL-Server part -.if !defined(CLIENT_ONLY) && !defined(SCRIPTS_ONLY) -USE_MYSQL= yes -WANT_MYSQL_VER= 323 - -LATEST_LINK= mysql323-server - -CONFLICTS= mysql-server-[45].* - -USE_RC_SUBR= mysql-server.sh - -PLIST_SUB= VER=${DISTVERSION} - -MAN1= isamchk.1 isamlog.1 mysqld.1 \ - safe_mysqld.1 perror.1 replace.1 - -.if !defined(NOPORTDOCS) -DOCS= manual.html manual.txt manual_toc.html -PORTDOCS= ${DOCS} Flags -.endif - -INFO= mysql - -pre-fetch: - @${ECHO} "" - @${ECHO} "You may use the following build options:" - @${ECHO} "" - @${ECHO} " WITH_CHARSET=charset Define the primary built-in charset (latin1)." - @${ECHO} " WITH_XCHARSET=list Define other built-in charsets (may be 'all')." - @${ECHO} " WITH_OPENSSL=yes Enable secure connections." - @${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library." - @${ECHO} " WITH_PROC_SCOPE_PTH=yes Use process scope threads" - @${ECHO} " (try it if you use libpthread)." - @${ECHO} " BUILD_OPTIMIZED=yes Enable compiler optimizations" - @${ECHO} " (use it if you need speed)." - @${ECHO} " BUILD_STATIC=yes Build a static version of mysqld." - @${ECHO} " (use it if you need even more speed)." - @${ECHO} " WITHOUT_INNODB=yes Disable support for InnoDB table handler." - @${ECHO} "" - -post-patch: - @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @docs_dirs@ @sql_server_dirs@ scripts man support-files|g" ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = @server_scripts@|g" ${WRKSRC}/scripts/Makefile.in - @${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in - @${REINPLACE_CMD} -e "s|install-data-am: install-pkgincludeHEADERS|install-data-am:|g" ${WRKSRC}/include/Makefile.in - @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c -.if defined(WITH_PROC_SCOPE_PTH) - @${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/sql/mysqld.cc -.endif - -post-install: -.if !defined(PACKAGE_BUILDING) - @${SETENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR}/Flags -.for doc in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/Docs/${doc} ${DOCSDIR} -.endfor - @${INSTALL_DATA} ${WRKSRC}/Docs/Flags/*.gif ${DOCSDIR}/Flags -.endif - -.else -# MySQL-Client part -.if defined(CLIENT_ONLY) -LATEST_LINK= mysql323-client - -CONFLICTS= mysql-client-[45].* - -MAN1= mysql.1 mysqladmin.1 mysqldump.1 mysqlshow.1 - -USE_LDCONFIG= ${PREFIX}/lib/mysql - -CONFIGURE_ARGS+=--without-server - -post-patch: - @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_client_dirs@ tests scripts man|g" ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = mysql_config mysqlbug|g" ${WRKSRC}/scripts/Makefile.in - @${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in - @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c - -.else -# MySQL-Scripts part -USE_MYSQL= yes -WANT_MYSQL_VER= 323 - -RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-Mysql -.if ${PERL_LEVEL} <= 500800 -RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp -.endif - -LATEST_LINK= mysql323-scripts - -CONFLICTS= mysql-scripts-[45].* - -MAN1= mysql_zap.1 mysqlaccess.1 mysqld_multi.1 - -SCRIPTS= msql2mysql mysql_setpermission mysql_zap mysqlaccess \ - mysql_convert_table_format mysql_find_rows mysqlhotcopy \ - mysqldumpslow mysqld_multi - -post-patch: - @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = scripts man|g" ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = ${SCRIPTS}|g" ${WRKSRC}/scripts/Makefile.in - @${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in -.endif -.endif -# Common part -post-extract: - @${CP} /usr/include/tcpd.h ${WRKSRC}/sql/mytcpd.h - -.include <bsd.port.post.mk> diff --git a/databases/mysql323-server/distinfo b/databases/mysql323-server/distinfo deleted file mode 100644 index eb037109f469..000000000000 --- a/databases/mysql323-server/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (mysql-3.23.59-nightly-20050301.tar.gz) = 99a726eac49af0f50906f3100891a541c0d0c0433d07cb8105b4f9cacc609c0a -SIZE (mysql-3.23.59-nightly-20050301.tar.gz) = 14267767 diff --git a/databases/mysql323-server/files/mysql-server.sh.in b/databases/mysql323-server/files/mysql-server.sh.in deleted file mode 100644 index e1e46e89ac82..000000000000 --- a/databases/mysql323-server/files/mysql-server.sh.in +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: mysql -# REQUIRE: LOGIN -# KEYWORD: shutdown - -# -# Add the following line to /etc/rc.conf to enable mysql: -# mysql_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable MySQL. -# mysql_limits (bool): Set to "NO" by default. -# Set it to yes to run `limits -e -U mysql` -# just before mysql starts. -# mysql_dbdir (str): Default to "/var/db/mysql" -# Base database directory. -# mysql_args (str): Custom additional arguments to be passed -# to mysqld_safe (default empty). -# - -. /etc/rc.subr - -name="mysql" -rcvar=`set_rcvar` - -load_rc_config $name - -: ${mysql_enable="NO"} -: ${mysql_limits="NO"} -: ${mysql_dbdir="/var/db/mysql"} - -mysql_user="mysql" -mysql_limits_args="-e -U ${mysql_user}" -pidfile="${mysql_dbdir}/`/bin/hostname`.pid" -command="%%PREFIX%%/bin/safe_mysqld" -command_args="--defaults-extra-file=${mysql_dbdir}/my.cnf --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_args} > /dev/null 2>&1 &" -procname="%%PREFIX%%/libexec/mysqld" -start_precmd="${name}_prestart" -mysql_install_db="%%PREFIX%%/bin/mysql_install_db" -mysql_install_db_args="--ldata=${mysql_dbdir}" - -mysql_create_auth_tables() -{ - eval $mysql_install_db $mysql_install_db_args >/dev/null 2>&1 - [ $? -eq 0 ] && chown -R ${mysql_user}:${mysql_user} ${mysql_dbdir} -} - -mysql_prestart() -{ - if [ ! -d "${mysql_dbdir}/mysql/." ]; then - mysql_create_auth_tables || return 1 - fi - if checkyesno mysql_limits; then - eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null - else - return 0 - fi -} - -run_rc_command "$1" diff --git a/databases/mysql323-server/files/patch-Makefile.in b/databases/mysql323-server/files/patch-Makefile.in deleted file mode 100644 index 228501c8599e..000000000000 --- a/databases/mysql323-server/files/patch-Makefile.in +++ /dev/null @@ -1,14 +0,0 @@ ---- Makefile.in.orig Sat Jan 17 00:29:13 2004 -+++ Makefile.in Sat Jan 17 00:29:28 2004 -@@ -195,10 +195,7 @@ - EXTRA_DIST = INSTALL-SOURCE README \ - COPYING COPYING.LIB - --SUBDIRS = . include @docs_dirs@ @readline_dir@ \ -- @thread_dirs@ @sql_client_dirs@ \ -- @sql_server_dirs@ scripts tests man \ -- @bench_dirs@ support-files os2 -+SUBDIRS = - - - # Relink after clean diff --git a/databases/mysql323-server/files/patch-configure b/databases/mysql323-server/files/patch-configure deleted file mode 100644 index 6596fa03ff1f..000000000000 --- a/databases/mysql323-server/files/patch-configure +++ /dev/null @@ -1,102 +0,0 @@ ---- configure.orig Thu Sep 11 13:49:33 2003 -+++ configure Wed Sep 29 12:17:28 2004 -@@ -8071,8 +8071,6 @@ - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" - --# Always use our own libtool. --LIBTOOL='$(SHELL) $(top_builddir)/libtool' - - # Prevent multiple expansion - -@@ -9191,40 +9189,8 @@ - echo "$as_me:$LINENO: checking \"how to check if pid exists\"" >&5 - echo $ECHO_N "checking \"how to check if pid exists\"... $ECHO_C" >&6 - PS=$ac_cv_path_PS --# Linux style --if $PS p $$ 2> /dev/null | grep $0 > /dev/null --then -- FIND_PROC="$PS p \$\$PID | grep mysqld > /dev/null" --# Solaris --elif $PS -p $$ 2> /dev/null | grep $0 > /dev/null --then -- FIND_PROC="$PS -p \$\$PID | grep mysqld > /dev/null" - # BSD style --elif $PS -uaxww 2> /dev/null | grep $0 > /dev/null --then - FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null" --# SysV style --elif $PS -ef 2> /dev/null | grep $0 > /dev/null --then -- FIND_PROC="$PS -ef | grep mysqld | grep \" \$\$PID \" > /dev/null" --# Do anybody use this? --elif $PS $$ 2> /dev/null | grep $0 > /dev/null --then -- FIND_PROC="$PS \$\$PID | grep mysqld > /dev/null" --else -- case $SYSTEM_TYPE in -- *darwin*) -- FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null" -- ;; -- *cygwin*) -- FIND_PROC="$PS -e | grep mysqld | grep \" \$\$PID \" > /dev/null" -- ;; -- *) -- { { echo "$as_me:$LINENO: error: Could not find the right ps switches. Which OS is this ?. See the Installation chapter in the Reference Manual." >&5 --echo "$as_me: error: Could not find the right ps switches. Which OS is this ?. See the Installation chapter in the Reference Manual." >&2;} -- { (exit 1); exit 1; }; } -- esac --fi - - echo "$as_me:$LINENO: result: \"$FIND_PROC\"" >&5 - echo "${ECHO_T}\"$FIND_PROC\"" >&6 -@@ -12509,8 +12475,16 @@ - ;; - *freebsd*) - echo "Adding fix for interrupted reads" -- CFLAGS="$CFLAGS -DHAVE_BROKEN_REALPATH" -- CXXFLAGS="$CXXFLAGS -DMYSQLD_NET_RETRY_COUNT=1000000 -DHAVE_BROKEN_REALPATH" -+ OSVERSION=`/sbin/sysctl -a | /usr/bin/grep osreldate | /usr/bin/awk '{ print $2 }'` -+ if test "$OSVERSION" -gt "480100" && \ -+ test "$OSVERSION" -lt "500000" || \ -+ test "$OSVERSION" -gt "500109" -+ then -+ CXXFLAGS="$CXXFLAGS -DMYSQLD_NET_RETRY_COUNT=1000000" -+ else -+ CFLAGS="$CFLAGS -DHAVE_BROKEN_REALPATH" -+ CXXFLAGS="$CXXFLAGS -DMYSQLD_NET_RETRY_COUNT=1000000 -DHAVE_BROKEN_REALPATH" -+ fi - ;; - *netbsd*) - echo "Adding flag -Dunix" -@@ -13710,30 +13684,6 @@ - #define HAVE_RESTARTABLE_SYSCALLS 1 - _ACEOF - --fi -- -- --# Build optimized or debug version ? --# First check for gcc and g++ --if test "$ac_cv_c_compiler_gnu" = "yes" --then -- DEBUG_CFLAGS="-g" -- DEBUG_OPTIMIZE_CC="-O" -- OPTIMIZE_CFLAGS="$MAX_C_OPTIMIZE" --else -- DEBUG_CFLAGS="-g" -- DEBUG_OPTIMIZE_CC="" -- OPTIMIZE_CFLAGS="-O" --fi --if test "$ac_cv_prog_cxx_g" = "yes" --then -- DEBUG_CXXFLAGS="-g" -- DEBUG_OPTIMIZE_CXX="-O" -- OPTIMIZE_CXXFLAGS="-O3" --else -- DEBUG_CXXFLAGS="-g" -- DEBUG_OPTIMIZE_CXX="" -- OPTIMIZE_CXXFLAGS="-O" - fi - - diff --git a/databases/mysql323-server/files/patch-man::Makefile.in b/databases/mysql323-server/files/patch-man::Makefile.in deleted file mode 100644 index 9ce6d7e4a837..000000000000 --- a/databases/mysql323-server/files/patch-man::Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ ---- man/Makefile.in.orig Tue Mar 1 05:31:24 2005 -+++ man/Makefile.in Tue Mar 15 12:55:49 2005 -@@ -266,9 +266,7 @@ - target_vendor = @target_vendor@ - thread_dirs = @thread_dirs@ - uname_prog = @uname_prog@ --man_MANS = mysql.1 isamchk.1 isamlog.1 mysql_zap.1 mysqlaccess.1 \ -- mysqladmin.1 mysqld.1 mysqld_multi.1 mysqldump.1 mysqlshow.1 \ -- perror.1 replace.1 safe_mysqld.1 -+man_MANS = - - EXTRA_DIST = $(man_MANS) - all: all-am diff --git a/databases/mysql323-server/files/patch-mysys_default.c b/databases/mysql323-server/files/patch-mysys_default.c deleted file mode 100644 index 40b3ce450ec3..000000000000 --- a/databases/mysql323-server/files/patch-mysys_default.c +++ /dev/null @@ -1,13 +0,0 @@ ---- mysys/default.c.orig Mon Apr 11 10:56:31 2005 -+++ mysys/default.c Mon Apr 11 10:57:04 2005 -@@ -50,9 +50,7 @@ - "C:/", - #else - "/etc/", --#endif --#ifdef DATADIR --DATADIR, -+"%%PREFIX%%/etc/", - #endif - "", /* Place for defaults_extra_dir */ - #ifndef __WIN__ diff --git a/databases/mysql323-server/files/patch-scripts::Makefile.in b/databases/mysql323-server/files/patch-scripts::Makefile.in deleted file mode 100644 index 567359e28571..000000000000 --- a/databases/mysql323-server/files/patch-scripts::Makefile.in +++ /dev/null @@ -1,33 +0,0 @@ ---- scripts/Makefile.in.orig Tue Mar 1 05:31:27 2005 -+++ scripts/Makefile.in Tue Mar 15 12:58:38 2005 -@@ -268,20 +268,7 @@ - target_vendor = @target_vendor@ - thread_dirs = @thread_dirs@ - uname_prog = @uname_prog@ --bin_SCRIPTS = @server_scripts@ \ -- msql2mysql \ -- mysql_config \ -- mysql_fix_privilege_tables \ -- mysql_setpermission \ -- mysql_zap \ -- mysqlaccess \ -- mysqlbug \ -- mysql_convert_table_format \ -- mysql_find_rows \ -- mysqlhotcopy \ -- mysqldumpslow \ -- mysqld_multi \ -- make_win_src_distribution -+bin_SCRIPTS = - - EXTRA_SCRIPTS = make_binary_distribution.sh \ - make_win_src_distribution.sh \ -@@ -451,7 +438,7 @@ - uninstall: uninstall-am - - install-am: all-am -- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am - - installcheck: installcheck-am - install-strip: diff --git a/databases/mysql323-server/files/patch-scripts::mysql_install_db.sh b/databases/mysql323-server/files/patch-scripts::mysql_install_db.sh deleted file mode 100644 index 12d394167e4b..000000000000 --- a/databases/mysql323-server/files/patch-scripts::mysql_install_db.sh +++ /dev/null @@ -1,22 +0,0 @@ ---- scripts/mysql_install_db.sh.orig Thu Sep 11 13:49:21 2003 -+++ scripts/mysql_install_db.sh Fri Mar 12 11:32:09 2004 -@@ -116,7 +116,7 @@ - if [ $? -ne 0 ] - then - resolved=`$bindir/resolveip localhost 2>&1` -- if [ $? -eq 0 ] -+ if [ $? -ne 0 ] - then - echo "Sorry, the host '$hostname' could not be looked up." - echo "Please configure the 'hostname' command to return a correct hostname." -@@ -125,8 +125,8 @@ - exit 1 - fi - echo "WARNING: The host '$hostname' could not be looked up with resolveip." -- echo "This probably means that your libc libraries are not 100 % compatible" -- echo "with this binary MySQL version. The MySQL deamon, mysqld, should work" -+ echo "This probably means that your host name is not listed in your" -+ echo "/etc/hosts file (as it should). The MySQL daemon, mysqld, should work" - echo "normally with the exception that host name resolving will not work." - echo "This means that you should use IP addresses instead of hostnames" - echo "when specifying MySQL privileges !" diff --git a/databases/mysql323-server/files/patch-scripts::mysqlhotcopy.sh b/databases/mysql323-server/files/patch-scripts::mysqlhotcopy.sh deleted file mode 100644 index 19d4395fa09f..000000000000 --- a/databases/mysql323-server/files/patch-scripts::mysqlhotcopy.sh +++ /dev/null @@ -1,49 +0,0 @@ ---- scripts/mysqlhotcopy.sh.orig Sun Dec 21 19:01:29 2003 -+++ scripts/mysqlhotcopy.sh Thu Sep 23 11:02:45 2004 -@@ -7,6 +7,7 @@ - use File::Path; - use DBI; - use Sys::Hostname; -+use File::Temp; - - =head1 NAME - -@@ -607,7 +608,6 @@ - sub copy_index - { - my ($method, $files, $source, $target) = @_; -- my $tmpfile="$opt_tmpdir/mysqlhotcopy$$"; - - print "Copying indices for ".@$files." files...\n" unless $opt{quiet}; - foreach my $file (@$files) -@@ -633,23 +633,23 @@ - } - close OUTPUT || die "Error on close of $to: $!\n"; - } -- elsif ($opt{method} eq 'scp') -+ elsif ($opt{method} =~ /^scp\b/) - { -- my $tmp=$tmpfile; -- open(OUTPUT,">$tmp") || die "Can\'t create file $tmp: $!\n"; -- if (syswrite(OUTPUT,$buff) != length($buff)) -+ my ($fh, $tmp)=tempfile('mysqlhotcopy-XXXXXX', DIR => $opt_tmpdir); -+ die "Can\'t create/open file in $opt_tmpdir\n"; -+ if (syswrite($fh,$buff) != length($buff)) - { - die "Error when writing data to $tmp: $!\n"; - } -- close OUTPUT || die "Error on close of $tmp: $!\n"; -- safe_system("scp $tmp $to"); -+ close $fh || die "Error on close of $tmp: $!\n"; -+ safe_system("$opt{method} $tmp $to"); -+ unlink $tmp; - } - else - { - die "Can't use unsupported method '$opt{method}'\n"; - } - } -- unlink "$tmpfile" if ($opt{method} eq 'scp'); - } - - diff --git a/databases/mysql323-server/files/patch-sql::mysqld.cc b/databases/mysql323-server/files/patch-sql::mysqld.cc deleted file mode 100644 index 8b6159b9c32b..000000000000 --- a/databases/mysql323-server/files/patch-sql::mysqld.cc +++ /dev/null @@ -1,47 +0,0 @@ ---- sql/mysqld.cc.orig Sat Dec 18 18:25:05 2004 -+++ sql/mysqld.cc Sun Jan 9 12:43:21 2005 -@@ -99,7 +99,7 @@ - #endif /* __WIN__ */ - - #ifdef HAVE_LIBWRAP --#include <tcpd.h> -+#include "mytcpd.h" - #include <syslog.h> - #ifdef NEED_SYS_SYSLOG_H - #include <sys/syslog.h> -@@ -107,15 +107,6 @@ - int allow_severity = LOG_INFO; - int deny_severity = LOG_WARNING; - --#ifdef __STDC__ --#define my_fromhost(A) fromhost(A) --#define my_hosts_access(A) hosts_access(A) --#define my_eval_client(A) eval_client(A) --#else --#define my_fromhost(A) fromhost() --#define my_hosts_access(A) hosts_access() --#define my_eval_client(A) eval_client() --#endif - #endif /* HAVE_LIBWRAP */ - - #ifdef HAVE_SYS_MMAN_H -@@ -3240,8 +3231,8 @@ - struct request_info req; - signal(SIGCHLD, SIG_DFL); - request_init(&req, RQ_DAEMON, libwrapName, RQ_FILE, new_sock, NULL); -- my_fromhost(&req); -- if (!my_hosts_access(&req)) -+ fromhost(&req); -+ if (!hosts_access(&req)) - { - /* - This may be stupid but refuse() includes an exit(0) -@@ -3249,7 +3240,7 @@ - clean_exit() - same stupid thing ... - */ - syslog(deny_severity, "refused connect from %s", -- my_eval_client(&req)); -+ eval_client(&req)); - - /* - C++ sucks (the gibberish in front just translates the supplied diff --git a/databases/mysql323-server/files/patch-sql::mytcpd.h b/databases/mysql323-server/files/patch-sql::mytcpd.h deleted file mode 100644 index 3eb28a0f42fe..000000000000 --- a/databases/mysql323-server/files/patch-sql::mytcpd.h +++ /dev/null @@ -1,147 +0,0 @@ ---- sql/mytcpd.h.orig Sun Jan 9 13:33:51 2005 -+++ sql/mytcpd.h Sun Jan 9 13:41:42 2005 -@@ -6,6 +6,25 @@ - * $FreeBSD: /tmp/pcvs/ports/databases/mysql323-server/files/Attic/patch-sql::mytcpd.h,v 1.1 2005-01-10 14:44:25 ale Exp $ - */ - -+#ifndef _TCPWRAPPERS_TCPD_H -+#define _TCPWRAPPERS_TCPD_H -+ -+/* someone else may have defined this */ -+#undef __P -+ -+/* use prototypes if we have an ANSI C compiler or are using C++ */ -+#if defined(__STDC__) || defined(__cplusplus) -+#define __P(args) args -+#else -+#define __P(args) () -+#endif -+ -+/* Need definitions of struct sockaddr_in and FILE. */ -+#include <netinet/in.h> -+#include <stdio.h> -+ -+__BEGIN_DECLS -+ - /* Structure to describe one communications endpoint. */ - - #define STRING_LENGTH 128 /* hosts, users, processes */ -@@ -31,10 +50,10 @@ - char pid[10]; /* access via eval_pid(request) */ - struct host_info client[1]; /* client endpoint info */ - struct host_info server[1]; /* server endpoint info */ -- void (*sink) (); /* datagram sink function or 0 */ -- void (*hostname) (); /* address to printable hostname */ -- void (*hostaddr) (); /* address to printable address */ -- void (*cleanup) (); /* cleanup function or 0 */ -+ void (*sink) __P((int)); /* datagram sink function or 0 */ -+ void (*hostname) __P((struct host_info *)); /* address to printable hostname */ -+ void (*hostaddr) __P((struct host_info *)); /* address to printable address */ -+ void (*cleanup) __P((struct request_info *)); /* cleanup function or 0 */ - struct netconfig *config; /* netdir handle */ - }; - -@@ -67,20 +86,23 @@ - /* Global functions. */ - - #if defined(TLI) || defined(PTX) || defined(TLI_SEQUENT) --extern void fromhost(); /* get/validate client host info */ -+extern void fromhost __P((struct request_info *)); /* get/validate client host info */ - #else - #define fromhost sock_host /* no TLI support needed */ - #endif - --extern int hosts_access(); /* access control */ --extern void shell_cmd(); /* execute shell command */ --extern char *percent_x(); /* do %<char> expansion */ --extern void rfc931(); /* client name from RFC 931 daemon */ --extern void clean_exit(); /* clean up and exit */ --extern void refuse(); /* clean up and exit */ --extern char *xgets(); /* fgets() on steroids */ --extern char *split_at(); /* strchr() and split */ --extern unsigned long dot_quad_addr(); /* restricted inet_addr() */ -+extern void shell_cmd __P((char *)); /* execute shell command */ -+extern char *percent_x __P((char *, int, char *, struct request_info *)); /* do %<char> expansion */ -+#ifdef INET6 -+extern void rfc931 __P((struct sockaddr *, struct sockaddr *, char *)); /* client name from RFC 931 daemon */ -+#else -+extern void rfc931 __P((struct sockaddr_in *, struct sockaddr_in *, char *)); /* client name from RFC 931 daemon */ -+#endif -+extern void clean_exit __P((struct request_info *)); /* clean up and exit */ -+extern void refuse __P((struct request_info *)); /* clean up and exit */ -+extern char *xgets __P((char *, int, FILE *)); /* fgets() on steroids */ -+extern char *split_at __P((char *, int)); /* strchr() and split */ -+extern unsigned long dot_quad_addr __P((char *)); /* restricted inet_addr() */ - - /* Global variables. */ - -@@ -98,9 +120,14 @@ - */ - - #ifdef __STDC__ -+extern int hosts_access(struct request_info *request); -+extern int hosts_ctl(char *daemon, char *client_name, char *client_addr, -+ char *client_user); - extern struct request_info *request_init(struct request_info *,...); - extern struct request_info *request_set(struct request_info *,...); - #else -+extern int hosts_access(); -+extern int hosts_ctl(); - extern struct request_info *request_init(); /* initialize request */ - extern struct request_info *request_set(); /* update request structure */ - #endif -@@ -123,27 +150,27 @@ - * host_info structures serve as caches for the lookup results. - */ - --extern char *eval_user(); /* client user */ --extern char *eval_hostname(); /* printable hostname */ --extern char *eval_hostaddr(); /* printable host address */ --extern char *eval_hostinfo(); /* host name or address */ --extern char *eval_client(); /* whatever is available */ --extern char *eval_server(); /* whatever is available */ -+extern char *eval_user __P((struct request_info *)); /* client user */ -+extern char *eval_hostname __P((struct host_info *)); /* printable hostname */ -+extern char *eval_hostaddr __P((struct host_info *)); /* printable host address */ -+extern char *eval_hostinfo __P((struct host_info *)); /* host name or address */ -+extern char *eval_client __P((struct request_info *)); /* whatever is available */ -+extern char *eval_server __P((struct request_info *)); /* whatever is available */ - #define eval_daemon(r) ((r)->daemon) /* daemon process name */ - #define eval_pid(r) ((r)->pid) /* process id */ - - /* Socket-specific methods, including DNS hostname lookups. */ - --extern void sock_host(); /* look up endpoint addresses */ --extern void sock_hostname(); /* translate address to hostname */ --extern void sock_hostaddr(); /* address to printable address */ -+extern void sock_host __P((struct request_info *)); -+extern void sock_hostname __P((struct host_info *)); -+extern void sock_hostaddr __P((struct host_info *)); - #define sock_methods(r) \ - { (r)->hostname = sock_hostname; (r)->hostaddr = sock_hostaddr; } - - /* The System V Transport-Level Interface (TLI) interface. */ - - #if defined(TLI) || defined(PTX) || defined(TLI_SEQUENT) --extern void tli_host(); /* look up endpoint addresses etc. */ -+extern void tli_host __P((struct request_info *)); /* look up endpoint addresses etc. */ - #endif - - /* -@@ -184,7 +211,7 @@ - * behavior. - */ - --extern void process_options(); /* execute options */ -+extern void process_options __P((char *, struct request_info *)); /* execute options */ - extern int dry_run; /* verification flag */ - - /* Bug workarounds. */ -@@ -223,3 +250,7 @@ - #define strtok my_strtok - extern char *my_strtok(); - #endif -+ -+__END_DECLS -+ -+#endif /* tcpd.h */ diff --git a/databases/mysql323-server/pkg-descr b/databases/mysql323-server/pkg-descr deleted file mode 100644 index 4ddefbb70546..000000000000 --- a/databases/mysql323-server/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -MySQL is a very fast, multi-threaded, multi-user and robust SQL -(Structured Query Language) database server. - -WWW: http://www.mysql.com/ - -- Alex Dupre -ale@FreeBSD.org diff --git a/databases/mysql323-server/pkg-install b/databases/mysql323-server/pkg-install deleted file mode 100644 index 586f846c5031..000000000000 --- a/databases/mysql323-server/pkg-install +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/sbin - -case $2 in -POST-INSTALL) - USER=mysql - GROUP=${USER} - UID=88 - GID=${UID} - - if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if pw groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d /nonexistent -s /sbin/nologin -c "MySQL Daemon" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - ;; -esac diff --git a/databases/mysql323-server/pkg-plist b/databases/mysql323-server/pkg-plist deleted file mode 100644 index 9643f191de34..000000000000 --- a/databases/mysql323-server/pkg-plist +++ /dev/null @@ -1,127 +0,0 @@ -@stopdaemon mysql-server -bin/comp_err -bin/isamchk -bin/isamlog -bin/my_print_defaults -bin/myisamchk -bin/myisamlog -bin/myisampack -bin/mysql_install_db -bin/pack_isam -bin/perror -bin/replace -bin/resolve_stack_dump -bin/resolveip -bin/safe_mysqld -lib/mysql/libdbug.a -lib/mysql/libheap.a -lib/mysql/libmerge.a -lib/mysql/libmyisam.a -lib/mysql/libmyisammrg.a -lib/mysql/libmystrings.a -lib/mysql/libmysys.a -lib/mysql/libnisam.a -libexec/mysqld -%%DATADIR%%/binary-configure -%%DATADIR%%/charsets/Index -%%DATADIR%%/charsets/README -%%DATADIR%%/charsets/cp1251.conf -%%DATADIR%%/charsets/cp1257.conf -%%DATADIR%%/charsets/croat.conf -%%DATADIR%%/charsets/danish.conf -%%DATADIR%%/charsets/dec8.conf -%%DATADIR%%/charsets/dos.conf -%%DATADIR%%/charsets/estonia.conf -%%DATADIR%%/charsets/german1.conf -%%DATADIR%%/charsets/greek.conf -%%DATADIR%%/charsets/hebrew.conf -%%DATADIR%%/charsets/hp8.conf -%%DATADIR%%/charsets/hungarian.conf -%%DATADIR%%/charsets/koi8_ru.conf -%%DATADIR%%/charsets/koi8_ukr.conf -%%DATADIR%%/charsets/latin1.conf -%%DATADIR%%/charsets/latin2.conf -%%DATADIR%%/charsets/latin5.conf -%%DATADIR%%/charsets/swe7.conf -%%DATADIR%%/charsets/usa7.conf -%%DATADIR%%/charsets/win1250.conf -%%DATADIR%%/charsets/win1251.conf -%%DATADIR%%/charsets/win1251ukr.conf -%%DATADIR%%/czech/errmsg.sys -%%DATADIR%%/czech/errmsg.txt -%%DATADIR%%/danish/errmsg.sys -%%DATADIR%%/danish/errmsg.txt -%%DATADIR%%/dutch/errmsg.sys -%%DATADIR%%/dutch/errmsg.txt -%%DATADIR%%/english/errmsg.sys -%%DATADIR%%/english/errmsg.txt -%%DATADIR%%/estonian/errmsg.sys -%%DATADIR%%/estonian/errmsg.txt -%%DATADIR%%/french/errmsg.sys -%%DATADIR%%/french/errmsg.txt -%%DATADIR%%/german/errmsg.sys -%%DATADIR%%/german/errmsg.txt -%%DATADIR%%/greek/errmsg.sys -%%DATADIR%%/greek/errmsg.txt -%%DATADIR%%/hungarian/errmsg.sys -%%DATADIR%%/hungarian/errmsg.txt -%%DATADIR%%/italian/errmsg.sys -%%DATADIR%%/italian/errmsg.txt -%%DATADIR%%/japanese/errmsg.sys -%%DATADIR%%/japanese/errmsg.txt -%%DATADIR%%/korean/errmsg.sys -%%DATADIR%%/korean/errmsg.txt -%%DATADIR%%/mi_test_all -%%DATADIR%%/mi_test_all.res -%%DATADIR%%/my-huge.cnf -%%DATADIR%%/my-large.cnf -%%DATADIR%%/my-medium.cnf -%%DATADIR%%/my-small.cnf -%%DATADIR%%/mysql-%%VER%%.spec -%%DATADIR%%/mysql-log-rotate -%%DATADIR%%/mysql.server -%%DATADIR%%/norwegian-ny/errmsg.sys -%%DATADIR%%/norwegian-ny/errmsg.txt -%%DATADIR%%/norwegian/errmsg.sys -%%DATADIR%%/norwegian/errmsg.txt -%%DATADIR%%/polish/errmsg.sys -%%DATADIR%%/polish/errmsg.txt -%%DATADIR%%/portuguese/errmsg.sys -%%DATADIR%%/portuguese/errmsg.txt -%%DATADIR%%/romanian/errmsg.sys -%%DATADIR%%/romanian/errmsg.txt -%%DATADIR%%/russian/errmsg.sys -%%DATADIR%%/russian/errmsg.txt -%%DATADIR%%/slovak/errmsg.sys -%%DATADIR%%/slovak/errmsg.txt -%%DATADIR%%/spanish/errmsg.sys -%%DATADIR%%/spanish/errmsg.txt -%%DATADIR%%/swedish/errmsg.sys -%%DATADIR%%/swedish/errmsg.txt -%%DATADIR%%/ukrainian/errmsg.sys -%%DATADIR%%/ukrainian/errmsg.txt -@dirrmtry lib/mysql -@dirrm %%DATADIR%%/charsets -@dirrm %%DATADIR%%/czech -@dirrm %%DATADIR%%/danish -@dirrm %%DATADIR%%/dutch -@dirrm %%DATADIR%%/english -@dirrm %%DATADIR%%/estonian -@dirrm %%DATADIR%%/french -@dirrm %%DATADIR%%/german -@dirrm %%DATADIR%%/greek -@dirrm %%DATADIR%%/hungarian -@dirrm %%DATADIR%%/italian -@dirrm %%DATADIR%%/japanese -@dirrm %%DATADIR%%/korean -@dirrm %%DATADIR%%/norwegian -@dirrm %%DATADIR%%/norwegian-ny -@dirrm %%DATADIR%%/polish -@dirrm %%DATADIR%%/portuguese -@dirrm %%DATADIR%%/romanian -@dirrm %%DATADIR%%/russian -@dirrm %%DATADIR%%/slovak -@dirrm %%DATADIR%%/spanish -@dirrm %%DATADIR%%/swedish -@dirrm %%DATADIR%%/ukrainian -@dirrm %%DATADIR%% diff --git a/databases/mysql323-server/pkg-plist.client b/databases/mysql323-server/pkg-plist.client deleted file mode 100644 index a45d9b252f12..000000000000 --- a/databases/mysql323-server/pkg-plist.client +++ /dev/null @@ -1,40 +0,0 @@ -bin/mysql -bin/mysql_config -bin/mysqladmin -bin/mysqlbinlog -bin/mysqlbug -bin/mysqlcheck -bin/mysqldump -bin/mysqlimport -bin/mysqlshow -bin/mysqltest -include/mysql/dbug.h -include/mysql/errmsg.h -include/mysql/m_ctype.h -include/mysql/m_string.h -include/mysql/my_config.h -include/mysql/my_global.h -include/mysql/my_list.h -include/mysql/my_net.h -include/mysql/my_no_pthread.h -include/mysql/my_pthread.h -include/mysql/my_sys.h -include/mysql/mysql.h -include/mysql/mysql_com.h -include/mysql/mysql_version.h -include/mysql/mysqld_error.h -include/mysql/raid.h -include/mysql/sslopt-case.h -include/mysql/sslopt-longopts.h -include/mysql/sslopt-usage.h -include/mysql/sslopt-vars.h -lib/mysql/libmysqlclient.a -lib/mysql/libmysqlclient.la -lib/mysql/libmysqlclient.so -lib/mysql/libmysqlclient.so.10 -lib/mysql/libmysqlclient_r.a -lib/mysql/libmysqlclient_r.la -lib/mysql/libmysqlclient_r.so -lib/mysql/libmysqlclient_r.so.10 -@dirrm include/mysql -@dirrm lib/mysql diff --git a/databases/mysql323-server/pkg-plist.scripts b/databases/mysql323-server/pkg-plist.scripts deleted file mode 100644 index 849199e8fe75..000000000000 --- a/databases/mysql323-server/pkg-plist.scripts +++ /dev/null @@ -1,9 +0,0 @@ -bin/msql2mysql -bin/mysql_convert_table_format -bin/mysql_find_rows -bin/mysql_setpermission -bin/mysql_zap -bin/mysqlaccess -bin/mysqld_multi -bin/mysqldumpslow -bin/mysqlhotcopy diff --git a/databases/mysql40-client/Makefile b/databases/mysql40-client/Makefile deleted file mode 100644 index ed5bc9dffa7c..000000000000 --- a/databases/mysql40-client/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# New ports collection makefile for: MySQL-client -# Date created: Sun Mar 3 12:20:35 CET 2002 -# Whom: Alex Dupre <sysadmin@alexdupre.com> -# -# $FreeBSD$ -# - -PORTNAME= mysql -PORTREVISION= 0 -PKGNAMESUFFIX= -client - -COMMENT= Multithreaded SQL database (client) - -MASTERDIR= ${.CURDIR}/../mysql40-server - -PKGINSTALL= mustnotexist -PLIST= ${PKGDIR}/pkg-plist.client - -CLIENT_ONLY= yes - -.include "${MASTERDIR}/Makefile" diff --git a/databases/mysql40-scripts/Makefile b/databases/mysql40-scripts/Makefile deleted file mode 100644 index 8be8e369392e..000000000000 --- a/databases/mysql40-scripts/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: MySQL-scripts -# Date created: Mon Feb 23 15:01:35 CET 2004 -# Whom: Alex Dupre <ale@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= mysql -PORTREVISION= 0 -PKGNAMESUFFIX= -scripts - -COMMENT= Multithreaded SQL database (scripts) - -MASTERDIR= ${.CURDIR}/../mysql40-server - -PKGINSTALL= mustnotexist -PLIST= ${PKGDIR}/pkg-plist.scripts - -SCRIPTS_ONLY= yes -USE_PERL5= yes - -.include "${MASTERDIR}/Makefile" diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile deleted file mode 100644 index c35447bc164c..000000000000 --- a/databases/mysql40-server/Makefile +++ /dev/null @@ -1,191 +0,0 @@ -# New ports collection makefile for: MySQL-server -# Date created: Sun Mar 3 12:20:35 CET 2002 -# Whom: Alex Dupre <sysadmin@alexdupre.com> -# -# $FreeBSD$ -# - -PORTNAME?= mysql -PORTVERSION= 4.0.27 -PORTREVISION?= 0 -CATEGORIES= databases -MASTER_SITES= ${MASTER_SITE_MYSQL} -MASTER_SITE_SUBDIR= MySQL-4.0 -PKGNAMESUFFIX?= -server - -MAINTAINER= ale@FreeBSD.org -COMMENT?= Multithreaded SQL database (server) - -FORBIDDEN= Vulnerable since 2006-10-29, http://portaudit.freebsd.org/a0e92718-6603-11db-ab90-000e35fd8194.html -EXPIRATION_DATE= 2011-10-14 - -SLAVEDIRS= databases/mysql40-client -USE_AUTOTOOLS= libtool -MAKE_JOBS_SAFE= yes - -CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ - --without-debug \ - --without-readline \ - --without-bench \ - --without-extra-tools \ - --with-libwrap \ - --with-mysqlfs \ - --with-vio \ - --with-low-memory \ - --with-comment='FreeBSD port: ${PKGNAME}' \ - --enable-thread-safe-client - -.ifdef USE_MYSQL -.error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. -.endif - -.if defined(WITH_CHARSET) && ${WITH_CHARSET} != "" -CONFIGURE_ARGS+=--with-charset=${WITH_CHARSET} -.endif -.if defined(WITH_XCHARSET) && ${WITH_XCHARSET} != "" -CONFIGURE_ARGS+=--with-extra-charsets=${WITH_XCHARSET} -.endif -.if defined(WITH_OPENSSL) -USE_OPENSSL= yes -CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} -.endif -.if defined(BUILD_STATIC) -CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static -.endif - -.if defined(WITHOUT_INNODB) -CONFIGURE_ARGS+=--without-innodb -.endif - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "i386" -CONFIGURE_ARGS+=--enable-assembler --with-berkeley-db -.endif -.if defined(WITH_LINUXTHREADS) -CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads -CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -CFLAGS+= -I${LOCALBASE}/include/pthread/linuxthreads -LIB_DEPENDS+= lthread:${PORTSDIR}/devel/linuxthreads -CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r -llstdc++ -llsupc++' -.else -CONFIGURE_ARGS+=--with-named-thread-libs=${PTHREAD_LIBS} -CFLAGS+= ${PTHREAD_CFLAGS} -.endif - -.if defined(BUILD_OPTIMIZED) -CFLAGS+= -O3 -fno-omit-frame-pointer -fno-gcse -.endif -CXXFLAGS+= ${CFLAGS} -felide-constructors -fno-rtti -fno-exceptions - -# MySQL-Server part -.if !defined(CLIENT_ONLY) && !defined(SCRIPTS_ONLY) -USE_MYSQL= yes -WANT_MYSQL_VER= 40 - -LATEST_LINK= mysql40-server - -CONFLICTS_INSTALL= mysql-server-[35].* mysql-server-4.[1-9].* - -USE_RC_SUBR= mysql-server.sh - -USERS= mysql -GROUPS= mysql - -MAN1= isamchk.1 isamlog.1 mysqld.1 \ - mysqld_safe.1 perror.1 replace.1 - -INFO= mysql - -pre-fetch: - @${ECHO} "" - @${ECHO} "You may use the following build options:" - @${ECHO} "" - @${ECHO} " WITH_CHARSET=charset Define the primary built-in charset (latin1)." - @${ECHO} " WITH_XCHARSET=list Define other built-in charsets (may be 'all')." - @${ECHO} " WITH_OPENSSL=yes Enable secure connections." - @${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library." - @${ECHO} " WITH_PROC_SCOPE_PTH=yes Use process scope threads" - @${ECHO} " (try it if you use libpthread)." - @${ECHO} " BUILD_OPTIMIZED=yes Enable compiler optimizations" - @${ECHO} " (use it if you need speed)." - @${ECHO} " BUILD_STATIC=yes Build a static version of mysqld." - @${ECHO} " (use it if you need even more speed)." - @${ECHO} " WITHOUT_INNODB=yes Disable support for InnoDB table handler." - @${ECHO} "" - -post-patch: - @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @docs_dirs@ @sql_server_dirs@ scripts man support-files|g" ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = @server_scripts@|g" ${WRKSRC}/scripts/Makefile.in - @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in - @${REINPLACE_CMD} -e "s|install-data-am: install-pkgincludeHEADERS|install-data-am:|g" ${WRKSRC}/include/Makefile.in - @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c -.if defined(WITH_PROC_SCOPE_PTH) - @${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/libmysqld/lib_sql.cc ${WRKSRC}/sql/mysqld.cc -.endif - @${REINPLACE_CMD} -e 's|\&\& defined(__GNUC__)|\&\& defined(__GNUC__) \&\& 0|' \ - ${WRKSRC}/include/my_global.h - -.else -# MySQL-Client part -.if defined(CLIENT_ONLY) -LATEST_LINK= mysql40-client - -CONFLICTS_INSTALL= mysql-client-[35].* mysql-client-4.[1-9].* - -MAN1= mysql.1 mysqladmin.1 mysqldump.1 mysqlshow.1 - -USE_LDCONFIG= ${PREFIX}/lib/mysql - -CONFIGURE_ARGS+=--without-server - -post-patch: - @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_client_dirs@ tests scripts man|g" ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = mysql_config mysql_fix_privilege_tables mysqlbug|g" ${WRKSRC}/scripts/Makefile.in - @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in - @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c -.if defined(WITH_PROC_SCOPE_PTH) - @${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c -.endif - @${REINPLACE_CMD} -e 's|\&\& defined(__GNUC__)|\&\& defined(__GNUC__) \&\& 0|' \ - ${WRKSRC}/include/my_global.h - -.else -# MySQL-Scripts part -USE_MYSQL= yes -WANT_MYSQL_VER= 40 - -RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql40 -.if ${PERL_LEVEL} <= 500800 -RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp -.endif - -LATEST_LINK= mysql40-scripts - -CONFLICTS_INSTALL= mysql-scripts-[35].* mysql-scripts-4.[1-9].* - -MAN1= mysql_zap.1 mysqlaccess.1 mysqld_multi.1 mysql_fix_privilege_tables.1 - -SCRIPTS= msql2mysql mysql_fix_extensions mysql_setpermission \ - mysql_secure_installation mysql_zap mysqlaccess \ - mysql_convert_table_format mysql_find_rows mysqlhotcopy \ - mysqldumpslow mysql_explain_log mysql_tableinfo mysqld_multi - -post-patch: - @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = scripts man|g" ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = ${SCRIPTS}|g" ${WRKSRC}/scripts/Makefile.in - @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in -.endif -.endif -# Common part -post-extract: - @${CP} /usr/include/tcpd.h ${WRKSRC}/sql/mytcpd.h - -.if defined(WITH_OPENSSL) && defined(BUILD_STATIC) -pre-configure: - @${ECHO} "You can't use the BUILD_STATIC option when using OpenSSL." - @${FALSE} -.endif - -.include <bsd.port.post.mk> diff --git a/databases/mysql40-server/distinfo b/databases/mysql40-server/distinfo deleted file mode 100644 index 666e4a1c04a5..000000000000 --- a/databases/mysql40-server/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (mysql-4.0.27.tar.gz) = c79f83bed7c1ea98e018b8829375b55c1de838d21a526d7f679becc75de00d0f -SIZE (mysql-4.0.27.tar.gz) = 11152643 diff --git a/databases/mysql40-server/files/mysql-server.sh.in b/databases/mysql40-server/files/mysql-server.sh.in deleted file mode 100644 index e9c52657df91..000000000000 --- a/databases/mysql40-server/files/mysql-server.sh.in +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: mysql -# REQUIRE: LOGIN -# KEYWORD: shutdown - -# -# Add the following line to /etc/rc.conf to enable mysql: -# mysql_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable MySQL. -# mysql_limits (bool): Set to "NO" by default. -# Set it to yes to run `limits -e -U mysql` -# just before mysql starts. -# mysql_dbdir (str): Default to "/var/db/mysql" -# Base database directory. -# mysql_args (str): Custom additional arguments to be passed -# to mysqld_safe (default empty). -# - -. /etc/rc.subr - -name="mysql" -rcvar=`set_rcvar` - -load_rc_config $name - -: ${mysql_enable="NO"} -: ${mysql_limits="NO"} -: ${mysql_dbdir="/var/db/mysql"} - -mysql_user="mysql" -mysql_limits_args="-e -U ${mysql_user}" -pidfile="${mysql_dbdir}/`/bin/hostname`.pid" -command="%%PREFIX%%/bin/mysqld_safe" -command_args="--defaults-extra-file=${mysql_dbdir}/my.cnf --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_args} > /dev/null 2>&1 &" -procname="%%PREFIX%%/libexec/mysqld" -start_precmd="${name}_prestart" -mysql_install_db="%%PREFIX%%/bin/mysql_install_db" -mysql_install_db_args="--ldata=${mysql_dbdir}" - -mysql_create_auth_tables() -{ - eval $mysql_install_db $mysql_install_db_args >/dev/null 2>&1 - [ $? -eq 0 ] && chown -R ${mysql_user}:${mysql_user} ${mysql_dbdir} -} - -mysql_prestart() -{ - if [ ! -d "${mysql_dbdir}/mysql/." ]; then - mysql_create_auth_tables || return 1 - fi - if checkyesno mysql_limits; then - eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null - else - return 0 - fi -} - -run_rc_command "$1" diff --git a/databases/mysql40-server/files/patch-Docs::Makefile.in b/databases/mysql40-server/files/patch-Docs::Makefile.in deleted file mode 100644 index 941446168e24..000000000000 --- a/databases/mysql40-server/files/patch-Docs::Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Docs/Makefile.in.orig Wed Jun 29 19:07:04 2005 -+++ Docs/Makefile.in Wed Jul 20 09:27:21 2005 -@@ -454,7 +454,7 @@ - uninstall-info-am - - --all: txt_files -+all: - - txt_files: ../INSTALL-SOURCE ../EXCEPTIONS-CLIENT \ - INSTALL-BINARY ../support-files/MacOSX/ReadMe.txt diff --git a/databases/mysql40-server/files/patch-Makefile.in b/databases/mysql40-server/files/patch-Makefile.in deleted file mode 100644 index 3a30878bf33f..000000000000 --- a/databases/mysql40-server/files/patch-Makefile.in +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.in.orig Thu Oct 28 02:48:54 2004 -+++ Makefile.in Sun Oct 31 09:37:50 2004 -@@ -280,11 +280,7 @@ - - # These are built from source in the Docs directory - EXTRA_DIST = INSTALL-SOURCE README COPYING EXCEPTIONS-CLIENT --SUBDIRS = . include @docs_dirs@ @readline_dir@ \ -- @thread_dirs@ pstack @sql_client_dirs@ \ -- @sql_server_dirs@ scripts @man_dirs@ tests \ -- BUILD netware os2 @libmysqld_dirs@ \ -- @bench_dirs@ support-files @fs_dirs@ @tools_dirs@ -+SUBDIRS = - - - # Relink after clean diff --git a/databases/mysql40-server/files/patch-configure b/databases/mysql40-server/files/patch-configure deleted file mode 100644 index 1604d36a6848..000000000000 --- a/databases/mysql40-server/files/patch-configure +++ /dev/null @@ -1,31 +0,0 @@ ---- configure.orig Sat Sep 3 00:38:41 2005 -+++ configure Tue Sep 13 07:48:06 2005 -@@ -19611,8 +19611,6 @@ - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" - --# Always use our own libtool. --LIBTOOL='$(SHELL) $(top_builddir)/libtool' - - # Prevent multiple expansion - -@@ -24767,8 +24765,8 @@ - # Some system specific hacks - # - --MAX_C_OPTIMIZE="-O3" --MAX_CXX_OPTIMIZE="-O3" -+MAX_C_OPTIMIZE="" -+MAX_CXX_OPTIMIZE="" - - # workaround for Sun Forte/x86 see BUG#4681 - case $SYSTEM_TYPE-$MACHINE_TYPE-$ac_cv_c_compiler_gnu in -@@ -35775,7 +35773,7 @@ - /* ) rel_srcdir="$srcdir" ;; - * ) rel_srcdir="../$srcdir" ;; - esac -- if test "x$enable_dependency_tracking" == xno -+ if test "x$enable_dependency_tracking" = xno - then - innodb_conf_flags=--disable-dependency-tracking - fi diff --git a/databases/mysql40-server/files/patch-man::Makefile.in b/databases/mysql40-server/files/patch-man::Makefile.in deleted file mode 100644 index 18a44c36cf57..000000000000 --- a/databases/mysql40-server/files/patch-man::Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- man/Makefile.in.orig Sat May 6 15:56:15 2006 -+++ man/Makefile.in Fri May 19 15:59:41 2006 -@@ -293,7 +293,7 @@ - uname_prog = @uname_prog@ - vio_dir = @vio_dir@ - vio_libs = @vio_libs@ --man1_MANS = @man1_files@ -+man1_MANS = - EXTRA_DIST = $(man1_MANS) - all: all-am - diff --git a/databases/mysql40-server/files/patch-mysys_default.c b/databases/mysql40-server/files/patch-mysys_default.c deleted file mode 100644 index cb2bf3776069..000000000000 --- a/databases/mysql40-server/files/patch-mysys_default.c +++ /dev/null @@ -1,13 +0,0 @@ ---- mysys/default.c.orig Mon Apr 11 11:15:09 2005 -+++ mysys/default.c Mon Apr 11 11:15:23 2005 -@@ -49,9 +49,7 @@ - "sys:/etc/", - #else - "/etc/", --#endif --#ifdef DATADIR --DATADIR, -+"%%PREFIX%%/etc/", - #endif - "", /* Place for defaults_extra_dir */ - #if !defined(__WIN__) && !defined(__NETWARE__) diff --git a/databases/mysql40-server/files/patch-scripts::Makefile.in b/databases/mysql40-server/files/patch-scripts::Makefile.in deleted file mode 100644 index dcb6132e85fd..000000000000 --- a/databases/mysql40-server/files/patch-scripts::Makefile.in +++ /dev/null @@ -1,36 +0,0 @@ ---- scripts/Makefile.in.orig Sat Sep 3 00:38:37 2005 -+++ scripts/Makefile.in Tue Sep 13 07:58:03 2005 -@@ -289,23 +289,7 @@ - uname_prog = @uname_prog@ - vio_dir = @vio_dir@ - vio_libs = @vio_libs@ --bin_SCRIPTS = @server_scripts@ \ -- msql2mysql \ -- mysql_config \ -- mysql_fix_privilege_tables \ -- mysql_fix_extensions \ -- mysql_setpermission \ -- mysql_secure_installation \ -- mysql_zap \ -- mysqlaccess \ -- mysqlbug \ -- mysql_convert_table_format \ -- mysql_find_rows \ -- mysqlhotcopy \ -- mysqldumpslow \ -- mysql_explain_log \ -- mysql_tableinfo \ -- mysqld_multi -+bin_SCRIPTS = - - noinst_SCRIPTS = make_binary_distribution \ - make_sharedlib_distribution \ -@@ -469,7 +453,7 @@ - uninstall: uninstall-am - - install-am: all-am -- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am - - installcheck: installcheck-am - install-strip: diff --git a/databases/mysql40-server/files/patch-sql::mysqld.cc b/databases/mysql40-server/files/patch-sql::mysqld.cc deleted file mode 100644 index e79f985fcb69..000000000000 --- a/databases/mysql40-server/files/patch-sql::mysqld.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- sql/mysqld.cc.orig Tue Dec 14 13:40:36 2004 -+++ sql/mysqld.cc Mon Jan 10 00:28:52 2005 -@@ -128,7 +128,7 @@ - #endif /* __WIN__ */ - - #ifdef HAVE_LIBWRAP --#include <tcpd.h> -+#include "mytcpd.h" - #include <syslog.h> - #ifdef NEED_SYS_SYSLOG_H - #include <sys/syslog.h> diff --git a/databases/mysql40-server/files/patch-sql::mytcpd.h b/databases/mysql40-server/files/patch-sql::mytcpd.h deleted file mode 100644 index 4583de9fe8fb..000000000000 --- a/databases/mysql40-server/files/patch-sql::mytcpd.h +++ /dev/null @@ -1,147 +0,0 @@ ---- sql/mytcpd.h.orig Sun Jan 9 13:33:51 2005 -+++ sql/mytcpd.h Sun Jan 9 13:41:42 2005 -@@ -6,6 +6,25 @@ - * $FreeBSD: /tmp/pcvs/ports/databases/mysql40-server/files/Attic/patch-sql::mytcpd.h,v 1.1 2005-01-09 13:20:47 ale Exp $ - */ - -+#ifndef _TCPWRAPPERS_TCPD_H -+#define _TCPWRAPPERS_TCPD_H -+ -+/* someone else may have defined this */ -+#undef __P -+ -+/* use prototypes if we have an ANSI C compiler or are using C++ */ -+#if defined(__STDC__) || defined(__cplusplus) -+#define __P(args) args -+#else -+#define __P(args) () -+#endif -+ -+/* Need definitions of struct sockaddr_in and FILE. */ -+#include <netinet/in.h> -+#include <stdio.h> -+ -+__BEGIN_DECLS -+ - /* Structure to describe one communications endpoint. */ - - #define STRING_LENGTH 128 /* hosts, users, processes */ -@@ -31,10 +50,10 @@ - char pid[10]; /* access via eval_pid(request) */ - struct host_info client[1]; /* client endpoint info */ - struct host_info server[1]; /* server endpoint info */ -- void (*sink) (); /* datagram sink function or 0 */ -- void (*hostname) (); /* address to printable hostname */ -- void (*hostaddr) (); /* address to printable address */ -- void (*cleanup) (); /* cleanup function or 0 */ -+ void (*sink) __P((int)); /* datagram sink function or 0 */ -+ void (*hostname) __P((struct host_info *)); /* address to printable hostname */ -+ void (*hostaddr) __P((struct host_info *)); /* address to printable address */ -+ void (*cleanup) __P((struct request_info *)); /* cleanup function or 0 */ - struct netconfig *config; /* netdir handle */ - }; - -@@ -67,20 +86,23 @@ - /* Global functions. */ - - #if defined(TLI) || defined(PTX) || defined(TLI_SEQUENT) --extern void fromhost(); /* get/validate client host info */ -+extern void fromhost __P((struct request_info *)); /* get/validate client host info */ - #else - #define fromhost sock_host /* no TLI support needed */ - #endif - --extern int hosts_access(); /* access control */ --extern void shell_cmd(); /* execute shell command */ --extern char *percent_x(); /* do %<char> expansion */ --extern void rfc931(); /* client name from RFC 931 daemon */ --extern void clean_exit(); /* clean up and exit */ --extern void refuse(); /* clean up and exit */ --extern char *xgets(); /* fgets() on steroids */ --extern char *split_at(); /* strchr() and split */ --extern unsigned long dot_quad_addr(); /* restricted inet_addr() */ -+extern void shell_cmd __P((char *)); /* execute shell command */ -+extern char *percent_x __P((char *, int, char *, struct request_info *)); /* do %<char> expansion */ -+#ifdef INET6 -+extern void rfc931 __P((struct sockaddr *, struct sockaddr *, char *)); /* client name from RFC 931 daemon */ -+#else -+extern void rfc931 __P((struct sockaddr_in *, struct sockaddr_in *, char *)); /* client name from RFC 931 daemon */ -+#endif -+extern void clean_exit __P((struct request_info *)); /* clean up and exit */ -+extern void refuse __P((struct request_info *)); /* clean up and exit */ -+extern char *xgets __P((char *, int, FILE *)); /* fgets() on steroids */ -+extern char *split_at __P((char *, int)); /* strchr() and split */ -+extern unsigned long dot_quad_addr __P((char *)); /* restricted inet_addr() */ - - /* Global variables. */ - -@@ -98,9 +120,14 @@ - */ - - #ifdef __STDC__ -+extern int hosts_access(struct request_info *request); -+extern int hosts_ctl(char *daemon, char *client_name, char *client_addr, -+ char *client_user); - extern struct request_info *request_init(struct request_info *,...); - extern struct request_info *request_set(struct request_info *,...); - #else -+extern int hosts_access(); -+extern int hosts_ctl(); - extern struct request_info *request_init(); /* initialize request */ - extern struct request_info *request_set(); /* update request structure */ - #endif -@@ -123,27 +150,27 @@ - * host_info structures serve as caches for the lookup results. - */ - --extern char *eval_user(); /* client user */ --extern char *eval_hostname(); /* printable hostname */ --extern char *eval_hostaddr(); /* printable host address */ --extern char *eval_hostinfo(); /* host name or address */ --extern char *eval_client(); /* whatever is available */ --extern char *eval_server(); /* whatever is available */ -+extern char *eval_user __P((struct request_info *)); /* client user */ -+extern char *eval_hostname __P((struct host_info *)); /* printable hostname */ -+extern char *eval_hostaddr __P((struct host_info *)); /* printable host address */ -+extern char *eval_hostinfo __P((struct host_info *)); /* host name or address */ -+extern char *eval_client __P((struct request_info *)); /* whatever is available */ -+extern char *eval_server __P((struct request_info *)); /* whatever is available */ - #define eval_daemon(r) ((r)->daemon) /* daemon process name */ - #define eval_pid(r) ((r)->pid) /* process id */ - - /* Socket-specific methods, including DNS hostname lookups. */ - --extern void sock_host(); /* look up endpoint addresses */ --extern void sock_hostname(); /* translate address to hostname */ --extern void sock_hostaddr(); /* address to printable address */ -+extern void sock_host __P((struct request_info *)); -+extern void sock_hostname __P((struct host_info *)); -+extern void sock_hostaddr __P((struct host_info *)); - #define sock_methods(r) \ - { (r)->hostname = sock_hostname; (r)->hostaddr = sock_hostaddr; } - - /* The System V Transport-Level Interface (TLI) interface. */ - - #if defined(TLI) || defined(PTX) || defined(TLI_SEQUENT) --extern void tli_host(); /* look up endpoint addresses etc. */ -+extern void tli_host __P((struct request_info *)); /* look up endpoint addresses etc. */ - #endif - - /* -@@ -184,7 +211,7 @@ - * behavior. - */ - --extern void process_options(); /* execute options */ -+extern void process_options __P((char *, struct request_info *)); /* execute options */ - extern int dry_run; /* verification flag */ - - /* Bug workarounds. */ -@@ -223,3 +250,7 @@ - #define strtok my_strtok - extern char *my_strtok(); - #endif -+ -+__END_DECLS -+ -+#endif /* tcpd.h */ diff --git a/databases/mysql40-server/pkg-descr b/databases/mysql40-server/pkg-descr deleted file mode 100644 index 4ddefbb70546..000000000000 --- a/databases/mysql40-server/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -MySQL is a very fast, multi-threaded, multi-user and robust SQL -(Structured Query Language) database server. - -WWW: http://www.mysql.com/ - -- Alex Dupre -ale@FreeBSD.org diff --git a/databases/mysql40-server/pkg-plist b/databases/mysql40-server/pkg-plist deleted file mode 100644 index 23809755c6ae..000000000000 --- a/databases/mysql40-server/pkg-plist +++ /dev/null @@ -1,131 +0,0 @@ -@stopdaemon mysql-server -bin/comp_err -bin/isamchk -bin/isamlog -bin/my_print_defaults -bin/myisam_ftdump -bin/myisamchk -bin/myisamlog -bin/myisampack -bin/mysql_install -bin/mysql_install_db -bin/mysql_waitpid -bin/mysqld_safe -bin/pack_isam -bin/perror -bin/replace -bin/resolve_stack_dump -bin/resolveip -lib/mysql/libdbug.a -lib/mysql/libheap.a -lib/mysql/libmerge.a -lib/mysql/libmyisam.a -lib/mysql/libmyisammrg.a -lib/mysql/libmystrings.a -lib/mysql/libmysys.a -lib/mysql/libnisam.a -lib/mysql/libvio.a -libexec/mysqld -%%DATADIR%%/binary-configure -%%DATADIR%%/charsets/Index -%%DATADIR%%/charsets/README -%%DATADIR%%/charsets/cp1251.conf -%%DATADIR%%/charsets/cp1257.conf -%%DATADIR%%/charsets/croat.conf -%%DATADIR%%/charsets/danish.conf -%%DATADIR%%/charsets/dec8.conf -%%DATADIR%%/charsets/dos.conf -%%DATADIR%%/charsets/estonia.conf -%%DATADIR%%/charsets/german1.conf -%%DATADIR%%/charsets/greek.conf -%%DATADIR%%/charsets/hebrew.conf -%%DATADIR%%/charsets/hp8.conf -%%DATADIR%%/charsets/hungarian.conf -%%DATADIR%%/charsets/koi8_ru.conf -%%DATADIR%%/charsets/koi8_ukr.conf -%%DATADIR%%/charsets/latin1.conf -%%DATADIR%%/charsets/latin2.conf -%%DATADIR%%/charsets/latin5.conf -%%DATADIR%%/charsets/swe7.conf -%%DATADIR%%/charsets/usa7.conf -%%DATADIR%%/charsets/win1250.conf -%%DATADIR%%/charsets/win1251.conf -%%DATADIR%%/charsets/win1251ukr.conf -%%DATADIR%%/czech/errmsg.sys -%%DATADIR%%/czech/errmsg.txt -%%DATADIR%%/danish/errmsg.sys -%%DATADIR%%/danish/errmsg.txt -%%DATADIR%%/dutch/errmsg.sys -%%DATADIR%%/dutch/errmsg.txt -%%DATADIR%%/english/errmsg.sys -%%DATADIR%%/english/errmsg.txt -%%DATADIR%%/estonian/errmsg.sys -%%DATADIR%%/estonian/errmsg.txt -%%DATADIR%%/french/errmsg.sys -%%DATADIR%%/french/errmsg.txt -%%DATADIR%%/german/errmsg.sys -%%DATADIR%%/german/errmsg.txt -%%DATADIR%%/greek/errmsg.sys -%%DATADIR%%/greek/errmsg.txt -%%DATADIR%%/hungarian/errmsg.sys -%%DATADIR%%/hungarian/errmsg.txt -%%DATADIR%%/italian/errmsg.sys -%%DATADIR%%/italian/errmsg.txt -%%DATADIR%%/japanese/errmsg.sys -%%DATADIR%%/japanese/errmsg.txt -%%DATADIR%%/korean/errmsg.sys -%%DATADIR%%/korean/errmsg.txt -%%DATADIR%%/mi_test_all -%%DATADIR%%/mi_test_all.res -%%DATADIR%%/my-huge.cnf -%%DATADIR%%/my-innodb-heavy-4G.cnf -%%DATADIR%%/my-large.cnf -%%DATADIR%%/my-medium.cnf -%%DATADIR%%/my-small.cnf -%%DATADIR%%/mysql-log-rotate -%%DATADIR%%/mysql.server -%%DATADIR%%/norwegian-ny/errmsg.sys -%%DATADIR%%/norwegian-ny/errmsg.txt -%%DATADIR%%/norwegian/errmsg.sys -%%DATADIR%%/norwegian/errmsg.txt -%%DATADIR%%/polish/errmsg.sys -%%DATADIR%%/polish/errmsg.txt -%%DATADIR%%/portuguese/errmsg.sys -%%DATADIR%%/portuguese/errmsg.txt -%%DATADIR%%/romanian/errmsg.sys -%%DATADIR%%/romanian/errmsg.txt -%%DATADIR%%/russian/errmsg.sys -%%DATADIR%%/russian/errmsg.txt -%%DATADIR%%/slovak/errmsg.sys -%%DATADIR%%/slovak/errmsg.txt -%%DATADIR%%/spanish/errmsg.sys -%%DATADIR%%/spanish/errmsg.txt -%%DATADIR%%/swedish/errmsg.sys -%%DATADIR%%/swedish/errmsg.txt -%%DATADIR%%/ukrainian/errmsg.sys -%%DATADIR%%/ukrainian/errmsg.txt -@dirrmtry lib/mysql -@dirrm %%DATADIR%%/charsets -@dirrm %%DATADIR%%/czech -@dirrm %%DATADIR%%/danish -@dirrm %%DATADIR%%/dutch -@dirrm %%DATADIR%%/english -@dirrm %%DATADIR%%/estonian -@dirrm %%DATADIR%%/french -@dirrm %%DATADIR%%/german -@dirrm %%DATADIR%%/greek -@dirrm %%DATADIR%%/hungarian -@dirrm %%DATADIR%%/italian -@dirrm %%DATADIR%%/japanese -@dirrm %%DATADIR%%/korean -@dirrm %%DATADIR%%/norwegian -@dirrm %%DATADIR%%/norwegian-ny -@dirrm %%DATADIR%%/polish -@dirrm %%DATADIR%%/portuguese -@dirrm %%DATADIR%%/romanian -@dirrm %%DATADIR%%/russian -@dirrm %%DATADIR%%/slovak -@dirrm %%DATADIR%%/spanish -@dirrm %%DATADIR%%/swedish -@dirrm %%DATADIR%%/ukrainian -@dirrm %%DATADIR%% diff --git a/databases/mysql40-server/pkg-plist.client b/databases/mysql40-server/pkg-plist.client deleted file mode 100644 index 0a944de3c73c..000000000000 --- a/databases/mysql40-server/pkg-plist.client +++ /dev/null @@ -1,47 +0,0 @@ -bin/mysql -bin/mysql_config -bin/mysql_fix_privilege_tables -bin/mysqladmin -bin/mysqlbinlog -bin/mysqlbug -bin/mysqlcheck -bin/mysqldump -bin/mysqlimport -bin/mysqlmanager-pwgen -bin/mysqlmanagerc -bin/mysqlshow -bin/mysqltest -include/mysql/errmsg.h -include/mysql/m_ctype.h -include/mysql/m_string.h -include/mysql/my_alloc.h -include/mysql/my_config.h -include/mysql/my_dbug.h -include/mysql/my_dir.h -include/mysql/my_getopt.h -include/mysql/my_global.h -include/mysql/my_list.h -include/mysql/my_net.h -include/mysql/my_no_pthread.h -include/mysql/my_pthread.h -include/mysql/my_semaphore.h -include/mysql/my_sys.h -include/mysql/mysql.h -include/mysql/mysql_com.h -include/mysql/mysql_embed.h -include/mysql/mysql_version.h -include/mysql/mysqld_error.h -include/mysql/raid.h -include/mysql/sslopt-case.h -include/mysql/sslopt-longopts.h -include/mysql/sslopt-vars.h -lib/mysql/libmysqlclient.a -lib/mysql/libmysqlclient.la -lib/mysql/libmysqlclient.so -lib/mysql/libmysqlclient.so.12 -lib/mysql/libmysqlclient_r.a -lib/mysql/libmysqlclient_r.la -lib/mysql/libmysqlclient_r.so -lib/mysql/libmysqlclient_r.so.12 -@dirrm include/mysql -@dirrm lib/mysql diff --git a/databases/mysql40-server/pkg-plist.scripts b/databases/mysql40-server/pkg-plist.scripts deleted file mode 100644 index f77f27a1839c..000000000000 --- a/databases/mysql40-server/pkg-plist.scripts +++ /dev/null @@ -1,13 +0,0 @@ -bin/msql2mysql -bin/mysql_convert_table_format -bin/mysql_explain_log -bin/mysql_find_rows -bin/mysql_fix_extensions -bin/mysql_secure_installation -bin/mysql_setpermission -bin/mysql_tableinfo -bin/mysql_zap -bin/mysqlaccess -bin/mysqld_multi -bin/mysqldumpslow -bin/mysqlhotcopy diff --git a/databases/p5-DBD-mysql40/Makefile b/databases/p5-DBD-mysql40/Makefile deleted file mode 100644 index dd9d31284c06..000000000000 --- a/databases/p5-DBD-mysql40/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# New ports collection makefile for: p5-DBD-mysql40 -# Date created: 27 Nov 2003 -# Whom: Oliver Eikemeier <eikemeier@fillmore-labs.com> -# -# $FreeBSD$ -# - -PKGNAMESUFFIX= 40 - -COMMENT= MySQL 4.0 driver for the Perl5 Database Interface (DBI) - -CONFLICTS= p5-Mysql-modules-[0-9]* p5-DBD-mysql-[0-9]* p5-DBD-mysql4[1-9]-[0-9]* p5-DBD-mysql5[0-9]-[0-9]* - -WANT_MYSQL_VER= 40 - -MASTERDIR= ${.CURDIR}/../p5-DBD-mysql - -BROKEN= does not compile - -.include "${MASTERDIR}/Makefile" |