GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

15 versions of PostgreSQL.

ProgramAgeSizeByWWWSummary
PostgreSQL 9.6.4-r1 691  3175 Hish...
PostgreSQL - the Database
PostgreSQL 9.6.1-r5 871  3150 Ivan
PostgreSQL - the Database
PostgreSQL 9.1.4-r1 2566  1778 Luca...
PostgreSQL - the Database
view entry at GitHub | download recipe.bz2 file
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
Resources/Environment
Resources/Tasks/PostgreSQL
# Recipe for version 9.1.4 by Lucas C. Villa Real <lucasvr@gobolinux.org>, on Mon \
Jun 18 16:38:10 BRT 2012
# Recipe (MakeRecipe) for PostgreSQL by Maglan C. Diemer, maglan@univates.br, on \
Qui Dez 8 19:22:05 BRST 2005
compile_version=1.8.0
url="http://ftp.postgresql.org/pub/source/v9.1.4/postgresql-9.1.4.tar.bz2"
file_size=15631894
file_md5=a8035688dba988b782725ac1aec60186
recipe_type=configure

configure_options=(
   "--with-perl"
   "--with-python"
   "--with-tcl"
   "--with-openssl"
)

pre_install() {
   if ! grep -q postgres $goboSettings/group
   then
      Log_Normal "Adding group postgres"
      groupadd postgres
   fi

   if ! grep -q "postgres:x:" $goboSettings/passwd
   then
      Log_Normal "Adding user postgres"
      useradd postgres -g postgres -c 'Added by Compile for PostgreSQL' -d $target \
-s $goboExecutables/false
   fi
}

post_install() {
    Log_Normal "Installing prepared tables"
    PGDATA=$variable_target/PostgreSQL/data
    mkdir -p $PGDATA
    chown postgres:postgres $variable_target/PostgreSQL/data
    sudo -u postgres $target/bin/initdb -D $PGDATA
}
PostgreSQL 8.3.14-r1 3110  1768 Luca...
PostgreSQL - the Database
PostgreSQL 8.3.11-r1 3249  1788 Fabi...
PostgreSQL - the Database
PostgreSQL 8.3.9-r1 3456  1808 RedU...
PostgreSQL - the Database
PostgreSQL 8.3.4-r1 3828  1808 Fabi...
PostgreSQL - the Database
PostgreSQL 8.3.1-r1 3828  1821 Demi...
PostgreSQL - the Database
PostgreSQL 8.2.11-r1 3828  1839 Fabi...
PostgreSQL - the Database
PostgreSQL 8.2.10-r1 3828  1745 Magl...
PostgreSQL - the Database
PostgreSQL 8.2.9-r1 3828  1805 Fabi...
PostgreSQL - the Database
PostgreSQL 8.2.4-r1 3828  1802 Hish...
PostgreSQL - the Database
PostgreSQL 8.1.0-r2 3828  1724 Magl...
PostgreSQL - the Database
PostgreSQL 8.0.3-r1 3828  1126 Rafa...
PostgreSQL - the Database
PostgreSQL 7.4.3-r1 3828  1101
PostgreSQL - the Database