UmVirt LFS Package info

DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
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. Client package.

Package info

Codename: postgresql-server
Source file: postgresql-16.4.tar.bz2
Source directory: postgresql-16.4
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/p/postgresql-16.4.tar.bz2
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/p/postgresql-16.4.tar.bz2.md5sum
Dependances: libxml2, icu, libxslt, krb5, Linux-PAM.
Dependance of: dovecot.
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-16.4 

Build script:
make

Install script:
make install      &&
make install-docs

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'