GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

28 versions of MySQL.

ProgramAgeSizeByWWWSummary
MySQL 5.7.18-r1 202  1421 Hish...
A fast SQL database server.
MySQL 5.7.14-r1 450  1428 Luca...
A fast SQL database server.
MySQL 5.6.13-r2 588  1765 Luca...
A fast SQL database server.
MySQL 5.5.30-r1 1717  1358 Hish...
A fast SQL database server.
MySQL 5.5.27-r1 1926  1370 Luca...
A fast SQL database server.
MySQL 5.5.23-r1 1939  1334 Luca...
A fast SQL database server.
MySQL 5.5.15-r1 2266  1433 Zbig...
A fast SQL database server.
MySQL 5.5.9-r1 2470  1406 Luca...
A fast SQL database server.
MySQL 5.1.53-r1 2486  1510 Diog...
A fast SQL database server.
MySQL 5.1.50-r1 2645  1521 JPau...
A fast SQL database server.
MySQL 5.1.48-r1 2689  1519 Hish...
A fast SQL database server.
MySQL 5.1.44-r1 2816  1533 Jose...
A fast SQL database server.
MySQL 5.1.42-r2 2842  1522 Luca...
A fast SQL database server.
MySQL 5.1.38-r1 2965  1445 Rui ...
A fast SQL database server.
MySQL 5.1.37-r1 2982  1428 Andr...
A fast SQL database server.
MySQL 5.1.34-r1 3140  1468 Giam...
A fast SQL database server.
MySQL 5.1.31-r1 3186  1445 Giam...
A fast SQL database server.
MySQL 5.1.30-r1 3188  1382 Magl...
A fast SQL database server.
MySQL 5.0.67-r1 3188  1341 Jona...
A fast SQL database server.
MySQL 5.0.51a-r2 3188  1264 Magl...
A fast SQL database server.
MySQL 5.0.51-r2 3188  1544 Jona...
A fast SQL database server.
MySQL 5.0.45-r1 3188  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 3188  1348 Otto...
A fast SQL database server.
MySQL 5.0.16-r1 3188  1331 Magl...
A fast SQL database server.
MySQL 4.1.16-r1 3188  1372 Jona...
A fast SQL database server.
MySQL 4.1.12-r1 3188  1325
A fast SQL database server.
MySQL 4.1.9-r1 3188  10791 Volk...
The MySQL Database Server
MySQL 4.0.20-r1 3188  969
A fast SQL database server.