GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

15 versions of PostgreSQL.

ProgramAgeSizeByWWWSummary
PostgreSQL 9.6.4-r1 50  3175 Hish...
PostgreSQL - the Database
PostgreSQL 9.6.1-r5 230  3150 Ivan
PostgreSQL - the Database
view entry at GitHub | download recipe.bz2 file
01-system_index.patch
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
Resources/Environment
Resources/Tasks/PostgreSQL
# Recipe for version 9.6.1 by Ivan Florentin<ivanflorentin@gmail.com>, on Fri Dec \
16 19:50:14 PYST 2016
# 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="https://ftp.postgresql.org/pub/source/v9.6.1/postgresql-9.6.1.tar.bz2"
file_size=19260568
file_md5=92ae6d7cdf18e648b3c22d0aa015565d
recipe_type=configure
build_target="world"
install_target="install install-world"

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 $variable_target/PostgreSQL \
-s $goboExecutables/zsh
   fi
}

post_install() {
    Log_Normal "Installing prepared tables"
    PGDATA=$variable_target/PostgreSQL/data
    if [ ! -d "$PGDATA" ]
    then
        mkdir -p $PGDATA
        chown postgres:postgres $variable_target/PostgreSQL
        chown postgres:postgres $variable_target/PostgreSQL/data
        sudo -u postgres $target/bin/initdb -D $PGDATA
    fi
}
PostgreSQL 9.1.4-r1 1925  1778 Luca...
PostgreSQL - the Database
PostgreSQL 8.3.14-r1 2469  1768 Luca...
PostgreSQL - the Database
PostgreSQL 8.3.11-r1 2608  1788 Fabi...
PostgreSQL - the Database
PostgreSQL 8.3.9-r1 2815  1808 RedU...
PostgreSQL - the Database
PostgreSQL 8.3.4-r1 3187  1808 Fabi...
PostgreSQL - the Database
PostgreSQL 8.3.1-r1 3187  1821 Demi...
PostgreSQL - the Database
PostgreSQL 8.2.11-r1 3187  1839 Fabi...
PostgreSQL - the Database
PostgreSQL 8.2.10-r1 3187  1745 Magl...
PostgreSQL - the Database
PostgreSQL 8.2.9-r1 3187  1805 Fabi...
PostgreSQL - the Database
PostgreSQL 8.2.4-r1 3187  1802 Hish...
PostgreSQL - the Database
PostgreSQL 8.1.0-r2 3187  1724 Magl...
PostgreSQL - the Database
PostgreSQL 8.0.3-r1 3187  1126 Rafa...
PostgreSQL - the Database
PostgreSQL 7.4.3-r1 3187  1101
PostgreSQL - the Database