GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

28 versions of MySQL.

ProgramAgeSizeByWWWSummary
MySQL 5.7.18-r1 142  1421 Hish...
A fast SQL database server.
MySQL 5.7.14-r1 390  1428 Luca...
A fast SQL database server.
MySQL 5.6.13-r2 528  1765 Luca...
A fast SQL database server.
MySQL 5.5.30-r1 1657  1358 Hish...
A fast SQL database server.
MySQL 5.5.27-r1 1866  1370 Luca...
A fast SQL database server.
MySQL 5.5.23-r1 1879  1334 Luca...
A fast SQL database server.
MySQL 5.5.15-r1 2206  1433 Zbig...
A fast SQL database server.
MySQL 5.5.9-r1 2410  1406 Luca...
A fast SQL database server.
MySQL 5.1.53-r1 2426  1510 Diog...
A fast SQL database server.
MySQL 5.1.50-r1 2585  1521 JPau...
A fast SQL database server.
MySQL 5.1.48-r1 2629  1519 Hish...
A fast SQL database server.
MySQL 5.1.44-r1 2756  1533 Jose...
A fast SQL database server.
MySQL 5.1.42-r2 2782  1522 Luca...
A fast SQL database server.
MySQL 5.1.38-r1 2905  1445 Rui ...
A fast SQL database server.
MySQL 5.1.37-r1 2922  1428 Andr...
A fast SQL database server.
MySQL 5.1.34-r1 3080  1468 Giam...
A fast SQL database server.
MySQL 5.1.31-r1 3126  1445 Giam...
A fast SQL database server.
MySQL 5.1.30-r1 3128  1382 Magl...
A fast SQL database server.
MySQL 5.0.67-r1 3128  1341 Jona...
A fast SQL database server.
MySQL 5.0.51a-r2 3128  1264 Magl...
A fast SQL database server.
MySQL 5.0.51-r2 3128  1544 Jona...
A fast SQL database server.
MySQL 5.0.45-r1 3128  1589 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.45 by Jonas Karlsson <jonka750@student.liu.se>, on Sat Sep \
8 21:45:17 CEST 2007
# Recipe (MakeRecipe) for MySQL by Maglan C. Diemer, maglan@univates.br, on Qui Dez \
8 20:53:16 BRST 2005
compile_version=1.8.5
url="http://mysql.easynet.be/Downloads/MySQL-5.0/mysql-5.0.45.tar.gz"
file_size=24433261
file_md5=a2a1c5a82bb22b45ab76a8ecab94e10d
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
   umount $databasedir

   Log_Normal "Changing ownership of Variable to mysql:mysql"
   chown -R mysql:mysql $databasedir
}
MySQL 5.0.27-r2 3128  1348 Otto...
A fast SQL database server.
MySQL 5.0.16-r1 3128  1331 Magl...
A fast SQL database server.
MySQL 4.1.16-r1 3128  1372 Jona...
A fast SQL database server.
MySQL 4.1.12-r1 3128  1325
A fast SQL database server.
MySQL 4.1.9-r1 3128  10791 Volk...
The MySQL Database Server
MySQL 4.0.20-r1 3128  969
A fast SQL database server.