OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 25-Aug-2006 13:09:37 Branch: HEAD Handle: 2006082512093700 Modified files: openpkg-src/postgresql postgresql.spec Log: The postgres processes seem to change their proctitle hundreds or thousands of times per second. On FreeBSD, this is currently done via a GIANT-locked sysctl(). So there is enormous contention for GIANT in the FreeBSD kernel. Even when this is fixed, each of them requires a system call and system calls ain't free Summary: Revision Changes Path 1.198 +7 -1 openpkg-src/postgresql/postgresql.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/postgresql/postgresql.spec ============================================================================ $ cvs diff -u -r1.197 -r1.198 postgresql.spec --- openpkg-src/postgresql/postgresql.spec 22 May 2006 08:19:13 -0000 1.197 +++ openpkg-src/postgresql/postgresql.spec 25 Aug 2006 11:09:37 -0000 1.198 @@ -45,7 +45,7 @@ Group: Database License: GPL Version: %{V_postgresql} -Release: 20060522 +Release: 20060825 # package options %option with_server yes @@ -59,6 +59,7 @@ %option with_kerberos no %option with_mysqlcompat no %option with_int_datetime no +%option with_setproctitle auto # list of sources Source0: ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}/postgresql-%{V_postgresql}.tar.gz @@ -226,6 +227,11 @@ # configure package ( echo "ac_cv_func_isinf=no" +%if "%{with_setproctitle}" == "no" + echo "ac_cv_lib_util_setproctitle=no" + echo "ac_cv_func_setproctitle=no" + echo "ac_cv_func_setproctitle_func=no" +%endif ) >config.cache export CC="%{l_cc}" export CFLAGS="%{l_cflags -O}" @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org