From 50577c86dcb20f359fff8a0a7de23be7427d6419 Mon Sep 17 00:00:00 2001 From: bougyman Date: Sat, 25 Apr 2015 20:38:06 -0500 Subject: [PATCH] postgresql: tighten authentication methods --- srcpkgs/postgresql/files/postgresql.confd | 2 +- srcpkgs/postgresql/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/postgresql/files/postgresql.confd b/srcpkgs/postgresql/files/postgresql.confd index 9c8b6520ab1..2a3cd1469b0 100644 --- a/srcpkgs/postgresql/files/postgresql.confd +++ b/srcpkgs/postgresql/files/postgresql.confd @@ -7,7 +7,7 @@ PGROOT="/var/lib/postgresql" PGLOG="/var/log/postgresql.log" # Passed to initdb if necessary -INITOPTS="--locale en_US.UTF-8" +INITOPTS="-A peer --auth-host=md5 --auth-local=peer --locale en_US.UTF-8" # Extra options to run postmaster with, e.g.: # -N is the maximal number of client connections diff --git a/srcpkgs/postgresql/template b/srcpkgs/postgresql/template index aab837ffcd6..a7f435bc62f 100644 --- a/srcpkgs/postgresql/template +++ b/srcpkgs/postgresql/template @@ -1,7 +1,7 @@ # Template file for 'postgresql' pkgname=postgresql version=9.4.1 -revision=3 +revision=4 build_style=gnu-configure make_build_target="world" configure_args="--with-openssl --with-python