GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

28 versions of MySQL.

ProgramAgeSizeByWWWSummary
MySQL 5.7.18-r1 503  1421 Hish...
A fast SQL database server.
MySQL 5.7.14-r1 751  1428 Luca...
A fast SQL database server.
MySQL 5.6.13-r2 889  1765 Luca...
A fast SQL database server.
MySQL 5.5.30-r1 2018  1358 Hish...
A fast SQL database server.
MySQL 5.5.27-r1 2227  1370 Luca...
A fast SQL database server.
MySQL 5.5.23-r1 2240  1334 Luca...
A fast SQL database server.
MySQL 5.5.15-r1 2567  1433 Zbig...
A fast SQL database server.
MySQL 5.5.9-r1 2771  1406 Luca...
A fast SQL database server.
MySQL 5.1.53-r1 2787  1510 Diog...
A fast SQL database server.
MySQL 5.1.50-r1 2946  1521 JPau...
A fast SQL database server.
MySQL 5.1.48-r1 2990  1519 Hish...
A fast SQL database server.
MySQL 5.1.44-r1 3117  1533 Jose...
A fast SQL database server.
MySQL 5.1.42-r2 3143  1522 Luca...
A fast SQL database server.
MySQL 5.1.38-r1 3266  1445 Rui ...
A fast SQL database server.
MySQL 5.1.37-r1 3283  1428 Andr...
A fast SQL database server.
MySQL 5.1.34-r1 3441  1468 Giam...
A fast SQL database server.
MySQL 5.1.31-r1 3487  1445 Giam...
A fast SQL database server.
MySQL 5.1.30-r1 3489  1382 Magl...
A fast SQL database server.
MySQL 5.0.67-r1 3489  1341 Jona...
A fast SQL database server.
MySQL 5.0.51a-r2 3489  1264 Magl...
A fast SQL database server.
MySQL 5.0.51-r2 3489  1544 Jona...
A fast SQL database server.
view entry at GitHub | download recipe.bz2 file
Recipe
Resources/BuildDependencies
Resources/BuildInformation
Resources/Dependencies
Resources/Description
# Recipe for version 5.0.51 by Jonas Karlsson <jonka750@student.liu.se>, on Sat Dec \
15 18:36:10 GMT 2007
# Recipe (MakeRecipe) for MySQL by Maglan C. Diemer, maglan@univates.br, on Qui Dez \
8 20:53:16 BRST 2005
compile_version=1.9.0
url="http://mysql.easynet.be/Downloads/MySQL-5.0/mysql-5.0.51.tar.gz"
file_size=27045586
file_md5=88c39c8cb77810febb83b7ee625364d7
recipe_type=configure

databasedir=/Files/MySQL

unmanaged_files=(
   "${databasedir}"
)

configure_options=(
   "--localstatedir=$databasedir"
   "--enable-shared"
   "--enable-thread-safe-client"
   "--with-openssl"
)

pre_install() {
   mkdir -p $databasedir

   if ! grep -q mysql $goboSettings/group
   then
      Log_Normal "Adding group mysql"
      for ((i=50;i<200;i++))
      do
         if grep -q "^[^:]*:[^:]*:$i:.*" ${goboSettings}/group
	 then continue
	 else
            groupadd mysql 
	    break
         fi
      done
   fi

   if ! grep -q "mysql:x:" $goboSettings/passwd
   then
      Log_Normal "Adding user mysql"
      for ((i=50;i<200;i++))
      do
         if grep -q "^[^:]*:[^:]*:$i:.*" ${goboSettings}/passwd
	 then continue
	 else
            useradd mysql -g mysql -c 'added by Compile for MySQL' -d $databasedir \
-s $goboExecutables/false
	    break
	 fi
      done
   fi
}

pre_link() {
   # task file
   mkdir -p $target/Resources/Tasks
   cp support-files/mysql.server $target/Resources/Tasks/MySQL
   chmod +x $target/Resources/Tasks/MySQL
    
   # settings files
   mkdir -p ${target}/Resources/Defaults/Settings/MySQL
   cp support-files/my-*.cnf ${target}/Resources/Defaults/Settings/MySQL
   ln -s my-medium.cnf ${target}/Resources/Defaults/Settings/MySQL/my.cnf

   Log_Normal "Installing prepared tables"
   mount --bind ${target}/Resources/Unmanaged/$databasedir $databasedir
   $target/bin/mysql_install_db --user mysql
   umount $databasedir
}
MySQL 5.0.45-r1 3489  1589 Jona...
A fast SQL database server.
MySQL 5.0.27-r2 3489  1348 Otto...
A fast SQL database server.
MySQL 5.0.16-r1 3489  1331 Magl...
A fast SQL database server.
MySQL 4.1.16-r1 3489  1372 Jona...
A fast SQL database server.
MySQL 4.1.12-r1 3489  1325
A fast SQL database server.
MySQL 4.1.9-r1 3489  10791 Volk...
The MySQL Database Server
MySQL 4.0.20-r1 3489  969
A fast SQL database server.