head 1.5; access; symbols pkgsrc-2013Q2:1.4.0.28 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.26 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.24 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.22 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.20 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.18 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.16 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.14 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.12 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.10 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.8 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.6 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.4 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.2 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.3.0.28 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.26 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.24 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.22 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.20 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.18 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.16 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.14 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.12 pkgsrc-2008Q1:1.3.0.10 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.8 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.6 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.4 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.2 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.2.0.2 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.1.1.1.0.8 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.6 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-2006Q1:1.1.1.1.0.4 pkgsrc-2006Q1-base:1.1.1.1 pkgsrc-2005Q4:1.1.1.1.0.2 pkgsrc-2005Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2013.09.12.16.34.32; author adam; state dead; branches; next 1.4; commitid yYSLz0TArIjvua5x; 1.4 date 2010.02.18.15.46.10; author taca; state Exp; branches; next 1.3; 1.3 date 2007.03.11.18.42.50; author adam; state Exp; branches 1.3.28.1; next 1.2; 1.2 date 2006.10.14.18.41.34; author xtraeme; state Exp; branches; next 1.1; 1.1 date 2005.10.31.09.22.26; author xtraeme; state Exp; branches 1.1.1.1; next ; 1.3.28.1 date 2010.02.24.14.23.22; author tron; state Exp; branches; next ; 1.1.1.1 date 2005.10.31.09.22.26; author xtraeme; state Exp; branches 1.1.1.1.8.1; next ; 1.1.1.1.8.1 date 2006.10.15.10.18.20; author salo; state Exp; branches; next ; desc @@ 1.5 log @Removed databases/mysql5-{client,server} @ text @$NetBSD: patch-aj,v 1.4 2010/02/18 15:46:10 taca Exp $ --- scripts/mysqld_safe.sh.orig 2010-01-15 09:49:15.000000000 +0000 +++ scripts/mysqld_safe.sh @@@@ -345,6 +345,14 @@@@ then ulimit -c $core_file_size fi +datemsg() +{ + echo -n $(date +'%y%M%d %H:%M:%S')" " + echo "$*" +} + +exec >>$err_log 2>&1 + # # If there exists an old pid file, check if the daemon is already running # Note: The switches to 'ps' may depend on your operating system @@@@ -355,18 +363,16 @@@@ then then if @@FIND_PROC@@ then # The pid contains a mysqld process - echo "A mysqld process already exists" - echo "A mysqld process already exists at " `date` >> $err_log + datemsg "A mysqld process already exists" exit 1 fi fi rm -f $pid_file if test -f $pid_file then - echo "Fatal error: Can't remove the pid file: $pid_file" - echo "Fatal error: Can't remove the pid file: $pid_file at " `date` >> $err_log - echo "Please remove it manually and start $0 again" - echo "mysqld daemon not started" + datemsg "Fatal error: Can't remove the pid file: $pid_file" + datemsg "Please remove it manually and start $0 again" + datemsg "mysqld daemon not started" exit 1 fi fi @@@@ -379,11 +385,11 @@@@ fi # Alternatively, you can start mysqld with the "myisam-recover" option. See # the manual for details. # -# echo "Checking tables in $DATADIR" +# datemsg "Checking tables in $DATADIR" # $MY_BASEDIR_VERSION/bin/myisamchk --silent --force --fast --medium-check $DATADIR/*/*.MYI # $MY_BASEDIR_VERSION/bin/isamchk --silent --force $DATADIR/*/*.ISM -echo "Starting $MYSQLD daemon with databases from $DATADIR" +datemsg "Starting $MYSQLD daemon with databases from $DATADIR" # Does this work on all systems? #if type ulimit | grep "shell builtin" > /dev/null @@@@ -391,7 +397,7 @@@@ echo "Starting $MYSQLD daemon with datab # ulimit -n 256 > /dev/null 2>&1 # Fix for BSD and FreeBSD systems #fi -echo "`date +'%y%m%d %H:%M:%S mysqld started'`" >> $err_log +datemsg "mysqld started" while true do rm -f $safe_mysql_unix_port $pid_file # Some extra safety @@@@ -403,7 +409,7 @@@@ do fi if test ! -f $pid_file # This is removed if normal shutdown then - echo "STOPPING server from pid file $pid_file" + datemsg "STOPPING server from pid file $pid_file" break fi @@@@ -416,7 +422,7 @@@@ do # kill -9 is used or the process won't react on the kill. numofproces=`ps xaww | grep -v "grep" | grep "$ledir/$MYSQLD\>" | grep -c "pid-file=$pid_file"` - echo -e "\nNumber of processes running now: $numofproces" | tee -a $err_log + datemsg -e "\nNumber of processes running now: $numofproces" I=1 while test "$I" -le "$numofproces" do @@@@ -429,16 +435,14 @@@@ do # echo "TEST $I - $T **" if kill -9 $T then - echo "$MYSQLD process hanging, pid $T - killed" | tee -a $err_log + datemsg "$MYSQLD process hanging, pid $T - killed" else break fi I=`expr $I + 1` done fi - echo "`date +'%y%m%d %H:%M:%S'` mysqld restarted" | tee -a $err_log + datemsg "mysqld restarted" done -echo "`date +'%y%m%d %H:%M:%S'` mysqld ended" | tee -a $err_log -echo "" | tee -a $err_log - +datemsg "mysqld ended" @ 1.4 log @Update mysql5-client and mysql5-server package to version 5.0.90. This release many bug fixes and DoS security problem (CVE-2009-4484). Plese refer these URL in detail. http://dev.mysql.com/doc/refman/5.0/en/news-5-0-89.html http://dev.mysql.com/doc/refman/5.0/en/news-5-0-90.html There some minor pkgsrc change to prevent compile time warnings. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.3 2007/03/11 18:42:50 adam Exp $ @ 1.3 log @Changes 5.0.37: * Added the SHOW PROFILES and SHOW PROFILE statements to display statement profile data, and the accompanying INFORMATION_SCHEMA.PROFILING table. * Added the Uptime_since_flush_status status variable, which indicates the number of seconds since the most recent FLUSH STATUS statement. * Incompatible change in DATE_FORMAT(). * NDB Cluster: The LockPagesInMainMemory configuration parameter has changed its type and possible values. * The bundled yaSSL library was upgraded to version 1.5.8. * The --skip-thread-priority option now is enabled by default for binary Mac OS X distributions. Use of thread priorities degrades performance on Mac OS X. * Added the --disable-grant-options option to configure. * Bug fixes. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- scripts/mysqld_safe.sh.orig 2007-03-05 20:21:13.000000000 +0100 d5 1 a5 1 @@@@ -331,6 +331,14 @@@@ then d20 1 a20 1 @@@@ -341,18 +349,16 @@@@ then d43 1 a43 1 @@@@ -365,11 +371,11 @@@@ fi d57 1 a57 1 @@@@ -377,7 +383,7 @@@@ echo "Starting $MYSQLD daemon with datab d66 1 a66 1 @@@@ -389,7 +395,7 @@@@ do d75 1 a75 1 @@@@ -402,7 +408,7 @@@@ do d84 1 a84 1 @@@@ -415,16 +421,14 @@@@ do @ 1.3.28.1 log @Pullup ticket #3020 - requested by taca mysql5-client: security update mysql5-server: security update Revisions pulled up: - databases/mysql5-client/Makefile.common 1.38 - databases/mysql5-client/buildlink3.mk 1.15 via patch - databases/mysql5-client/distinfo 1.28 - databases/mysql5-client/patches/patch-ac 1.8 - databases/mysql5-client/patches/patch-ae 1.10 - databases/mysql5-client/patches/patch-af 1.8 - databases/mysql5-client/patches/patch-ag 1.5 - databases/mysql5-client/patches/patch-aj 1.4 - databases/mysql5-client/patches/patch-al 1.4 - databases/mysql5-client/patches/patch-au 1.5 - databases/mysql5-client/patches/patch-av 1.1 - databases/mysql5-server/Makefile 1.31 - databases/mysql5-server/PLIST 1.16 - databases/mysql5-server/distinfo 1.24 - databases/mysql5-server/patches/patch-aa 1.6 - databases/mysql5-server/patches/patch-ag 1.8 - databases/mysql5-server/patches/patch-ah 1.7 - databases/mysql5-server/patches/patch-aj 1.4 - databases/mysql5-server/patches/patch-am 1.4 - databases/mysql5-server/patches/patch-an 1.7 - databases/mysql5-server/patches/patch-ap 1.1 - databases/mysql5-server/patches/patch-aq 1.1 - databases/mysql5-server/patches/patch-bf 1.3 - databases/mysql5-server/patches/patch-ca 1.3 - databases/mysql5-server/patches/patch-cb 1.3 - databases/mysql5-server/patches/patch-cc 1.3 --- Module Name: pkgsrc Committed By: taca Date: Thu Feb 18 15:46:10 UTC 2010 Modified Files: pkgsrc/databases/mysql5-client: Makefile.common buildlink3.mk distinfo pkgsrc/databases/mysql5-client/patches: patch-ac patch-ae patch-af patch-ag patch-aj patch-al pkgsrc/databases/mysql5-server: Makefile PLIST distinfo pkgsrc/databases/mysql5-server/patches: patch-aa patch-ag patch-ah patch-aj patch-am patch-an patch-bf patch-ca patch-cb patch-cc Added Files: pkgsrc/databases/mysql5-client/patches: patch-au patch-av pkgsrc/databases/mysql5-server/patches: patch-ap patch-aq Log Message: Update mysql5-client and mysql5-server package to version 5.0.90. This release many bug fixes and DoS security problem (CVE-2009-4484). Plese refer these URL in detail. http://dev.mysql.com/doc/refman/5.0/en/news-5-0-89.html http://dev.mysql.com/doc/refman/5.0/en/news-5-0-90.html There some minor pkgsrc change to prevent compile time warnings. @ text @d3 1 a3 1 --- scripts/mysqld_safe.sh.orig 2010-01-15 09:49:15.000000000 +0000 d5 1 a5 1 @@@@ -345,6 +345,14 @@@@ then d20 1 a20 1 @@@@ -355,18 +363,16 @@@@ then d43 1 a43 1 @@@@ -379,11 +385,11 @@@@ fi d57 1 a57 1 @@@@ -391,7 +397,7 @@@@ echo "Starting $MYSQLD daemon with datab d66 1 a66 1 @@@@ -403,7 +409,7 @@@@ do d75 1 a75 1 @@@@ -416,7 +422,7 @@@@ do d84 1 a84 1 @@@@ -429,16 +435,14 @@@@ do @ 1.2 log @Update to the long awaited 5.0.26 release, codenamed "houston we have a problem with vulnerabilities". Please see the following URLs for changes: http://dev.mysql.com/doc/refman/5.0/en/news-5-0-26.html http://dev.mysql.com/doc/refman/5.0/en/news-5-0-25.html Two patches were sent upstream, I hope to get them in the next version. @ text @d3 3 a5 3 --- scripts/mysqld_safe.sh.orig 2006-10-14 19:56:04.000000000 +0200 +++ scripts/mysqld_safe.sh 2006-10-14 19:59:48.000000000 +0200 @@@@ -330,6 +330,14 @@@@ d20 1 a20 1 @@@@ -340,18 +348,16 @@@@ d43 1 a43 1 @@@@ -364,11 +370,11 @@@@ d57 1 a57 1 @@@@ -376,7 +382,7 @@@@ d66 1 a66 1 @@@@ -388,7 +394,7 @@@@ d75 1 a75 1 @@@@ -401,7 +407,7 @@@@ d84 1 a84 1 @@@@ -414,16 +420,14 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.7 2005/03/08 16:48:11 xtraeme Exp $ d3 4 a6 4 --- scripts/mysqld_safe.sh.orig 2005-01-17 15:16:35.000000000 +0100 +++ scripts/mysqld_safe.sh 2005-01-17 15:20:03.000000000 +0100 @@@@ -253,6 +253,14 @@@@ fi d20 1 a20 1 @@@@ -263,18 +271,16 @@@@ d26 1 a26 1 + datemsg "A mysqld process already exists" d37 3 a39 3 + datemsg "Fatal error: Can't remove the pid file: $pid_file" + datemsg "Please remove it manually and start $0 again" + datemsg "mysqld daemon not started" d43 1 a43 1 @@@@ -287,11 +293,11 @@@@ d57 1 a57 1 @@@@ -299,7 +305,7 @@@@ d66 1 a66 1 @@@@ -311,7 +317,7 @@@@ d75 1 a75 1 @@@@ -324,7 +330,7 @@@@ d84 1 a84 1 @@@@ -337,16 +343,14 @@@@ @ 1.1.1.1 log @Initial import of mysql5-server-5.0.15. MySQL is a SQL (Structured Query Language) database server. SQL is the most popular database language in the world. MySQL is a client-server implementation that consists of a server daemon `mysqld' and many different client programs/libraries. The main goals of MySQL are speed and robustness. The base upon which MySQL is built is a set of routines that have been used in a highly demanding production environment for many years. While MySQL is still in development it already offers a rich and highly useful function set. The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL). This package contains the MySQL server programs and libraries. @ text @@ 1.1.1.1.8.1 log @Pullup ticket 1820 - requested by xtraeme security update for mysql5 Revisions pulled up: - pkgsrc/databases/mysql5-client/Makefile.common 1.17 - pkgsrc/databases/mysql5-client/buildlink3.mk 1.8 - pkgsrc/databases/mysql5-client/distinfo 1.10, 1.11, 1.12, 1.13 - pkgsrc/databases/mysql5-client/patches/patch-aa 1.2 - pkgsrc/databases/mysql5-client/patches/patch-ac 1.3 - pkgsrc/databases/mysql5-client/patches/patch-ad 1.3, 1.4 - pkgsrc/databases/mysql5-client/patches/patch-af 1.5 - pkgsrc/databases/mysql5-client/patches/patch-ah removed - pkgsrc/databases/mysql5-client/patches/patch-bf 1.1 - pkgsrc/databases/mysql5-server/PLIST 1.8 - pkgsrc/databases/mysql5-server/distinfo 1.12 - pkgsrc/databases/mysql5-server/patches/patch-aa 1.3 - pkgsrc/databases/mysql5-server/patches/patch-ab 1.3 - pkgsrc/databases/mysql5-server/patches/patch-af 1.3 - pkgsrc/databases/mysql5-server/patches/patch-ac 1.4 - pkgsrc/databases/mysql5-server/patches/patch-ag 1.5 - pkgsrc/databases/mysql5-server/patches/patch-aj 1.2 - pkgsrc/databases/mysql5-server/patches/patch-an 1.1 - pkgsrc/databases/mysql5-server/patches/patch-bf 1.1 Module Name: pkgsrc Committed By: rillig Date: Sun Oct 8 13:30:59 UTC 2006 Modified Files: pkgsrc/databases/mysql5-client: distinfo Added Files: pkgsrc/databases/mysql5-client/patches: patch-bf Log Message: Fixed "test ==". --- Module Name: pkgsrc Committed By: xtraeme Date: Sat Oct 14 18:41:34 UTC 2006 Modified Files: pkgsrc/databases/mysql5-client: Makefile.common buildlink3.mk distinfo pkgsrc/databases/mysql5-client/patches: patch-aa patch-ac patch-ad patch-af pkgsrc/databases/mysql5-server: PLIST distinfo pkgsrc/databases/mysql5-server/patches: patch-aa patch-ab patch-ac patch-af patch-ag patch-aj Added Files: pkgsrc/databases/mysql5-server/patches: patch-an patch-bf Removed Files: pkgsrc/databases/mysql5-client/patches: patch-ah Log Message: Update to the long awaited 5.0.26 release, codenamed "houston we have a problem with vulnerabilities". Please see the following URLs for changes: http://dev.mysql.com/doc/refman/5.0/en/news-5-0-26.html http://dev.mysql.com/doc/refman/5.0/en/news-5-0-25.html Two patches were sent upstream, I hope to get them in the next version. --- Module Name: pkgsrc Committed By: xtraeme Date: Sat Oct 14 18:46:51 UTC 2006 Modified Files: pkgsrc/databases/mysql5-client: distinfo Log Message: regen with right checksums. --- Module Name: pkgsrc Committed By: salo Date: Sun Oct 15 08:58:15 UTC 2006 Modified Files: pkgsrc/databases/mysql5-client/patches: patch-ad Log Message: missing rcsid. (hi xtraeme!) --- Module Name: pkgsrc Committed By: salo Date: Sun Oct 15 08:59:37 UTC 2006 Modified Files: pkgsrc/databases/mysql5-client: distinfo Log Message: regen. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.2 2006/10/14 18:41:34 xtraeme Exp $ d3 4 a6 4 --- scripts/mysqld_safe.sh.orig 2006-10-14 19:56:04.000000000 +0200 +++ scripts/mysqld_safe.sh 2006-10-14 19:59:48.000000000 +0200 @@@@ -330,6 +330,14 @@@@ ulimit -c $core_file_size d20 1 a20 1 @@@@ -340,18 +348,16 @@@@ d26 1 a26 1 + datemsg "A mysqld process already exists" d37 3 a39 3 + datemsg "Fatal error: Can't remove the pid file: $pid_file" + datemsg "Please remove it manually and start $0 again" + datemsg "mysqld daemon not started" d43 1 a43 1 @@@@ -364,11 +370,11 @@@@ d57 1 a57 1 @@@@ -376,7 +382,7 @@@@ d66 1 a66 1 @@@@ -388,7 +394,7 @@@@ d75 1 a75 1 @@@@ -401,7 +407,7 @@@@ d84 1 a84 1 @@@@ -414,16 +420,14 @@@@ @