summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2004-07-26 15:13:36 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2004-07-26 15:13:36 +0000
commitb887149535c6cb36e412bb7da77144cdffc19239 (patch)
treef2f017a1b4e309dfc61a9e16b9e3ff5f515ecbae /dev-db
parent~amd64 (diff)
downloadhistorical-b887149535c6cb36e412bb7da77144cdffc19239.tar.gz
historical-b887149535c6cb36e412bb7da77144cdffc19239.tar.bz2
historical-b887149535c6cb36e412bb7da77144cdffc19239.zip
Fixed SHMMAX_MIN to calculate from MAX_CONNECTIONS.
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql/ChangeLog5
-rw-r--r--dev-db/postgresql/Manifest4
-rw-r--r--dev-db/postgresql/postgresql-7.4.3-r1.ebuild4
3 files changed, 8 insertions, 5 deletions
diff --git a/dev-db/postgresql/ChangeLog b/dev-db/postgresql/ChangeLog
index 4e116c35ac3d..c5d8c205445c 100644
--- a/dev-db/postgresql/ChangeLog
+++ b/dev-db/postgresql/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-db/postgresql
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.112 2004/07/21 19:11:10 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.113 2004/07/26 15:13:36 matsuu Exp $
+
+ 27 Jul 2004; MATSUU Takuto <matsuu@gentoo.org> postgresql-7.4.3-r1.ebuild:
+ Fixed SHMMAX_MIN to calculate from MAX_CONNECTIONS.
21 Jul 2004; Masatomo Nakano <nakano@gentoo.org> postgresql-7.3.6-r2.ebuild,
postgresql-7.4.3-r1.ebuild:
diff --git a/dev-db/postgresql/Manifest b/dev-db/postgresql/Manifest
index 14fc6d40bb09..da3f22b60ffa 100644
--- a/dev-db/postgresql/Manifest
+++ b/dev-db/postgresql/Manifest
@@ -1,8 +1,8 @@
MD5 52a786d752a82349212155903662c276 postgresql-7.3.6-r1.ebuild 7488
-MD5 740dfbe9329643b15db2ccff0d8db16b postgresql-7.4.3-r1.ebuild 10004
+MD5 aaf8cd9061874576d883c099899b9eee postgresql-7.4.3-r1.ebuild 10031
MD5 0cfe4ea1b66826088bff446a34518c0c postgresql-7.4.3.ebuild 9736
MD5 af789ce84297f7afdd7c028c8f384537 postgresql-7.3.6-r2.ebuild 7870
-MD5 5f8ec741211a0db03761c4edfb7517fc ChangeLog 20649
+MD5 b92629d507c4c7835b24020a80836cc3 ChangeLog 20781
MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
MD5 fe8563fd37bfee794b28728f0842b888 files/postgresql.init-7.3.6 1281
MD5 b54624cb385431b9b3d4b167c2a9aca4 files/postgresql.init-7.4.3 1281
diff --git a/dev-db/postgresql/postgresql-7.4.3-r1.ebuild b/dev-db/postgresql/postgresql-7.4.3-r1.ebuild
index c3143d9f25fe..08b5c0e640a1 100644
--- a/dev-db/postgresql/postgresql-7.4.3-r1.ebuild
+++ b/dev-db/postgresql/postgresql-7.4.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.4.3-r1.ebuild,v 1.2 2004/07/21 19:11:10 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.4.3-r1.ebuild,v 1.3 2004/07/26 15:13:36 matsuu Exp $
inherit eutils gnuconfig flag-o-matic
@@ -258,7 +258,7 @@ pkg_config() {
local SEMMNI=`sysctl -n kernel.sem | cut -f4`
local SEMMNI_MIN=`expr \( ${MAX_CONNECTIONS} + 15 \) / 16`
local SHMMAX=`sysctl -n kernel.shmmax`
- local SHMMAX_MIN=134217728 # 128M
+ local SHMMAX_MIN=`expr 250000 + 30600 \* ${MAX_CONNECTIONS}`
if [ ${SEMMNI} -lt ${SEMMNI_MIN} ]; then
eerror "The current value of SEMMNI is too low"