UmVirt LFS Package info

DB commit: d35a620850806ab581b32cb34d268a904c9c0a5f
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
[ BASH | XML | JSON ]

postgresql-server

PostgreSQL is an advanced object-relational database management system (ORDBMS), derived from the Berkeley Postgres database management system. Server package.

Package info

Codename: postgresql-server
Source file: postgresql-10.5.tar.bz2
Source directory: postgresql-10.5
Package URL: https://umvirt.com/linux/downloads/0.1/packages/p/postgresql-10.5.tar.bz2
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.1/packages/p/postgresql-10.5.tar.bz2.md5sum
Dependances: python2, tcl, libxml2, blfs-systemd-units, libxslt, Linux-PAM, openldap-client.
Dependance of: exim.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings: postgresql-client.
Configuration script:
groupadd -g 41 postgres &&
useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data \
        -u 41 postgres

sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_manual.h &&

./configure --prefix=/usr          \
            --enable-thread-safety \
            --docdir=/usr/share/doc/postgresql-10.5



Build script:
make

Install script:
make install

install -v -dm700 /srv/pgsql/data &&
install -v -dm755 /run/postgresql &&
chown -Rv postgres:postgres /srv/pgsql /run/postgresql

su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'